Skip to content

Commit

Permalink
chore: publish [email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
josdejong committed Dec 11, 2024
1 parent 76ee47b commit e47fb38
Show file tree
Hide file tree
Showing 32 changed files with 47 additions and 41 deletions.
8 changes: 4 additions & 4 deletions download.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected].0/">https://unpkg.com/[email protected].0/</a></td>
<td><a href="https://unpkg.com/[email protected].1/">https://unpkg.com/[email protected].1/</a></td>
</tr>
<tr>
<td>cdnjs</td>
Expand All @@ -48,9 +48,9 @@ Or download the full bundle directly from [unpkg](https://unpkg.com):

<p>
<a
href="https://unpkg.com/[email protected].0/lib/browser/math.js"
>math.js (version 14.0.0, <span id="size">184 kB</span>, minified and gzipped)</a>
and if needed the <a href="https://unpkg.com/[email protected].0/lib/browser/math.js.map">source map</a>
href="https://unpkg.com/[email protected].1/lib/browser/math.js"
>math.js (version 14.0.1, <span id="size">184 kB</span>, minified and gzipped)</a>
and if needed the <a href="https://unpkg.com/[email protected].1/lib/browser/math.js.map">source map</a>
</p>

Too large for you? Create your own [custom bundle](docs/custom_bundling.html).
Expand Down
2 changes: 1 addition & 1 deletion examples/browser/angle_configuration.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}
</style>

<script src="https://unpkg.com/[email protected].0/lib/browser/math.js"></script>
<script src="https://unpkg.com/[email protected].1/lib/browser/math.js"></script>
</head>
<body>

Expand Down
2 changes: 1 addition & 1 deletion examples/browser/angle_configuration.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ File: [angle_configuration.html](angle_configuration.html) (click for a live dem
}
</style>

<script src="https://unpkg.com/[email protected].0/lib/browser/math.js"></script>
<script src="https://unpkg.com/[email protected].1/lib/browser/math.js"></script>
</head>
<body>

Expand Down
2 changes: 1 addition & 1 deletion examples/browser/basic_usage.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>math.js | basic usage</title>
<script src="https://unpkg.com/[email protected].0/lib/browser/math.js"></script>
<script src="https://unpkg.com/[email protected].1/lib/browser/math.js"></script>
</head>
<body>

Expand Down
2 changes: 1 addition & 1 deletion examples/browser/basic_usage.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected].0/lib/browser/math.js"></script>
<script src="https://unpkg.com/[email protected].1/lib/browser/math.js"></script>
</head>
<body>

Expand Down
2 changes: 1 addition & 1 deletion examples/browser/currency_conversion.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>math.js | currency conversion</title>

<script src="https://unpkg.com/[email protected].0/lib/browser/math.js"></script>
<script src="https://unpkg.com/[email protected].1/lib/browser/math.js"></script>

<style>
body,
Expand Down
2 changes: 1 addition & 1 deletion examples/browser/currency_conversion.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected].0/lib/browser/math.js"></script>
<script src="https://unpkg.com/[email protected].1/lib/browser/math.js"></script>

<style>
body,
Expand Down
2 changes: 1 addition & 1 deletion examples/browser/custom_separators.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}
</style>

<script src="https://unpkg.com/[email protected].0/lib/browser/math.js"></script>
<script src="https://unpkg.com/[email protected].1/lib/browser/math.js"></script>
</head>
<body>

Expand Down
2 changes: 1 addition & 1 deletion examples/browser/custom_separators.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ File: [custom_separators.html](custom_separators.html) (click for a live demo)
}
</style>

<script src="https://unpkg.com/[email protected].0/lib/browser/math.js"></script>
<script src="https://unpkg.com/[email protected].1/lib/browser/math.js"></script>
</head>
<body>

Expand Down
2 changes: 1 addition & 1 deletion examples/browser/lorenz.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta charset="UTF-8">
<title>math.js | Lorenz Attractor</title>
<script src="https://unpkg.com/[email protected].0/lib/browser/math.js"></script>
<script src="https://unpkg.com/[email protected].1/lib/browser/math.js"></script>

<script src="https://cdn.plot.ly/plotly-2.25.2.min.js" charset="utf-8"></script>
<style>
Expand Down
2 changes: 1 addition & 1 deletion examples/browser/lorenz.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected].0/lib/browser/math.js"></script>
<script src="https://unpkg.com/[email protected].1/lib/browser/math.js"></script>

<script src="https://cdn.plot.ly/plotly-2.25.2.min.js" charset="utf-8"></script>
<style>
Expand Down
2 changes: 1 addition & 1 deletion examples/browser/lorenz_interactive.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta charset="UTF-8">
<title>math.js | Lorenz Attractor</title>
<script src="https://unpkg.com/[email protected].0/lib/browser/math.js"></script>
<script src="https://unpkg.com/[email protected].1/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"
Expand Down
2 changes: 1 addition & 1 deletion examples/browser/lorenz_interactive.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected].0/lib/browser/math.js"></script>
<script src="https://unpkg.com/[email protected].1/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"
Expand Down
2 changes: 1 addition & 1 deletion examples/browser/plot.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>math.js | plot</title>
<script src="https://unpkg.com/[email protected].0/lib/browser/math.js"></script>
<script src="https://unpkg.com/[email protected].1/lib/browser/math.js"></script>

