Skip to content

build(deps-dev): bump js-yaml from 4.3.0 to 4.3.2 - #934

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/js-yaml-4.3.2
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/js-yaml-4.3.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 13, 2026

Copy link
Copy Markdown
Contributor

Bumps js-yaml from 4.3.0 to 4.3.2.

Changelog

Sourced from js-yaml's changelog.

4.3.2 - 2026-08-26

Changed

  • [backport] Hard-limit merge sequence size to 100.

Security

  • [backport] Count empty mappings in merge sequences toward maxTotalMergeKeys to limit CPU usage, #797.

4.3.1 - 2026-07-31

Security

  • [backport] Remove quadratic complexity from !!omap duplicate key detection.
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 4.3.0 to 4.3.2.
- [Changelog](https://github.com/nodeca/js-yaml/blob/4.3.2/CHANGELOG.md)
- [Commits](nodeca/js-yaml@4.3.0...4.3.2)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 4.3.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 13, 2026
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 13, 2026
@netlify

netlify Bot commented Sep 13, 2026

Copy link
Copy Markdown

Deploy Preview for phillips-seldon ready!

Name Link
🔨 Latest commit acedaac
🔍 Latest deploy log https://app.netlify.com/projects/phillips-seldon/deploys/6aa71cdf61abe6000840de47
😎 Deploy Preview https://deploy-preview-934--phillips-seldon.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@davidicus davidicus left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@dependabot squash and merge

@phillips-pr-review-agent phillips-pr-review-agent Bot 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.

Security dependency update — approved ✅

This is a Dependabot-generated security bump of js-yaml from 4.3.0 → 4.3.2 (dev-only dependency). The changes are correct and safe to merge.

What's being fixed

Both releases patch CPU-exhaustion / denial-of-service vulnerabilities in YAML parsing:

Version Fix
4.3.1 Removes quadratic complexity from !!omap duplicate key detection — O(n²) input could stall the parser on a crafted document
4.3.2 Hard-limits merge sequence size to 100; counts empty mappings toward maxTotalMergeKeys to prevent a CPU-burn vector via deeply nested YAML merge keys (#797)

Impact on this repo

js-yaml is a devDependency in seldon — it is not included in the published @phillips/seldon npm package (confirmed: "dev": true in package-lock.json, not listed in package.json dependencies). It's pulled in transitively by tooling in the build/lint/test chain (likely via markdownlint-cli, semantic-release, or similar). The fix is still worth applying since a compromised CI/build environment could affect published artefacts.

Diff assessment

  • Only change: package-lock.json version + resolved URL + integrity hash for node_modules/js-yaml — exactly what's expected for a lock-file-only dependency update.
  • package.json is untouched — correct; js-yaml is a transitive dev dep, not a direct one.
  • No source code, no SCSS, no component logic modified.

Merge when CI is green.

@chromatic-com

chromatic-com Bot commented Sep 13, 2026

Copy link
Copy Markdown

Tip

All tests passed and all changes approved!

🟢 UI Tests: 490 tests unchanged
🟢 UI Review: 251 stories published -- no changes
Storybook icon Storybook Publish: 251 stories published

@github-actions

Copy link
Copy Markdown

🚀 Storybook preview is ready.

• Preview: undefined
• Chromatic build: undefined

Copy link
Copy Markdown
Contributor

Dependency Upgrade Risk Assessment: js-yaml 4.3.0 → 4.3.2

Risk Rating: 🟢 LOW


What is js-yaml?

js-yaml is a JavaScript YAML parser and serializer. It parses YAML strings into JavaScript objects and serializes them back. It's widely used by build tooling, configuration readers, and CLI utilities.

How is it used in seldon?

js-yaml is not a direct dependency of seldon — it does not appear in package.json and is not imported anywhere in source code (confirmed via code search). It is a transitive dev dependency, almost certainly pulled in by one of:

  • storybook / storybook addons (uses YAML internally for configuration)
  • semantic-release or its plugins (reads YAML-based changelogs/configs)
  • markdownlint-cli (handles YAML frontmatter in Markdown files)

Because it's a transitive dependency of build tooling only, it never reaches the compiled component library output or any production code.


What changed?

4.3.1 (2026-07-31)

  • [Backport] Removed quadratic complexity from !!omap duplicate key detection — a CPU-usage edge case triggered by adversarial YAML inputs.

4.3.2 (2026-08-26)

  • [Backport] Hard-limited merge sequence size to 100.
  • [Backport] Counted empty mappings in merge sequences toward maxTotalMergeKeys to further limit CPU usage.

These are security-focused backports from the v5 branch. They impose stricter internal limits when parsing pathological YAML inputs. There are no API changes, no new exports, and no behavioral differences for well-formed YAML.


Why LOW risk?

Factor Assessment
Version delta Patch bump only (4.3.0 → 4.3.2)
Dependency type devDependency — not shipped to production
Usage in codebase Transitive only — zero direct imports in source files
Nature of changes Internal algorithm limits; no API or behavior changes for valid YAML
Breaking changes None noted
Blast radius Limited to build/CI tooling only (Storybook, linting, release pipeline)

The only realistic regression risk is if some build tool was relying on parsing malformed or deeply-nested YAML that now hits the new limits — which is extremely unlikely in a standard development workflow.


Regression Test Checklist

Before merging, verify the build toolchain is unaffected:

  • npm run build — component library builds successfully
  • npm run build:storybook — Storybook static build completes without errors
  • npm run start — Storybook dev server starts and renders components correctly
  • npm run test — full unit test suite passes
  • npm run lint — ESLint, TypeScript, and Stylelint all pass clean
  • npm run coverage — coverage thresholds remain at or above 80%
  • Verify CI pipeline passes end-to-end (all GitHub Actions checks green)

Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file dependency-upgrade-risk:low javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants