yaml
2.9.1 · 11 Sep 2026ISC330.2M / weekRepositoryHomepagenpmAtom feed
1.10.3 is the newest release of 1.x.
In short
1 removed1 deprecated6 new2 fixed
- Removed
Drop overeager browser polyfill generation; use
playground/src/polyfill.jsinstead - Deprecated
Deprecate the
classattribute of tags, replacing it with the more genericidentify(value)
Security
1 advisory affects 1.4.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
@babel/runtimeas a dependency for use via "browser"Support circular objects, representing circular references using YAML alias nodes when encountered during
YAML.stringify()- Deprecated
Deprecate the
classattribute of tags, replacing it with the more genericidentify(value) Turn the string stringifier into a generic scalar stringifier, fallback to it by default, and export it as
stringify()fromyaml/schemaAdd yaml-playground as a git submodule, extending ESLint rules
Add start script, providing an interactive node env with
YAMLdefined
Bugfixes
- Removed
Drop overeager browser polyfill generation; use
playground/src/polyfill.jsinstead Add BrowserStack tests to Travis CI
Accept arrays of tag objects as values of
tagsoptionAllow for blank lines after less-indented comments
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.