Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit 07a6a3b

Browse files
Brian Vaughnfacebook-github-bot
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 35145ae commit 07a6a3b

File tree

4 files changed

+11
-57
lines changed

4 files changed

+11
-57
lines changed

desktop/app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"react": "16.13.0",
5858
"react-color": "^2.11.7",
5959
"react-debounce-render": "^6.0.0",
60-
"react-devtools-core": "^4.0.6",
60+
"react-devtools-core": "^4.6.0",
6161
"react-dom": "^16.13.0",
6262
"react-markdown": "^4.2.2",
6363
"react-player": "^1.15.2",

desktop/plugins/reactdevtools/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"dependencies": {
88
"address": "^1.1.2",
99
"get-port": "^5.0.0",
10-
"react-devtools-core": "^4.0.6"
10+
"react-devtools-core": "^4.6.0"
1111
},
1212
"title": "React DevTools",
1313
"icon": "app-react",

desktop/plugins/reactdevtools/yarn.lock

Lines changed: 4 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -24,40 +24,6 @@ async-limiter@^1.0.0:
2424
resolved "https://registry.yarnpkg.com/async-limiter/-/async-limiter-1.0.0.tgz#78faed8c3d074ab81f22b4e985d79e8738f720f8"
2525
integrity sha512-jp/uFnooOiO+L211eZOoSyzpOITMXx1rBITauYykG3BRYPu8h0UcxsPNB04RR5vo4Tyz3+ay17tR6JVf9qzYWg==
2626

27-
d@1:
28-
version "1.0.1"
29-
resolved "https://registry.yarnpkg.com/d/-/d-1.0.1.tgz#8698095372d58dbee346ffd0c7093f99f8f9eb5a"
30-
integrity sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==
31-
dependencies:
32-
es5-ext "^0.10.50"
33-
type "^1.0.1"
34-
35-
es5-ext@^0.10.35, es5-ext@^0.10.50, es5-ext@~0.10.14:
36-
version "0.10.50"
37-
resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.50.tgz#6d0e23a0abdb27018e5ac4fd09b412bc5517a778"
38-
integrity sha512-KMzZTPBkeQV/JcSQhI5/z6d9VWJ3EnQ194USTUwIYZ2ZbpN8+SGXQKt1h68EX44+qt+Fzr8DO17vnxrw7c3agw==
39-
dependencies:
40-
es6-iterator "~2.0.3"
41-
es6-symbol "~3.1.1"
42-
next-tick "^1.0.0"
43-
44-
es6-iterator@~2.0.3:
45-
version "2.0.3"
46-
resolved "https://registry.yarnpkg.com/es6-iterator/-/es6-iterator-2.0.3.tgz#a7de889141a05a94b0854403b2d0a0fbfa98f3b7"
47-
integrity sha1-p96IkUGgWpSwhUQDstCg+/qY87c=
48-
dependencies:
49-
d "1"
50-
es5-ext "^0.10.35"
51-
es6-symbol "^3.1.1"
52-
53-
es6-symbol@^3, es6-symbol@^3.1.1, es6-symbol@~3.1.1:
54-
version "3.1.1"
55-
resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.1.tgz#bf00ef4fdab6ba1b46ecb7b629b4c7ed5715cc77"
56-
integrity sha1-vwDvT9q2uhtG7Le2KbTH7VcVzHc=
57-
dependencies:
58-
d "1"
59-
es5-ext "~0.10.14"
60-
6127
get-port@^5.0.0:
6228
version "5.0.0"
6329
resolved "https://registry.yarnpkg.com/get-port/-/get-port-5.0.0.tgz#aa22b6b86fd926dd7884de3e23332c9f70c031a6"
@@ -69,17 +35,11 @@ jsonify@~0.0.0:
6935
version "0.0.0"
7036
resolved "https://registry.yarnpkg.com/jsonify/-/jsonify-0.0.0.tgz#2c74b6ee41d93ca51b7b5aaee8f503631d252a73"
7137

