GeezerVison is showing github.com — Removed (no longer necessary) node->node-events mapping · react/react@4078167
File tree
Expand file treeCollapse file tree
Open diff view settings
react-devtools-extensions
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: packages/react-devtools-extensions/flow.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | // @flow |
2 | 2 |
|
3 | | -declare module 'node-events' { |
| 3 | +declare module 'events' { |
4 | 4 | declare class EventEmitter<Events: Object> { |
5 | 5 | addListener<Event: $Keys<Events>>( |
6 | 6 | event: Event, |
|
Collapse file
Copy file name to clipboardExpand all lines: packages/react-devtools-shared/package.json +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
7 | 7 | "@reach/menu-button": "^0.1.17", |
8 | 8 | "@reach/tooltip": "^0.2.2", |
9 | 9 | "clipboard-js": "^0.3.6", |
| 10 | + "events": "^3.0.0", |
10 | 11 | "lodash.throttle": "^4.1.1", |
11 | 12 | "memoize-one": "^3.1.1", |
12 | | - "node-events": "npm:events@^3.0.0", |
13 | 13 | "react-virtualized-auto-sizer": "^1.0.2" |
14 | 14 | } |
15 | 15 | } |
Collapse file
Copy file name to clipboardExpand all lines: packages/react-devtools-shared/src/backend/agent.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | // @flow |
2 | 2 |
|
3 | | -import EventEmitter from 'node-events'; |
| 3 | +import EventEmitter from 'events'; |
4 | 4 | import throttle from 'lodash.throttle'; |
5 | 5 | import { |
6 | 6 | SESSION_STORAGE_LAST_SELECTION_KEY, |
|
Collapse file
Copy file name to clipboardExpand all lines: packages/react-devtools-shared/src/bridge.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | // @flow |
2 | 2 |
|
3 | | -import EventEmitter from 'node-events'; |
| 3 | +import EventEmitter from 'events'; |
4 | 4 |
|
5 | 5 | import type {ComponentFilter, Wall} from './types'; |
6 | 6 | import type { |
|
Collapse file
Copy file name to clipboardExpand all lines: packages/react-devtools-shared/src/devtools/ProfilerStore.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | // @flow |
2 | 2 |
|
3 | | -import EventEmitter from 'node-events'; |
| 3 | +import EventEmitter from 'events'; |
4 | 4 | import {prepareProfilingDataFrontendFromBackendAndStore} from './views/Profiler/utils'; |
5 | 5 | import ProfilingCache from './ProfilingCache'; |
6 | 6 | import Store from './store'; |
|
Collapse file
Copy file name to clipboardExpand all lines: packages/react-devtools-shared/src/devtools/store.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | // @flow |
2 | 2 |
|
3 | | -import EventEmitter from 'node-events'; |
| 3 | +import EventEmitter from 'events'; |
4 | 4 | import {inspect} from 'util'; |
5 | 5 | import { |
6 | 6 | TREE_OPERATION_ADD, |
|
Collapse file
Copy file name to clipboardExpand all lines: yarn.lock +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -4931,7 +4931,7 @@ events@^1.0.0: |
4931 | 4931 | resolved "https://registry.yarnpkg.com/events/-/events-1.1.1.tgz#9ebdb7635ad099c70dcc4c2a1f5004288e8bd924" |
4932 | 4932 | integrity sha1-nr23Y1rQmccNzEwqH1AEKI6L2SQ= |
4933 | 4933 |
|
4934 | | -events@^3.0.0, "node-events@npm:events@^3.0.0": |
| 4934 | +events@^3.0.0: |
4935 | 4935 | name node-events |
4936 | 4936 | version "3.0.0" |
4937 | 4937 | resolved "https://registry.yarnpkg.com/events/-/events-3.0.0.tgz#9a0a0dfaf62893d92b875b8f2698ca4114973e88" |
|