yaml
2.9.1 · 11 Sep 2026ISC330.2M / weekRepositoryHomepagenpmAtom feed
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
- Moderateyaml is vulnerable to Stack Overflow via deeply nested YAML collectionsGHSA-48c2-rrv3-qjmp · 25 Mar 2026Fixed in 1.10.3
Release note
New Features
Add ES module exports + set type in package.json (Fixes #138)
Add custom identifiers for core tags
Add
sortMapEntriesoptionUse 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.