Skip to content

Commit 84b492f

Browse files
author
Brian Vaughn
committed
Polyfill Symbol usage
1 parent bf94158 commit 84b492f

File tree

6 files changed

+8
-38
lines changed

6 files changed

+8
-38
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
"crx": "^5.0.0",
102102
"css-loader": "^1.0.1",
103103
"error-stack-parser": "^2.0.2",
104-
"es6-symbol": "3.0.2",
104+
"es6-symbol": "^3",
105105
"escape-string-regexp": "^1.0.5",
106106
"eslint": "^4.19.1",
107107
"eslint-config-prettier": "^2.9.0",

packages/react-devtools-core/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"start:standalone": "cross-env NODE_ENV=development webpack --config webpack.standalone.js --watch"
2424
},
2525
"dependencies": {
26+
"es6-symbol": "^3",
2627
"shell-quote": "^1.6.1",
2728
"ws": "^7"
2829
},

packages/react-devtools-inline/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919
"prepublish": "yarn run build",
2020
"start": "cross-env NODE_ENV=development webpack --config webpack.config.js --watch"
2121
},
22-
"dependencies": {},
22+
"dependencies": {
23+
"es6-symbol": "^3"
24+
},
2325
"devDependencies": {
2426
"cross-env": "^3.1.4"
2527
}

src/hydration.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// @flow
22

3+
import Symbol from 'es6-symbol';
34
import {
45
isElement,
56
typeOf,

src/utils.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// @flow
22

3+
import Symbol from 'es6-symbol';
34
import LRU from 'lru-cache';
45
import {
56
TREE_OPERATION_ADD,

yarn.lock

Lines changed: 1 addition & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -3859,12 +3859,6 @@ d@1:
38593859
dependencies:
38603860
es5-ext "^0.10.9"
38613861

3862-
d@^0.1.1, d@~0.1.1:
3863-
version "0.1.1"
3864-
resolved "https://registry.yarnpkg.com/d/-/d-0.1.1.tgz#da184c535d18d8ee7ba2aa229b914009fae11309"
3865-
dependencies:
3866-
es5-ext "~0.10.2"
3867-
38683862
damerau-levenshtein@^1.0.0:
38693863
version "1.0.4"
38703864
resolved "https://registry.yarnpkg.com/damerau-levenshtein/-/damerau-levenshtein-1.0.4.tgz#03191c432cb6eea168bb77f3a55ffdccb8978514"
@@ -4481,13 +4475,6 @@ es5-ext@^0.10.14, es5-ext@^0.10.35, es5-ext@^0.10.9, es5-ext@~0.10.14:
44814475
es6-symbol "~3.1.1"
44824476
next-tick "^1.0.0"
44834477

4484-
es5-ext@^0.10.7, es5-ext@~0.10.10, es5-ext@~0.10.11, es5-ext@~0.10.2:
4485-
version "0.10.12"
4486-
resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.12.tgz#aa84641d4db76b62abba5e45fd805ecbab140047"
4487-
dependencies:
4488-
es6-iterator "2"
4489-
es6-symbol "~3.1"
4490-
44914478
44924479
version "4.0.0"
44934480
resolved "https://registry.yarnpkg.com/es6-error/-/es6-error-4.0.0.tgz#f094c7041f662599bb12720da059d6b9c7ff0f40"
@@ -4498,14 +4485,6 @@ [email protected]:
44984485
resolved "https://registry.yarnpkg.com/es6-error/-/es6-error-4.1.1.tgz#9e3af407459deed47e9a91f9b885a84eb05c561d"
44994486
integrity sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==
45004487

4501-
es6-iterator@2:
4502-
version "2.0.0"
4503-
resolved "https://registry.yarnpkg.com/es6-iterator/-/es6-iterator-2.0.0.tgz#bd968567d61635e33c0b80727613c9cb4b096bac"
4504-
dependencies:
4505-
d "^0.1.1"
4506-
es5-ext "^0.10.7"
4507-
es6-symbol "3"
4508-
45094488
es6-iterator@^2.0.1, es6-iterator@~2.0.1, es6-iterator@~2.0.3:
45104489
version "2.0.3"
45114490
resolved "https://registry.yarnpkg.com/es6-iterator/-/es6-iterator-2.0.3.tgz#a7de889141a05a94b0854403b2d0a0fbfa98f3b7"
@@ -4560,21 +4539,7 @@ es6-set@~0.1.5:
45604539
es6-symbol "3.1.1"
45614540
event-emitter "~0.3.5"
45624541

4563-
es6-symbol@3, es6-symbol@~3.1:
4564-
version "3.1.0"
4565-
resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.0.tgz#94481c655e7a7cad82eba832d97d5433496d7ffa"
4566-
dependencies:
4567-
d "~0.1.1"
4568-
es5-ext "~0.10.11"
4569-
4570-
4571-
version "3.0.2"
4572-
resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.0.2.tgz#1e928878c6f5e63541625b4bb4df4af07d154219"
4573-
dependencies:
4574-
d "~0.1.1"
4575-
es5-ext "~0.10.10"
4576-
4577-
[email protected], es6-symbol@^3.1.1, es6-symbol@~3.1.1:
4542+
[email protected], es6-symbol@^3, es6-symbol@^3.1.1, es6-symbol@~3.1.1:
45784543
version "3.1.1"
45794544
resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.1.tgz#bf00ef4fdab6ba1b46ecb7b629b4c7ed5715cc77"
45804545
integrity sha1-vwDvT9q2uhtG7Le2KbTH7VcVzHc=

0 commit comments

Comments
 (0)