Packages

yaml

2.9.1 · 11 Sep 2026ISC330.2M / weekRepositoryHomepagenpmAtom feed

Your version

1.4.0

7 Mar 2019Where it was published

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.js instead

  • Deprecated

    Deprecate the class attribute of tags, replacing it with the more generic identify(value)

Security

1 advisory affects 1.4.0; 1.10.3 fixes them

Release note

New Features

  • Add @babel/runtime as a dependency for use via "browser"

  • Support circular objects, representing circular references using YAML alias nodes when encountered during YAML.stringify()

  • Deprecated

    Deprecate the class attribute of tags, replacing it with the more generic identify(value)

  • Turn the string stringifier into a generic scalar stringifier, fallback to it by default, and export it as stringify() from yaml/schema

  • Add yaml-playground as a git submodule, extending ESLint rules

  • Add start script, providing an interactive node env with YAML defined

Bugfixes

  • Removed

    Drop overeager browser polyfill generation; use playground/src/polyfill.js instead

  • Add BrowserStack tests to Travis CI

  • Accept arrays of tag objects as values of tags option

  • Allow 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.