npm yaml 2.0.0-8

latest releases: 2.6.0, 2.5.1, 2.5.0...
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.

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)

Don't miss a new yaml release

NewReleases is sending notifications on new releases.