p-wait-for
7.0.0 · 15 Oct 2026MIT3.1M / weekRepositoryHomepagenpmAtom feed
13 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 7.x · latest line
7.0.0
15 Oct 2026- Breaking
Require Node.js 22 cf00440
Breaking
- Breaking
Require Node.js 22 cf00440
Fixes
Make abort and timeout settle the wait while
conditionis pending (#37) adc360bBefore, a slow or never-settling
conditioncould keep the wait pending past its timeout, and a latetruecould even fulfill an aborted wait.A pending
conditionis not cancelled; its eventual result or error is ignored.
Make
timeoutoptions (fallback,message) work during the initialbefore: falsedelay (#35) afb0753Fix abort listeners accumulating on a reused
signal(#36) 7e6ffdfFix the TypeScript type of the
fallbackoption to allow returning a promise ac4286b
- 6.x
6.0.0
21 Sep 2025Reading the note…
- 5.x
5.0.2
30 Mar 2023Reading the note…
5.0.1
16 Mar 2023Reading the note…
5.0.0
29 Jul 2022Reading the note…
- 4.x
4.1.0
9 Jul 2021Reading the note…
4.0.0
6 Apr 2021Reading the note…
- 3.x
3.2.0
1 Jan 2021Reading the note…
3.1.0
2 Apr 2019Reading the note…
3.0.0
19 Mar 2019Reading the note…
- 2.x
2.0.1
7 Nov 2018Reading the note…
2.0.0
29 Jul 2018Reading the note…
- 1.x
1.0.0
21 Oct 2016Reading the note…
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.