Skip to content

chore(deps): bump js-yaml from 4.3.2 to 5.4.1 - #262

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

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

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps js-yaml from 4.3.2 to 5.4.1.

Changelog

Sourced from js-yaml's changelog.

[5.4.1] - 2026-08-26

Changed

  • Hard-limit merge sequence size to 100.

Security

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

[5.4.0] - 2026-08-25

Added

  • Added the scalarStyleRules dumper option to customize string formatting. See Scalar styling for details.

Changed

  • [breaking] Flattened the low-level AST node style representation. Scalar and collection nodes now use SCALAR_STYLE and COLLECTION_STYLE values; explicit tags use the separate tagged property. Alias nodes now contain only kind and anchor. This only affects code that directly constructs or edits AST nodes.
  • [breaking] The sortKeys option was rewritten using AST mutation to avoid side effects.
  • Reworked scalar style selection. This can change formatting without changing loaded values; in particular, whitespace-only strings are now double-quoted.

Fixed

  • Accept a byte order mark at the start of each document in a stream, #791.
  • Produce valid flow mappings with quoteFlowKeys and flowSkipColonSpace, including alias and property-only keys, #786.
  • Preserve empty scalar items when converting block sequences to flow style.
  • Do not apply the 1024-character simple-key limit to flow mapping keys.
  • Count Unicode code points, rather than UTF-16 code units, for the 1024-character simple-key limit.
  • Add an explicit document-end marker after keep-chomped block scalars when needed to preserve trailing newlines.

[5.3.0] - 2026-08-14

This release focuses on reworking the documentation and making small architectural improvements before moving forward.

Added

  • Added completely new documentation.
  • Exported DUMP_SCHEMA, the default schema used by the dumper.
  • Added YAMLException.throwAt() for throwing an error at a source position.

Changed

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Sep 8, 2026
Copilot AI lite review requested due to automatic review settings September 8, 2026 09:55
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Sep 8, 2026
@dependabot
dependabot Bot requested a review from rickstaa as a code owner September 8, 2026 09:55
@dependabot dependabot Bot added the javascript Pull requests that update Javascript code label Sep 8, 2026

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.

🔵 Needs a closer look

This is a major-version dependency upgrade (4.x → 5.x) with stated upstream breaking changes, and correctness depends on runtime behavior that can’t be fully verified from the diff alone.

Pull request overview

Updates the repository’s Node.js dependency graph by bumping the direct js-yaml dependency to the 5.x line, along with the corresponding Yarn lockfile updates, to pick up the latest upstream changes and security-related limits.

Changes:

  • Bump js-yaml in package.json from ^4.1.1 to ^5.4.1.
  • Update yarn.lock to add the js-yaml@^5.4.1 resolution while retaining existing 3.x/4.x resolutions required by transitive dependencies.
File summaries
File Description
package.json Updates the direct js-yaml dependency range to ^5.4.1.
yarn.lock Adds lock entry for js-yaml@^5.4.1 and adjusts selectors accordingly; keeps older versions for transitive requirements.
Review details
  • Files reviewed: 1/2 changed files
  • Comments generated: 0
  • Review effort level: Lite

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

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

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 5.4.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title chore(deps): bump js-yaml from 4.1.1 to 5.4.1 chore(deps): bump js-yaml from 4.3.2 to 5.4.1 Sep 9, 2026
Copilot AI review requested due to automatic review settings September 9, 2026 09:27
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/js-yaml-5.4.1 branch from 661d15f to 5c8d263 Compare September 9, 2026 09:27

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.

🟡 Changes recommended

A remaining Yarn resolution still pins Mocha to js-yaml v4, making the upgrade incomplete relative to the PR’s stated intent.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review details
  • Files reviewed: 1/2 changed files
  • Comments generated: 1
  • Review effort level: Lite

Comment thread package.json
"fs-extra": "^11.3.3",
"handlebars": "^4.7.9",
"js-yaml": "^4.3.1",
"js-yaml": "^5.4.1",
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.

1 participant