mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
DevTools previously used the NPM events package for dispatching events. This package has an unfortunate flaw though- if a listener throws during event dispatch, no subsequent listeners are called. I've replaced that event dispatcher with my own implementation that ensures all listeners are called before it re-throws an error. This commit replaces that event emitter with a custom implementation that calls all listeners before re-throwing an error.
21 lines
507 B
JSON
21 lines
507 B
JSON
{
|
|
"private": true,
|
|
"name": "react-devtools-shared",
|
|
"version": "0.0.0",
|
|
"devDependencies": {
|
|
"react-15": "npm:react@^15",
|
|
"react-dom-15": "npm:react-dom@^15"
|
|
},
|
|
"dependencies": {
|
|
"@babel/runtime": "^7.0.0",
|
|
"@reach/menu-button": "^0.1.17",
|
|
"@reach/tooltip": "^0.2.2",
|
|
"clipboard-js": "^0.3.6",
|
|
"local-storage-fallback": "^4.1.1",
|
|
"lodash.throttle": "^4.1.1",
|
|
"memoize-one": "^3.1.1",
|
|
"react-virtualized-auto-sizer": "^1.0.2",
|
|
"semver": "^6.3.0"
|
|
}
|
|
}
|