Skip to content

v2.0.0-7

Compare
Choose a tag to compare
@eemeli eemeli released this 17 Jul 10:31

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