mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
Remove "es6-symbol" package from DevTools (#18397)
This commit is contained in:
@@ -24,7 +24,6 @@
|
||||
"start:standalone": "cross-env NODE_ENV=development webpack --config webpack.standalone.js --watch"
|
||||
},
|
||||
"dependencies": {
|
||||
"es6-symbol": "^3",
|
||||
"shell-quote": "^1.6.1",
|
||||
"ws": "^7"
|
||||
},
|
||||
|
||||
@@ -20,9 +20,7 @@
|
||||
"prepublish": "yarn run build",
|
||||
"start": "cross-env NODE_ENV=development webpack --config webpack.config.js --watch"
|
||||
},
|
||||
"dependencies": {
|
||||
"es6-symbol": "^3"
|
||||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.1.6",
|
||||
"@babel/plugin-proposal-class-properties": "^7.1.0",
|
||||
|
||||
@@ -124,7 +124,7 @@ function HookView({canEditHooks, hook, id, inspectPath, path}: HookViewProps) {
|
||||
hook !== null &&
|
||||
typeof hook === 'object' &&
|
||||
hook.hasOwnProperty(meta.type)
|
||||
? hook[meta.type]
|
||||
? hook[(meta.type: any)]
|
||||
: typeof value,
|
||||
},
|
||||
id: 'SelectedElement',
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
* @flow
|
||||
*/
|
||||
|
||||
import Symbol from 'es6-symbol';
|
||||
import {
|
||||
getDataType,
|
||||
getDisplayNameForReactElement,
|
||||
|
||||
1
packages/react-devtools-shared/src/utils.js
vendored
1
packages/react-devtools-shared/src/utils.js
vendored
@@ -7,7 +7,6 @@
|
||||
* @flow
|
||||
*/
|
||||
|
||||
import Symbol from 'es6-symbol';
|
||||
import LRU from 'lru-cache';
|
||||
import {
|
||||
isElement,
|
||||
|
||||
@@ -4969,7 +4969,7 @@ es6-set@~0.1.5:
|
||||
es6-symbol "3.1.1"
|
||||
event-emitter "~0.3.5"
|
||||
|
||||
es6-symbol@3.1.1, es6-symbol@^3, es6-symbol@^3.1.1, es6-symbol@~3.1.1:
|
||||
es6-symbol@3.1.1, es6-symbol@^3.1.1, es6-symbol@~3.1.1:
|
||||
version "3.1.1"
|
||||
resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.1.tgz#bf00ef4fdab6ba1b46ecb7b629b4c7ed5715cc77"
|
||||
integrity sha1-vwDvT9q2uhtG7Le2KbTH7VcVzHc=
|
||||
|
||||
Reference in New Issue
Block a user