Skip to content

Commit 83c5050

Browse files
committed
Use events-universal
1 parent da6ef53 commit 83c5050

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const { EventEmitter } = require('events')
1+
const { EventEmitter } = require('events-universal')
22
const STREAM_DESTROYED = new Error('Stream was destroyed')
33
const PREMATURE_CLOSE = new Error('Premature close')
44

package.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"description": "An iteration of the Node.js core streams with a series of improvements",
55
"main": "index.js",
66
"dependencies": {
7+
"events-universal": "^1.0.0",
78
"fast-fifo": "^1.3.2",
89
"text-decoder": "^1.1.0"
910
},
@@ -13,18 +14,9 @@
1314
"end-of-stream": "^1.4.4",
1415
"standard": "^17.0.0"
1516
},
16-
"optionalDependencies": {
17-
"bare-events": "^2.2.0"
18-
},
1917
"files": [
2018
"index.js"
2119
],
22-
"imports": {
23-
"events": {
24-
"bare": "bare-events",
25-
"default": "events"
26-
}
27-
},
2820
"scripts": {
2921
"test": "standard && node test/all.js",
3022
"test:bare": "standard && bare test/all.js"

0 commit comments

Comments
 (0)