mirror of
https://github.com/josdejong/mathjs.git
synced 2026-01-25 15:07:57 +00:00
chore: publish mathjs@12.4.2
This commit is contained in:
parent
9e86a6cec6
commit
970b541ea0
@ -217,7 +217,7 @@ All nodes have the following methods:
|
||||
this node and each of its child nodes. Similar to `Array.forEach`, except
|
||||
recursive.
|
||||
The callback function is a mapping function accepting a node, and returning
|
||||
a replacement for the node or the original node. Function `callback` is
|
||||
nothing. Function `callback` is
|
||||
called as `callback(node: Node, path: string, parent: Node)` for every node
|
||||
in the tree. Parameter `path` is a string containing a relative JSON Path.
|
||||
Example:
|
||||
|
||||
@ -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@12.4.1/">https://unpkg.com/mathjs@12.4.1/</a></td>
|
||||
<td><a href="https://unpkg.com/mathjs@12.4.2/">https://unpkg.com/mathjs@12.4.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@12.4.1/lib/browser/math.js"
|
||||
>math.js (version 12.4.1, <span id="size">200 kB</span>, minified and gzipped)</a>
|
||||
and if needed the <a href="https://unpkg.com/mathjs@12.4.1/lib/browser/math.js.map">source map</a>
|
||||
href="https://unpkg.com/mathjs@12.4.2/lib/browser/math.js"
|
||||
>math.js (version 12.4.2, <span id="size">201 kB</span>, minified and gzipped)</a>
|
||||
and if needed the <a href="https://unpkg.com/mathjs@12.4.2/lib/browser/math.js.map">source map</a>
|
||||
</p>
|
||||
|
||||
Too large for you? Create your own [custom bundle](docs/custom_bundling.html).
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
}
|
||||
</style>
|
||||
|
||||
<script src="https://unpkg.com/mathjs@12.4.1/lib/browser/math.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@12.4.2/lib/browser/math.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
@ -24,7 +24,7 @@ File: [angle_configuration.html](angle_configuration.html) (click for a live dem
|
||||
}
|
||||
</style>
|
||||
|
||||
<script src="https://unpkg.com/mathjs@12.4.1/lib/browser/math.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@12.4.2/lib/browser/math.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>math.js | basic usage</title>
|
||||
<script src="https://unpkg.com/mathjs@12.4.1/lib/browser/math.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@12.4.2/lib/browser/math.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
@ -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@12.4.1/lib/browser/math.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@12.4.2/lib/browser/math.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8">
|
||||
<title>math.js | currency conversion</title>
|
||||
|
||||
<script src="https://unpkg.com/mathjs@12.4.1/lib/browser/math.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@12.4.2/lib/browser/math.js"></script>
|
||||
|
||||
<style>
|
||||
body,
|
||||
|
||||
@ -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@12.4.1/lib/browser/math.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@12.4.2/lib/browser/math.js"></script>
|
||||
|
||||
<style>
|
||||
body,
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
}
|
||||
</style>
|
||||
|
||||
<script src="https://unpkg.com/mathjs@12.4.1/lib/browser/math.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@12.4.2/lib/browser/math.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
@ -24,7 +24,7 @@ File: [custom_separators.html](custom_separators.html) (click for a live demo)
|
||||
}
|
||||
</style>
|
||||
|
||||
<script src="https://unpkg.com/mathjs@12.4.1/lib/browser/math.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@12.4.2/lib/browser/math.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>math.js | Lorenz Attractor</title>
|
||||
<script src="https://unpkg.com/mathjs@12.4.1/lib/browser/math.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@12.4.2/lib/browser/math.js"></script>
|
||||
|
||||
<script src="https://cdn.plot.ly/plotly-2.25.2.min.js" charset="utf-8"></script>
|
||||
<style>
|
||||
|
||||
@ -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@12.4.1/lib/browser/math.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@12.4.2/lib/browser/math.js"></script>
|
||||
|
||||
<script src="https://cdn.plot.ly/plotly-2.25.2.min.js" charset="utf-8"></script>
|
||||
<style>
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>math.js | Lorenz Attractor</title>
|
||||
<script src="https://unpkg.com/mathjs@12.4.1/lib/browser/math.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@12.4.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"
|
||||
|
||||
@ -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@12.4.1/lib/browser/math.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@12.4.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"
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>math.js | plot</title>
|
||||
<script src="https://unpkg.com/mathjs@12.4.1/lib/browser/math.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@12.4.2/lib/browser/math.js"></script>
|
||||
|
||||
<script src="https://cdn.plot.ly/plotly-1.35.2.min.js"></script>
|
||||
|
||||
|
||||
@ -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@12.4.1/lib/browser/math.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@12.4.2/lib/browser/math.js"></script>
|
||||
|
||||
<script src="https://cdn.plot.ly/plotly-1.35.2.min.js"></script>
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8">
|
||||
<title>math.js | pretty printing with MathJax</title>
|
||||
|
||||
<script src="https://unpkg.com/mathjs@12.4.1/lib/browser/math.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@12.4.2/lib/browser/math.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js"></script>
|
||||
|
||||
<style>
|
||||
|
||||
@ -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@12.4.1/lib/browser/math.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@12.4.2/lib/browser/math.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js"></script>
|
||||
|
||||
<style>
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8">
|
||||
<title>math.js | printing HTML</title>
|
||||
|
||||
<script src="https://unpkg.com/mathjs@12.4.1/lib/browser/math.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@12.4.2/lib/browser/math.js"></script>
|
||||
|
||||
<style>
|
||||
body {
|
||||
|
||||
@ -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@12.4.1/lib/browser/math.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@12.4.2/lib/browser/math.js"></script>
|
||||
|
||||
<style>
|
||||
body {
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
|
||||
<script>
|
||||
// load math.js using require.js
|
||||
require(['https://unpkg.com/mathjs@12.4.1/lib/browser/math.js'], function (math) {
|
||||
require(['https://unpkg.com/mathjs@12.4.2/lib/browser/math.js'], function (math) {
|
||||
// evaluate some expression
|
||||
const result = math.evaluate('1.2 * (2 + 4.5)')
|
||||
document.write(result)
|
||||
|
||||
@ -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@12.4.1/lib/browser/math.js'], function (math) {
|
||||
require(['https://unpkg.com/mathjs@12.4.2/lib/browser/math.js'], function (math) {
|
||||
// evaluate some expression
|
||||
const result = math.evaluate('1.2 * (2 + 4.5)')
|
||||
document.write(result)
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
<meta charset="utf-8">
|
||||
<title>math.js | rocket trajectory optimization</title>
|
||||
|
||||
<script src="https://unpkg.com/mathjs@12.4.1/lib/browser/math.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@12.4.2/lib/browser/math.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.5.0/Chart.min.js"></script>
|
||||
|
||||
<style>
|
||||
|
||||
@ -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@12.4.1/lib/browser/math.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@12.4.2/lib/browser/math.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.5.0/Chart.min.js"></script>
|
||||
|
||||
<style>
|
||||
|
||||
@ -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@12.4.1/lib/browser/math.js')
|
||||
importScripts('https://unpkg.com/mathjs@12.4.2/lib/browser/math.js')
|
||||
|
||||
// create a parser
|
||||
const parser = self.math.parser()
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
importScripts('https://unpkg.com/mathjs@12.4.1/lib/browser/math.js')
|
||||
importScripts('https://unpkg.com/mathjs@12.4.2/lib/browser/math.js')
|
||||
|
||||
// create a parser
|
||||
const parser = self.math.parser()
|
||||
|
||||
@ -4,6 +4,15 @@ layout: default
|
||||
|
||||
<h1 id="history">History <a href="#history" title="Permalink">#</a></h1>
|
||||
|
||||
<h1 id="20240424-1242">2024-04-24, 12.4.2 <a href="#20240424-1242" title="Permalink">#</a></h1>
|
||||
|
||||
- Fix <a href="https://github.com/josdejong/mathjs/issues/3192">#3192</a>: function `isNaN` returns `false` for `NaN` units in a matrix or
|
||||
array (<a href="https://github.com/josdejong/mathjs/issues/3193">#3193</a>). Thanks <a href="https://github.com/lgerin">@lgerin</a>.
|
||||
- Fix: <a href="https://github.com/josdejong/mathjs/issues/3180">#3180</a> fix type definitions of functions `add` and `multiply` to allow
|
||||
more than two arguments.
|
||||
- Docs: correct the docs about `traverse` returning void (<a href="https://github.com/josdejong/mathjs/issues/3177">#3177</a>).
|
||||
Thanks <a href="https://github.com/rohildshah">@rohildshah</a>.
|
||||
|
||||
|
||||
<h1 id="20240313-1241">2024-03-13, 12.4.1 <a href="#20240313-1241" title="Permalink">#</a></h1>
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -23,8 +23,8 @@
|
||||
* It features real and complex numbers, units, matrices, a large set of
|
||||
* mathematical functions, and a flexible expression parser.
|
||||
*
|
||||
* @version 12.4.1
|
||||
* @date 2024-03-13
|
||||
* @version 12.4.2
|
||||
* @date 2024-04-24
|
||||
*
|
||||
* @license
|
||||
* Copyright (C) 2013-2024 Jos de Jong <wjosdejong@gmail.com>
|
||||
|
||||
File diff suppressed because one or more lines are too long
30
package-lock.json
generated
30
package-lock.json
generated
@ -8,7 +8,7 @@
|
||||
"name": "mathjs-website",
|
||||
"version": "1.0.0",
|
||||
"dependencies": {
|
||||
"mathjs": "12.4.1"
|
||||
"mathjs": "12.4.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"fancy-log": "2.0.0",
|
||||
@ -22,9 +22,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@babel/runtime": {
|
||||
"version": "7.24.0",
|
||||
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.0.tgz",
|
||||
"integrity": "sha512-Chk32uHMg6TnQdvw2e9IlqPpFX/6NLuK0Ys2PqLb7/gL5uFn9mXvK715FGLlOLQrcO4qIkNHkvPGktzzXexsFw==",
|
||||
"version": "7.24.4",
|
||||
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.4.tgz",
|
||||
"integrity": "sha512-dkxf7+hn8mFBwKjs9bvBlArzLVxVbS8usaPUDd5p2a9JCL9tB8OaOVN1isD4+Xyk4ns89/xeOmbQvgdK7IIVdA==",
|
||||
"dependencies": {
|
||||
"regenerator-runtime": "^0.14.0"
|
||||
},
|
||||
@ -3079,11 +3079,11 @@
|
||||
}
|
||||
},
|
||||
"node_modules/mathjs": {
|
||||
"version": "12.4.1",
|
||||
"resolved": "https://registry.npmjs.org/mathjs/-/mathjs-12.4.1.tgz",
|
||||
"integrity": "sha512-welnW3khgwYjPYvECFHO+xkCxAx9IKIIPDDWPi8B5rKAvmgoEHnQX9slEmHKZTNaJiE+OS4qrJJcB4sfDn/4sw==",
|
||||
"version": "12.4.2",
|
||||
"resolved": "https://registry.npmjs.org/mathjs/-/mathjs-12.4.2.tgz",
|
||||
"integrity": "sha512-lW14EzwAFgbNN7AZikxplmhs7wiXDhMphBOGCA3KS6T29ECEkHJsBtbEW5cnCz7sXtl4nDyvTdR+DqVsZyiiEw==",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.24.0",
|
||||
"@babel/runtime": "^7.24.4",
|
||||
"complex.js": "^2.1.1",
|
||||
"decimal.js": "^10.4.3",
|
||||
"escape-latex": "^1.2.0",
|
||||
@ -4834,9 +4834,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/runtime": {
|
||||
"version": "7.24.0",
|
||||
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.0.tgz",
|
||||
"integrity": "sha512-Chk32uHMg6TnQdvw2e9IlqPpFX/6NLuK0Ys2PqLb7/gL5uFn9mXvK715FGLlOLQrcO4qIkNHkvPGktzzXexsFw==",
|
||||
"version": "7.24.4",
|
||||
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.4.tgz",
|
||||
"integrity": "sha512-dkxf7+hn8mFBwKjs9bvBlArzLVxVbS8usaPUDd5p2a9JCL9tB8OaOVN1isD4+Xyk4ns89/xeOmbQvgdK7IIVdA==",
|
||||
"requires": {
|
||||
"regenerator-runtime": "^0.14.0"
|
||||
}
|
||||
@ -7349,11 +7349,11 @@
|
||||
}
|
||||
},
|
||||
"mathjs": {
|
||||
"version": "12.4.1",
|
||||
"resolved": "https://registry.npmjs.org/mathjs/-/mathjs-12.4.1.tgz",
|
||||
"integrity": "sha512-welnW3khgwYjPYvECFHO+xkCxAx9IKIIPDDWPi8B5rKAvmgoEHnQX9slEmHKZTNaJiE+OS4qrJJcB4sfDn/4sw==",
|
||||
"version": "12.4.2",
|
||||
"resolved": "https://registry.npmjs.org/mathjs/-/mathjs-12.4.2.tgz",
|
||||
"integrity": "sha512-lW14EzwAFgbNN7AZikxplmhs7wiXDhMphBOGCA3KS6T29ECEkHJsBtbEW5cnCz7sXtl4nDyvTdR+DqVsZyiiEw==",
|
||||
"requires": {
|
||||
"@babel/runtime": "^7.24.0",
|
||||
"@babel/runtime": "^7.24.4",
|
||||
"complex.js": "^2.1.1",
|
||||
"decimal.js": "^10.4.3",
|
||||
"escape-latex": "^1.2.0",
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
"url": "https://github.com/josdejong/mathjs.git"
|
||||
},
|
||||
"dependencies": {
|
||||
"mathjs": "12.4.1"
|
||||
"mathjs": "12.4.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"fancy-log": "2.0.0",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user