NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #2341 most downloaded on npm
Event emitter
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 1 weeks to 1.4 years
Nearly every release is documented
notes for 6 of 6 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
6 releases · first in 2021
One column per quarter.
emitReserved() is renamed to _emitReserved() in order to enable proper mangling.
emitReserved() is renamed to _emitReserved() in order to enable proper mangling.
New syntax:
import { Emitter } from "@socket.io/component-emitter";
class MyEmitter extends Emitter {
foo() {
this._emitReserved("input");
}
}Diff: 3.1.0...4.0.0
point towards the CommonJS types
This release contains a rework of the dual CommonJS/ES packages. Instead of relying on the .mjs file extension, which causes some problems , we will u
This release contains a rework of the dual CommonJS/ES packages. Instead of relying on the .mjs file extension, which causes some problems, we will use two package.json files, one with "type": "commonjs" and the other with "type": "module".
Features add ESM version ( 54468cf ) Diff: 3.0.0...3.1.0
we now use a named export instead of a default export
// before
import Emitter from "@socket.io/component-emitter"
// after
import { Emitter } from "@socket.io/component-emitter"Diff: 2.0.0...3.0.0
Diff: 1.3.0...2.0.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →