Skip to content

Commit

Permalink
fix(deps): upgrade to eventemitter3 for explicit frontend support
Browse files Browse the repository at this point in the history
  • Loading branch information
caseybrookes committed Sep 21, 2024
1 parent e901247 commit 1b99773
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
14 changes: 10 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
"postversion": "git push origin HEAD --tags --no-verify"
},
"dependencies": {
"eventemitter3": "^5.0.1",
"events": "^3.0.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { EventEmitter } from 'events';
import { EventEmitter } from 'eventemitter3';

export type EventStreamConsumer<T> = (event: T) => void;
export class EventStream<T> {
Expand Down

0 comments on commit 1b99773

Please sign in to comment.