Skip to content

deps: Update dependency js-yaml to v5 - abandoned - #425

Closed
renovate[bot] wants to merge 3 commits into
mainfrom
renovate/js-yaml-5.x
Closed

deps: Update dependency js-yaml to v5 - abandoned#425
renovate[bot] wants to merge 3 commits into
mainfrom
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.0^5.0.0 age confidence

Release Notes

nodeca/js-yaml (js-yaml)

v5.2.0

Compare Source

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)

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 UTC)

  • Branch creation
    • At any time (no schedule defined)
  • 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 added dependencies Pull requests that update a dependency file major labels Jun 26, 2026
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@ANcpLua
ANcpLua enabled auto-merge (squash) June 26, 2026 02:24
@renovate
renovate Bot force-pushed the renovate/js-yaml-5.x branch from 673e386 to 99fe384 Compare June 29, 2026 05:01
@renovate
renovate Bot force-pushed the renovate/js-yaml-5.x branch from 99fe384 to 729a42f Compare June 29, 2026 21:11
@renovate

renovate Bot commented Jun 30, 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.

@ANcpLua
ANcpLua disabled auto-merge June 30, 2026 14:36
@ANcpLua
ANcpLua enabled auto-merge (squash) June 30, 2026 14:36
github-actions Bot pushed a commit that referenced this pull request Jul 4, 2026
…onfig (#479)

Both majors were evaluated and declined on evidence:
- Microsoft.OpenApi 3.x: CS0200 in Microsoft.AspNetCore.OpenApi's generated
  XML-comment support (Example is read-only in v3) — reproduced today on
  latest 10.0.9; the pin in Directory.Packages.props stands (#462, #465).
- js-yaml 5.x: the dep exists only as an overrides security floor; all
  consumers declare ^4.x and npm audit is clean — a forced major buys
  nothing and risks the generate:ts/shadcn toolchain (#425).

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
@renovate renovate Bot changed the title deps: Update dependency js-yaml to v5 deps: Update dependency js-yaml to v5 - abandoned Jul 4, 2026
@renovate

renovate Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor Author

Autoclosing Skipped

This PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error.

@ANcpLua

ANcpLua commented Jul 4, 2026

Copy link
Copy Markdown
Owner

Declined after evidence-based review — see #479 (merged) for the full rationale and the renovate packageRules guard.

Short version: js-yaml is not a dependency here — it's an npm overrides security floor (^4.2.0, from the #406 audit sweep). Every consumer (openapi-typescript → @redocly/openapi-core, shadcn → cosmiconfig) declares ^4.x and resolves 4.3.0; npm audit reports 0 vulnerabilities. Forcing v5 through overrides would push an out-of-range major with breaking dump-API changes (quoteStyle/forceQuotes) into the generate:ts/shadcn toolchain for zero security gain. The floor should follow the consumers into v5, not lead them.

Majors for this dep are now disabled in renovate.json.

@ANcpLua ANcpLua closed this Jul 4, 2026
auto-merge was automatically disabled July 4, 2026 03:02

Pull request was closed

@ANcpLua
ANcpLua deleted the renovate/js-yaml-5.x branch July 6, 2026 15:04
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 major

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant