Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Bump events from 3.2.0 to 3.3.0 #11

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 3, 2021

Bumps events from 3.2.0 to 3.3.0.

Release notes

Sourced from events's releases.

v3.3.0

  • Support EventTarget emitters in events.once from Node.js 12.11.0.

    Now you can use the events.once function with objects that implement the EventTarget interface. This interface is used widely in the DOM and other web APIs.

    var events = require('events');
    var assert = require('assert');
    async function connect() {
    var ws = new WebSocket('wss://example.com');
    await events.once(ws, 'open');
    assert(ws.readyState === WebSocket.OPEN);
    }
    async function onClick() {
    await events.once(document.body, 'click');
    alert('you clicked the page!');
    }

Changelog

Sourced from events's changelog.

3.3.0

  • Support EventTarget emitters in events.once from Node.js 12.11.0.

    Now you can use the events.once function with objects that implement the EventTarget interface. This interface is used widely in the DOM and other web APIs.

    var events = require('events');
    var assert = require('assert');
    async function connect() {
    var ws = new WebSocket('wss://example.com');
    await events.once(ws, 'open');
    assert(ws.readyState === WebSocket.OPEN);
    }
    async function onClick() {
    await events.once(document.body, 'click');
    alert('you clicked the page!');
    }

Commits
  • aed9f91 3.3.0
  • ec60f7b Merge pull request #82 from browserify/once-event-target
  • 0a32360 make node 0.12 happy
  • 1f9e025 add tests for events.once(eventTarget) using browser built-in EventTarget
  • 0f82983 change order for listeners
  • 133faed fix error listener handler case
  • f1d67b0 fix EventTarget support
  • cfa2d6f node 0.12 has no deepStrictEqual
  • 6adca6c support async test
  • 7a0ed07 old ie compat
  • Additional commits viewable in compare view

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 3, 2021
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/events-3.3.0 branch from 53f842d to a919eba Compare June 9, 2021 11:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants