unstale

npm / eventemitter3

eventemitter3

What changed in eventemitter3 3 to 5, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

7 breaking2 new APIs and options1 behavior and defaults3 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

eventemitter3 57 changes

Breaking changes 3

  • The umd directory was renamed to dist, changing the directory name developers use to locate the distribution.

    5.0.0release notes

  • The minified bundle was renamed from eventemitter3.min.js to eventemitter3.umd.min.js.

    5.0.0release notes

  • Importing the module with TypeScript's import EventEmitter = require('eventemitter3') syntax is no longer supported.

    5.0.0release notes

New APIs and options 1

  • ESM support was added, allowing developers to use the module as an ES module.

    5.0.0release notes

Fixes and other changes 3

eventemitter3 41 changes

Breaking changes 1

  • TypeScript type definitions now require TypeScript 3.

    4.0.0release notes

eventemitter3 35 changes

Breaking changes 3

  • Bower is no longer supported.

    3.0.0release notes

  • Component is no longer supported.

    3.0.0release notes

  • EventEmitter.prototype.setMaxListeners() has been removed; it was a noop and documented as not supported.

    3.0.0release notes

New APIs and options 1

  • Added EventEmitter.prototype.listenerCount() for checking whether listeners exist.

    3.0.0release notes

Behavior and default changes 1

  • EventEmitter.prototype.listeners() always returns an array; use listenerCount() for existence checking.

    3.0.0release notes