Packages

ignore

7.0.16 · 17 Nov 2026MIT456.9M / weekRepositoryHomepagenpmAtom feed

Your version

5.2.0

19 Dec 2021Where it was published

5.3.2 is the newest release of 5.x.

In short

1 new1 changed

Release note

  • PATCH support readonly arrays of typescript.

  • MINOR bring backward compatibility with relative paths.

An upgrade is recommended for all dependents.


ignore().ignores('../foo/bar.js') // will throw

And the code below will not throw, however it is not recommended

ignore({
  allowRelativePaths: true
}).ignores('../foo/bar.js')

Recommend:

ignore().ignores('foo/bar.js')

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.