Skip to content

build!: parse yaml with more strict multiline indentation rules#640

Merged
zimeg merged 6 commits into
mainfrom
dependabot/npm_and_yarn/js-yaml-5.2.1
Jul 15, 2026
Merged

build!: parse yaml with more strict multiline indentation rules#640
zimeg merged 6 commits into
mainfrom
dependabot/npm_and_yarn/js-yaml-5.2.1

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps js-yaml from 4.2.0 to 5.2.1.

Changelog

Sourced from js-yaml's changelog.

[5.2.1] - 2026-07-02

Fixed

  • Add Map support to !!omap (should work when realMapTag used)

Security

  • Remove quadratic complexity from !!omap addItem. Regression from v5 (usually not critical, because YAML11_SCHEMA is not default anymore).

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

... (truncated)

Commits
  • ac16b42 5.2.1 released
  • 4a864e5 Deps bump
  • 39f3211 !!omap: add Map support and remove quadratic complexity
  • ff17f1e Changelog update
  • 8ed15f1 deps bump
  • 1a562dc Fix changelog link
  • c28ed5e 5.2.0 released
  • 125cd5a Add maxAliases option
  • 3105455 Replace maxMergeSeqLengthoption with maxTotalMergeKeys (more robust)
  • 39d00d6 numbers: Drop boxed numbers support, simplify .identify() checks, clarify rou...
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jul 13, 2026
@dependabot dependabot Bot requested a review from a team as a code owner July 13, 2026 17:41
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jul 13, 2026
@changeset-bot

changeset-bot Bot commented Jul 13, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 7f55331

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@slack/slack-github-action Major

Not sure what this means? Click here to learn what changesets are.

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

@zimeg

zimeg commented Jul 13, 2026

Copy link
Copy Markdown
Member

🏁 #637

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/js-yaml-5.2.1 branch from aa572c8 to 1f588d1 Compare July 13, 2026 17:44
@zimeg zimeg self-assigned this Jul 15, 2026
@zimeg zimeg added this to the 3.1 milestone Jul 15, 2026
@zimeg

zimeg commented Jul 15, 2026

Copy link
Copy Markdown
Member

@dependabot recreate

@dependabot dependabot Bot changed the title build(deps): bump js-yaml from 4.3.0 to 5.2.1 build(deps): bump js-yaml from 4.2.0 to 5.2.1 Jul 15, 2026
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/js-yaml-5.2.1 branch from 1f588d1 to a99549e Compare July 15, 2026 18:33
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/js-yaml-5.2.1 branch from a99549e to caf399c Compare July 15, 2026 18:35
@codecov

codecov Bot commented Jul 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.86%. Comparing base (947ed06) to head (7f55331).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #640   +/-   ##
=======================================
  Coverage   99.86%   99.86%           
=======================================
  Files           8        8           
  Lines         731      731           
=======================================
  Hits          730      730           
  Misses          1        1           

☔ 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.

Reference the s-flow-line-prefix(n) indentation rule so the breaking
change points at the spec section that motivates it.
Illustrate the required indentation fix so readers can map the parsing
error to the exact one-line change in their payload.
Correct "indentiation" and "compilant" so the release notes read cleanly.
Reword the line prefixes reference to lead into the illustrated fix
instead of naming the raw production.
@zimeg zimeg changed the title build(deps): bump js-yaml from 4.2.0 to 5.2.1 build!: parse yaml with more strict multiline indentation rules Jul 15, 2026
@zimeg zimeg marked this pull request as ready for review July 15, 2026 22:51

@zimeg zimeg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🫡 @dependabot LGTM! The tests are passing and capture this expected behavior in a changeset for upcoming release 📚 ✨

@zimeg zimeg merged commit b1974f0 into main Jul 15, 2026
13 checks passed
@zimeg zimeg deleted the dependabot/npm_and_yarn/js-yaml-5.2.1 branch July 15, 2026 22:53
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 semver:major

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant