Packages

yaml

2.9.1 · 11 Sep 2026ISC330.2M / weekRepositoryHomepagenpmAtom feed

Your version

1.8.0

7 Mar 2020Where it was published

1.10.3 is the newest release of 1.x.

In short

5 new9 fixed1 internal

Security

1 advisory affects 1.8.0; 1.10.3 fixes them

Release note

New Features

  • Add ES module exports + set type in package.json (Fixes #138)

  • Add custom identifiers for core tags

  • Add sortMapEntries option

  • Use ES modules in browser build (supported by all modern bundlers and other packagers)

Bugfixes

  • Create missing intermediate collections in addIn & setIn (Fixes #131)

  • Account for initial indentation when stringifying values (Fixes #133)

  • Use a Map for prevObjects in createNode

  • YAML.createNode sets tag in the result, if explicitly given

  • Drop Node 6 tests due to incompatibility with Jest 25 (transpilation remains as Node 6)

  • cst: Minor refactoring to improve legibility, add some comments

  • cst: Drop Node.atCollectionItem as unused since 93a8a44

  • cst: Drop Directive.endOfDirective as unused since 307df17

  • Clean up YAML 1.1 & JSON boolean tag objects

  • Add tests to improve code coverage

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.