Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 16 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,22 @@
instead of `define([], factory)` (same module value); the plain files are
larger (their inline source maps carry `sourcesContent`), the minified files
smaller (about 930 KiB / 1016 KiB instead of 1150 KiB / 1232 KiB).
- Runtime dependencies unchanged (Math.js 9.5.0, sd-utils 0.1.15, sd-random
0.1.4 and the same locked transitive versions); development tooling updated,
`package-lock.json` in format v3.
- Development tooling updated, `package-lock.json` in format v3.
- Tests: contract tests (`npm test`, `node:test`) on the bundles and the
sources, the Jasmine specs run in Node, `npm run test:build` checks a fresh
build in an isolated copy; GitHub Actions instead of Travis CI.

### Dependencies

- `package.json` unchanged: Math.js 9.5.0, sd-utils `^0.1.15`, sd-random
`^0.1.4`. Locked versions updated within the existing ranges:
- `@babel/runtime` 7.15.4 -> 7.29.10 (Math.js; its helpers are in both
bundles, `regenerator-runtime` 0.13.9 is no longer installed; the standalone
bundle still defines the global `regeneratorRuntime`);
- lodash 4.17.21 -> 4.18.1 and loglevel 1.7.1 -> 1.9.2 (sd-utils; in the
standalone bundle);
- Rollup 4.67.5 and other development packages.
- Unchanged on purpose: the Math.js dependencies that define expression
results (complex.js 2.0.15, decimal.js 10.3.1, fraction.js 4.1.1,
typed-function 2.0.0) and the Babel 6 plugins (see README). release-it stays
at 14.14.3, the last 14.x release.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,15 @@ browserslist config); class fields are assignments (Babel 6
`transform-class-properties`). Math.js (`lib/cjs`, through its `require`
export condition, as browserify resolves `main`) and its dependencies are
bundled as published, not compiled; the `browser` fields are honoured
(decimal.js, seedrandom without Node's `crypto`). The Babel 6 plugins are kept
for compatibility with the consumers' transform; a migration of that
configuration (and Babel 8) is a separate task.
(decimal.js, seedrandom without Node's `crypto`). The Babel 6 plugins are kept:
the `browserify.transform` field of sd-utils 0.1.15 names them, and the build,
the specs and the consumers compile sd-utils with it. A migration of these
fields (and Babel 8) is a separate task.

The bundled versions come from `package-lock.json`. A fresh install of the
package resolves the Math.js dependencies from the ranges of Math.js 9.5.0 and
can get newer ones (complex.js 2.4 is not ES5); `npm run test:build` reports
their syntax for its consumer install.

`npm run test:build` (`scripts/check-build.js`): copy of the working tree,
`npm ci`, build without warnings, the six artifacts exist and the bundles are
Expand Down
Loading