Skip to content

fix(deps): update dependency p-timeout to v8 - #1082

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/p-timeout-8.x
Open

renovate[bot] wants to merge 1 commit into
masterfrom
renovate/p-timeout-8.x

Conversation

@renovate

@renovate renovate Bot commented Oct 15, 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.1.0

Compare Source

  • Preserve abort ordering for synchronous thenables d3892c6
  • Fix the TimeoutError#name and fallback types 3aac962
  • Attach the abort listener before subscribing to the input 4414933

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.

v7.0.2

Compare Source

  • Fix: Handle input rejections when already aborted (#​46) 15fc4da


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • 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 was generated by Mend Renovate. View the repository job log.

@socket-security

socket-security Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedp-timeout@​8.1.010010010087100

View full report

@CLAassistant

This comment was marked as outdated.

@renovate
renovate Bot force-pushed the renovate/p-timeout-8.x branch 2 times, most recently from 800b52d to eb6e59f Compare October 26, 2026 23:46
@renovate
renovate Bot force-pushed the renovate/p-timeout-8.x branch from eb6e59f to 0c212b9 Compare November 5, 2026 20:43

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant