Skip to content

chore(deps): bump js-yaml from 3.14.1 to 4.3.0#236

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

chore(deps): bump js-yaml from 3.14.1 to 4.3.0#236
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/js-yaml-4.3.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 29, 2026

Copy link
Copy Markdown
Contributor

Bumps js-yaml from 3.14.1 to 4.3.0.

Changelog

Sourced from js-yaml's changelog.

4.3.0, 3.15.0 - 2026-06-27

Security

  • Backported maxTotalMergeKeys option.

[5.2.0] - 2026-06-26

Added

  • Added maxTotalMergeKeys (10000) loader option to limit the total number of keys processed by YAML merge (<<) across one load() / loadAll() call.
  • Added maxAliases (-1) loader option to limit the number of YAML aliases per document.

Removed

  • maxMergeSeqLength replaced with maxTotalMergeKeys for limiting YAML merge processing.

Fixed

  • Round-trip of integers with exponential form (>= 1e21)

[5.1.0] - 2026-06-23

Added

  • Collection tags can finalize an incrementally populated carrier into a different result value.

Changed

  • [breaking] quoteStyle now selects the preferred quote style; use the restored forceQuotes option to force quoting non-key strings.

[5.0.0] - 2026-06-20

Added

  • Added named exports for schemas, tags, parser events and AST utilities.
  • Reworked JSON_SCHEMA and CORE_SCHEMA with spec-compliant scalar resolution rules, and added YAML11_SCHEMA.
  • Added realMapTag for lossless mappings with non-string and complex keys. Object-based mappings now reject complex keys instead of stringifying them.
  • Added dump() transform option for changing the generated AST before rendering.
  • Added dump() options seqInlineFirst, flowBracketPadding, flowSkipCommaSpace, flowSkipColonSpace, quoteFlowKeys, quoteStyle and tagBeforeAnchor.
  • Added formal data layers (events and AST) for modular data pipelines.
    • Added low-level parser (to events), presenter and visitor APIs.
  • Added the YAML Test Suite to the test set.

Changed

  • See the migration guide for upgrade notes.
  • Rewritten in TypeScript and reorganized the public API around flat named exports.

... (truncated)

Commits
  • 33d05b5 4.3.0 released
  • 663bfab Drop demo publish, to not override new v5 one.
  • 1cb8c7b Add v4-legacy tag for publish
  • 02f27af Restore umd builds back to es5
  • 8be84ed Fix es5 compatibility
  • 59423c6 Replace maxMergeSeqLength option with maxTotalMergeKeys (more robust). Ba...
  • 6842ef6 doc polish
  • 590dbab 4.2.0 released
  • f944dc5 Add package.json funding field
  • f692719 Changelog update
  • Additional commits viewable in compare view

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 3.14.1 to 4.3.0.
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](nodeca/js-yaml@3.14.1...4.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Jun 29, 2026
@dependabot dependabot Bot requested a review from a team as a code owner June 29, 2026 19:06
@dependabot dependabot Bot added the javascript Pull requests that update javascript code label Jun 29, 2026
@changeset-bot

changeset-bot Bot commented Jun 29, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 0b85011

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions

Copy link
Copy Markdown
Contributor

Deep Review

Scope: 1 file (yarn.lock), a Dependabot dependency PR. Yarn Berry v4.9.2 workspace, nodeLinker: node-modules.
Intent (advisory): upgrade js-yaml. The actual diff does the opposite — it removes the direct js-yaml resolution rather than upgrading it.

🔴 P0/P1 — must fix

  • yarn.lock:529 — the diff deletes the js-yaml: "npm:^4.2.0" workspace dependency entry and the js-yaml@npm:^4.2.0 resolution, but package.json still declares "js-yaml": "^4.2.0"; the post-change lockfile resolves no js-yaml >=4 (only transitive 3.14.1), and no 4.3.0 entry exists despite the PR title, so yarn immutable install on main (.github/workflows/release.yml:35, CI sets CI=true) fails with YN0028 and blocks the release job before yarn run version ever runs.
    • Fix: do not merge this lockfile-only change; regenerate yarn.lock from package.json with yarn install so a resolution satisfying ^4.2.0 is present (and argparse@^2.0.1 is restored), or, if a bump is intended, update package.json to the target js-yaml 4.x and re-lock so manifest and lockfile agree.
    • correctness, project-standards, maintainability

🟡 P2 — recommended

  • scripts/update-chart-versions.js:2 — after this change the only js-yaml the lockfile resolves is the transitive 3.14.1, so if the immutable check were bypassed (local non-CI install or regeneration) the script's require("js-yaml") would hoist to v3, where yaml.load() is unsafe-by-default and schema/serialization defaults differ from the intended v4, silently altering Chart.yaml round-tripping in the release path.
    • Fix: ensure a direct js-yaml 4.x resolution remains in the regenerated lockfile and verify with yarn why js-yaml that the workspace resolves the intended major.
    • maintainability, correctness

Reviewers (3): correctness, project-standards, maintainability.

Testing gaps:

  • No PR-time CI step enforces lockfile/package.json consistency (e.g. yarn install --immutable); this desync would otherwise surface only at release time.
  • No test exercises scripts/update-chart-versions.js, so a js-yaml major-version change in Chart.yaml serialization would go undetected.

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 javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants