Packages

p-wait-for

7.0.0 · 15 Oct 2026MIT3.1M / weekRepositoryHomepagenpmAtom feed

Your version

7.0.0

Latestmajor15 Oct 2026Where it was published

In short

1 breaking4 fixed

  • Breaking

    Require Node.js 22 cf00440

Release note

Breaking

Fixes

  • Make abort and timeout settle the wait while condition is pending (#37) adc360b

    • Before, a slow or never-settling condition could keep the wait pending past its timeout, and a late true could even fulfill an aborted wait.

    • A pending condition is not cancelled; its eventual result or error is ignored.

  • Make timeout options (fallback, message) work during the initial before: false delay (#35) afb0753

  • Fix abort listeners accumulating on a reused signal (#36) 7e6ffdf

  • Fix the TypeScript type of the fallback option to allow returning a promise ac4286b


v6.0.0...v7.0.0

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.