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

This commit is contained in:
Brian Vaughn authored and GitHub committed 2021-04-14 13:27:21 -04:00
1 parent 82ef450e0e
commit 6b3d86a2e9
8 files changed
+15 -10

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "react-devtools-core",
"version": "4.12.0",
"version": "4.12.1",
"description": "Use react-devtools outside of the browser",
"license": "MIT",
"main": "./dist/backend.js",
@@ -2,8 +2,8 @@
"manifest_version": 2,
"name": "React Developer Tools",
"description": "Adds React debugging tools to the Chrome Developer Tools.",
"version": "4.12.0",
"version_name": "4.12.0",
"version": "4.12.1",
"version_name": "4.12.1",
"minimum_chrome_version": "60",
@@ -2,8 +2,8 @@
"manifest_version": 2,
"name": "React Developer Tools",
"description": "Adds React debugging tools to the Microsoft Edge Developer Tools.",
"version": "4.12.0",
"version_name": "4.12.0",
"version": "4.12.1",
"version_name": "4.12.1",
"minimum_chrome_version": "60",
@@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "React Developer Tools",
"description": "Adds React debugging tools to the Firefox Developer Tools.",
"version": "4.12.0",
"version": "4.12.1",
"applications": {
"gecko": {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "react-devtools-inline",
"version": "4.12.0",
"version": "4.12.1",
"description": "Embed react-devtools within a website",
"license": "MIT",
"main": "./dist/backend.js",
+1 -1
View File
@@ -91,7 +91,7 @@ export function initialize(
window.addEventListener('message', onGetSavedPreferencesMessage);
if (bridge == null) {
bridge = createBridge();
bridge = createBridge(contentWindow);
}
if (store == null) {
+5
View File
@@ -9,6 +9,11 @@
<!-- Upcoming changes go here -->
</details>
## 4.12.1 (April 14, 2021)
Although this release is being made for all NPM packages, only the `react-devtools-inline` package contains changes.
#### Bugfix
* Fixed `react-devtools-inline` bug in frontend `initialize` method ([bvaughn](https://github.com/bvaughn).
## 4.12.0 (April 12, 2021)
Although this release is being made for all NPM packages, only the `react-devtools-inline` package contains changes.
#### Feature
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "react-devtools",
"version": "4.12.0",
"version": "4.12.1",
"description": "Use react-devtools outside of the browser",
"license": "MIT",
"repository": {
@@ -27,7 +27,7 @@
"electron": "^11.1.0",
"ip": "^1.1.4",
"minimist": "^1.2.3",
"react-devtools-core": "4.12.0",
"react-devtools-core": "4.12.1",
"update-notifier": "^2.1.0"
}
}