npm yaml 1.7.0

latest releases: 2.4.2, 2.4.1, 2.4.0...
4 years ago

New Features

  • Add optional id, customTags arguments to Document#setSchema()
  • Keep explicit keys with block scalar values as such
  • Add simpleKeys option (#122)

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)

Don't miss a new yaml release

NewReleases is sending notifications on new releases.