npm yaml 1.1.0

latest releases: 2.8.1, 2.8.0, 2.7.1...
6 years ago

New Features

  • Support for JavaScript Set, Map and other iterable objects. When stringifying or creating nodes, this is automatic; Map and its descendants turn into YAML mappings, while other iterables become sequences. When parsing, a new option mapAsMap creates Maps rather than Objects from YAML mappings. (#46, #49, #50, #51)
  • Add a new public export at 'yaml/schema', providing easier-to-use stringifier options (#58)

Bugfixes

  • Stop including end comments in collections if next content is not sufficiently indented (#41, #54)
  • Stop folding more-indented lines at start of folded block scalars (#55)
  • cst/PlainValue: Allow :, to start a plain value in flow-out (#56)
  • Only advance to end of escape during double-quoted scalar folding (#57)

Don't miss a new yaml release

NewReleases is sending notifications on new releases.