p-wait-for
7.0.0 · 15 Oct 2026MIT3.1M / weekRepositoryHomepagenpmAtom feed
In short
1 breaking4 fixed
- Breaking
Require Node.js 22 cf00440
Release note
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
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.