Skip to content

fix(deps): bump ts-node's diff to 4.0.4 (GHSA-73rr-hh4g-fpgx) - #147

Merged
buffcode merged 1 commit into
masterfrom
claude/fix-security-advisories-fuSVV-ts-node-diff
Apr 21, 2026
Merged

fix(deps): bump ts-node's diff to 4.0.4 (GHSA-73rr-hh4g-fpgx)#147
buffcode merged 1 commit into
masterfrom
claude/fix-security-advisories-fuSVV-ts-node-diff

Conversation

@buffcode

Copy link
Copy Markdown
Owner

Summary

  • Adds a scoped yarn resolution ts-node/diff: ^4.0.4 so ts-node > diff resolves to the patched 4.0.4 release.
  • Fixes GHSA-73rr-hh4g-fpgx (low — jsdiff parsePatch DoS) on the ts-node path.
  • Stays inside ts-node's declared diff: ^4.0.1 range, so no parent dep needs bumping. Works on Node 18/20/22.
  • Complementary to the mocha-tree advisories, which require a broader dep-chain update and are handled in a separate PR.

Test plan

  • yarn install succeeds
  • yarn audit no longer reports the ts-node/diff advisory (only the mocha-tree ones remain)
  • yarn test → 71 passing
  • CI green on Node 18 / 20 / 22

https://claude.ai/code/session_01HNyci45nMAfRz3baECYtmV

Addresses GHSA-73rr-hh4g-fpgx (low) on the ts-node > diff path.
ts-node 10.9.2 declares diff "^4.0.1", so forcing 4.0.4 via a
scoped resolution stays within the declared range and pulls in
the patched release.

yarn audit: ts-node advisory resolved (4 remaining on mocha tree,
to be fixed separately). All 71 tests pass on Node 18/20/22.

https://claude.ai/code/session_01HNyci45nMAfRz3baECYtmV
@buffcode
buffcode merged commit 0ef6a35 into master Apr 21, 2026
6 checks passed
@buffcode
buffcode deleted the claude/fix-security-advisories-fuSVV-ts-node-diff branch April 21, 2026 07:45
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