From 5534ebf8d165bb5554271470a2ecfa430e4021c4 Mon Sep 17 00:00:00 2001 From: Tommy Nguyen <4123478+tido64@users.noreply.github.com> Date: Fri, 10 Jul 2026 12:55:08 +0200 Subject: [PATCH 1/2] fix: declare support for 0.87 --- packages/app/package.json | 2 +- yarn.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/app/package.json b/packages/app/package.json index e2cfab3cb..0c3047bdb 100644 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -120,7 +120,7 @@ "@callstack/react-native-visionos": "0.76 - 0.79", "@expo/config-plugins": ">=5.0", "react": "18.2 - 19.2", - "react-native": "0.76 - 0.86 || >=0.86.0-0 <0.87.0", + "react-native": "0.76 - 0.87 || >=0.88.0-0 <0.88.0", "react-native-macos": "^0.0.0-0 || 0.76 - 0.81", "react-native-windows": "^0.0.0-0 || 0.76 - 0.83" }, diff --git a/yarn.lock b/yarn.lock index 488d191b0..9908bf40d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -13260,7 +13260,7 @@ __metadata: "@callstack/react-native-visionos": 0.76 - 0.79 "@expo/config-plugins": ">=5.0" react: 18.2 - 19.2 - react-native: 0.76 - 0.86 || >=0.86.0-0 <0.87.0 + react-native: 0.76 - 0.87 || >=0.88.0-0 <0.88.0 react-native-macos: ^0.0.0-0 || 0.76 - 0.81 react-native-windows: ^0.0.0-0 || 0.76 - 0.83 peerDependenciesMeta: From 5eb5d0f0eae20b234bce96a5587cbe1ff2059cbc Mon Sep 17 00:00:00 2001 From: Tommy Nguyen <4123478+tido64@users.noreply.github.com> Date: Wed, 15 Jul 2026 19:12:39 +0200 Subject: [PATCH 2/2] patch @appium/base-driver assumptions --- ...um-base-driver-npm-10.7.1-e4f8d93069.patch | 18 ++++++++++++ package.json | 4 +++ yarn.lock | 29 ++++++++++++++++++- 3 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 .yarn/patches/@appium-base-driver-npm-10.7.1-e4f8d93069.patch diff --git a/.yarn/patches/@appium-base-driver-npm-10.7.1-e4f8d93069.patch b/.yarn/patches/@appium-base-driver-npm-10.7.1-e4f8d93069.patch new file mode 100644 index 000000000..86ab17424 --- /dev/null +++ b/.yarn/patches/@appium-base-driver-npm-10.7.1-e4f8d93069.patch @@ -0,0 +1,18 @@ +diff --git a/build/lib/test-pages/static-dir.js b/build/lib/test-pages/static-dir.js +index 598d6657274a371956f2c423da57bd702316982c..e703eb4f7f0bd92f26913a1ace9a1ae030d6e970 100644 +--- a/build/lib/test-pages/static-dir.js ++++ b/build/lib/test-pages/static-dir.js +@@ -13,12 +13,6 @@ const node_path_1 = __importDefault(require("node:path")); + */ + exports.TEST_FIXTURES_DIR = resolveTestFixturesDir(); + function resolveTestFixturesDir() { +- const fromDir = __dirname; +- const parts = node_path_1.default.resolve(fromDir).split(node_path_1.default.sep); +- const baseDriverIndex = parts.indexOf('base-driver'); +- if (baseDriverIndex < 0) { +- throw new Error(`Could not find the module root folder in the path: ${fromDir}`); +- } +- return node_path_1.default.join(parts.slice(0, baseDriverIndex + 1).join(node_path_1.default.sep), 'test-fixtures', 'static'); ++ return node_path_1.default.resolve(__dirname, '..', '..', '..', 'test-fixtures', 'static'); + } + //# sourceMappingURL=static-dir.js.map diff --git a/package.json b/package.json index 8d75843d1..1c29d661c 100644 --- a/package.json +++ b/package.json @@ -51,6 +51,10 @@ "typescript": "^7.0.2" }, "resolutions": { + "@appium/base-driver@npm:10.7.1": "patch:@appium/base-driver@npm%3A10.7.1#~/.yarn/patches/@appium-base-driver-npm-10.7.1-e4f8d93069.patch", + "@appium/base-driver@npm:^10.0.0-rc.1": "patch:@appium/base-driver@npm%3A10.7.1#~/.yarn/patches/@appium-base-driver-npm-10.7.1-e4f8d93069.patch", + "@appium/base-driver@npm:^10.0.0-rc.2": "patch:@appium/base-driver@npm%3A10.7.1#~/.yarn/patches/@appium-base-driver-npm-10.7.1-e4f8d93069.patch", + "@appium/base-driver@npm:^10.3.0": "patch:@appium/base-driver@npm%3A10.7.1#~/.yarn/patches/@appium-base-driver-npm-10.7.1-e4f8d93069.patch", "@appium/docutils": "ignore:", "@colors/colors": "^1.6.0", "@react-native-windows/cli/@xmldom/xmldom": "^0.9.0", diff --git a/yarn.lock b/yarn.lock index 9908bf40d..ebe086308 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5,7 +5,7 @@ __metadata: version: 8 cacheKey: 10c0 -"@appium/base-driver@npm:10.7.1, @appium/base-driver@npm:^10.0.0-rc.1, @appium/base-driver@npm:^10.0.0-rc.2, @appium/base-driver@npm:^10.3.0": +"@appium/base-driver@npm:10.7.1": version: 10.7.1 resolution: "@appium/base-driver@npm:10.7.1" dependencies: @@ -32,6 +32,33 @@ __metadata: languageName: node linkType: hard +"@appium/base-driver@patch:@appium/base-driver@npm%3A10.7.1#~/.yarn/patches/@appium-base-driver-npm-10.7.1-e4f8d93069.patch": + version: 10.7.1 + resolution: "@appium/base-driver@patch:@appium/base-driver@npm%3A10.7.1#~/.yarn/patches/@appium-base-driver-npm-10.7.1-e4f8d93069.patch::version=10.7.1&hash=7288fd" + dependencies: + "@appium/support": "npm:7.2.5" + "@appium/types": "npm:1.5.1" + async-lock: "npm:1.4.1" + asyncbox: "npm:6.3.0" + axios: "npm:1.18.0" + body-parser: "npm:2.2.2" + express: "npm:5.2.1" + fastest-levenshtein: "npm:1.0.16" + http-status-codes: "npm:2.3.0" + lru-cache: "npm:11.5.1" + method-override: "npm:3.0.0" + morgan: "npm:1.11.0" + path-to-regexp: "npm:8.4.2" + serve-favicon: "npm:2.5.1" + spdy: "npm:4.0.2" + type-fest: "npm:5.7.0" + dependenciesMeta: + spdy: + optional: true + checksum: 10c0/1698d5aefcdeba3b50be2c3ce977233352338c8cd8bf336735b67e651f166a026f7b9711db8d0cb5b59439144bb400906ab8d22e74e0b2450c51f342c39394d0 + languageName: node + linkType: hard + "@appium/base-plugin@npm:3.3.2": version: 3.3.2 resolution: "@appium/base-plugin@npm:3.3.2"