<script src="https://cdn.plot.ly/plotly-1.35.2.min.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion examples/browser/plot.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected].0/lib/browser/math.js"></script>
<script src="https://unpkg.com/[email protected].1/lib/browser/math.js"></script>

<script src="https://cdn.plot.ly/plotly-1.35.2.min.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion examples/browser/pretty_printing_with_mathjax.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>math.js | pretty printing with MathJax</title>

<script src="https://unpkg.com/[email protected].0/lib/browser/math.js"></script>
<script src="https://unpkg.com/[email protected].1/lib/browser/math.js"></script>
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js"></script>

<style>
Expand Down
2 changes: 1 addition & 1 deletion examples/browser/pretty_printing_with_mathjax.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected].0/lib/browser/math.js"></script>
<script src="https://unpkg.com/[email protected].1/lib/browser/math.js"></script>
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js"></script>

<style>
Expand Down
2 changes: 1 addition & 1 deletion examples/browser/printing_html.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>math.js | printing HTML</title>

<script src="https://unpkg.com/[email protected].0/lib/browser/math.js"></script>
<script src="https://unpkg.com/[email protected].1/lib/browser/math.js"></script>

<style>
body {
Expand Down
2 changes: 1 addition & 1 deletion examples/browser/printing_html.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected].0/lib/browser/math.js"></script>
<script src="https://unpkg.com/[email protected].1/lib/browser/math.js"></script>

<style>
body {
Expand Down
2 changes: 1 addition & 1 deletion examples/browser/requirejs_loading.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<script>
// load math.js using require.js
require(['https://unpkg.com/[email protected].0/lib/browser/math.js'], function (math) {
require(['https://unpkg.com/[email protected].1/lib/browser/math.js'], function (math) {
// evaluate some expression
const result = math.evaluate('1.2 * (2 + 4.5)')
document.write(result)
Expand Down
2 changes: 1 addition & 1 deletion examples/browser/requirejs_loading.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected].0/lib/browser/math.js'], function (math) {
require(['https://unpkg.com/[email protected].1/lib/browser/math.js'], function (math) {
// evaluate some expression
const result = math.evaluate('1.2 * (2 + 4.5)')
document.write(result)
Expand Down
2 changes: 1 addition & 1 deletion examples/browser/rocket_trajectory_optimization.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="utf-8">
<title>math.js | rocket trajectory optimization</title>

<script src="https://unpkg.com/[email protected].0/lib/browser/math.js"></script>
<script src="https://unpkg.com/[email protected].1/lib/browser/math.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.5.0/Chart.min.js"></script>

<style>
Expand Down
2 changes: 1 addition & 1 deletion examples/browser/rocket_trajectory_optimization.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected].0/lib/browser/math.js"></script>
<script src="https://unpkg.com/[email protected].1/lib/browser/math.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.5.0/Chart.min.js"></script>

<style>
Expand Down
2 changes: 1 addition & 1 deletion examples/browser/webworkers/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ File: [webworkers.html](webworkers.html) (click for a live demo)
File: [worker.js](worker.js)

```js
importScripts('https://unpkg.com/[email protected].0/lib/browser/math.js')
importScripts('https://unpkg.com/[email protected].1/lib/browser/math.js')

// create a parser
const parser = self.math.parser()
Expand Down
2 changes: 1 addition & 1 deletion examples/browser/webworkers/worker.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
importScripts('https://unpkg.com/[email protected].0/lib/browser/math.js')
importScripts('https://unpkg.com/[email protected].1/lib/browser/math.js')

// create a parser
const parser = self.math.parser()
Expand Down
6 changes: 6 additions & 0 deletions history.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ layout: default

<h1 id="history">History <a href="#history" title="Permalink">#</a></h1>

<h1 id="20241211-1401">2024-12-11, 14.0.1 <a href="#20241211-1401" title="Permalink">#</a></h1>

- Fix: make derivative much faster (<a href="https://github.com/josdejong/mathjs/issues/3322">#3322</a>). Thanks <a href="https://github.com/paulftw">@paulftw</a>.
- Fix: <a href="https://github.com/josdejong/mathjs/issues/3317">#3317</a> export `Fraction` type from the `fraction.js` library instead of
using a custom interface (<a href="https://github.com/josdejong/mathjs/issues/3330">#3330</a>). Thanks <a href="https://github.com/fchu">@fchu</a>.

<h1 id="20241120-1400">2024-11-20, 14.0.0 <a href="#20241120-1400" title="Permalink">#</a></h1>

!!! BE CAREFUL: BREAKING CHANGES !!!
Expand Down
2 changes: 1 addition & 1 deletion js/lib/math.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/lib/math.js.LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.0.0
* @date 2024-11-20
* @version 14.0.1
* @date 2024-12-11
*
* @license
* Copyright (C) 2013-2024 Jos de Jong <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion js/lib/math.js.map

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"url": "https://github.com/josdejong/mathjs.git"
},
"dependencies": {
"mathjs": "14.0.0"
"mathjs": "14.0.1"
},
"devDependencies": {
"fancy-log": "2.0.0",
Expand Down

0 comments on commit e47fb38

Please sign in to comment.