Packages

yaml

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

Your version

2.1.0

14 May 2022Where it was published

2.9.1 is the newest release of 2.x.

In short

5 changed

Security

2 advisories affect 2.1.0; 2.8.3 fixes them

Release note

Fixes for TypeScript users. Arguably this could've been a patch release as well.

  • Improve/specify/fix TS types for Document & collection access methods

  • Use TS named tuple for range

  • Rename internal Document option as _directives to resolve type conflict with ToString options

  • Update tsc target to ES2020 to match Node.js support

  • Update dev dependencies, including jest 28

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.