p-locate breaking changes

npm

7 curated breaking changes across major versions of p-locate. Use this as a migration checklist before bumping dependencies.

7
changes
Breaking changes by transition
  • v6.0.0 \u2192 v7.0.0breaking

    Require Node.js 20 5abd617

  • v5.0.0 \u2192 v6.0.0breaking

    Require Node.js 12.20 05f1972

  • v5.0.0 \u2192 v6.0.0breaking

    This package is now pure ESM. Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c). https://github.com/sindresorhus/p-locate/compare/v5.0.0...v6.0.0

  • v4.1.0 \u2192 v5.0.0breaking

    Require Node.js 10 7bd05da

  • v4.1.0 \u2192 v5.0.0breaking

    Only use a CommonJS export for the TypeScript definition ([reason](https://github.com/sindresorhus/mem/issues/31)) You need to change `import pLocate from 'p-locate';` to `import pLocate = require('p-locate');` https://github.com/sindresorhus/p-locate/compare/v4.1.0...v5.0.0

  • unknown \u2192 v4.0.0breaking

    Require Node.js 8 (#3) 4466fbe Enhancements:

  • unknown \u2192 v4.0.0breaking

    Add TypeScript definition (#3) 4466fbe https://github.com/sindresorhus/p-locate/compare/v3.0.0...v4.0.0

API access

Get this data programmatically \u2014 free, no authentication.

curl https://depscope.dev/api/breaking/npm/p-locate
p-locate breaking changes — npm migration guide | DepScope