File tree Expand file tree Collapse file tree 15 files changed +28
-18
lines changed
react-devtools-extensions
react-devtools-shared/src Expand file tree Collapse file tree 15 files changed +28
-18
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-devtools-core" ,
3
- "version" : " 4.0.5 " ,
3
+ "version" : " 4.0.6 " ,
4
4
"description" : " Use react-devtools outside of the browser" ,
5
5
"license" : " MIT" ,
6
6
"main" : " ./dist/backend.js" ,
24
24
"start:standalone" : " cross-env NODE_ENV=development webpack --config webpack.standalone.js --watch"
25
25
},
26
26
"dependencies" : {
27
+ "es6-symbol" : " ^3" ,
27
28
"shell-quote" : " ^1.6.1" ,
28
29
"ws" : " ^7"
29
30
},
Original file line number Diff line number Diff line change 2
2
"manifest_version" : 2 ,
3
3
"name" : " React Developer Tools" ,
4
4
"description" : " Adds React debugging tools to the Chrome Developer Tools." ,
5
- "version" : " 4.0.5 " ,
6
- "version_name" : " 4.0.5 " ,
5
+ "version" : " 4.0.6 " ,
6
+ "version_name" : " 4.0.6 " ,
7
7
8
8
"minimum_chrome_version" : " 49" ,
9
9
Original file line number Diff line number Diff line change 2
2
"manifest_version" : 2 ,
3
3
"name" : " React Developer Tools" ,
4
4
"description" : " Adds React debugging tools to the Firefox Developer Tools." ,
5
- "version" : " 4.0.5 " ,
5
+ "version" : " 4.0.6 " ,
6
6
7
7
"applications" : {
8
8
"gecko" : {
Original file line number Diff line number Diff line change 28
28
</ p >
29
29
< hr />
30
30
< p >
31
- Open the developer tools, and the React tab will appear to the right.
31
+ Open the developer tools, and "Components" and "Profiler" tabs will appear to the right.
32
32
</ p >
Original file line number Diff line number Diff line change 24
24
</ p >
25
25
< hr />
26
26
< p >
27
- Open the developer tools, and the React tab will appear to the right.
27
+ Open the developer tools, and "Components" and "Profiler" tabs will appear to the right.
28
28
</ p >
Original file line number Diff line number Diff line change 25
25
</ p >
26
26
< hr />
27
27
< p >
28
- Open the developer tools, and the React tab will appear to the right.
28
+ Open the developer tools, and "Components" and "Profiler" tabs will appear to the right.
29
29
</ p >
Original file line number Diff line number Diff line change 17
17
< p >
18
18
< b > This page is using the production build of React. ✅</ b >
19
19
< br />
20
- Open the developer tools, and the React tab will appear to the right.
20
+ Open the developer tools, and "Components" and "Profiler" tabs will appear to the right.
21
21
</ p >
Original file line number Diff line number Diff line change 27
27
</ p >
28
28
< hr />
29
29
< p >
30
- Open the developer tools, and the React tab will appear to the right.
30
+ Open the developer tools, and "Components" and "Profiler" tabs will appear to the right.
31
31
</ p >
Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ import DevTools from 'react-devtools-shared/src/devtools/views/DevTools';
24
24
const LOCAL_STORAGE_SUPPORTS_PROFILING_KEY =
25
25
'React::DevTools::supportsProfiling' ;
26
26
27
+ const isChrome = getBrowserName ( ) === 'Chrome' ;
28
+
27
29
let panelCreated = false ;
28
30
29
31
// The renderer interface can't read saved component filters directly,
@@ -126,7 +128,7 @@ function createPanelIfReactLoaded() {
126
128
127
129
store = new Store ( bridge , {
128
130
isProfiling,
129
- supportsReloadAndProfile : getBrowserName ( ) === 'Chrome' ,
131
+ supportsReloadAndProfile : isChrome ,
130
132
supportsProfiling,
131
133
} ) ;
132
134
store . profilerStore . profilingData = profilingData ;
@@ -232,7 +234,7 @@ function createPanelIfReactLoaded() {
232
234
let needsToSyncElementSelection = false ;
233
235
234
236
chrome . devtools . panels . create (
235
- '⚛ Components' ,
237
+ isChrome ? '⚛ Components' : ' Components',
236
238
'' ,
237
239
'panel.html' ,
238
240
extensionPanel => {
@@ -262,7 +264,7 @@ function createPanelIfReactLoaded() {
262
264
) ;
263
265
264
266
chrome . devtools . panels . create (
265
- '⚛ Profiler' ,
267
+ isChrome ? '⚛ Profiler' : ' Profiler',
266
268
'' ,
267
269
'panel.html' ,
268
270
extensionPanel => {
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-devtools-inline" ,
3
- "version" : " 4.0.5 " ,
3
+ "version" : " 4.0.6 " ,
4
4
"description" : " Embed react-devtools within a website" ,
5
5
"license" : " MIT" ,
6
6
"main" : " ./dist/backend.js" ,
20
20
"prepublish" : " yarn run build" ,
21
21
"start" : " cross-env NODE_ENV=development webpack --config webpack.config.js --watch"
22
22
},
23
- "dependencies" : {},
23
+ "dependencies" : {
24
+ "es6-symbol" : " ^3"
25
+ },
24
26
"devDependencies" : {
25
27
"@babel/core" : " ^7.1.6" ,
26
28
"@babel/plugin-proposal-class-properties" : " ^7.1.0" ,
Original file line number Diff line number Diff line change @@ -2074,7 +2074,10 @@ export function attach(
2074
2074
let fiber = findCurrentFiberUsingSlowPathById ( id ) ;
2075
2075
if ( fiber !== null ) {
2076
2076
instance = fiber . stateNode ;
2077
- style = fiber . memoizedProps . style ;
2077
+
2078
+ if ( fiber . memoizedProps !== null ) {
2079
+ style = fiber . memoizedProps . style ;
2080
+ }
2078
2081
}
2079
2082
2080
2083
return { instance, style} ;
Original file line number Diff line number Diff line change 1
1
// @flow
2
2
3
+ import Symbol from 'es6-symbol' ;
3
4
import {
4
5
isElement ,
5
6
typeOf ,
Original file line number Diff line number Diff line change 1
1
// @flow
2
2
3
+ import Symbol from 'es6-symbol' ;
3
4
import LRU from 'lru-cache' ;
4
5
import {
5
6
TREE_OPERATION_ADD ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-devtools" ,
3
- "version" : " 4.0.5 " ,
3
+ "version" : " 4.0.6 " ,
4
4
"description" : " Use react-devtools outside of the browser" ,
5
5
"license" : " MIT" ,
6
6
"repository" : {
27
27
"electron" : " ^5.0.0" ,
28
28
"ip" : " ^1.1.4" ,
29
29
"minimist" : " ^1.2.0" ,
30
- "react-devtools-core" : " 4.0.5 " ,
30
+ "react-devtools-core" : " 4.0.6 " ,
31
31
"update-notifier" : " ^2.1.0"
32
32
}
33
33
}
Original file line number Diff line number Diff line change @@ -4551,7 +4551,7 @@ es6-set@~0.1.5:
4551
4551
es6-symbol "3.1.1"
4552
4552
event-emitter "~0.3.5"
4553
4553
4554
- [email protected] , es6-symbol@^3.1.1, es6-symbol@~3.1.1:
4554
+ [email protected] , es6-symbol@^3
, es6-symbol@^3 .1.1, es6-symbol@~3.1.1:
4555
4555
version "3.1.1"
4556
4556
resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.1.tgz#bf00ef4fdab6ba1b46ecb7b629b4c7ed5715cc77"
4557
4557
integrity sha1-vwDvT9q2uhtG7Le2KbTH7VcVzHc=
You can’t perform that action at this time.
0 commit comments