863 Commits

Author SHA1 Message Date
Jos de Jong
2f8f088ab1 Publish v9.4.4 2021-07-07 10:35:58 +02:00
Jos de Jong
e8a4123fc2 Fix #2258: drop official support for nodejs 10 2021-07-07 10:29:09 +02:00
Jos de Jong
6560f65740 Update dependencies, history, and authors 2021-07-07 10:26:42 +02:00
Michal Grňo
c7b09fea36
Add core-js polyfill for lib/browser (#2266)
* added core-js polyfills for lib/browser/math.js

* exclude defaultInstanceCorejs from lib/esm and lib/cjs

* removed a semicolon

* changed useBuiltIns to usage

Co-authored-by: Jos de Jong <wjosdejong@gmail.com>
2021-07-07 09:48:42 +02:00
Jos de Jong
fcaa242fb1 Publish v9.4.3 2021-06-23 15:34:36 +02:00
Michal Grňo
b4eed8ee92
Fix Decimal prototype pollution (#2244)
* changed BigNumber to a class that extends Decimal.clone(...)

* it works... if you patch decimal.js

* added a test that checks if sum of Decimals works

* minor improvement of code quality

* updated Decimal.js to 10.3

* removed the optional chaining operator to keep compat w/ Node 12

* removed try/catch from isBigNumber

Co-authored-by: Jos de Jong <wjosdejong@gmail.com>
2021-06-23 15:23:08 +02:00
Jos de Jong
6f804cb882 Revert to mocha@8.4.0, mocha@9.0.1 causes some of the unit tests to fail on IE 11 2021-06-23 15:01:08 +02:00
Jos de Jong
b71a4e01e9 Update devDependencies 2021-06-23 11:15:08 +02:00
Jos de Jong
4d841e4572 Create a mocha config file, define global timeout of 10 seconds 2021-06-23 11:03:08 +02:00
Jos de Jong
3278504d0c Publish v9.4.2 2021-06-05 12:43:17 +02:00
Jos de Jong
10b031afa4 Publish v9.4.1 2021-05-24 11:19:58 +02:00
Jos de Jong
e538cf6463 Update dependencies 2021-05-24 10:00:09 +02:00
Daniel Hritzkiv
41bd5f336d
Add types to files for publishing to npm (#2220)
Closes #2219
2021-05-24 09:51:33 +02:00
Jos de Jong
06d9675b5d Publish v9.4.0 2021-05-16 13:57:22 +02:00
Jos de Jong
7ed12ccd70 Upgrade to fraction.js@4.1.0, and integrate support for pow of rational exponents 2021-05-16 10:22:36 +02:00
Javier Marín
fe7cf0387b
fix: Webpack v5 Error: Module not found: Package path ./lib/esm/number is not exported from package @node_modules\mathjs (#2213) 2021-05-13 18:56:49 +02:00
Jos de Jong
85e04c21f5 Update to complex.js@2.0.13 (fixing #2211) 2021-05-12 17:18:19 +02:00
Meow
2b402f7cc3
Add type declaration of DefinitelyTyped (#2192)
Co-authored-by: Jos de Jong <wjosdejong@gmail.com>
2021-05-09 15:20:27 +02:00
Jos de Jong
95bb86a452 Update dependencies 2021-05-09 10:39:13 +02:00
Michal Grňo
d7a5693e91
Matrix creation and conversion methods (#2155)
* made dense and sparse matrices iterable, fixed #1184

* added matrixFromFunction, fixes #2153

* added tests for matrixFromFunction

* added matrixFromRows

* added matrixFromColumns

* added rows() and columns() for dense matrix

* improved sparse documentation a tiny bit

* fix linting issues

* added matrixFromRow/Column to seealso of row and column

* removed unnecessary duplication from matrixFromRows/Columns

* added babel runtime

Co-authored-by: Jos de Jong <wjosdejong@gmail.com>
2021-05-09 10:26:16 +02:00
Jos de Jong
1757afb0e0 Fix #2169: mathjs requesting @babel/runtime dependency. Publish v9.3.2 2021-04-12 19:44:13 +02:00
Jos de Jong
e6e6002f7b Publish v9.3.1 2021-04-10 16:45:19 +02:00
Jos de Jong
64a52a54d1 Add babel transform-runtime (needed for #2155) 2021-04-10 11:28:57 +02:00
Jos de Jong
1df5b44037 Update devDependencies 2021-03-31 15:20:40 +02:00
Jos de Jong
4a9f442495 Revert to karma-webpack@4 again 2021-03-10 15:11:51 +01:00
Jos de Jong
4cdc00f439 Update devDependencies (second try ;) ) 2021-03-10 15:07:19 +01:00
Jos de Jong
0d67b4b0f0 Revert "Update devDependencies"
This reverts commit 7ecca277
2021-03-10 15:00:28 +01:00
Jos de Jong
7ecca277ab Update devDependencies 2021-03-10 14:41:52 +01:00
Jos de Jong
d0df34dcb5 Publish v9.3.0 2021-03-10 14:12:56 +01:00
Jos de Jong
54570e571c Upgrade to karma@6.1.1 2021-02-14 11:31:08 +01:00
Jos de Jong
23ce12a8cb Update devDependencies 2021-02-14 11:25:49 +01:00
Jos de Jong
67a9878073 Revert "Configure default timeout for mocha tests as 10 seconds"
This reverts commit f812e662
2021-02-03 19:01:15 +01:00
Jos de Jong
f812e66252 Configure default timeout for mocha tests as 10 seconds 2021-02-03 17:58:37 +01:00
Jos de Jong
6a6daa6704 Publish v9.2.0 2021-02-03 17:32:55 +01:00
Jos de Jong
5011ed1f04 Publish v9.1.0 2021-01-27 11:21:06 +01:00
Jos de Jong
c56000228f Upgrade to webpack@4.46.0. Some fixes in integration tests, and better logging. 2021-01-16 15:51:12 +01:00
Jos de Jong
4b24240f81 Publish v9.0.0 2021-01-16 12:11:05 +01:00
Jos de Jong
b141984f47 Publish v8.1.1 2020-12-30 21:00:14 +01:00
Jos de Jong
5fe21defa7 Merge remote-tracking branch 'origin/develop' into develop 2020-12-30 15:51:37 +01:00
Jos de Jong
74c88a6add Add bundle (./lib/browser/math.js) to exports list 2020-12-30 15:51:25 +01:00
dependabot-preview[bot]
ed4fac3f0c
Bump math-expression-evaluator from 1.3.6 to 1.3.7 (#2067)
Bumps [math-expression-evaluator](https://github.com/redhivesoftware/math-expression-evaluator) from 1.3.6 to 1.3.7.
- [Release notes](https://github.com/redhivesoftware/math-expression-evaluator/releases)
- [Commits](https://github.com/redhivesoftware/math-expression-evaluator/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-27 21:55:33 +01:00
Jos de Jong
3439e7676a Update devDependencies and history 2020-12-18 14:43:27 +01:00
Harry Sarson
788c0b96e9
Refactor/GitHub workflow (#2041)
* Try out running unit tests with github actions instead of Travis

* try running browser tests in github actions

* fix workflow names

* run build on pr too

* trying running CI only once on PR

* Revert "trying running CI only once on PR"

This reverts commit 9a3db6e167642e9bd35ed6f20a459c5450dd882e.

* run CI only once on PR from branch

* try running transpiled build on node 10

* correct node version syntax + tidy

* fix syntax

* final (?) fix up

Co-authored-by: Jos de Jong <wjosdejong@gmail.com>
2020-12-18 14:36:56 +01:00
Jos de Jong
59aacb4c04 Update devDependencies 2020-12-04 10:57:35 +01:00
Jos de Jong
3e51c0bcb3 Publish v8.1.0 2020-12-04 10:31:54 +01:00
Jos de Jong
fc042d0b78 Publish v8.0.1 2020-11-09 16:16:00 +01:00
Jos de Jong
bc902335c1 Publish v8.0.0 2020-11-06 10:41:11 +01:00
Jos de Jong
d0e61a42a5 Publish v8.0.0-beta.1 2020-11-06 09:50:34 +01:00
Jos de Jong
41c5e2fabe Merge branch 'develop' into v8
# Conflicts:
#	HISTORY.md
#	package-lock.json
#	package.json
#	src/expression/embeddedDocs/embeddedDocs.js
#	src/factoriesAny.js
#	src/function/special/erf.js
#	src/plain/number/probability.js
#	src/version.js
2020-11-02 11:59:12 +01:00
Jos de Jong
9fd958110f Publish v7.6.0 2020-11-02 10:17:09 +01:00