chore: publish v14.3.0

This commit is contained in:
Jos de Jong 2025-02-28 15:52:39 +01:00
parent c1b73bcbe9
commit e366d8606c
32 changed files with 57 additions and 41 deletions

View File

@ -27,7 +27,7 @@ Math.js can be downloaded or linked from various content delivery networks:
<tbody>
<tr>
<td>unpkg</td>
<td><a href="https://unpkg.com/mathjs@14.2.1/">https://unpkg.com/mathjs@14.2.1/</a></td>
<td><a href="https://unpkg.com/mathjs@14.3.0/">https://unpkg.com/mathjs@14.3.0/</a></td>
</tr>
<tr>
<td>cdnjs</td>
@ -48,9 +48,9 @@ Or download the full bundle directly from [unpkg](https://unpkg.com):
<p>
<a
href="https://unpkg.com/mathjs@14.2.1/lib/browser/math.js"
>math.js (version 14.2.1, <span id="size">184 kB</span>, minified and gzipped)</a>
and if needed the <a href="https://unpkg.com/mathjs@14.2.1/lib/browser/math.js.map">source map</a>
href="https://unpkg.com/mathjs@14.3.0/lib/browser/math.js"
>math.js (version 14.3.0, <span id="size">185 kB</span>, minified and gzipped)</a>
and if needed the <a href="https://unpkg.com/mathjs@14.3.0/lib/browser/math.js.map">source map</a>
</p>
Too large for you? Create your own [custom bundle](docs/custom_bundling.html).

View File

@ -15,7 +15,7 @@
}
</style>
<script src="https://unpkg.com/mathjs@14.2.1/lib/browser/math.js"></script>
<script src="https://unpkg.com/mathjs@14.3.0/lib/browser/math.js"></script>
</head>
<body>

View File

@ -24,7 +24,7 @@ File: [angle_configuration.html](angle_configuration.html) (click for a live dem
}
</style>
<script src="https://unpkg.com/mathjs@14.2.1/lib/browser/math.js"></script>
<script src="https://unpkg.com/mathjs@14.3.0/lib/browser/math.js"></script>
</head>
<body>

View File

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>math.js | basic usage</title>
<script src="https://unpkg.com/mathjs@14.2.1/lib/browser/math.js"></script>
<script src="https://unpkg.com/mathjs@14.3.0/lib/browser/math.js"></script>
</head>
<body>

View File

@ -12,7 +12,7 @@ File: [basic_usage.html](basic_usage.html) (click for a live demo)
<head>
<meta charset="utf-8">
<title>math.js | basic usage</title>
<script src="https://unpkg.com/mathjs@14.2.1/lib/browser/math.js"></script>
<script src="https://unpkg.com/mathjs@14.3.0/lib/browser/math.js"></script>
</head>
<body>

View File

@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>math.js | currency conversion</title>
<script src="https://unpkg.com/mathjs@14.2.1/lib/browser/math.js"></script>
<script src="https://unpkg.com/mathjs@14.3.0/lib/browser/math.js"></script>
<style>
body,

View File

@ -13,7 +13,7 @@ File: [currency_conversion.html](currency_conversion.html) (click for a live dem
<meta charset="utf-8">
<title>math.js | currency conversion</title>
<script src="https://unpkg.com/mathjs@14.2.1/lib/browser/math.js"></script>
<script src="https://unpkg.com/mathjs@14.3.0/lib/browser/math.js"></script>
<style>
body,

View File

@ -15,7 +15,7 @@
}
</style>
<script src="https://unpkg.com/mathjs@14.2.1/lib/browser/math.js"></script>
<script src="https://unpkg.com/mathjs@14.3.0/lib/browser/math.js"></script>
</head>
<body>

View File

