Skip to content

Commit

Permalink
Removed (no longer necessary) node->node-events mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Vaughn committed Aug 14, 2019
1 parent d7ca884 commit 4078167
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/react-devtools-extensions/flow.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// @flow

declare module 'node-events' {
declare module 'events' {
declare class EventEmitter<Events: Object> {
addListener<Event: $Keys<Events>>(
event: Event,
Expand Down
2 changes: 1 addition & 1 deletion packages/react-devtools-shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
"@reach/menu-button": "^0.1.17",
"@reach/tooltip": "^0.2.2",
"clipboard-js": "^0.3.6",
"events": "^3.0.0",
"lodash.throttle": "^4.1.1",
"memoize-one": "^3.1.1",
"node-events": "npm:events@^3.0.0",
"react-virtualized-auto-sizer": "^1.0.2"
}
}
2 changes: 1 addition & 1 deletion packages/react-devtools-shared/src/backend/agent.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// @flow

import EventEmitter from 'node-events';
import EventEmitter from 'events';
import throttle from 'lodash.throttle';
import {
SESSION_STORAGE_LAST_SELECTION_KEY,
Expand Down
2 changes: 1 addition & 1 deletion packages/react-devtools-shared/src/bridge.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// @flow

import EventEmitter from 'node-events';
import EventEmitter from 'events';

import type {ComponentFilter, Wall} from './types';
import type {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// @flow

import EventEmitter from 'node-events';
import EventEmitter from 'events';
import {prepareProfilingDataFrontendFromBackendAndStore} from './views/Profiler/utils';
import ProfilingCache from './ProfilingCache';
import Store from './store';
Expand Down
2 changes: 1 addition & 1 deletion packages/react-devtools-shared/src/devtools/store.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// @flow

import EventEmitter from 'node-events';
import EventEmitter from 'events';
import {inspect} from 'util';
import {
TREE_OPERATION_ADD,
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4931,7 +4931,7 @@ events@^1.0.0:
resolved "https://registry.yarnpkg.com/events/-/events-1.1.1.tgz#9ebdb7635ad099c70dcc4c2a1f5004288e8bd924"
integrity sha1-nr23Y1rQmccNzEwqH1AEKI6L2SQ=

events@^3.0.0, "node-events@npm:events@^3.0.0":
events@^3.0.0:
name node-events
version "3.0.0"
resolved "https://registry.yarnpkg.com/events/-/events-3.0.0.tgz#9a0a0dfaf62893d92b875b8f2698ca4114973e88"
Expand Down

0 comments on commit 4078167

Please sign in to comment.