Skip to content

Commit

Permalink
Fixed bug in react-detools-inline frontend init method (#21265)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Vaughn authored Apr 14, 2021
1 parent 82ef450 commit 6b3d86a
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 10 deletions.
2 changes: 1 addition & 1 deletion packages/react-devtools-core/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions packages/react-devtools-extensions/chrome/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",

Expand Down
4 changes: 2 additions & 2 deletions packages/react-devtools-extensions/edge/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",

Expand Down
2 changes: 1 addition & 1 deletion packages/react-devtools-extensions/firefox/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion packages/react-devtools-inline/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-devtools-inline/src/frontend.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export function initialize(
window.addEventListener('message', onGetSavedPreferencesMessage);

if (bridge == null) {
bridge = createBridge();
bridge = createBridge(contentWindow);
}

if (store == null) {
Expand Down
5 changes: 5 additions & 0 deletions packages/react-devtools/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/react-devtools/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand All @@ -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"
}
}

0 comments on commit 6b3d86a

Please sign in to comment.