yaml
2.9.1 · 11 Sep 2026ISC330.2M / weekRepositoryHomepagenpmAtom feed
Upgrading yaml From 1.0.3 to 1.1.0
1 release in betweenevery note read
Security
1 advisory still affects 1.1.0
- yaml is vulnerable to Stack Overflow via deeply nested YAML collectionsmoderate · GHSA-48c2-rrv3-qjmp
Upgrading to 1.10.3 clears it.
Release by release
- New
Support for JavaScript
Set,Mapand 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 optionmapAsMapcreates Maps rather than Objects from YAML mappings. (#46, #49, #50, #51) - New
Add a new public export at
'yaml/schema', providing easier-to-use stringifier options - Fixed
Stop including end comments in collections if next content is not sufficiently indented (#41, #54)
- Fixed
Stop folding more-indented lines at start of folded block scalars
- Fixed
cst/PlainValue: Allow
:,to start a plain value in flow-out - Fixed
Only advance to end of escape during double-quoted scalar folding
- New
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.