829 Commits

Author SHA1 Message Date
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
Jos de Jong
68c6a91801 Update devDependencies 2020-11-02 09:33:11 +01:00
Jos de Jong
05721710d0 Publish v8.0.0-beta.0 2020-10-18 17:57:39 +02:00
Jos de Jong
83e1963cee Merge branch 'develop' into v8
# Conflicts:
#	HISTORY.md
#	src/function/probability/pickRandom.js
#	test/unit-tests/function/probability/pickRandom.test.js
2020-10-18 10:14:32 +02:00
Jos de Jong
2594c69910 Publish v7.5.1 2020-10-10 10:29:24 +02:00
Jos de Jong
a2858e266a Publish v7.5.0 2020-10-07 15:17:51 +02:00
Jos de Jong
adb259b194 Merge remote-tracking branch 'origin/develop' into v8
# Conflicts:
#	HISTORY.md
#	package-lock.json
#	package.json
#	src/expression/embeddedDocs/embeddedDocs.js
#	src/factoriesAny.js
2020-10-07 13:35:05 +02:00
Jos de Jong
7575156c88 Publish v7.4.0 2020-10-07 12:53:30 +02:00
Jos de Jong
99b738f3e6 Merge branch 'develop' into v8
# Conflicts:
#	AUTHORS
#	HISTORY.md
#	package-lock.json
#	package.json
#	src/expression/embeddedDocs/embeddedDocs.js
#	src/factoriesAny.js
#	src/function/arithmetic/ceil.js
#	src/function/arithmetic/fix.js
#	src/function/arithmetic/floor.js
#	test/unit-tests/function/arithmetic/ceil.test.js
2020-10-07 12:12:35 +02:00
Jos de Jong
76f6085c77 Publish v7.3.0 2020-09-26 17:53:58 +02:00
Jos de Jong
73c66b947a Update devDependencies 2020-09-26 17:50:30 +02:00
Jos de Jong
18996cb417 Update devDependencies 2020-09-23 11:48:35 +02:00
Jos de Jong
6f00715754
Specify import require paths (continuation of #1941) (#1962)
* Add `.js` extension to source file imports

* Specify package `exports` in `package.json`

Specify package type as `commonjs` (It's good to be specific)

* Move all compiled scripts into `lib` directory

Remove ./number.js (You can use the compiled ones in `./lib/*`)

Tell node that the `esm` directory is type `module` and enable tree shaking.

Remove unused files from packages `files` property

* Allow importing of package.json

* Make library ESM first

* - Fix merge conflicts
- Refactor `bundleAny` into `defaultInstance.js` and `browserBundle.cjs`
- Refactor unit tests to be able to run with plain nodejs (no transpiling)
- Fix browser examples

* Fix browser and browserstack tests

* Fix running unit tests on Node 10 (which has no support for modules)

* Fix node.js examples (those are still commonjs)

* Remove the need for `browserBundle.cjs`

* Generate minified bundle only

* [Security] Bump node-fetch from 2.6.0 to 2.6.1 (#1963)

Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1. **This update includes a security fix.**
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* Cleanup console.log

* Add integration tests to test the entry points (commonjs/esm, full/number only)

* Create backward compatibility error messages in the files moved/removed since v8

* Describe breaking changes in HISTORY.md

* Bump karma from 5.2.1 to 5.2.2 (#1965)

Bumps [karma](https://github.com/karma-runner/karma) from 5.2.1 to 5.2.2.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v5.2.1...v5.2.2)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

Co-authored-by: Lee Langley-Rees <lee@greenimp.co.uk>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-20 18:01:29 +02:00
dependabot-preview[bot]
d43fd86b90
Bump uglify-js from 3.10.3 to 3.10.4 (#1961)
Bumps [uglify-js](https://github.com/mishoo/UglifyJS) from 3.10.3 to 3.10.4.
- [Release notes](https://github.com/mishoo/UglifyJS/releases)
- [Commits](https://github.com/mishoo/UglifyJS/compare/v3.10.3...v3.10.4)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-20 17:58:48 +02:00
dependabot-preview[bot]
36faee8214
Bump karma from 5.2.1 to 5.2.2 (#1965)
Bumps [karma](https://github.com/karma-runner/karma) from 5.2.1 to 5.2.2.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v5.2.1...v5.2.2)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-14 20:58:09 +02:00
PoppinL
943f1dbe70
Replace seed-random by seedrandom (#1955) 2020-09-06 10:25:41 +02:00
Jos de Jong
1ce9acd7d7 Replace underscore with lodash (used in some unit tests) 2020-09-06 10:03:07 +02:00
Jos de Jong
40fba6ed76 Update all devDependencies 2020-09-06 09:55:14 +02:00
dependabot-preview[bot]
77ca248c39
Bump uglify-js from 3.10.2 to 3.10.3 (#1951)
Bumps [uglify-js](https://github.com/mishoo/UglifyJS) from 3.10.2 to 3.10.3.
- [Release notes](https://github.com/mishoo/UglifyJS/releases)
- [Commits](https://github.com/mishoo/UglifyJS/compare/v3.10.2...v3.10.3)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-01 22:44:58 +02:00
Jos de Jong
8e00dc32df Urgh. Revert to mocha 8.0.1 again because of karma issue 2020-08-24 20:53:34 +02:00
Jos de Jong
e94379d5ef Publish v7.2.0. Update devDependencies 2020-08-24 20:41:25 +02:00
Jos de Jong
3d8d668c97 Revert to mocha@8.0.1 for now, 8.1.1 breaks the browserstack build 2020-08-07 15:55:05 +02:00
Jos de Jong
9bac11e536 Update devDependencies 2020-08-07 15:13:13 +02:00
jos
2e0b37e50c Update devDependencies 2020-07-25 15:19:17 +02:00
Jos de Jong
76a0ec755b Publish v7.1.0 2020-07-13 21:26:05 +02:00
Nick Ewing
859cfa208a
Replace recursive calls in typed-functions with this-style calls (#1903)
* Fix #1902: typo in an example in the documentation

* Replace recursive calls in typed-functions with `this`-style calls

* Replace more recursive calls in typed-functions with `this`-style calls

* Refactor compareNatural to use this-style recursion

Co-authored-by: josdejong <wjosdejong@gmail.com>
2020-07-13 17:37:30 +02:00
Jos de Jong
d3f71175cf Update devDependencies 2020-07-11 13:05:41 +02:00
josdejong
9e4967ad68 Publish v 7.0.2 2020-06-24 09:51:49 +02:00
josdejong
7b5038eb89 Update devDependencies. Fix linting error 2020-06-23 21:09:38 +02:00
dependabot-preview[bot]
8428b18423
Bump karma from 5.0.9 to 5.1.0 (#1884)
Bumps [karma](https://github.com/karma-runner/karma) from 5.0.9 to 5.1.0.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v5.0.9...v5.1.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-19 22:33:28 +01:00
dependabot-preview[bot]
ef1c7a2892
Bump mocha from 7.2.0 to 8.0.1 (#1881)
Bumps [mocha](https://github.com/mochajs/mocha) from 7.2.0 to 8.0.1.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v7.2.0...v8.0.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-11 13:51:44 +01:00
josdejong
7dd764b1c8 Update devDependencies 2020-06-06 14:06:12 +02:00
dependabot-preview[bot]
5e85b19577
Bump nyc from 15.0.1 to 15.1.0 (#1878)
Bumps [nyc](https://github.com/istanbuljs/nyc) from 15.0.1 to 15.1.0.
- [Release notes](https://github.com/istanbuljs/nyc/releases)
- [Changelog](https://github.com/istanbuljs/nyc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/istanbuljs/nyc/compare/v15.0.1...v15.1.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-05 09:15:06 +01:00
josdejong
3202027408 Publish v7.0.1 2020-05-30 13:52:56 +02:00
josdejong
f038a4c3c7 Update devDependencies 2020-05-30 13:50:56 +02:00