Skip to content

chore: update dependency p-event to v8 - #11834

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

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

Conversation

@renovate

@renovate renovate Bot commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
p-event ^4.2.0 → ^8.0.1 age adoption passing confidence

Release Notes

sindresorhus/p-event (p-event)

v8.0.1

Compare Source

  • Fix listener left attached when aborting from newListener 901bed7

v8.0.0

Compare Source

Breaking
  • Require Node.js 22 e81e0e5
  • pEventIterator no longer accepts the timeout option in the types d63fd16
    • It was never supported by the iterator and was silently ignored.
  • The emitter must have a matching pair of add and remove methods d63fd16
    • addEventListener/removeEventListener, on/off, or addListener/removeListener. An emitter that mixed methods from different pairs could have its listener added with one and never removed with the other. It now rejects with Emitter is not compatible.
  • An asynchronous filter now runs for one event at a time d63fd16
    • The accepted events now keep the order they were emitted in. A slow filter holds up the events behind it.
Fixes
  • Fix pEventIterator ignoring the filter option d63fd16
  • Fix pEventMultiple never resolving with count: 0 (#​57) d63fd16
  • Fix timeout being ignored with resolveImmediately, which left the listeners attached for good d63fd16
  • Fix leaked listeners when the timeout option is not a positive number d63fd16
  • Fix the abort listener staying on the signal after the promise settles d63fd16
  • Fix a repeated event name counting one emission twice d63fd16
  • Fix pEventIterator losing a rejection or buffered values in several cases d63fd16
    • A rejection event is now delivered after the values received before it, and next() never reports done while a value is still buffered.
  • Fix pEventIterator yielding values after return(), after a rejection, or after a resolution event d63fd16
  • Fix pEventIterator treating the main event as a rejection or resolution event when the name is in both lists d63fd16
    • The main event now takes priority over rejectionEvents and resolutionEvents, as documented.
  • Fix a cancelled promise rejecting when an asynchronous filter throws after .cancel() d63fd16
  • Fix an explicitly undefined option overriding its default d63fd16
    • For example, {rejectionEvents: undefined} listened for an event named "undefined" instead of error.
  • Fix rejectionMultiArgs wrapping the abort reason in an array d63fd16
  • Fix .cancel() being undefined when the call fails to start d63fd16
  • Fix pEventIterator with limit: 0 missing the return() method d63fd16
  • Fix the filter being called with the options object as this d63fd16

v7.1.1

Compare Source

  • Fix: Reject pending iterator reads when resolution filters fail (#​56) ec26d45

v7.1.0

Compare Source


v7.0.2

Compare Source

  • Fix type compatibility with Node.js readline b00f94c

v7.0.1

Compare Source

  • Allow signal option type to explicitly undefined (#​49) 3b9a69b

v7.0.0

Compare Source

Breaking
Improvements
Fixes
  • Fix TypeScript compatibility with @types/node v22 EventEmitter 8b79241
  • Fix timeout not being cleared when promise is cancelled with .cancel() e493edf

v6.0.1

Compare Source

v6.0.0

Compare Source

Breaking
Improvements
Fixes
  • Properly cancel pEventIterator when resolutionEvents emits item not matching filter (#​43) 93d16fb

v5.0.1

Compare Source

v5.0.0

Compare Source

Breaking

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 these updates again.


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Oct 13, 2026
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate
renovate Bot force-pushed the renovate/p-event-8.x branch from 80b9d19 to 7b01255 Compare October 13, 2026 13:31

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

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants