npm yaml 2.0.0-7

latest releases: 2.5.1, 2.5.0, 2.4.5...
3 years ago

This version of yaml has been published to npm using the next dist-tag, so install it with:

npm install --save-exact yaml@next

This release doesn't really do anything major, it's really just an accumulation of small things over the past few weeks. Thanks in particular to @ingydotnet for his continuing help in finding corner cases of invalid input being parsed as valid.

New Features

  • Support immediate map values for << merge keys, in addition to alias values

Bugfixes

  • Anchors for duplicate objects that stringify as strings (#287)
  • Complain about empty aliases & anchors
  • Do not throw for "%" as document
  • Complain about plain scalars starting with , or %
  • Use correct character set for tags

Don't miss a new yaml release

NewReleases is sending notifications on new releases.