Packages

yaml

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

Your version

1.3.0

27 Jan 2019Where it was published

1.10.3 is the newest release of 1.x.

In short

8 new1 fixed

Security

1 advisory affects 1.3.0; 1.10.3 fixes them

Release note

New Features

  • Add context.root and rangeAsLinePos to CST nodes (#67, #68)

  • Add collection accessor methods

    • New methods: add/delete/get/has/set and addIn/deleteIn/getIn/hasIn/setIn

    • Available on all collections as well as documents containing a collection

  • Include a separate browser build in the release

    • Used by Webpack, Rollup, etc. via the "browser" value in package.json

    • Uses a Browserslist config of > 0.5%, not dead to (currently) support at least IE 11

    • Has a dependency on @babel/runtime that is not included in the package.json dependencies

  • Optimise the Node.js release to leave out unnecessary polyfills

  • Run CI tests on latest, LTS & 6.0.0 versions of Node.js (#70, #73)

  • Move & reorganise test files under tests/

  • Add .editorconfig

Bugfixes

  • Add missing tag value to !!set

  • Improve tag matcher test to allow supporting Symbols

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.