Skip to content

Bump yaml from 2.2.2 to 2.3.0

Dependabot requested to merge dependabot-npm_and_yarn-yaml-2.3.0 into master

Bumps yaml from 2.2.2 to 2.3.0.

Release notes

Sourced from yaml's releases.

v2.3.0

This release corresponds with the release of yaml-types v0.2.0, an expanding library of custom tags or types for use with yaml.

This release contains no changes from v2.3.0-5, and the notes below include all changes from the v2.3.0-x prereleases.

Custom Tag Improvements

  • Add export of createNode() & createPair() to 'yaml/util' (#457)
  • Add static from() methods to simplify tag development, and otherwise make extending custom collections easier (#467)

TypeScript Improvements

  • Add a second optional generic type argument Strict to Document instances. (#441)
  • Add types exports for TypeScript (#463)
  • Export StringifyContext type from 'yaml/util' (#464)

Other New Features

  • Add a toJS(doc, options?) method to nodes (#451, #458)
  • Set explicit tag during createNode() for non-default tags (#464)

Bugfixes

  • Use correct argument order when stringifying flow collection comments (#443)
  • Improve first-line folding for block scalars (#422)

v2.3.0-5

  • Make extending custom collections easier (#467)
  • Fix corner case failure in error pretty-printer (CVE-2023-2251)

v2.3.0-4

New Features

  • Set explicit tag during createNode() for non-default tags (#464)
  • Export StringifyContext type from 'yaml/util' (#464)

v2.3.0-3

Bugfixes

  • Improve missing-argument error on node .toJS() method (#458)
  • Add types exports for TypeScript (#463)
  • Drop incompatible/unnecessary typesVersions from package.json (#463)

v2.3.0-1

New Features

  • Add a toJS(doc, options?) method to nodes (#451)
  • Add export of createNode() & createPair() to 'yaml/util' (#457)

Bugfixes

... (truncated)

Commits


Dependabot commands
You can trigger Dependabot actions by commenting on this MR
  • $dependabot rebase will rebase this MR
  • $dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts

Merge request reports