safe-event-emitter
An `EventEmitter` that isolates the emitter from errors in handlers. If an error is thrown in a handler it is caught and re-thrown inside of a `setTimeout` so as to not interupt the emitter's code flow.
safe-event-emitter@1.0.1 was published on 2018-10-04. Its manifest declares 1 runtime dependency and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. No Node.js engine requirement is declared in this manifest.
Deprecated: Renamed to @metamask/safe-event-emitter
All safe-event-emitter versions · Permanent reference to 1.0.1
Package specifications
| Version | 1.0.1 |
|---|---|
| License declaration | ISC |
| Published | 2018-10-04T04:07:39.602Z |
| Node.js requirement | Not declared |
| Type declarations | Not declared |
| Runtime dependency count | 1 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 2.90 KiB |
| Published file count | 3 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 1 |
| Repository stars | Unknown |
| Repository forks | Unknown |
Install safe-event-emitter 1.0.1
npm install safe-event-emitter@1.0.1 pnpm add safe-event-emitter@1.0.1 yarn add safe-event-emitter@1.0.1
Runtime dependencies
- events ^3.0.0
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- events@3.3.0 — direct
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
Evidence and freshness
- https://registry.npmjs.org/safe-event-emitter/1.0.1 — retrieved 2026-10-30T10:01:53.665Z
- https://api.deps.dev/v3/systems/npm/packages/safe-event-emitter/versions/1.0.1:dependencies — retrieved 2026-10-30T10:01:54.347Z
- https://api.deps.dev/v3/systems/npm/packages/safe-event-emitter/versions/1.0.1 — retrieved 2026-10-30T10:01:54.323Z