Skip to content

chore(deps): upgrade the @joint/sanitize build tools and the Angular example - #3571

Closed
kumilingus wants to merge 1 commit into
clientIO:masterfrom
kumilingus:chore/deps-sanitize-angular
Closed

kumilingus wants to merge 1 commit into
clientIO:masterfrom
kumilingus:chore/deps-sanitize-angular

Conversation

@kumilingus

Copy link
Copy Markdown
Contributor

Summary

Clears Dependabot alerts held by dev tooling in the Angular example and in @joint/sanitize.

@joint/sanitize build and test tools (rollup ×2, serialize-javascript ×3)

Its devDependencies were older than the rest of the repository - the versions @joint/core and the other packages use now:

From To
rollup 4.36.0 4.64.12
@rollup/plugin-terser ^0.4.4 ^1.0.2 (serialize-javascript 6 → 7)
@rollup/plugin-node-resolve ^15.2.3 ^16.0.3
mocha 11.1.0 12.0.3 (serialize-javascript 6 → 7)

Nothing a consumer installs changes: no runtime dependencies, the @joint/core peer range (>=4.1.0 <5), src/ and the bundle configuration are untouched.

Angular example (undici ×8)

Pending - to be added to this PR. @angular/build 21.2.28 pins undici 7.29.1; 21.2.29 ships 7.30.1 (same Node range). 21.2.29 was published on 2026-10-28, and Yarn's minimum package age (1 day) quarantines it until 2026-10-29.

Testing

  • dist/sanitize.js, dist/sanitize.min.js and the test bundle build/test/sanitize.js are byte-identical when built with the old and the new tools.
  • @joint/sanitize yarn test: mocha 12 passing, karma 106 / 106 (Chrome 156).
  • Against the oldest supported core, @joint/core 4.1.0 from npm: mocha 12 passing (every require('@joint/core') resolved to 4.1.0), karma 106 / 106 with its dist/joint.js.
  • yarn changeset status passes (empty changeset).

rollup 4.36.0 and @rollup/plugin-terser 0.4.4 (through
serialize-javascript 6) carried Dependabot alerts. They are dev-only and
now match the other packages; the built bundles are byte-identical.
@kumilingus

Copy link
Copy Markdown
Contributor Author

Moved to #3570.

@kumilingus kumilingus closed this Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant