Skip to content

chore(deps): update dependency js-yaml to v5#6643

Merged
Fluf22 merged 3 commits into
chore/renovateBaseBranchfrom
renovate/js-yaml-5.x
Jul 4, 2026
Merged

chore(deps): update dependency js-yaml to v5#6643
Fluf22 merged 3 commits into
chore/renovateBaseBranchfrom
renovate/js-yaml-5.x

Conversation

@renovate

@renovate renovate Bot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
js-yaml 4.2.05.1.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

nodeca/js-yaml (js-yaml)

v5.1.0

Compare Source

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.

v5.0.0

Compare Source

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.
  • Reduced the set of exported schemas:
    • YAML 1.2 schemas: CORE_SCHEMA (loader default), JSON_SCHEMA,
      FAILSAFE_SCHEMA.
    • YAML11_SCHEMA, a combination of all YAML 1.1 tags (YAML 1.1 does not
      specify a schema, only "types").
  • load/dump default behaviour is now specified exactly via schemas:
    • load uses CORE_SCHEMA, without !!merge by default.
    • dump uses YAML11_SCHEMA + CORE_SCHEMA for the quoting check, to
      guarantee backward compatibility by default.
  • !!set is now loaded as a JavaScript Set.
  • Replaced the Type API with a tags API. Similar, but more precise and
    simpler. See examples for details. Tags can be defined via
    defineScalarTag(), defineSequenceTag() and defineMappingTag(), or as a
    spread + override of an existing tag.
  • Renamed Schema.extend() to Schema.withTags().
  • Expanded YAML 1.2 conformance and improved handling of directives, document
    markers, block keys, multiline scalars, tag syntax and other things.
  • load() now throws on empty input instead of returning undefined.
  • Moved browser builds to the js-yaml/browser export.
  • Deprecated the loadAll signature with an iterator (still works, but is a
    candidate for removal).
Removed
  • Removed deprecated safeLoad(), safeLoadAll() and safeDump() exports.
  • Removed DEFAULT_SCHEMA and the nested types export.
  • Removed loader options onWarning, legacy and listener.
  • Removed dumper options styles, replacer, noCompatMode, condenseFlow,
    quotingType and forceQuotes. Renamed noArrayIndent to seqNoIndent.
    Formatting and representation are now configured through presenter options,
    schemas and tag definitions. See migration guide on how to replace.
  • Removed support for importing internal files from lib/.

Configuration

📅 Schedule: (in timezone Europe/Paris)

  • Branch creation
    • "after 4pm on friday,before 9am on monday,every weekend"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from a team as a code owner June 26, 2026 16:05
@renovate
renovate Bot requested review from Fluf22 and MarioAlexandruDan and removed request for a team June 26, 2026 16:05
@algolia-api-clients-automation-bot

algolia-api-clients-automation-bot Bot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

✔️ Code generated!

Name Link
🪓 Triggered by 8906cf44dec64ffd7cbd0519f569212a87923f22
🍃 Generated commit 1c52d15fa6a92c9fe733b283b826ea66c9b5e0e7
🌲 Generated branch generated/renovate/js-yaml-5.x
📊 Benchmark results

Benchmarks performed on the method using a mock server, the results might not reflect the real-world performance.

Language Req/s
javascript 2239
go 1941
php 1798
python 1417
csharp 1378
java 1126
ruby 952
swift 910
scala 23

@Fluf22 Fluf22 mentioned this pull request Jul 2, 2026
1 task
@renovate

renovate Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@Fluf22
Fluf22 force-pushed the chore/renovateBaseBranch branch from 54c07a9 to 0600a55 Compare July 3, 2026 15:07
@Fluf22
Fluf22 force-pushed the renovate/js-yaml-5.x branch from 796e81d to 5b1cd93 Compare July 3, 2026 15:24
js-yaml v5 dropped the default export and reorganized around flat named
exports, so `import yaml from 'js-yaml'` throws at ESM load time. Switch
the three consumers (specs build + dart release) to named `load`/`dump`
imports, and drop the now-stale `@types/js-yaml` devDep since v5 ships
its own types. `noRefs` is still a valid dump option and bundled spec
output is unchanged.
@Fluf22
Fluf22 force-pushed the renovate/js-yaml-5.x branch from 5b1cd93 to e51e03e Compare July 4, 2026 07:44
@Fluf22
Fluf22 merged commit 5c5699f into chore/renovateBaseBranch Jul 4, 2026
35 checks passed
@Fluf22
Fluf22 deleted the renovate/js-yaml-5.x branch July 4, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant