NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #46 most downloaded on npm
YAML 1.2 parser and serializer
Last release 16 days ago
13 Sep 2026
Ships unpredictably
gaps range from 8 days to 4.6 years
Nearly every release is documented
notes for 55 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
15 years old
91 releases · first in 2011
Fixed infinite loop on unindented block scalars.
Nothig new. Just fix npm publish error.
Removed deprecated require('xxx.yml') support.
One column per quarter.
require('xxx.yml') support.Fixed bug: "constructor" string parsed as null.
null.Fixed parsing of literal scalars. (issue #108)
__Deprecated__ loading yaml files via require(), as not recommended behaviour for node.
esprima manually, if !!js/function needed. !!bin now returns Array in browser- & ? (if not first char).require(), as not recommended
behaviour for node.Fix wrong loading of empty block scalars.
Fix unwanted line breaks in folded scalars.
Dumper now respects deprecated booleans syntax from YAML 1.0/1.1
Add standard YAML schemas: Failsafe (FAILSAFE_SCHEMA), JSON (JSON_SCHEMA) and Core (CORE_SCHEMA).
FAILSAFE_SCHEMA),
JSON (JSON_SCHEMA) and Core (CORE_SCHEMA).skipInvalid dumper option.DEFAULT_SCHEMA to DEFAULT_FULL_SCHEMA
and SAFE_SCHEMA to DEFAULT_SAFE_SCHEMA.safeLoad for require extension.NIL constant from the public interface.Close security issue in !!js/function constructor. Big thanks to @nealpoole for security audit.
Updated .npmignore to reduce package size
Fixed dumping of empty arrays ans objects. ([] and {} instead of null)
Fixed input validation: tabs are printable characters.
Fixed error, when options not passed to function cass
Full rewrite. New architecture. Fast one-stage parsing.
### Fixed - Fixed utf-8 files loading.
Pull out hand-written shims. Use ES5-Shims for old browsers support. See #44.
Fixes TypeError: 'undefined' is not an object under Safari. Thanks Phuong.
TypeError: 'undefined' is not an object under Safari. Thanks Phuong.y, yes, n, no, on, off are not converted to Booleans anymore. Fixes #42.
y, yes, n, no, on, off are not converted to Booleans anymore.
Fixes #42.require(filename) now returns a single document and throws an Error if
file contains more than one document.Fix export of addConstructor(). Closes #39.
addConstructor(). Closes #39.Removed AMD parts - too buggy to use. Need help to rewrite from scratch
double variable). Closes #40.Workagound for .npmignore fuckup under windows. Thanks to airportyh.
Fixes str[] for oldIEs support.
adds compact stringification of Errors.
compact stringification of Errors.Added !!js/function support. Closes #12.
Added AMD support for browserified version.
Added browserified version. Closes #13.
Fixed crash on docs without ---. Closes #8.
Fixed short file read (<4k). Closes #9.
[5.4.2]: https://github.com/nodeca/js-yaml/compare/5.4.1...5.4.2 [5.4.1]: https://github.com/nodeca/js-yaml/compare/5.4.0...5.4.1 [5.4.0]: https://git
Your coding agent can read these notes before it upgrades. Set up the MCP server →