yaml
2.9.1 · 11 Sep 2026ISC330.2M / weekRepositoryHomepagenpmAtom feed
Upgrading yaml From 1.9.2 to 1.10.3
4 releases in betweennotes for 3
- ?
- changes to make
- 1
- advisory fixed
- 16+
- new
- 8+
- fixes
Counted from 3 of 4 release notes. Advisories are counted from the advisory database, in full.
Security
Fixes 1 advisory affecting 1.9.2
- yaml is vulnerable to Stack Overflow via deeply nested YAML collectionsmoderate · GHSA-48c2-rrv3-qjmp
Release by release
1.10.3no release note
- New
Allow for unindented comment after node props (prettier/prettier#10510)
- New
- New
Support for
__proto__as mapping key & anchor identifier - New
Add missing type for CST
Node.rangeAsLinePos - New
Allow for empty lines after node props
- Fixed
Fix broken TS type for BigInt toggle
- Fixed
Fix
YAML.stringify()for certain null values - Fixed
Do not break escaped chars with escaped newlines (#237, awslabs/cdk8s#494)
- New
- New
Use Rollup for Node.js & browser builds
- New
Document
Schema.createPair()& make itsctxarg optional - New
Always indent top-level scalars with lines starting with document markers or % directives
- New
Use double-space when forcing top-level block scalar indent, for clarity
- New
11 other lines we could not sort, mostly version bumps
- 1.10.1
Dump long keys properly
- 1.10.1
When folding highly indented lines, require at least
minContentWidthchars on the first line - 1.10.1
Set
type: "module"within browser/dist/ - 1.10.1
Use CommonJS for the browser endpoints
yaml/types&yaml/util - 1.10.1
Always stringify non-Node object keys using explicit notation
- 1.10.1
Specify node type of
Document.Parsed.contents - 1.10.1
Prefer literal over folded block scalar when
lineWidth=0is set - 1.10.1
Update dev dependencies
- 1.10.0
Throw more helpful error when setting Pair.commentBefore incorrectly
- 1.10.0
Better errors for bad indents
1 internal line (docs, tests, tooling) left out.
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.