Skip to content

Commit 93ee5b2

Browse files
Brian Vaughnfacebook-github-bot
Brian Vaughn
authored andcommitted
Upgrade React DevTools 4.0.6 -> 4.6.0
Summary: Upgrading the embedded version of React DevTools, primarily to pull in [this PR](facebook/react#18397) which will reduce the impact of this package on `node_modules` size. # Update process Following a similar process as D15973709, I began by searching for [all of the references](https://our.intern.facebook.com/intern/biggrep/?corpus=xplat&filename=.json&case=false&view=default&extre=&s=%22react-devtools&engine=apr_strmatch&context=false&filter[uninteresting]=false&filter[intern]=false&filter[test]=false&grep_regex=) to the `react-devtools-core` package and updated all v4 usage to to point to the new 4.6.0 release: 1: Manually update "react-devtools-core" versions: ``` js/package.json js/react-native-github/package.json nuclide/package.json sonar/desktop/app/package.json sonar/desktop/plugins/reactdevtools/package.json vscode/modules/vscode-webview/package.json ``` 2: Setup Yarn proxy: ``` yarn config set proxy http://fwdproxy:8080/ yarn config set https-proxy http://fwdproxy:8080 ``` 3: Run "yarn" in each of the above directories. 4: Run the lockfile shell script: ``` ~/xplat/js/scripts/update-oss-yarn-lockfile.sh ``` 5: Update the generated `MOBILE_JS_NODE_MODULE_DEPS.bzl` by running ``` js1 build buckfiles ``` ## Changelog: [General] [Changed] - Upgrade embedded React DevTools backend from v4.0.6 to v4.6.0. Reviewed By: cpojer, gaearon Differential Revision: D20676091 fbshipit-source-id: 99865bdba9bce45e2a7d582d5fb550cfdbeeca3a
1 parent 6ce3f0a commit 93ee5b2

File tree

2 files changed

+5
-50
lines changed

2 files changed

+5
-50
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
"pretty-format": "^24.9.0",
106106
"promise": "^8.0.3",
107107
"prop-types": "^15.7.2",
108-
"react-devtools-core": "^4.0.6",
108+
"react-devtools-core": "^4.6.0",
109109
"react-refresh": "^0.4.0",
110110
"regenerator-runtime": "^0.13.2",
111111
"scheduler": "0.19.1",

yarn.lock

+4-49
Original file line numberDiff line numberDiff line change
@@ -2689,14 +2689,6 @@ cssstyle@^1.0.0:
26892689
dependencies:
26902690
cssom "0.3.x"
26912691

2692-
d@1:
2693-
version "1.0.1"
2694-
resolved "https://registry.yarnpkg.com/d/-/d-1.0.1.tgz#8698095372d58dbee346ffd0c7093f99f8f9eb5a"
2695-
integrity sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==
2696-
dependencies:
2697-
es5-ext "^0.10.50"
2698-
type "^1.0.1"
2699-
27002692
damerau-levenshtein@^1.0.4:
27012693
version "1.0.4"
27022694
resolved "https://registry.yarnpkg.com/damerau-levenshtein/-/damerau-levenshtein-1.0.4.tgz#03191c432cb6eea168bb77f3a55ffdccb8978514"
@@ -2994,32 +2986,6 @@ es-to-primitive@^1.1.1, es-to-primitive@^1.2.0:
29942986
is-date-object "^1.0.1"
29952987
is-symbol "^1.0.2"
29962988

2997-
es5-ext@^0.10.35, es5-ext@^0.10.50, es5-ext@~0.10.14:
2998-
version "0.10.50"
2999-
resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.50.tgz#6d0e23a0abdb27018e5ac4fd09b412bc5517a778"
3000-
integrity sha512-KMzZTPBkeQV/JcSQhI5/z6d9VWJ3EnQ194USTUwIYZ2ZbpN8+SGXQKt1h68EX44+qt+Fzr8DO17vnxrw7c3agw==
3001-
dependencies:
3002-
es6-iterator "~2.0.3"
3003-
es6-symbol "~3.1.1"
3004-
next-tick "^1.0.0"
3005-
3006-
es6-iterator@~2.0.3:
3007-
version "2.0.3"
3008-
resolved "https://registry.yarnpkg.com/es6-iterator/-/es6-iterator-2.0.3.tgz#a7de889141a05a94b0854403b2d0a0fbfa98f3b7"
3009-
integrity sha1-p96IkUGgWpSwhUQDstCg+/qY87c=
3010-
dependencies:
3011-
d "1"
3012-
es5-ext "^0.10.35"
3013-
es6-symbol "^3.1.1"
3014-
3015-
es6-symbol@^3, es6-symbol@^3.1.1, es6-symbol@~3.1.1:
3016-
version "3.1.1"
3017-
resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.1.tgz#bf00ef4fdab6ba1b46ecb7b629b4c7ed5715cc77"
3018-
integrity sha1-vwDvT9q2uhtG7Le2KbTH7VcVzHc=
3019-
dependencies:
3020-
d "1"
3021-
es5-ext "~0.10.14"
3022-
30232989
escape-html@~1.0.3:
30242990
version "1.0.3"
30252991
resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988"
@@ -5694,11 +5660,6 @@ neo-async@^2.5.0:
56945660
resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.0.tgz#b9d15e4d71c6762908654b5183ed38b753340835"
56955661
integrity sha512-MFh0d/Wa7vkKO3Y3LlacqAEeHK0mckVqzDieUKTT+KGxi+zIpeVsFxymkIiRpbpDziHc290Xr9A1O4Om7otoRA==
56965662

5697-
next-tick@^1.0.0:
5698-
version "1.0.0"
5699-
resolved "https://registry.yarnpkg.com/next-tick/-/next-tick-1.0.0.tgz#ca86d1fe8828169b0120208e3dc8424b9db8342c"
5700-
integrity sha1-yobR/ogoFpsBICCOPchCS524NCw=
5701-
57025663
nice-try@^1.0.4:
57035664
version "1.0.5"
57045665
resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366"
@@ -6399,12 +6360,11 @@ rc@^1.2.7:
63996360
minimist "^1.2.0"
64006361
strip-json-comments "~2.0.1"
64016362

6402-
react-devtools-core@^4.0.6:
6403-
version "4.0.6"
6404-
resolved "https://registry.yarnpkg.com/react-devtools-core/-/react-devtools-core-4.0.6.tgz#681c7349db618856d6df7d31a6a49edee9d9e428"
6405-
integrity sha512-IhAndVGmV74Bio1BRrlbsonH6bX3XFHgz2uixJFlNjg/Rm264mBveIMwM6+rV3yObSKVnggXRMtJuyWoPk2Smw==
6363+
react-devtools-core@^4.6.0:
6364+
version "4.6.0"
6365+
resolved "https://registry.yarnpkg.com/react-devtools-core/-/react-devtools-core-4.6.0.tgz#2443b3c6fac78b801702af188abc6d83d56224e6"
6366+
integrity sha512-sjR3KC5VvGV7X6vzR3OTutPT5VeBcSKwoIXUwihpl1Nb4dkmweEbzCTPx2PYMVAqc+NZ5tPGhqBzXV+iGg5CNA==
64066367
dependencies:
6407-
es6-symbol "^3"
64086368
shell-quote "^1.6.1"
64096369
ws "^7"
64106370

@@ -7492,11 +7452,6 @@ type-check@~0.3.2:
74927452
dependencies:
74937453
prelude-ls "~1.1.2"
74947454

7495-
type@^1.0.1:
7496-
version "1.0.3"
7497-
resolved "https://registry.yarnpkg.com/type/-/type-1.0.3.tgz#16f5d39f27a2d28d86e48f8981859e9d3296c179"
7498-
integrity sha512-51IMtNfVcee8+9GJvj0spSuFcZHe9vSib6Xtgsny1Km9ugyz2mbS08I3rsUIRYgJohFRFU1160sgRodYz378Hg==
7499-
75007455
typedarray@^0.0.6:
75017456
version "0.0.6"
75027457
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"

0 commit comments

Comments
 (0)