Skip to content

v2.0.0-8

Compare
Choose a tag to compare
@eemeli eemeli released this 06 Sep 17:48

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.

New Features

  • Add a new createNode option aliasDuplicateObjects (#299)
  • Add clone() methods to Document, Directives, Schema and all Nodes (#304)

Bugfixes

  • lexer: Cache line end positions (#298)
  • Handle doc.createNode(doc) the same as doc.createNode(doc.contents) (#303)
  • Allow for collection setIn() to handle objects, including duplicates
  • Fix parsing errors with CRLF line endings (#306, #307)