GeezerVison is showing github.com — Merged changes from 4.0.5 -> 4.0.6 from DevTools fork · react/react@9d4fd7a
File treeExpand file treeCollapse file tree Open diff view settings react-devtools-extensions react-devtools-shared/src
Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: packages/react-devtools-core/package.json +2-1Lines changed: 2 additions & 1 deletion | 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 | }, | |
Collapse file Copy file name to clipboardExpand all lines: packages/react-devtools-extensions/chrome/manifest.json +2-2Lines changed: 2 additions & 2 deletions | 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 |
| |
Collapse file Copy file name to clipboardExpand all lines: packages/react-devtools-extensions/firefox/manifest.json +1-1Lines changed: 1 addition & 1 deletion | 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": { | |
Collapse file Copy file name to clipboardExpand all lines: packages/react-devtools-extensions/popups/deadcode.html +1-1Lines changed: 1 addition & 1 deletion | 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> |
Collapse file Copy file name to clipboardExpand all lines: packages/react-devtools-extensions/popups/development.html +1-1Lines changed: 1 addition & 1 deletion | 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> |
Collapse file Copy file name to clipboardExpand all lines: packages/react-devtools-extensions/popups/outdated.html +1-1Lines changed: 1 addition & 1 deletion | 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> |
Collapse file Copy file name to clipboardExpand all lines: packages/react-devtools-extensions/popups/production.html +1-1Lines changed: 1 addition & 1 deletion | 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> |
Collapse file Copy file name to clipboardExpand all lines: packages/react-devtools-extensions/popups/unminified.html +1-1Lines changed: 1 addition & 1 deletion | 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> |
Collapse file Copy file name to clipboardExpand all lines: packages/react-devtools-extensions/src/main.js +5-3Lines changed: 5 additions & 3 deletions | 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 => { | |
Collapse file Copy file name to clipboardExpand all lines: packages/react-devtools-inline/package.json +4-2Lines changed: 4 additions & 2 deletions | 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", | |
|