From f5a61d9a8ba6b09047da4351f87710045eb997b9 Mon Sep 17 00:00:00 2001 From: yqrashawn Date: Thu, 10 Nov 2022 16:42:41 +0800 Subject: [PATCH] chore: fix can't remove node 0 error breaking react-devtools (#14316) --- package.json | 3 +++ yarn.lock | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index eb387921d79..b84d755f262 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,9 @@ "app:packager": "react-native start --host 0.0.0.0 --port 8081", "app:android": "react-native run-android" }, + "resolutions": { + "react-devtools-core": "^4.26.0" + }, "dependencies": { "@babel/preset-typescript": "^7.17.12", "@react-native-async-storage/async-storage": "^1.17.9", diff --git a/yarn.lock b/yarn.lock index 987b8bd0c4c..803695591ae 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7877,10 +7877,10 @@ rc@^1.2.7, rc@^1.2.8: minimist "^1.2.0" strip-json-comments "~2.0.1" -react-devtools-core@^4.6.0: - 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== +react-devtools-core@^4.26.0, react-devtools-core@^4.6.0: + version "4.26.1" + resolved "https://registry.yarnpkg.com/react-devtools-core/-/react-devtools-core-4.26.1.tgz#2893fea58089be64c5356d5bd0eebda8d1bbf317" + integrity sha512-r1csa5n9nABVpSdAadwTG7K+SfgRJPc/Hdx89BkV5IlA1mEGgGi3ir630ST5D/xYlJQaY3VE75YGADgpNW7HIw== dependencies: shell-quote "^1.6.1" ws "^7"