@samitouri / QOS-React / commits / 6b3d86a2e9

Fixed bug in react-detools-inline frontend init method (#21265)

Brian Vaughn committed Apr 14, 2021 at 13:27 UTC 6b3d86a2e92fdb79dedf05b759860bd7fd911222
8 files changed +15 -10
packages/react-devtools-core/package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "react-devtools-core",
3 - "version": "4.12.0",
3 + "version": "4.12.1",
4 "description": "Use react-devtools outside of the browser",
5 "license": "MIT",
6 "main": "./dist/backend.js",
packages/react-devtools-extensions/chrome/manifest.json
+2 -2
@@ -2,8 +2,8 @@
2 "manifest_version": 2,
3 "name": "React Developer Tools",
4 "description": "Adds React debugging tools to the Chrome Developer Tools.",
5 - "version": "4.12.0",
6 - "version_name": "4.12.0",
5 + "version": "4.12.1",
6 + "version_name": "4.12.1",
7
8 "minimum_chrome_version": "60",
9
packages/react-devtools-extensions/edge/manifest.json
+2 -2
@@ -2,8 +2,8 @@
2 "manifest_version": 2,
3 "name": "React Developer Tools",
4 "description": "Adds React debugging tools to the Microsoft Edge Developer Tools.",
5 - "version": "4.12.0",
6 - "version_name": "4.12.0",
5 + "version": "4.12.1",
6 + "version_name": "4.12.1",
7
8 "minimum_chrome_version": "60",
9
packages/react-devtools-extensions/firefox/manifest.json
+1 -1
@@ -2,7 +2,7 @@
2 "manifest_version": 2,
3 "name": "React Developer Tools",
4 "description": "Adds React debugging tools to the Firefox Developer Tools.",
5 - "version": "4.12.0",
5 + "version": "4.12.1",
6
7 "applications": {
8 "gecko": {
packages/react-devtools-inline/package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "react-devtools-inline",
3 - "version": "4.12.0",
3 + "version": "4.12.1",
4 "description": "Embed react-devtools within a website",
5 "license": "MIT",
6 "main": "./dist/backend.js",
packages/react-devtools-inline/src/frontend.js
+1 -1
@@ -91,7 +91,7 @@ export function initialize(
91 window.addEventListener('message', onGetSavedPreferencesMessage);
92
93 if (bridge == null) {
94 - bridge = createBridge();
94 + bridge = createBridge(contentWindow);
95 }
96
97 if (store == null) {
packages/react-devtools/CHANGELOG.md
+5
@@ -9,6 +9,11 @@
9 <!-- Upcoming changes go here -->
10 </details>
11
12 +## 4.12.1 (April 14, 2021)
13 +Although this release is being made for all NPM packages, only the `react-devtools-inline` package contains changes.
14 +#### Bugfix
15 +* Fixed `react-devtools-inline` bug in frontend `initialize` method ([bvaughn](https://github.com/bvaughn).
16 +
17 ## 4.12.0 (April 12, 2021)
18 Although this release is being made for all NPM packages, only the `react-devtools-inline` package contains changes.
19 #### Feature
packages/react-devtools/package.json
+2 -2
@@ -1,6 +1,6 @@
1 {
2 "name": "react-devtools",
3 - "version": "4.12.0",
3 + "version": "4.12.1",
4 "description": "Use react-devtools outside of the browser",
5 "license": "MIT",
6 "repository": {
@@ -27,7 +27,7 @@
27 "electron": "^11.1.0",
28 "ip": "^1.1.4",
29 "minimist": "^1.2.3",
30 - "react-devtools-core": "4.12.0",
30 + "react-devtools-core": "4.12.1",
31 "update-notifier": "^2.1.0"
32 }
33 }