Packages

yaml

2.9.1 · 11 Sep 2026ISC330.2M / weekRepositoryHomepagenpmAtom feed

Your version

1.7.0

25 Sep 2019Where it was published

1.10.3 is the newest release of 1.x.

In short

5 new3 fixed3 changed

Security

1 advisory affects 1.7.0; 1.10.3 fixes them

Release note

New Features

  • Add optional id, customTags arguments to Document#setSchema()

  • Keep explicit keys with block scalar values as such

  • Add simpleKeys option

Improved Errors & Warnings

  • Add more context to pretty error messages

  • Improve error for missing flow collection terminator char

  • Use offset when prettifying flow collection character errors

  • Add warning when stringifying map/seq-valued keys for JS Object

  • Use process.emitWarning rather than console.warn in YAML.parse if possible

Bugfixes

  • Fix aliased anchors on null-value nodes (6KGN)

  • Fix stringification of timestamp-like strings in a YAML 1.1 context (fixes #119)

  • Consider input ending after implicit map key : as valid (Fixes #120)

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.