From 451c332260077ee991b08b948b4cc2e878254b79 Mon Sep 17 00:00:00 2001 From: Tim Yung Date: Thu, 15 Apr 2021 21:14:56 -0700 Subject: [PATCH] Back out "Update React DevTools deps from 4.6 -> 4.12" Summary: Reverts D27764688 (https://github.com/facebook/flipper/commit/7bd4f80c2570bebb52af3cf49e45fc6130d6a473) due to a bug with "Invalid hook call." being erroneously reported. We will upgrade again after that bug is resolved. Changelog: [Internal] Reviewed By: fkgozali Differential Revision: D27813660 fbshipit-source-id: 84a12f19cf1bb7e8aebef0da3ff6f7022c391d3e --- desktop/plugins/public/reactdevtools/package.json | 7 ++----- desktop/plugins/public/yarn.lock | 8 ++++---- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/desktop/plugins/public/reactdevtools/package.json b/desktop/plugins/public/reactdevtools/package.json index ebe9e0796..f9aaa08aa 100644 --- a/desktop/plugins/public/reactdevtools/package.json +++ b/desktop/plugins/public/reactdevtools/package.json @@ -5,10 +5,7 @@ "version": "0.0.0", "pluginType": "device", "supportedDevices": [ - { - "os": "Metro", - "archived": false - } + {"os": "Metro", "archived": false} ], "main": "dist/bundle.js", "flipperBundlerEntry": "index.tsx", @@ -19,7 +16,7 @@ "dependencies": { "address": "^1.1.2", "get-port": "^5.0.0", - "react-devtools-core": "^4.12.0" + "react-devtools-core": "^4.10.1" }, "title": "React DevTools", "icon": "app-react", diff --git a/desktop/plugins/public/yarn.lock b/desktop/plugins/public/yarn.lock index 606174d1b..4b952bdd6 100644 --- a/desktop/plugins/public/yarn.lock +++ b/desktop/plugins/public/yarn.lock @@ -1183,10 +1183,10 @@ raf@^3.4.0: dependencies: performance-now "^2.1.0" -react-devtools-core@^4.12.0: - version "4.12.0" - resolved "https://registry.yarnpkg.com/react-devtools-core/-/react-devtools-core-4.12.0.tgz#02fa1a3d58b2748ce5a0a3213f4417e7a4960354" - integrity sha512-MN7zE3UpccJQLs+tTKGoM1GQFZLJki4PhT4Us0JJgn6MK1m5ZOQnmJZy+cp21LqUBFPXxqmpqeu65/gTRbxK5Q== +react-devtools-core@^4.10.1: + version "4.10.1" + resolved "https://registry.yarnpkg.com/react-devtools-core/-/react-devtools-core-4.10.1.tgz#6d57db291aeac9cc45ef9fb4636dd2ab97490daf" + integrity sha512-sXbBjGAWcf9HAblTP/zMtFhGHqxAfIR+GPxONZsSGN9FHnF4635dx1s2LdQWG9rJ+Ehr3nWg+BUAB6P78my5PA== dependencies: shell-quote "^1.6.1" ws "^7"