Skip to content

Bump js-yaml from 4.3.1 to 5.4.1 - #23

Merged
BrandonLWhite merged 2 commits into
mainfrom
dependabot/npm_and_yarn/js-yaml-5.3.0
Sep 1, 2026
Merged

BrandonLWhite merged 2 commits into
mainfrom
dependabot/npm_and_yarn/js-yaml-5.3.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 19, 2026 •

Copy link
Copy Markdown

Bumps js-yaml from 4.3.1 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 Aug 19, 2026
@dependabot dependabot Bot changed the title Bump js-yaml from 4.3.1 to 5.3.0 Bump js-yaml from 4.3.1 to 5.4.1 Sep 1, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/js-yaml-5.3.0 branch from 95bc2b3 to 32066e6 Compare September 1, 2026 21:03
dependabot Bot and others added 2 commits September 1, 2026 16:04
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 4.3.1 to 5.3.0.
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](nodeca/js-yaml@4.3.1...5.3.0)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 5.3.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
js-yaml 5 is pure ESM and exposes named exports only, so the previous
default import failed with "The requested module 'js-yaml' does not
provide an export named 'default'" and main.test.js could not run.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@BrandonLWhite
BrandonLWhite force-pushed the dependabot/npm_and_yarn/js-yaml-5.3.0 branch from 32066e6 to 35f1145 Compare September 1, 2026 21:05
@BrandonLWhite
BrandonLWhite merged commit f66f06a into main Sep 1, 2026
21 checks passed
@BrandonLWhite
BrandonLWhite deleted the dependabot/npm_and_yarn/js-yaml-5.3.0 branch September 1, 2026 21:12
BrandonLWhite added a commit that referenced this pull request Sep 2, 2026
#23 landed 5.3.0 while its title said 5.4.1: Dependabot rebased that
branch to 5.4.1 mid-review, and the force-push carrying the ESM import fix
replaced the code without the title following. This closes the gap.

5.4.1 is still named-exports-only, so the `import { load as loadYaml }`
fix in __tests__/main.test.js is unchanged.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
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