Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump events from 3.1.0 to 3.3.0 #627

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

Conversation

dependabot[bot]
Copy link

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

Bumps events from 3.1.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!');
    }

v3.2.0

  • Add events.once from Node.js 11.13.0.

    To use this function, Promises must be supported in the environment. Use a polyfill like es6-promise if you support older browsers.

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!');
    }

3.2.0

  • Add events.once from Node.js 11.13.0.

    To use this function, Promises must be supported in the environment. Use a polyfill like es6-promise if you support older browsers.

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)

Bumps [events](https://github.com/Gozala/events) from 3.1.0 to 3.3.0.
- [Release notes](https://github.com/Gozala/events/releases)
- [Changelog](https://github.com/browserify/events/blob/main/History.md)
- [Commits](browserify/events@v3.1.0...v3.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Mar 15, 2021
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