[agent] chore(deps): bump transitive diff to 4.0.4 (GHSA-73rr-hh4g-fpgx)#745
Draft
github-actions[bot] wants to merge 1 commit into
Draft
[agent] chore(deps): bump transitive diff to 4.0.4 (GHSA-73rr-hh4g-fpgx)#745github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
Update sinon and ts-node nested diff dependency from 4.0.2 to 4.0.4 in the lockfile to address CVE-2026-24001 / GHSA-73rr-hh4g-fpgx. Both sinon@9 (^4.0.2) and ts-node@10 (^4.0.1) declare semver ranges that include 4.0.4, so this is a lockfile-only update. Co-authored-by: Copilot <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates the
difftransitive dependency from4.0.2→4.0.4inpackage-lock.jsonto address GHSA-73rr-hh4g-fpgx / CVE-2026-24001 (Dependabot alert #136).Vulnerability
jsdiff has a Denial of Service vulnerability in
parsePatchandapplyPatch— parsing patches with\r,\u2028, or\u2029in filename headers can cause an infinite loop, consuming unlimited memory. Fixed in[email protected].Fix approach
diffis a transitive dependency: bothsinon@9(declares"diff": "^4.0.2") andts-node@10(declares"diff": "^4.0.1") include it as a nested dep. Since[email protected]satisfies both semver ranges, this is a lockfile-only update — nopackage.jsonchanges were needed.The lockfile previously resolved the nested
diffto4.0.2(the version that was latest when the lockfile was last regenerated).npm update diff --package-lock-onlyrefreshed those entries to4.0.4.Changed versions
node_modules/sinon/node_modules/diffnode_modules/ts-node/node_modules/diffCloses Dependabot alert #136.