72-
next-tick@^1.0.0:
73-
version "1.0.0"
74-
resolved "https://registry.yarnpkg.com/next-tick/-/next-tick-1.0.0.tgz#ca86d1fe8828169b0120208e3dc8424b9db8342c"
75-
integrity sha1-yobR/ogoFpsBICCOPchCS524NCw=
76-
77-
react-devtools-core@^4.0.6:
78-
version "4.0.6"
79-
resolved "https://registry.yarnpkg.com/react-devtools-core/-/react-devtools-core-4.0.6.tgz#681c7349db618856d6df7d31a6a49edee9d9e428"
80-
integrity sha512-IhAndVGmV74Bio1BRrlbsonH6bX3XFHgz2uixJFlNjg/Rm264mBveIMwM6+rV3yObSKVnggXRMtJuyWoPk2Smw==
38+
react-devtools-core@^4.6.0:
39+
version "4.6.0"
40+
resolved "https://registry.yarnpkg.com/react-devtools-core/-/react-devtools-core-4.6.0.tgz#2443b3c6fac78b801702af188abc6d83d56224e6"
41+
integrity sha512-sjR3KC5VvGV7X6vzR3OTutPT5VeBcSKwoIXUwihpl1Nb4dkmweEbzCTPx2PYMVAqc+NZ5tPGhqBzXV+iGg5CNA==
8142
dependencies:
82-
es6-symbol "^3"
8343
shell-quote "^1.6.1"
8444
ws "^7"
8545

@@ -97,11 +57,6 @@ type-fest@^0.3.0:
9757
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.3.1.tgz#63d00d204e059474fe5e1b7c011112bbd1dc29e1"
9858
integrity sha512-cUGJnCdr4STbePCgqNFbpVNCepa+kAVohJs1sLhxzdH+gnEoOd8VhbYa7pD3zZYGiURWM2xzEII3fQcRizDkYQ==
9959

100-
type@^1.0.1:
101-
version "1.0.3"
102-
resolved "https://registry.yarnpkg.com/type/-/type-1.0.3.tgz#16f5d39f27a2d28d86e48f8981859e9d3296c179"
103-
integrity sha512-51IMtNfVcee8+9GJvj0spSuFcZHe9vSib6Xtgsny1Km9ugyz2mbS08I3rsUIRYgJohFRFU1160sgRodYz378Hg==
104-
10560
ws@^7:
10661
version "7.1.1"
10762
resolved "https://registry.yarnpkg.com/ws/-/ws-7.1.1.tgz#f9942dc868b6dffb72c14fd8f2ba05f77a4d5983"

desktop/yarn.lock

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5598,7 +5598,7 @@ es6-iterator@~2.0.3:
55985598
es5-ext "^0.10.35"
55995599
es6-symbol "^3.1.1"
56005600

5601-
es6-symbol@^3, es6-symbol@^3.1.1, es6-symbol@~3.1.3:
5601+
es6-symbol@^3.1.1, es6-symbol@~3.1.3:
56025602
version "3.1.3"
56035603
resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.3.tgz#bad5d3c1bcdac28269f4cb331e431c78ac705d18"
56045604
integrity sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==
@@ -10648,12 +10648,11 @@ react-debounce-render@^6.0.0:
1064810648
hoist-non-react-statics "^3.3.2"
1064910649
lodash.debounce "^4.0.8"
1065010650

10651-
react-devtools-core@^4.0.6:
10652-
version "4.5.0"
10653-
resolved "https://registry.yarnpkg.com/react-devtools-core/-/react-devtools-core-4.5.0.tgz#077a931f84f79a0669517ea9bc36c34ca426c24d"
10654-
integrity sha512-nO+lcvGsWiIRKSs0s0uyT19IgJYd27kCB48In/5CiSoLpnWsA3nCv3J8R/J0UDIGt6hliq7R6IHJTQ06/4Fbzg==
10651+
react-devtools-core@^4.6.0:
10652+
version "4.6.0"
10653+
resolved "https://registry.yarnpkg.com/react-devtools-core/-/react-devtools-core-4.6.0.tgz#2443b3c6fac78b801702af188abc6d83d56224e6"
10654+
integrity sha512-sjR3KC5VvGV7X6vzR3OTutPT5VeBcSKwoIXUwihpl1Nb4dkmweEbzCTPx2PYMVAqc+NZ5tPGhqBzXV+iGg5CNA==
1065510655
dependencies:
10656-
es6-symbol "^3"
1065710656
shell-quote "^1.6.1"
1065810657
ws "^7"
1065910658

0 commit comments

Comments
 (0)