yaml
2.9.1 · 11 Sep 2026ISC330.2M / weekRepositoryHomepagenpmAtom feed
1.10.3 is the newest release of 1.x.
In short
8 new6 fixed1 internal
Security
1 advisory affects 1.9.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 custom ES module exports for browsers
Drop
__esModulemarkers from CJS transpilationSupport
BigIntvaluesAdd
YAML.scalarOptionsAdd
indentoption: number of spaces (default:2)Add
indentSeqoption: if false, consider-as indentation (default:true)Add TypeScript typings, based on
@types/yaml
Bugfixes
Only use named exports internally
Clean up & document warning silencing, also supporting process.env (Fixes #148)
Accept that multiple blank lines generate multiple nodes (Closes #150)
Use cross-env to enable building on Windows
Specify
Document.cstNodetypeAdd
Pair.TypeenumExport
YAMLErrorfrom 'yaml/util'
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.