locate-path breaking changes
npm10 curated breaking changes across major versions of locate-path. Use this as a migration checklist before bumping dependencies.
- v7.2.0 \u2192 v8.0.0breaking
Require Node.js 20 fbdc3bd
- v6.0.0 \u2192 v7.0.0breaking
Require Node.js 12.20 ca71cf5
- v6.0.0 \u2192 v7.0.0breaking
This package is now pure ESM. Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).
- v6.0.0 \u2192 v7.0.0breaking
[Changed the default export to named exports.](https://github.com/sindresorhus/locate-path/commit/ca71cf53395a4689f09d59f7ed433edec0d38175#diff-5a831ea67cf5cf8703b0de46901ab25bd191f56b320053be9332d9a3b0d01d15L16-R25) https://github.com/sindresorhus/locate-path/compare/v6.0.0...v7.0.0
- v5.0.0 \u2192 v6.0.0breaking
Require Node.js 10 b358273
- v5.0.0 \u2192 v6.0.0breaking
Only use a CommonJS export for the TypeScript definition ([reason](https://github.com/sindresorhus/mem/issues/31)) You need to change `import locatePath from 'locate-path';` to `import locatePath = require('locate-path');` https://github.com/sindresorhus/locate-path/compare/v5.0.0...v6.0.0
- v4.0.0 \u2192 v5.0.0breaking
Only find files by default (#4) 66c3567 Previously it would find both files and directories. Enhancements:
- v4.0.0 \u2192 v5.0.0breaking
Add `type` and `allowSymlinks` options (#4) 66c3567 https://github.com/sindresorhus/locate-path/compare/v4.0.0...v5.0.0
- unknown \u2192 v4.0.0breaking
Require Node.js 8 b64297a Enhancements:
- unknown \u2192 v4.0.0breaking
Add TypeScript definition (#2) 133f583 https://github.com/sindresorhus/locate-path/compare/v3.0.0...v4.0.0
Get this data programmatically \u2014 free, no authentication.
curl https://depscope.dev/api/breaking/npm/locate-path