Skip to content

chore: bump p-event from 7.1.1 to 8.0.1 - #1150

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/p-event-8.0.1
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/p-event-8.0.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 14, 2026

Copy link
Copy Markdown
Contributor

Bumps p-event from 7.1.1 to 8.0.1.

Release notes

Sourced from p-event's releases.

v8.0.1

  • Fix listener left attached when aborting from newListener 901bed7

sindresorhus/p-event@v8.0.0...v8.0.1

v8.0.0

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

sindresorhus/p-event@v7.1.1...v8.0.0

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [p-event](https://github.com/sindresorhus/p-event) from 7.1.1 to 8.0.1.
- [Release notes](https://github.com/sindresorhus/p-event/releases)
- [Commits](sindresorhus/p-event@v7.1.1...v8.0.1)

---
updated-dependencies:
- dependency-name: p-event
  dependency-version: 8.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from a team as a code owner October 14, 2026 17:31
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Oct 14, 2026

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 javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants