Skip to content

fix: harden release dependencies - #91

Merged
simonguo merged 1 commit into
masterfrom
fix/release-tooling-security
Oct 23, 2026
Merged

simonguo merged 1 commit into
masterfrom
fix/release-tooling-security

Conversation

@simonguo

Copy link
Copy Markdown
Member

Release qualification found four critical audit records in the development toolchain and a broken changelog command (ReferenceError: assignWith is not defined from Lodash 4.18.0's modular template entry). Remove the unused Coveralls npm CLI, update Babel traverse and Handlebars within their existing parent ranges, and require Lodash ^4.18.1. The GitHub Coveralls action remains configured as before.

Validation: all 174 tests and both module builds pass on Node 20.20.2 and 22.22.3 in an isolated checkout. The real changelog command now succeeds. Harmless controls reproduce inherited-method evaluation and crafted-AST execution on the old dependencies and reject both after the update; seven benign cases still pass. Fresh audits change from 36 records (four critical) to 29 (zero critical), with no added advisory IDs; production audits remain zero.

The 154-file package has 153 byte-identical non-manifest payloads. A clean installed-tarball consumer passes 13 runtime checks on each Node version, strict TypeScript 5.7.3, and records no unhandled rejections. The lockfile changes stay inside the reviewed coverage/Babel/Handlebars dependency closures plus Lodash. Source, declarations and the prepared 2.4.3 version are unchanged.

Copilot AI balanced review requested due to automatic review settings October 23, 2026 17:08

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

@simonguo
simonguo merged commit a89029c into master Oct 23, 2026
6 of 7 checks passed
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.

2 participants