chore: publish v14.5.2

This commit is contained in:
Jos de Jong 2025-05-30 12:02:17 +02:00
parent 0e8371d70b
commit ccab044d67
32 changed files with 55 additions and 47 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.5.1/">https://unpkg.com/mathjs@14.5.1/</a></td>
<td><a href="https://unpkg.com/mathjs@14.5.2/">https://unpkg.com/mathjs@14.5.2/</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.5.1/lib/browser/math.js"
>math.js (version 14.5.1, <span id="size">186 kB</span>, minified and gzipped)</a>
and if needed the <a href="https://unpkg.com/mathjs@14.5.1/lib/browser/math.js.map">source map</a>
href="https://unpkg.com/mathjs@14.5.2/lib/browser/math.js"
>math.js (version 14.5.2, <span id="size">186 kB</span>, minified and gzipped)</a>
and if needed the <a href="https://unpkg.com/mathjs@14.5.2/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.5.1/lib/browser/math.js"></script>
<script src="https://unpkg.com/mathjs@14.5.2/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.5.1/lib/browser/math.js"></script>
<script src="https://unpkg.com/mathjs@14.5.2/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.5.1/lib/browser/math.js"></script>
<script src="https://unpkg.com/mathjs@14.5.2/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.5.1/lib/browser/math.js"></script>
<script src="https://unpkg.com/mathjs@14.5.2/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.5.1/lib/browser/math.js"></script>
<script src="https://unpkg.com/mathjs@14.5.2/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.5.1/lib/browser/math.js"></script>
<script src="https://unpkg.com/mathjs@14.5.2/lib/browser/math.js"></script>
<style>
body,

View File

@ -15,7 +15,7 @@
}
</style>
<script src="https://unpkg.com/mathjs@14.5.1/lib/browser/math.js"></script>
<script src="https://unpkg.com/mathjs@14.5.2/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.5.1/lib/browser/math.js"></script>
<script src="https://unpkg.com/mathjs@14.5.2/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.5.1/lib/browser/math.js"></script>
<script src="https://unpkg.com/mathjs@14.5.2/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.5.1/lib/browser/math.js"></script>
<script src="https://unpkg.com/mathjs@14.5.2/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.5.1/lib/browser/math.js"></script>
<script src="https://unpkg.com/mathjs@14.5.2/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.5.1/lib/browser/math.js"></script>
<script src="https://unpkg.com/mathjs@14.5.2/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.5.1/lib/browser/math.js"></script>
<script src="https://unpkg.com/mathjs@14.5.2/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.5.1/lib/browser/math.js"></script>
<script src="https://unpkg.com/mathjs@14.5.2/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.5.1/lib/browser/math.js"></script>
<script src="https://unpkg.com/mathjs@14.5.2/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.5.1/lib/browser/math.js"></script>
<script src="https://unpkg.com/mathjs@14.5.2/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.5.1/lib/browser/math.js"></script>
<script src="https://unpkg.com/mathjs@14.5.2/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.5.1/lib/browser/math.js"></script>
<script src="https://unpkg.com/mathjs@14.5.2/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.5.1/lib/browser/math.js'], function (math) {
require(['https://unpkg.com/mathjs@14.5.2/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.5.1/lib/browser/math.js'], function (math) {
require(['https://unpkg.com/mathjs@14.5.2/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.5.1/lib/browser/math.js"></script>
<script src="https://unpkg.com/mathjs@14.5.2/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.5.1/lib/browser/math.js"></script>
<script src="https://unpkg.com/mathjs@14.5.2/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.5.1/lib/browser/math.js')
importScripts('https://unpkg.com/mathjs@14.5.2/lib/browser/math.js')
// create a parser
const parser = self.math.parser()

View File

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

View File

@ -4,6 +4,13 @@ layout: default
<h1 id="history">History <a href="#history" title="Permalink">#</a></h1>
<h1 id="20250530-1452">2025-05-30, 14.5.2 <a href="#20250530-1452" title="Permalink">#</a></h1>
- Fix: add embedded docs for the deprecated physical constant `coulomb`,
see <a href="https://github.com/josdejong/mathjs/issues/3472">#3472</a>.
- Fix: <a href="https://github.com/josdejong/mathjs/issues/3469">#3469</a> add `ResultSet` interface and improve `isResultSet` typing
(<a href="https://github.com/josdejong/mathjs/issues/3481">#3481</a>). Thanks <a href="https://github.com/ranidam">@ranidam</a>.
<h1 id="20250528-1451">2025-05-28, 14.5.1 <a href="#20250528-1451" title="Permalink">#</a></h1>
- Fix: <a href="https://github.com/josdejong/mathjs/issues/3482">#3482</a> mathjs throwing an error related to `BigInt` when loading in

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.5.1
* @date 2025-05-28
* @version 14.5.2
* @date 2025-05-30
*
* @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 d3f3643349dd15f29cbda0c7eb2ffbc2c6dde7f7
Subproject commit 50bd26c469361b851c7bedb58ca680ea353e82cf

27
package-lock.json generated
View File

@ -8,7 +8,7 @@
"name": "mathjs-website",
"version": "1.0.0",
"dependencies": {
"mathjs": "14.5.1"
"mathjs": "14.5.2"
},
"devDependencies": {
"fancy-log": "2.0.0",
@ -552,10 +552,11 @@
"dev": true
},
"node_modules/cross-spawn": {
"version": "7.0.3",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
"integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==",
"version": "7.0.6",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
"integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
"dev": true,
"license": "MIT",
"dependencies": {
"path-key": "^3.1.0",
"shebang-command": "^2.0.0",
@ -1483,9 +1484,9 @@
"dev": true
},
"node_modules/mathjs": {
"version": "14.5.1",
"resolved": "https://registry.npmjs.org/mathjs/-/mathjs-14.5.1.tgz",
"integrity": "sha512-AG2axXkY1v3Y7D4zCT19Vu25+jcIfhRBPpNXByavNcMmlNVm8owohyVeM3+6s/8VF8a8vLCNrhqoU9c5EeN3jA==",
"version": "14.5.2",
"resolved": "https://registry.npmjs.org/mathjs/-/mathjs-14.5.2.tgz",
"integrity": "sha512-51U6hp7j4M4Rj+l+q2KbmXAV9EhQVQzUdw1wE67RnUkKKq5ibxdrl9Ky2YkSUEIc2+VU8/IsThZNu6QSHUoyTA==",
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.26.10",
@ -2940,9 +2941,9 @@
"dev": true
},
"cross-spawn": {
"version": "7.0.3",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
"integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==",
"version": "7.0.6",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
"integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
"dev": true,
"requires": {
"path-key": "^3.1.0",
@ -3633,9 +3634,9 @@
"dev": true
},
"mathjs": {
"version": "14.5.1",
"resolved": "https://registry.npmjs.org/mathjs/-/mathjs-14.5.1.tgz",
"integrity": "sha512-AG2axXkY1v3Y7D4zCT19Vu25+jcIfhRBPpNXByavNcMmlNVm8owohyVeM3+6s/8VF8a8vLCNrhqoU9c5EeN3jA==",
"version": "14.5.2",
"resolved": "https://registry.npmjs.org/mathjs/-/mathjs-14.5.2.tgz",
"integrity": "sha512-51U6hp7j4M4Rj+l+q2KbmXAV9EhQVQzUdw1wE67RnUkKKq5ibxdrl9Ky2YkSUEIc2+VU8/IsThZNu6QSHUoyTA==",
"requires": {
"@babel/runtime": "^7.26.10",
"complex.js": "^2.2.5",

View File

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