Skip to content

Fix js-yaml vulnerability - #23

Merged
niik merged 1 commit into
mainfrom
niik-fix-js-yaml-vulnerability
Sep 14, 2026
Merged

niik merged 1 commit into
mainfrom
niik-fix-js-yaml-vulnerability

Conversation

@niik

@niik niik commented Sep 14, 2026

Copy link
Copy Markdown
Member

Dependabot cannot update the vulnerable transitive js-yaml release because the repository pins it through an npm override, and the existing ts-jest version conflicts with TypeScript 6 during lockfile regeneration.

This updates the override to patched js-yaml@4.3.2 and bumps ts-jest to 29.4.12, whose peer range supports TypeScript 6. Jest remains unchanged because its current dependency chain still uses @istanbuljs/load-nyc-config@1.1.0, so upgrading Jest would not eliminate the transitive version-range issue.

Update the js-yaml override to the patched 4.3.2 release and bump ts-jest to a TypeScript 6-compatible version so the lockfile can resolve cleanly.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings September 14, 2026 08:36
@niik
niik requested a review from a team as a code owner September 14, 2026 08:36

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 review overview

🟢 Approval recommended

No unresolved issues remain, and the dependency updates address the stated remediation.

Review tier: Lite (auto)
Findings: None

Note

Copilot is running an experiment and ran this review at Lite.

What changed in this PR

Updates dependency pins to remediate the js-yaml vulnerability and support TypeScript 6.

Changes:

  • Overrides js-yaml to 4.3.2.
  • Bumps ts-jest to 29.4.12.
  • Regenerates lockfile dependency metadata.
File Description
package.json Updates the dependency override and ts-jest version.
package-lock.json Records patched resolutions and peer dependency changes.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@niik
niik merged commit 56b24a9 into main Sep 14, 2026
6 checks passed
@niik
niik deleted the niik-fix-js-yaml-vulnerability branch September 14, 2026 08:49
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