Skip to content

W19: dev toolchain update (built files compared) - #30

Merged
czypnt merged 1 commit into
mainfrom
w19-toolchain
Nov 22, 2026
Merged

czypnt merged 1 commit into
mainfrom
w19-toolchain

Conversation

@czypnt

@czypnt czypnt commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Dev-only npm audit findings cleared by updating the build/test toolchain. No runtime dependency, peer dependency, rrweb or fflate change; nothing bundled into the shipped files changed version (tslib 2.8.1 and terser 5.44.0 unchanged).

Built files: byte-identical JS

Built on origin/main (npm ci && npm run build) and on this branch (npm install && npm run build), then diff -r before after on dist/ (140 files each):

Files before/datalyr.cjs.js.map and after/datalyr.cjs.js.map differ
Files before/datalyr.esm.js.map and after/datalyr.esm.js.map differ
Files before/datalyr.js.map and after/datalyr.js.map differ
  • Every .js and .d.ts file is identical, including the three files the main repo reads from the npm tarball:
    • datalyr.js sha1 0d7b3d63… (same before and after)
    • datalyr.replay.min.js sha1 8d400f2a… (same)
    • datalyr.pixels.min.js sha1 44f74fa4… (same)
      So dl.js does not change on the next release because of this PR.
  • The three .map differences: only the end of the mappings string. Rollup 4.68 drops trailing empty-line separators (;) after the last mapped line (e.g. …OAAO;IACnC;;;;;;;;;;;;;; became …OAAO;IACnC;;;;;;;;;;). All other keys (sources, sourcesContent, names) and every real mapping segment are identical.
  • Bundle guard (npm run build:check:dist) passes on the new build.

Audit (npm audit --omit=optional)

critical high moderate low total
before (main) 1 16 3 2 22
after 0 0 0 0 0

npm audit --omit=dev was 0 before and is 0 after.

What changed

  • npm audit fix (no --force): in-range lockfile updates, mainly rollup 4.50.2 → 4.68.8 (Rollup path-traversal advisory, fixed in 4.59.0), handlebars 4.7.8 → 4.7.10 (the critical, via jest coverage), minimatch 3.1.2 → 3.1.5 / 5.1.6 → 5.1.9, brace-expansion, picomatch, js-yaml, ws, form-data, flatted, ajv, browserslist, source-map-js, @babel/* 7.28 → 7.29.
  • devDependencies.rollup: ^4.9.2 → ^4.59.0 (floor above the advisory).
  • overrides for the two transitive findings audit fix could only clear with a major bump of the parent:
    • serialize-javascript ^7.1.4 (under @rollup/plugin-terser 0.4.4; the alternative, plugin-terser 1.x, also moves terser to ≥5.49 and could change minified output).
    • minimatch ^11.0.9 under @typescript-eslint/typescript-estree 6 (it pins 9.0.3; only used for allowDefaultProject matching, which this repo's ESLint config does not use). Avoids a major bump of @typescript-eslint.
  • No major bump of rollup, eslint, jest or typescript.

CI (typecheck, lint, tests, build, bundle guard) runs on this PR.

🤖 Generated with Claude Code


Get evidence
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

npm audit fix (in-range lockfile updates: rollup 4.50.2 -> 4.68.8,
handlebars, minimatch, brace-expansion, picomatch, js-yaml, ws, ...),
rollup floor ^4.59.0, and overrides for the two transitive findings
audit fix cannot reach: serialize-javascript ^7.1.4 (under
@rollup/plugin-terser 0.4.4) and minimatch ^11.0.9 (under
@typescript-eslint/typescript-estree 6). terser stays 5.44.0.

npm audit --omit=optional: 22 (1 critical, 16 high) -> 0.
Built JS files are byte-identical; three .map files differ only in
trailing empty-line separators at the end of "mappings".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@czypnt
czypnt merged commit 2be04fa into main Nov 22, 2026
2 checks passed
@czypnt
czypnt deleted the w19-toolchain branch November 22, 2026 23:14
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