@ -24,7 +24,7 @@ File: [custom_separators.html](custom_separators.html) (click for a live demo)
}
</style>
<script src="https://unpkg.com/mathjs@14.2.1/lib/browser/math.js"></script>
<script src="https://unpkg.com/mathjs@14.3.0/lib/browser/math.js"></script>
</head>
<body>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="UTF-8">
<title>math.js | Lorenz Attractor</title>
<script src="https://unpkg.com/mathjs@14.2.1/lib/browser/math.js"></script>
<script src="https://unpkg.com/mathjs@14.3.0/lib/browser/math.js"></script>
<script src="https://cdn.plot.ly/plotly-2.25.2.min.js" charset="utf-8"></script>
<style>

View File

@ -13,7 +13,7 @@ File: [lorenz.html](lorenz.html) (click for a live demo)
<head>
<meta charset="UTF-8">
<title>math.js | Lorenz Attractor</title>
<script src="https://unpkg.com/mathjs@14.2.1/lib/browser/math.js"></script>
<script src="https://unpkg.com/mathjs@14.3.0/lib/browser/math.js"></script>
<script src="https://cdn.plot.ly/plotly-2.25.2.min.js" charset="utf-8"></script>
<style>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="UTF-8">
<title>math.js | Lorenz Attractor</title>
<script src="https://unpkg.com/mathjs@14.2.1/lib/browser/math.js"></script>
<script src="https://unpkg.com/mathjs@14.3.0/lib/browser/math.js"></script>
<script src="https://cdn.plot.ly/plotly-2.28.0.min.js" charset="utf-8"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.9/katex.min.js"

View File

@ -13,7 +13,7 @@ File: [lorenz_interactive.html](lorenz_interactive.html) (click for a live demo)
<head>
<meta charset="UTF-8">
<title>math.js | Lorenz Attractor</title>
<script src="https://unpkg.com/mathjs@14.2.1/lib/browser/math.js"></script>
<script src="https://unpkg.com/mathjs@14.3.0/lib/browser/math.js"></script>
<script src="https://cdn.plot.ly/plotly-2.28.0.min.js" charset="utf-8"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.9/katex.min.js"

View File

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>math.js | plot</title>
<script src="https://unpkg.com/mathjs@14.2.1/lib/browser/math.js"></script>
<script src="https://unpkg.com/mathjs@14.3.0/lib/browser/math.js"></script>
<script src="https://cdn.plot.ly/plotly-1.35.2.min.js"></script>

View File

@ -12,7 +12,7 @@ File: [plot.html](plot.html) (click for a live demo)
<head>
<meta charset="utf-8">
<title>math.js | plot</title>
<script src="https://unpkg.com/mathjs@14.2.1/lib/browser/math.js"></script>
<script src="https://unpkg.com/mathjs@14.3.0/lib/browser/math.js"></script>
<script src="https://cdn.plot.ly/plotly-1.35.2.min.js"></script>

View File

@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>math.js | pretty printing with MathJax</title>
<script src="https://unpkg.com/mathjs@14.2.1/lib/browser/math.js"></script>
<script src="https://unpkg.com/mathjs@14.3.0/lib/browser/math.js"></script>
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js"></script>
<style>

View File

@ -13,7 +13,7 @@ File: [pretty_printing_with_mathjax.html](pretty_printing_with_mathjax.html) (cl
<meta charset="utf-8">
<title>math.js | pretty printing with MathJax</title>
<script src="https://unpkg.com/mathjs@14.2.1/lib/browser/math.js"></script>
<script src="https://unpkg.com/mathjs@14.3.0/lib/browser/math.js"></script>
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js"></script>
<style>

View File

@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>math.js | printing HTML</title>
<script src="https://unpkg.com/mathjs@14.2.1/lib/browser/math.js"></script>
<script src="https://unpkg.com/mathjs@14.3.0/lib/browser/math.js"></script>
<style>
body {

View File

@ -13,7 +13,7 @@ File: [printing_html.html](printing_html.html) (click for a live demo)
<meta charset="utf-8">
<title>math.js | printing HTML</title>
<script src="https://unpkg.com/mathjs@14.2.1/lib/browser/math.js"></script>
<script src="https://unpkg.com/mathjs@14.3.0/lib/browser/math.js"></script>
<style>
body {

View File

@ -9,7 +9,7 @@
<script>
// load math.js using require.js
require(['https://unpkg.com/mathjs@14.2.1/lib/browser/math.js'], function (math) {
require(['https://unpkg.com/mathjs@14.3.0/lib/browser/math.js'], function (math) {
// evaluate some expression
const result = math.evaluate('1.2 * (2 + 4.5)')
document.write(result)

View File

@ -18,7 +18,7 @@ File: [requirejs_loading.html](requirejs_loading.html) (click for a live demo)
<script>
// load math.js using require.js
require(['https://unpkg.com/mathjs@14.2.1/lib/browser/math.js'], function (math) {
require(['https://unpkg.com/mathjs@14.3.0/lib/browser/math.js'], function (math) {
// evaluate some expression
const result = math.evaluate('1.2 * (2 + 4.5)')
document.write(result)

View File

@ -5,7 +5,7 @@
<meta charset="utf-8">
<title>math.js | rocket trajectory optimization</title>
<script src="https://unpkg.com/mathjs@14.2.1/lib/browser/math.js"></script>
<script src="https://unpkg.com/mathjs@14.3.0/lib/browser/math.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.5.0/Chart.min.js"></script>
<style>

View File

@ -14,7 +14,7 @@ File: [rocket_trajectory_optimization.html](rocket_trajectory_optimization.html)
<meta charset="utf-8">
<title>math.js | rocket trajectory optimization</title>
<script src="https://unpkg.com/mathjs@14.2.1/lib/browser/math.js"></script>
<script src="https://unpkg.com/mathjs@14.3.0/lib/browser/math.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.5.0/Chart.min.js"></script>
<style>

View File

@ -92,7 +92,7 @@ File: [webworkers.html](webworkers.html) (click for a live demo)
File: [worker.js](worker.js)
```js
importScripts('https://unpkg.com/mathjs@14.2.1/lib/browser/math.js')
importScripts('https://unpkg.com/mathjs@14.3.0/lib/browser/math.js')
// create a parser
const parser = self.math.parser()

View File

@ -1,4 +1,4 @@
importScripts('https://unpkg.com/mathjs@14.2.1/lib/browser/math.js')
importScripts('https://unpkg.com/mathjs@14.3.0/lib/browser/math.js')
// create a parser
const parser = self.math.parser()

View File

@ -4,6 +4,22 @@ layout: default
<h1 id="history">History <a href="#history" title="Permalink">#</a></h1>
<h1 id="20240228-1430">2024-02-28, 14.3.0 <a href="#20240228-1430" title="Permalink">#</a></h1>
- Feat: improved performance of function `flatten` (<a href="https://github.com/josdejong/mathjs/issues/3354">#3354</a>). Thanks <a href="https://github.com/dvd101x">@dvd101x</a>.
- Feat: improved performance of `DenseMatrix` Symbol.iterator (<a href="https://github.com/josdejong/mathjs/issues/3395">#3395</a>).
Thanks <a href="https://github.com/dvd101x">@dvd101x</a>.
- Feat: improved performance of functions `map` and `forEach` (<a href="https://github.com/josdejong/mathjs/issues/3399">#3399</a>).
Thanks <a href="https://github.com/dvd101x">@dvd101x</a>.
- Fix: <a href="https://github.com/josdejong/mathjs/issues/3390">#3390</a> issue in callback optimization and add error handling for invalid
argument types (<a href="https://github.com/josdejong/mathjs/issues/3394">#3394</a>). Thanks <a href="https://github.com/dvd101x">@dvd101x</a>.
- Fix: <a href="https://github.com/josdejong/mathjs/issues/3356">#3356</a> add missing eigsDependencies export to TypeScript definitions
(<a href="https://github.com/josdejong/mathjs/issues/3397">#3397</a>). Thanks <a href="https://github.com/porst17">@porst17</a>.
- Fix: <a href="https://github.com/josdejong/mathjs/issues/3406">#3406</a> infer the correct type for multi-dimensional arrays in function
`multiply` (<a href="https://github.com/josdejong/mathjs/issues/3408">#3408</a>). Thanks <a href="https://github.com/orelbn">@orelbn</a>.
- Fix: <a href="https://github.com/josdejong/mathjs/issues/3387">#3387</a> use utility `math.isNaN` for consistent `max` and `min` results
(<a href="https://github.com/josdejong/mathjs/issues/3389">#3389</a>). Thanks <a href="https://github.com/orelbn">@orelbn</a>.
<h1 id="20240205-1421">2024-02-05, 14.2.1 <a href="#20240205-1421" title="Permalink">#</a></h1>
- Fix: <a href="https://github.com/josdejong/mathjs/issues/3377">#3377</a> remove redundant dependency `@lambdatest/node-tunnel`.

File diff suppressed because one or more lines are too long

View File

@ -14,8 +14,8 @@
* It features real and complex numbers, units, matrices, a large set of
* mathematical functions, and a flexible expression parser.
*
* @version 14.2.1
* @date 2025-02-05
* @version 14.3.0
* @date 2025-02-28
*
* @license
* Copyright (C) 2013-2025 Jos de Jong <wjosdejong@gmail.com>

File diff suppressed because one or more lines are too long

@ -1 +1 @@
Subproject commit ad363507f3e8e5a91bf3e13017727b64be427e2b
Subproject commit 17f295cd4feea2908b50891a830e2f9241811389

14
package-lock.json generated
View File

@ -8,7 +8,7 @@
"name": "mathjs-website",
"version": "1.0.0",
"dependencies": {
"mathjs": "14.2.1"
"mathjs": "14.3.0"
},
"devDependencies": {
"fancy-log": "2.0.0",
@ -1483,9 +1483,9 @@
"dev": true
},
"node_modules/mathjs": {
"version": "14.2.1",
"resolved": "https://registry.npmjs.org/mathjs/-/mathjs-14.2.1.tgz",
"integrity": "sha512-vARWETUx75+kR2K9qBV20n6NYtGXCuQKX8Zo4+AhJI5LX+ukSM1NYebv+wLnJG8KMvEe9H01sJUyC5bMciA4Tg==",
"version": "14.3.0",
"resolved": "https://registry.npmjs.org/mathjs/-/mathjs-14.3.0.tgz",
"integrity": "sha512-kJbTdBp+6OgZewCkvnm8pOWyiel7VGJVEPkmU+NHPdrpqDJlxwX9Q1F2DQv8nq7FrqnvVnJaL4OBQXA/S7TnhQ==",
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.25.7",
@ -3633,9 +3633,9 @@
"dev": true
},
"mathjs": {
"version": "14.2.1",
"resolved": "https://registry.npmjs.org/mathjs/-/mathjs-14.2.1.tgz",
"integrity": "sha512-vARWETUx75+kR2K9qBV20n6NYtGXCuQKX8Zo4+AhJI5LX+ukSM1NYebv+wLnJG8KMvEe9H01sJUyC5bMciA4Tg==",
"version": "14.3.0",
"resolved": "https://registry.npmjs.org/mathjs/-/mathjs-14.3.0.tgz",
"integrity": "sha512-kJbTdBp+6OgZewCkvnm8pOWyiel7VGJVEPkmU+NHPdrpqDJlxwX9Q1F2DQv8nq7FrqnvVnJaL4OBQXA/S7TnhQ==",
"requires": {
"@babel/runtime": "^7.25.7",
"complex.js": "^2.2.5",

View File

@ -6,7 +6,7 @@
"url": "https://github.com/josdejong/mathjs.git"
},
"dependencies": {
"mathjs": "14.2.1"
"mathjs": "14.3.0"
},
"devDependencies": {
"fancy-log": "2.0.0",