7 curated breaking changes across major versions of p-locate. Use this as a migration checklist before bumping dependencies.
Require Node.js 20 5abd617
Require Node.js 12.20 05f1972
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
Require Node.js 10 7bd05da
Get this data programmatically \u2014 free, no authentication.
curl https://depscope.dev/api/breaking/npm/p-locateOnly 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
Require Node.js 8 (#3) 4466fbe Enhancements:
Add TypeScript definition (#3) 4466fbe https://github.com/sindresorhus/p-locate/compare/v3.0.0...v4.0.0