Skip to content

fix(deps): Update dependency p-timeout to v8 - #452

Merged
kodiakhq[bot] merged 2 commits into
mainfrom
renovate/p-timeout-8.x
Nov 2, 2026
Merged

kodiakhq[bot] merged 2 commits into
mainfrom
renovate/p-timeout-8.x

Conversation

@cloudquery-ci

@cloudquery-ci cloudquery-ci Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
p-timeout ^7.0.0 → ^8.0.0 age confidence

Release Notes

sindresorhus/p-timeout (p-timeout)

v8.0.0

Compare Source

Breaking
  • Require Node.js 22 c633f8f
  • Call .cancel() on the input on every timeout and abort (#​47) d938bcd
    • Before, only a timeout without a fallback called it. Now a timeout with a fallback, an abort of signal, and an already aborted signal also call it.
    • Cancellation is best-effort. If .cancel() throws, the error is ignored and the promise still settles. Before, the error escaped the timer as an uncaught exception and the promise never settled.
    • .cancel() runs after the outcome is decided, so it cannot change the outcome.
    • A fallback that returns the input itself now gets a cancelled input.
  • Reject with the exact abort reason, even when it is null f2b3ae3
    • controller.abort(null) used to reject with a generic AbortError.
Improvements
  • Only create a TimeoutError when the timeout can reject with it bcc57d3
    • Capturing a stack trace is expensive, and most promises settle before the timeout.
Fixes
  • Fix timeouts above 2 ** 31 - 1 milliseconds firing immediately 7273802
    • They now never time out, the same as Infinity.
  • Fix custom clearTimeout being called with undefined when no timer exists f6e3d89
  • Fix cleanup failures changing the outcome or leaking the abort listener 0beb15c
  • Reject with a clear TypeError for invalid customTimers beaa523
    • Before, this failed with an unrelated error, or was ignored when the input settled synchronously or the timeout was Infinity.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM, on day 1 of the month (* 0-3 1 * *)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

@erezrokah erezrokah added the automerge Add to automerge PRs once requirements are met label Nov 2, 2026
@cloudquery-ci
cloudquery-ci Bot force-pushed the renovate/p-timeout-8.x branch from d5d627e to 23de851 Compare November 2, 2026 12:16
@kodiakhq
kodiakhq Bot merged commit 29c7e2e into main Nov 2, 2026
9 checks passed
@kodiakhq
kodiakhq Bot deleted the renovate/p-timeout-8.x branch November 2, 2026 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Add to automerge PRs once requirements are met

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant