p-limit breaking changes
npm9 curated breaking changes across major versions of p-limit. Use this as a migration checklist before bumping dependencies.
- v6.2.0 \u2192 v7.0.0breaking
Require Node.js 20 78b81a5
- v6.2.0 \u2192 v7.0.0breaking
`activeCount` now increments when tasks actually start running (more intuitive) rather than when queued. This means:
- v6.2.0 \u2192 v7.0.0breaking
`activeCount` reflects truly active/running promises
- v6.2.0 \u2192 v7.0.0breaking
`pendingCount` more accurately represents waiting
- v4.0.0 \u2192 v5.0.0breaking
Require Node.js 18 23d61ba As a reminder, this package continues to [require ESM](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c). For TypeScript users, this includes having [`"module": "node16", "moduleResolution": "node16"` in your tsconfig](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c#how-can-i-make-my-typescript-project-output-esm).
- v3.1.0 \u2192 v4.0.0breaking
Require Node.js 12.20 9e08401
- v3.1.0 \u2192 v4.0.0breaking
This package is now pure ESM. Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c). https://github.com/sindresorhus/p-limit/compare/v3.1.0...v4.0.0
- v2.3.0 \u2192 v3.0.0breaking
Require Node.js 10 b35faf5
- v2.3.0 \u2192 v3.0.0breaking
Only use a CommonJS export for the TypeScript definition ([reason](https://github.com/sindresorhus/mem/issues/31)) You need to change `import pLimit from 'p-limit';` to `import pLimit = require('p-limit');`
Get this data programmatically \u2014 free, no authentication.
curl https://depscope.dev/api/breaking/npm/p-limit