Commit 1bf80a0
stream: avoid caching prepend check
This removes the cached check for EE.prototype.prependListener
because we can't have nice things. More specifically some
libraries will bundle their own event emitter implementation.
PR-URL: #8018
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>1 parent c26b9af commit 1bf80a0Copy full SHA for 1bf80a0
File tree
Expand file treeCollapse file tree
2 files changed
+35
-7
lines changedOpen diff view settings
Filter options
- lib
- test/parallel
Expand file treeCollapse file tree
2 files changed
+35
-7
lines changedOpen diff view settings
Collapse file
+6-7Lines changed: 6 additions & 7 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
13 | 13 | |
14 | 14 | |
15 | 15 | |
16 | | - |
17 | | - |
18 | | - |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
19 | 20 | |
20 | | - |
21 | | - |
22 | | - |
| 21 | + |
23 | 22 | |
24 | 23 | |
25 | 24 | |
| ||
30 | 29 | |
31 | 30 | |
32 | 31 | |
33 | | - |
| 32 | + |
34 | 33 | |
35 | 34 | |
36 | 35 | |
|
Collapse file
test/parallel/test-stream-events-prepend.js
Copy file name to clipboard+29Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
0 commit comments