Skip to content

fix: patch root js-yaml dependency - #612

Merged
shanghaikid merged 1 commit into
mainfrom
fix/root-js-yaml-security
Sep 18, 2026
Merged

shanghaikid merged 1 commit into
mainfrom
fix/root-js-yaml-security

Conversation

@shanghaikid

Copy link
Copy Markdown
Contributor

Update the root Yarn lockfile from js-yaml 3.15.1 to 3.15.2 to fix Dependabot alert #495 (CPU denial of service through empty YAML merge sources).

js-yaml is a transitive development dependency of Jest's coverage tooling via @istanbuljs/load-nyc-config. The patch stays within the existing dependency range and does not change SDK runtime dependencies.

Validation: SDK build and 59 tests in Validate.spec.ts and Format.spec.ts passed; frozen Yarn installation and git diff --check passed. The dependency audit no longer reports js-yaml.

The full audit still reports separate advisories for brace-expansion, decode-uri-component, and stream-json; these are outside this targeted fix.

Signed-off-by: ryjiang <jiangruiyi@gmail.com>
@sre-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: shanghaikid

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@shanghaikid
shanghaikid merged commit d591965 into main Sep 18, 2026
2 of 3 checks passed
@codecov

codecov Bot commented Sep 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.82%. Comparing base (ab6771f) to head (d2eb515).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #612   +/-   ##
=======================================
  Coverage   96.82%   96.82%           
=======================================
  Files          68       68           
  Lines        6924     6924           
  Branches     2016     2016           
=======================================
  Hits         6704     6704           
  Misses        212      212           
  Partials        8        8           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@shanghaikid
shanghaikid deleted the fix/root-js-yaml-security branch September 18, 2026 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants