yaml
2.9.1 · 11 Sep 2026ISC330.2M / weekRepositoryHomepagenpmAtom feed
1.10.3 is the newest release of 1.x.
In short
3 new3 fixed8 changed
Security
1 advisory affects 1.10.1; 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
This release backports the following non-breaking fixes made during the work on yaml@2 on top of yaml@1.10.0:
Support for
__proto__as mapping key & anchor identifierFix broken TS type for BigInt toggle
Dump long keys properly
When folding highly indented lines, require at least
minContentWidthchars on the first lineFix
YAML.stringify()for certain null valuesDo not break escaped chars with escaped newlines (#237, awslabs/cdk8s#494)
Set
type: "module"within browser/dist/Use CommonJS for the browser endpoints
yaml/types&yaml/utilAlways stringify non-Node object keys using explicit notation
Specify node type of
Document.Parsed.contentsAdd missing type for CST
Node.rangeAsLinePosPrefer literal over folded block scalar when
lineWidth=0is setAllow for empty lines after node props
Update dev dependencies
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.