Skip to content

Commit

Permalink
Document maintenance commitment for v6
Browse files Browse the repository at this point in the history
Fixes #164
  • Loading branch information
sindresorhus committed Jul 5, 2022
1 parent 28a20ab commit 345e553
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Note that the project is feature complete. We are happy to review pull requests,
npm install p-queue
```

**Warning:** This package is native [ESM](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) and no longer provides a CommonJS export. If your project uses CommonJS, you'll have to [convert to ESM](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c) or use the [dynamic `import()`](https://v8.dev/features/dynamic-import) function. Please don't open issues for questions regarding CommonJS / ESM. You can also use [version 6](https://github.com/sindresorhus/p-queue/tree/v6.6.2) instead which is pretty stable. We will backport security fixes to v6 for the foreseeable future.

## Usage

Here we run only one promise at the time. For example, set `concurrency` to 4 to run four promises at the same time.
Expand Down

0 comments on commit 345e553

Please sign in to comment.