peachsim 0.1.2129 → 0.1.2155
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/cli/app-fonts.ts +1 -1
- package/cli/app-stubs.ts +1 -1
- package/cli/cli-release-origin.ts +1 -0
- package/cli/cli-update.ts +1 -1
- package/cli/cloud-box-artifact.ts +1 -1
- package/cli/cloud-test-tunnel.ts +1 -1
- package/cli/commands/compat.ts +1 -1
- package/cli/commands/control.ts +2 -0
- package/cli/commands/coverage.ts +1 -1
- package/cli/commands/flow.ts +8 -1
- package/cli/commands/inspect/core.ts +25 -4
- package/cli/commands/package.ts +21 -12
- package/cli/commands/shell-url.ts +8 -3
- package/cli/commands/upgrade.ts +1 -1
- package/cli/drivers/linux-browser-libs.ts +1 -1
- package/cli/outbound-endpoints.ts +4 -0
- package/cli/remote-project-bundle.ts +2 -2
- package/detox/index.ts +12 -5
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/bundle-channel.cjs +1795 -1801
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +1 -1
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +1 -1
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +1 -1
- package/dist-lib/config.cjs +2 -2
- package/dist-lib/config.mjs +2 -2
- package/dist-lib/detox/index.cjs +31 -8
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +41 -33
- package/dist-lib/expo-swift-metadata.cjs +10 -2
- package/dist-lib/expo-swift-metadata.mjs +9 -2
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +276 -243
- package/dist-lib/host/fetch-proxy-handler.cjs +459 -484
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +266 -266
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/jump-to-source-native.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +1 -1
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +2 -2
- package/dist-lib/metro-production-bundle.mjs +2 -2
- package/dist-lib/metro.cjs +320 -336
- package/dist-lib/native-app-identity-project.cjs +134 -159
- package/dist-lib/native-app-identity-project.mjs +428 -459
- package/dist-lib/native-app-identity.cjs +18 -18
- package/dist-lib/native-app-identity.mjs +18 -18
- package/dist-lib/native-firebase-metadata.cjs +2 -2
- package/dist-lib/native-firebase-metadata.mjs +2 -2
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +1 -1
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +32 -36
- package/dist-lib/public-origins-lib.json +135 -161
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/reap-browser.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +2 -2
- package/dist-lib/sdk.cjs +20 -2
- package/dist-lib/sdk.mjs +20 -2
- package/dist-lib/skills.cjs +587 -531
- package/dist-lib/swift-compile.cjs +23 -8
- package/dist-lib/swift-compile.mjs +23 -8
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +1 -1
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +1 -1
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +41 -39
- package/dist-lib/vite.cjs +745 -768
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-compat/src/stubs/native-seams/react-native-cookies.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/engine/secureItemHostContract.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/expo-widgets-activityContract.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/map-command-channel.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/render-worker/metro-bundle-metadata.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/native-ui-protocol.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/one-native-contentContract.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/protocol.d.ts +2 -2
- package/dist-types/packages/peach-engine/src/render-worker/worklet-serialize.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/worklet-wire.d.ts +1 -1
- package/dist-types/packages/peach-globals/src/globalsContract.d.ts +1 -1
- package/dist-types/packages/peach-globals/src/package-versions.d.ts +16 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/src/androidAutolinkingContract.ts +1 -1
- package/src/androidRootModuleContract.ts +1 -1
- package/src/bundle-channel.mjs +1 -1
- package/src/config.ts +1 -1
- package/src/configured-bundle-producer.ts +1 -1
- package/src/expo-swift-host.ts +34 -4
- package/src/expoKotlinContract.ts +4 -1
- package/src/expoSwiftContract.ts +18 -4
- package/src/guest-bundle.ts +1 -1
- package/src/host/dev-server-package-versions.ts +1 -1
- package/src/host/fetch-proxy-handler.ts +1 -1
- package/src/installed-native-build-options.ts +2 -2
- package/src/installed-package-versions.ts +7 -7
- package/src/metro-plugin.ts +1 -1
- package/src/metro-production-bundle.ts +1 -1
- package/src/native-app-identity.ts +1 -1
- package/src/native-firebase-metadata.ts +1 -1
- package/src/nitro-adapter.lock.json +244 -244
- package/src/nitro-superset.lock.json +4 -4
- package/src/nitroContract.ts +1 -1
- package/src/oneSdkContract.ts +1 -1
- package/src/react-native-coverage/capability-reference-resolution.ts +4 -4
- package/src/storageSnapshotContract.ts +2 -2
- package/src/swift-compile.ts +24 -7
- package/src/swift-coverage/source.ts +1 -1
- package/src/swift-distribution.lock.json +8 -8
- package/src/turbo-runtime.lock.json +18 -18
- package/src/vite-plugin-one.ts +4 -4
- package/src/vite-plugin.ts +6 -6
- package/src/bundleGlobalFooter.ts +0 -137
- package/src/packageVersionsContract.ts +0 -131
- /package/dist-types/packages/{peach-compat/src/stubs → peach-engine/src/guest}/native-evaluation-lease.d.ts +0 -0
- /package/dist-types/packages/{peach-compat → peach-globals}/src/secure-item-store.d.ts +0 -0
- /package/dist-types/packages/{peach-compat/src/stubs → peach-kit/src}/ring-mode-state.d.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2155 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -14,8 +14,8 @@ var __commonJS = (cb, mod) => function __require() {
|
|
|
14
14
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
15
15
|
};
|
|
16
16
|
var __export = (target, all) => {
|
|
17
|
-
for (var
|
|
18
|
-
__defProp(target,
|
|
17
|
+
for (var name in all)
|
|
18
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
19
19
|
};
|
|
20
20
|
var __copyProps = (to, from, except, desc) => {
|
|
21
21
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
@@ -39,7 +39,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
39
39
|
var define_SWIFT_COVERAGE_SOURCE_DIGESTS_default;
|
|
40
40
|
var init_define_SWIFT_COVERAGE_SOURCE_DIGESTS = __esm({
|
|
41
41
|
"<define:__SWIFT_COVERAGE_SOURCE_DIGESTS__>"() {
|
|
42
|
-
define_SWIFT_COVERAGE_SOURCE_DIGESTS_default = { "swift-coverage/indexdump.ts": "0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412", "swift-coverage/indexing.ts": "633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272", "swift-coverage/types.ts": "5bd72edc235189d69835155cb0367a1aee14332405896366af3be606dbe8cce8", "swift-coverage/source.ts": "
|
|
42
|
+
define_SWIFT_COVERAGE_SOURCE_DIGESTS_default = { "swift-coverage/indexdump.ts": "0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412", "swift-coverage/indexing.ts": "633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272", "swift-coverage/types.ts": "5bd72edc235189d69835155cb0367a1aee14332405896366af3be606dbe8cce8", "swift-coverage/source.ts": "c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee", "swift-coverage/package.ts": "1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b", "swift-coverage/xcode.ts": "65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa", "swift-coverage/xcode-assets.ts": "99e03b74c961d2449afd58c2cbc415ba91d1d469a4f89e461c137fd6c305b27c", "swift-coverage/xcode-asset-symbols.ts": "1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671", "swift-coverage/xcode-bridging.ts": "33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11", "swift-coverage/xcode-packages.ts": "8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "4b7d4a715cdaf57468ead23f2ff9dce76d02c6a888d73d144d4baa2ae571ba3c", "swift-package.ts": "0b82b3773f9c0b27636f277d9c123b3e631b9c9980995d67d67efa6b3176df4a", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "65a0698bf022ace2f4254f3f891828dedf403d61c102238e242084a2279e04eb", "home-paths.ts": "783c20faf3235e3fc1846b056d788f29d9bfdfc946822b62acf722341b3a10fd", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "5f41cd0bd86cb0cffbfb0047348b963f81d5e51cb0e8dd574c739b1a27aa56de", "xcode-target-members.ts": "ad7589132bffab265e8a10b64e24484fe88b4a2b1cc0ee19a97f151a002eca77", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
|
|
@@ -111,8 +111,8 @@ var require_parse = __commonJS({
|
|
|
111
111
|
}
|
|
112
112
|
return root;
|
|
113
113
|
};
|
|
114
|
-
function internalize(holder,
|
|
115
|
-
const value = holder[
|
|
114
|
+
function internalize(holder, name, reviver) {
|
|
115
|
+
const value = holder[name];
|
|
116
116
|
if (value != null && typeof value === "object") {
|
|
117
117
|
if (Array.isArray(value)) {
|
|
118
118
|
for (let i = 0; i < value.length; i++) {
|
|
@@ -145,7 +145,7 @@ var require_parse = __commonJS({
|
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
|
-
return reviver.call(holder,
|
|
148
|
+
return reviver.call(holder, name, value);
|
|
149
149
|
}
|
|
150
150
|
var lexState;
|
|
151
151
|
var buffer;
|
|
@@ -1185,9 +1185,9 @@ function nodeHttpFetch(url, init = {}, redirects = 0) {
|
|
|
1185
1185
|
return;
|
|
1186
1186
|
}
|
|
1187
1187
|
const headers = new Headers();
|
|
1188
|
-
for (const [
|
|
1189
|
-
if (Array.isArray(value)) for (const entry of value) headers.append(
|
|
1190
|
-
else if (value !== void 0) headers.set(
|
|
1188
|
+
for (const [name, value] of Object.entries(res.headers)) {
|
|
1189
|
+
if (Array.isArray(value)) for (const entry of value) headers.append(name, entry);
|
|
1190
|
+
else if (value !== void 0) headers.set(name, value);
|
|
1191
1191
|
}
|
|
1192
1192
|
if (BODYLESS_STATUS.has(status)) {
|
|
1193
1193
|
res.resume();
|
|
@@ -1286,6 +1286,33 @@ var import_https = __toESM(require("https"), 1);
|
|
|
1286
1286
|
var import_node_http2 = require("node:http2");
|
|
1287
1287
|
var import_promises4 = require("stream/promises");
|
|
1288
1288
|
|
|
1289
|
+
// ../peach-globals/src/package-versions.ts
|
|
1290
|
+
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1291
|
+
|
|
1292
|
+
// ../peach-globals/src/bundle-global-footer.ts
|
|
1293
|
+
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1294
|
+
|
|
1295
|
+
// ../peach-globals/src/package-versions.ts
|
|
1296
|
+
var NATIVE_BUILD_OPTIONS_KEY = "@peach/native-build-options";
|
|
1297
|
+
var PACKAGE_VERSIONS_HEADER = "X-Peach-Package-Versions";
|
|
1298
|
+
var WORKLETS_STATIC_FLAGS_KEY = "react-native-worklets/staticFlags.json";
|
|
1299
|
+
function isFlagRecord(value) {
|
|
1300
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
1301
|
+
}
|
|
1302
|
+
function resolveWorkletsStaticFlags(defaults, appManifest) {
|
|
1303
|
+
if (!isFlagRecord(defaults)) throw new Error("Worklets static flags are malformed");
|
|
1304
|
+
const worklets = isFlagRecord(appManifest) ? appManifest.worklets : void 0;
|
|
1305
|
+
const overrides = isFlagRecord(worklets) ? worklets.staticFeatureFlags : void 0;
|
|
1306
|
+
if (overrides !== void 0 && !isFlagRecord(overrides)) {
|
|
1307
|
+
throw new Error("Worklets static flag overrides are malformed");
|
|
1308
|
+
}
|
|
1309
|
+
const flags = {};
|
|
1310
|
+
for (const [name, value] of Object.entries({ ...defaults, ...overrides })) {
|
|
1311
|
+
flags[name] = String(value) === "true";
|
|
1312
|
+
}
|
|
1313
|
+
return JSON.stringify(flags);
|
|
1314
|
+
}
|
|
1315
|
+
|
|
1289
1316
|
// src/backend-origin.ts
|
|
1290
1317
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1291
1318
|
var NativeURL = globalThis.URL;
|
|
@@ -1317,33 +1344,6 @@ function loopbackOriginOf(value) {
|
|
|
1317
1344
|
}
|
|
1318
1345
|
}
|
|
1319
1346
|
|
|
1320
|
-
// src/packageVersionsContract.ts
|
|
1321
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1322
|
-
|
|
1323
|
-
// src/bundleGlobalFooter.ts
|
|
1324
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1325
|
-
|
|
1326
|
-
// src/packageVersionsContract.ts
|
|
1327
|
-
var NATIVE_BUILD_OPTIONS_KEY = "@peach/native-build-options";
|
|
1328
|
-
var PACKAGE_VERSIONS_HEADER = "X-Peach-Package-Versions";
|
|
1329
|
-
var WORKLETS_STATIC_FLAGS_KEY = "react-native-worklets/staticFlags.json";
|
|
1330
|
-
function isFlagRecord(value) {
|
|
1331
|
-
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
1332
|
-
}
|
|
1333
|
-
function resolveWorkletsStaticFlags(defaults, appManifest) {
|
|
1334
|
-
if (!isFlagRecord(defaults)) throw new Error("Worklets static flags are malformed");
|
|
1335
|
-
const worklets = isFlagRecord(appManifest) ? appManifest.worklets : void 0;
|
|
1336
|
-
const overrides = isFlagRecord(worklets) ? worklets.staticFeatureFlags : void 0;
|
|
1337
|
-
if (overrides !== void 0 && !isFlagRecord(overrides)) {
|
|
1338
|
-
throw new Error("Worklets static flag overrides are malformed");
|
|
1339
|
-
}
|
|
1340
|
-
const flags = {};
|
|
1341
|
-
for (const [name2, value] of Object.entries({ ...defaults, ...overrides })) {
|
|
1342
|
-
flags[name2] = String(value) === "true";
|
|
1343
|
-
}
|
|
1344
|
-
return JSON.stringify(flags);
|
|
1345
|
-
}
|
|
1346
|
-
|
|
1347
1347
|
// src/host/dev-server-package-versions.ts
|
|
1348
1348
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1349
1349
|
var import_fs3 = __toESM(require("fs"), 1);
|
|
@@ -1496,7 +1496,7 @@ function readIosSdkTree(root) {
|
|
|
1496
1496
|
|
|
1497
1497
|
// src/swift-standin-digest.ts
|
|
1498
1498
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1499
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
1499
|
+
var STANDIN_SOURCE_DIGEST = true ? "b907e67a4a7c7d3e52e4ce9d48391c83bd5c6b4d3689f58b96f42435e285522e" : standinSourceDigest();
|
|
1500
1500
|
|
|
1501
1501
|
// src/expo-native-workspace.ts
|
|
1502
1502
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -1759,8 +1759,8 @@ var Directives = class _Directives {
|
|
|
1759
1759
|
this.atNextDocument = false;
|
|
1760
1760
|
}
|
|
1761
1761
|
const parts = line.trim().split(/[ \t]+/);
|
|
1762
|
-
const
|
|
1763
|
-
switch (
|
|
1762
|
+
const name = parts.shift();
|
|
1763
|
+
switch (name) {
|
|
1764
1764
|
case "%TAG": {
|
|
1765
1765
|
if (parts.length !== 2) {
|
|
1766
1766
|
onError(0, "%TAG directive should contain exactly two parts");
|
|
@@ -1788,7 +1788,7 @@ var Directives = class _Directives {
|
|
|
1788
1788
|
}
|
|
1789
1789
|
}
|
|
1790
1790
|
default:
|
|
1791
|
-
onError(0, `Unknown directive ${
|
|
1791
|
+
onError(0, `Unknown directive ${name}`, true);
|
|
1792
1792
|
return false;
|
|
1793
1793
|
}
|
|
1794
1794
|
}
|
|
@@ -2809,8 +2809,8 @@ function getTagObject(tags, item) {
|
|
|
2809
2809
|
tagObj = tags.find((t) => t.nodeClass && obj instanceof t.nodeClass);
|
|
2810
2810
|
}
|
|
2811
2811
|
if (!tagObj) {
|
|
2812
|
-
const
|
|
2813
|
-
throw new Error(`Tag not resolved for ${
|
|
2812
|
+
const name = obj?.constructor?.name ?? (obj === null ? "null" : typeof obj);
|
|
2813
|
+
throw new Error(`Tag not resolved for ${name} value`);
|
|
2814
2814
|
}
|
|
2815
2815
|
return tagObj;
|
|
2816
2816
|
}
|
|
@@ -4315,34 +4315,9 @@ init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
|
4315
4315
|
// cli/drivers/linux-browser-libs.ts
|
|
4316
4316
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4317
4317
|
|
|
4318
|
-
// cli/cli-
|
|
4319
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4320
|
-
|
|
4321
|
-
// src/automatic-update-policy.ts
|
|
4322
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4323
|
-
|
|
4324
|
-
// src/cli-version.ts
|
|
4318
|
+
// cli/cli-release-origin.ts
|
|
4325
4319
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4326
4320
|
|
|
4327
|
-
// src/public-brand.ts
|
|
4328
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4329
|
-
var name = "Peach";
|
|
4330
|
-
var peachPublicBrand = Object.freeze({
|
|
4331
|
-
name,
|
|
4332
|
-
packageName: "peachsim",
|
|
4333
|
-
commandName: "peach",
|
|
4334
|
-
domain: "peachsim.com",
|
|
4335
|
-
origin: "https://peachsim.com",
|
|
4336
|
-
boxOrigin: "https://rnx-box.contrast.dev"
|
|
4337
|
-
});
|
|
4338
|
-
|
|
4339
|
-
// cli/commands/inspect/env.ts
|
|
4340
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4341
|
-
|
|
4342
|
-
// cli/cli-update.ts
|
|
4343
|
-
var CLI_UPDATE_CHECK_INTERVAL_MS = 20 * 60 * 60 * 1e3;
|
|
4344
|
-
var CLI_UPDATE_NOTIFICATION_COOLDOWN_MS = 7 * 24 * 60 * 60 * 1e3;
|
|
4345
|
-
|
|
4346
4321
|
// src/swift-compile.ts
|
|
4347
4322
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4348
4323
|
var v5 = __toESM(require("valibot"), 1);
|
|
@@ -4629,7 +4604,7 @@ var WASI_EMULATION = [
|
|
|
4629
4604
|
"_WASI_EMULATED_MMAN",
|
|
4630
4605
|
"_WASI_EMULATED_PROCESS_CLOCKS"
|
|
4631
4606
|
];
|
|
4632
|
-
var WASI_EMULATION_FLAGS = WASI_EMULATION.map((
|
|
4607
|
+
var WASI_EMULATION_FLAGS = WASI_EMULATION.map((name) => `-D${name}`);
|
|
4633
4608
|
var NATIVE_GRAPH_INPUTS = {
|
|
4634
4609
|
sdk: NATIVE_GRAPH_SDK_VERSION,
|
|
4635
4610
|
settings: "e68503e5e534e9194af5efe8c636ca8b824e2d8237c5f38ec84aa4d155bc8418",
|
|
@@ -4879,7 +4854,7 @@ var import_node_zlib = require("node:zlib");
|
|
|
4879
4854
|
// ../sootsim-swift/src/icuData.ts
|
|
4880
4855
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4881
4856
|
|
|
4882
|
-
// ../peach-
|
|
4857
|
+
// ../peach-kit/src/wasm-memory.ts
|
|
4883
4858
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4884
4859
|
|
|
4885
4860
|
// ../sootsim-swift/src/icuData.ts
|
|
@@ -4991,7 +4966,7 @@ var FOUNDATION_IMPLICIT_MODULES = [
|
|
|
4991
4966
|
var FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
4992
4967
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
4993
4968
|
).join("");
|
|
4994
|
-
var compilerSourceDigest = true ? "
|
|
4969
|
+
var compilerSourceDigest = true ? "91c8105b0a382e74c2395d36f69294e1ec6afa3aa0b66c61b6b11e63e0dbe5d7" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
4995
4970
|
var CORE_FOUNDATION_HANDLE_IMPORTS = [
|
|
4996
4971
|
"CFAllocator",
|
|
4997
4972
|
"CFArray",
|
|
@@ -5006,7 +4981,7 @@ var CORE_FOUNDATION_HANDLE_IMPORTS = [
|
|
|
5006
4981
|
"CFSet",
|
|
5007
4982
|
"CFString",
|
|
5008
4983
|
"CFURL"
|
|
5009
|
-
].map((
|
|
4984
|
+
].map((name) => `import class CoreFoundation.${name}`).concat([
|
|
5010
4985
|
"import typealias CoreFoundation.CFPropertyList",
|
|
5011
4986
|
"import typealias CoreFoundation.CFTypeRef",
|
|
5012
4987
|
"import CoreGraphics"
|
|
@@ -5183,399 +5158,10 @@ init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
|
5183
5158
|
var import_fs2 = __toESM(require("fs"), 1);
|
|
5184
5159
|
var import_path2 = __toESM(require("path"), 1);
|
|
5185
5160
|
|
|
5186
|
-
// ../peach-compat/src/
|
|
5161
|
+
// ../peach-compat/src/generated/native-package-names.ts
|
|
5187
5162
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
5188
5163
|
|
|
5189
|
-
// ../peach-compat/src/
|
|
5190
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
5191
|
-
var ANY_BOUNDS = {
|
|
5192
|
-
lower: null,
|
|
5193
|
-
lowerInclusive: false,
|
|
5194
|
-
upper: null,
|
|
5195
|
-
upperInclusive: false
|
|
5196
|
-
};
|
|
5197
|
-
var COMPARATOR = /\s*(?:[<>]=?|[=^~])?\s*[^\s]+/g;
|
|
5198
|
-
function compareVersions(left, right) {
|
|
5199
|
-
if (left.major !== right.major) return left.major < right.major ? -1 : 1;
|
|
5200
|
-
if (left.minor !== right.minor) return left.minor < right.minor ? -1 : 1;
|
|
5201
|
-
if (left.patch !== right.patch) return left.patch < right.patch ? -1 : 1;
|
|
5202
|
-
if (left.prerelease.length === 0) return right.prerelease.length === 0 ? 0 : 1;
|
|
5203
|
-
if (right.prerelease.length === 0) return -1;
|
|
5204
|
-
const length = Math.max(left.prerelease.length, right.prerelease.length);
|
|
5205
|
-
for (let index = 0; index < length; index++) {
|
|
5206
|
-
const leftPart = left.prerelease[index];
|
|
5207
|
-
const rightPart = right.prerelease[index];
|
|
5208
|
-
if (leftPart === void 0) return -1;
|
|
5209
|
-
if (rightPart === void 0) return 1;
|
|
5210
|
-
if (leftPart === rightPart) continue;
|
|
5211
|
-
const leftNumeric = /^\d+$/.test(leftPart);
|
|
5212
|
-
const rightNumeric = /^\d+$/.test(rightPart);
|
|
5213
|
-
if (leftNumeric && rightNumeric) return Number(leftPart) < Number(rightPart) ? -1 : 1;
|
|
5214
|
-
if (leftNumeric !== rightNumeric) return leftNumeric ? -1 : 1;
|
|
5215
|
-
return leftPart < rightPart ? -1 : 1;
|
|
5216
|
-
}
|
|
5217
|
-
return 0;
|
|
5218
|
-
}
|
|
5219
|
-
function parseComparator(input) {
|
|
5220
|
-
const token = input.trim();
|
|
5221
|
-
if (token === "" || token === "*" || token === "x" || token === "X") {
|
|
5222
|
-
return ANY_BOUNDS;
|
|
5223
|
-
}
|
|
5224
|
-
const match = /^(>=|<=|>|<|=|\^|~)?\s*v?(\d+|[xX*])(?:\.(\d+|[xX*]))?(?:\.(\d+|[xX*]))?(?:-([0-9A-Za-z.-]+))?(?:\+[0-9A-Za-z.-]+)?$/.exec(
|
|
5225
|
-
token
|
|
5226
|
-
);
|
|
5227
|
-
if (!match) return null;
|
|
5228
|
-
const operator = match[1] ?? "=";
|
|
5229
|
-
const wildcard = (part) => part === void 0 || part === "x" || part === "X" || part === "*";
|
|
5230
|
-
if (wildcard(match[2])) return ANY_BOUNDS;
|
|
5231
|
-
const major = Number(match[2]);
|
|
5232
|
-
const minor = wildcard(match[3]) ? null : Number(match[3]);
|
|
5233
|
-
const patch = wildcard(match[4]) ? null : Number(match[4]);
|
|
5234
|
-
const floor = {
|
|
5235
|
-
major,
|
|
5236
|
-
minor: minor ?? 0,
|
|
5237
|
-
patch: patch ?? 0,
|
|
5238
|
-
prerelease: match[5] ? match[5].split(".") : []
|
|
5239
|
-
};
|
|
5240
|
-
if (operator === ">") {
|
|
5241
|
-
return { ...ANY_BOUNDS, lower: floor, lowerInclusive: false };
|
|
5242
|
-
}
|
|
5243
|
-
if (operator === ">=") {
|
|
5244
|
-
return { ...ANY_BOUNDS, lower: floor, lowerInclusive: true };
|
|
5245
|
-
}
|
|
5246
|
-
if (operator === "<") {
|
|
5247
|
-
return { ...ANY_BOUNDS, upper: floor, upperInclusive: false };
|
|
5248
|
-
}
|
|
5249
|
-
if (operator === "<=") {
|
|
5250
|
-
return { ...ANY_BOUNDS, upper: floor, upperInclusive: true };
|
|
5251
|
-
}
|
|
5252
|
-
let upper;
|
|
5253
|
-
if (operator === "^") {
|
|
5254
|
-
upper = major !== 0 ? { major: major + 1, minor: 0, patch: 0, prerelease: [] } : (minor ?? 0) !== 0 || minor === null ? { major: 0, minor: (minor ?? 0) + 1, patch: 0, prerelease: [] } : { major: 0, minor: 0, patch: (patch ?? 0) + 1, prerelease: [] };
|
|
5255
|
-
} else if (operator === "~") {
|
|
5256
|
-
upper = minor === null ? { major: major + 1, minor: 0, patch: 0, prerelease: [] } : { major, minor: minor + 1, patch: 0, prerelease: [] };
|
|
5257
|
-
} else if (minor === null) {
|
|
5258
|
-
upper = { major: major + 1, minor: 0, patch: 0, prerelease: [] };
|
|
5259
|
-
} else if (patch === null) {
|
|
5260
|
-
upper = { major, minor: minor + 1, patch: 0, prerelease: [] };
|
|
5261
|
-
} else {
|
|
5262
|
-
return {
|
|
5263
|
-
lower: floor,
|
|
5264
|
-
lowerInclusive: true,
|
|
5265
|
-
upper: floor,
|
|
5266
|
-
upperInclusive: true
|
|
5267
|
-
};
|
|
5268
|
-
}
|
|
5269
|
-
return {
|
|
5270
|
-
lower: floor,
|
|
5271
|
-
lowerInclusive: true,
|
|
5272
|
-
upper,
|
|
5273
|
-
upperInclusive: false
|
|
5274
|
-
};
|
|
5275
|
-
}
|
|
5276
|
-
function stricterLower(left, right) {
|
|
5277
|
-
if (!left.lower) return { lower: right.lower, lowerInclusive: right.lowerInclusive };
|
|
5278
|
-
if (!right.lower) return { lower: left.lower, lowerInclusive: left.lowerInclusive };
|
|
5279
|
-
const order = compareVersions(left.lower, right.lower);
|
|
5280
|
-
if (order > 0) return { lower: left.lower, lowerInclusive: left.lowerInclusive };
|
|
5281
|
-
if (order < 0) return { lower: right.lower, lowerInclusive: right.lowerInclusive };
|
|
5282
|
-
return {
|
|
5283
|
-
lower: left.lower,
|
|
5284
|
-
lowerInclusive: left.lowerInclusive && right.lowerInclusive
|
|
5285
|
-
};
|
|
5286
|
-
}
|
|
5287
|
-
function stricterUpper(left, right) {
|
|
5288
|
-
if (!left.upper) return { upper: right.upper, upperInclusive: right.upperInclusive };
|
|
5289
|
-
if (!right.upper) return { upper: left.upper, upperInclusive: left.upperInclusive };
|
|
5290
|
-
const order = compareVersions(left.upper, right.upper);
|
|
5291
|
-
if (order < 0) return { upper: left.upper, upperInclusive: left.upperInclusive };
|
|
5292
|
-
if (order > 0) return { upper: right.upper, upperInclusive: right.upperInclusive };
|
|
5293
|
-
return {
|
|
5294
|
-
upper: left.upper,
|
|
5295
|
-
upperInclusive: left.upperInclusive && right.upperInclusive
|
|
5296
|
-
};
|
|
5297
|
-
}
|
|
5298
|
-
function hasValues(bounds) {
|
|
5299
|
-
if (!bounds.lower || !bounds.upper) return true;
|
|
5300
|
-
const order = compareVersions(bounds.lower, bounds.upper);
|
|
5301
|
-
return order < 0 || order === 0 && bounds.lowerInclusive && bounds.upperInclusive;
|
|
5302
|
-
}
|
|
5303
|
-
function parseRange(input) {
|
|
5304
|
-
const groups = input.split("||");
|
|
5305
|
-
const parsed = [];
|
|
5306
|
-
for (const group of groups) {
|
|
5307
|
-
const tokens = group.trim().match(COMPARATOR) ?? [];
|
|
5308
|
-
if (tokens.length === 0) return null;
|
|
5309
|
-
let bounds = ANY_BOUNDS;
|
|
5310
|
-
for (const token of tokens) {
|
|
5311
|
-
const comparator = parseComparator(token);
|
|
5312
|
-
if (!comparator) return null;
|
|
5313
|
-
bounds = {
|
|
5314
|
-
...stricterLower(bounds, comparator),
|
|
5315
|
-
...stricterUpper(bounds, comparator)
|
|
5316
|
-
};
|
|
5317
|
-
}
|
|
5318
|
-
if (!hasValues(bounds)) return null;
|
|
5319
|
-
parsed.push(bounds);
|
|
5320
|
-
}
|
|
5321
|
-
return parsed;
|
|
5322
|
-
}
|
|
5323
|
-
function containsBounds(container, contained) {
|
|
5324
|
-
if (container.lower) {
|
|
5325
|
-
if (!contained.lower) return false;
|
|
5326
|
-
const order = compareVersions(container.lower, contained.lower);
|
|
5327
|
-
if (order > 0) return false;
|
|
5328
|
-
if (order === 0 && contained.lowerInclusive && !container.lowerInclusive) return false;
|
|
5329
|
-
}
|
|
5330
|
-
if (container.upper) {
|
|
5331
|
-
if (!contained.upper) return false;
|
|
5332
|
-
const order = compareVersions(container.upper, contained.upper);
|
|
5333
|
-
if (order < 0) return false;
|
|
5334
|
-
if (order === 0 && contained.upperInclusive && !container.upperInclusive) return false;
|
|
5335
|
-
}
|
|
5336
|
-
return true;
|
|
5337
|
-
}
|
|
5338
|
-
function overlapsBounds(left, right) {
|
|
5339
|
-
const intersection = {
|
|
5340
|
-
...stricterLower(left, right),
|
|
5341
|
-
...stricterUpper(left, right)
|
|
5342
|
-
};
|
|
5343
|
-
return hasValues(intersection);
|
|
5344
|
-
}
|
|
5345
|
-
function resolveCompatVersionRange(availableRegistryRanges, declaredVersion) {
|
|
5346
|
-
const declaredGroups = parseRange(declaredVersion);
|
|
5347
|
-
const registryGroups = availableRegistryRanges.map((range) => ({
|
|
5348
|
-
range,
|
|
5349
|
-
bounds: parseRange(range)
|
|
5350
|
-
}));
|
|
5351
|
-
if (!declaredGroups || registryGroups.some((candidate) => !candidate.bounds)) {
|
|
5352
|
-
return {
|
|
5353
|
-
status: "unresolved",
|
|
5354
|
-
declaredVersion,
|
|
5355
|
-
availableRegistryRanges
|
|
5356
|
-
};
|
|
5357
|
-
}
|
|
5358
|
-
let selectedRange = null;
|
|
5359
|
-
for (const declared of declaredGroups) {
|
|
5360
|
-
const containing = registryGroups.filter(
|
|
5361
|
-
(candidate2) => candidate2.bounds?.length === 1 && containsBounds(candidate2.bounds[0], declared)
|
|
5362
|
-
);
|
|
5363
|
-
if (containing.length !== 1) {
|
|
5364
|
-
const overlaps = registryGroups.some(
|
|
5365
|
-
(candidate2) => candidate2.bounds?.some((bounds) => overlapsBounds(bounds, declared))
|
|
5366
|
-
);
|
|
5367
|
-
return {
|
|
5368
|
-
status: overlaps ? "unresolved" : "unmatched",
|
|
5369
|
-
declaredVersion,
|
|
5370
|
-
availableRegistryRanges
|
|
5371
|
-
};
|
|
5372
|
-
}
|
|
5373
|
-
const candidate = containing[0].range;
|
|
5374
|
-
if (selectedRange && selectedRange !== candidate) {
|
|
5375
|
-
return {
|
|
5376
|
-
status: "unresolved",
|
|
5377
|
-
declaredVersion,
|
|
5378
|
-
availableRegistryRanges
|
|
5379
|
-
};
|
|
5380
|
-
}
|
|
5381
|
-
selectedRange = candidate;
|
|
5382
|
-
}
|
|
5383
|
-
if (!selectedRange) {
|
|
5384
|
-
return {
|
|
5385
|
-
status: "unresolved",
|
|
5386
|
-
declaredVersion,
|
|
5387
|
-
availableRegistryRanges
|
|
5388
|
-
};
|
|
5389
|
-
}
|
|
5390
|
-
return {
|
|
5391
|
-
status: "matched",
|
|
5392
|
-
declaredVersion,
|
|
5393
|
-
registryRange: selectedRange,
|
|
5394
|
-
availableRegistryRanges
|
|
5395
|
-
};
|
|
5396
|
-
}
|
|
5397
|
-
|
|
5398
|
-
// ../peach-compat/src/lazy-stub-patterns.ts
|
|
5399
|
-
var LAZY_STUB_PATTERNS = [
|
|
5400
|
-
"@10play/tentap-editor",
|
|
5401
|
-
"@adobe/react-native-aepcore",
|
|
5402
|
-
"@azesmway/react-native-unity",
|
|
5403
|
-
"@azzapp/react-native-skia-video",
|
|
5404
|
-
"@batch.com/react-native-plugin",
|
|
5405
|
-
"@bugsnag/react-native",
|
|
5406
|
-
"@bugsnag/react-native-performance",
|
|
5407
|
-
"@callstack/react-native-bottom-tabs",
|
|
5408
|
-
"@callstack/react-native-visionos",
|
|
5409
|
-
"@clerk/expo",
|
|
5410
|
-
"@cometchat/chat-uikit-react-native",
|
|
5411
|
-
"@didomi/react-native",
|
|
5412
|
-
"@dr.pogodin/react-native-static-server",
|
|
5413
|
-
"@eabdullazyanov/react-native-sms-user-consent",
|
|
5414
|
-
"@expensify/react-native-live-markdown",
|
|
5415
|
-
"@expo/ui/community/menu",
|
|
5416
|
-
"@expo/ui/swift-ui",
|
|
5417
|
-
"@giphy/react-native-sdk",
|
|
5418
|
-
"@google/react-native-make-payment",
|
|
5419
|
-
"@googlemaps/react-native-navigation-sdk",
|
|
5420
|
-
"@iterable/expo-plugin",
|
|
5421
|
-
"@kingstinct/react-native-healthkit",
|
|
5422
|
-
"@lodev09/react-native-exify",
|
|
5423
|
-
"@luciq/react-native",
|
|
5424
|
-
"@mattermost/react-native-paste-input",
|
|
5425
|
-
"@mgcrea/vision-camera-barcode-scanner",
|
|
5426
|
-
"@mozzius/expo-dynamic-app-icon",
|
|
5427
|
-
"@okta/okta-react-native",
|
|
5428
|
-
"@playerdata/react-native-mcu-manager",
|
|
5429
|
-
"@react-native-community/audio-toolkit",
|
|
5430
|
-
"@react-native-community/checkbox",
|
|
5431
|
-
"@react-native-community/progress-bar-android",
|
|
5432
|
-
"@react-native-community/toolbar-android",
|
|
5433
|
-
"@react-native-documents/picker",
|
|
5434
|
-
"@react-native-firebase/app-distribution",
|
|
5435
|
-
"@react-native-firebase/database",
|
|
5436
|
-
"@react-native-firebase/in-app-messaging",
|
|
5437
|
-
"@react-native-ml-kit/face-detection",
|
|
5438
|
-
"@react-native-ml-kit/text-recognition",
|
|
5439
|
-
"@react-native-segmented-control/segmented-control",
|
|
5440
|
-
"@react-native-seoul/naver-login",
|
|
5441
|
-
"@renegades/react-native-tickle",
|
|
5442
|
-
"@rnw-community/react-native-payments",
|
|
5443
|
-
"@rudderstack/rudder-integration-firebase-react-native",
|
|
5444
|
-
"@rudderstack/rudder-sdk-react-native",
|
|
5445
|
-
"@sbaiahmed1/react-native-biometrics",
|
|
5446
|
-
"@sbaiahmed1/react-native-biometrics/types",
|
|
5447
|
-
"@sbaiahmed1/react-native-blur",
|
|
5448
|
-
"@shopify/checkout-sheet-kit",
|
|
5449
|
-
"@stream-io/video-react-native-sdk",
|
|
5450
|
-
"@stripe/stripe-identity-react-native",
|
|
5451
|
-
"@supersami/rn-foreground-service",
|
|
5452
|
-
"@survicate/react-native-survicate",
|
|
5453
|
-
"@twilio/voice-react-native-sdk",
|
|
5454
|
-
"@xmartlabs/react-native-line",
|
|
5455
|
-
"@zoontek/react-native-navigation-bar",
|
|
5456
|
-
"clevertap-react-native",
|
|
5457
|
-
"expo-dynamic-app-icon",
|
|
5458
|
-
"expo-health-connect",
|
|
5459
|
-
"expo-mesh-gradient",
|
|
5460
|
-
"expo-modules-core",
|
|
5461
|
-
"expo-superwall",
|
|
5462
|
-
"freerasp-react-native",
|
|
5463
|
-
"llama.rn",
|
|
5464
|
-
"newrelic-react-native-agent",
|
|
5465
|
-
"realm",
|
|
5466
|
-
"react-native-a11y",
|
|
5467
|
-
"react-native-adapty",
|
|
5468
|
-
"react-native-add-calendar-event",
|
|
5469
|
-
"react-native-adjust",
|
|
5470
|
-
"react-native-advanced-input-mask",
|
|
5471
|
-
"react-native-agora",
|
|
5472
|
-
"react-native-android-location-enabler",
|
|
5473
|
-
"react-native-animateable-text",
|
|
5474
|
-
"react-native-app-clip",
|
|
5475
|
-
"react-native-avoid-softinput",
|
|
5476
|
-
"react-native-azure-auth",
|
|
5477
|
-
"react-native-bare-kit",
|
|
5478
|
-
"react-native-bluetooth-classic",
|
|
5479
|
-
"react-native-bluetooth-state-manager",
|
|
5480
|
-
"react-native-bottom-tabs",
|
|
5481
|
-
"react-native-camera-kit",
|
|
5482
|
-
"react-native-charts-wrapper",
|
|
5483
|
-
"react-native-dialogs",
|
|
5484
|
-
"react-native-drop-shadow",
|
|
5485
|
-
"react-native-dynamic-app-icon",
|
|
5486
|
-
"react-native-expo-braintree",
|
|
5487
|
-
"react-native-extra-dimensions-android",
|
|
5488
|
-
"react-native-fast-opencv",
|
|
5489
|
-
"react-native-fast-shadow",
|
|
5490
|
-
"react-native-fast-squircle",
|
|
5491
|
-
"react-native-fast-tflite",
|
|
5492
|
-
"react-native-filament",
|
|
5493
|
-
"react-native-file-viewer-turbo",
|
|
5494
|
-
"react-native-floating-label-input",
|
|
5495
|
-
"react-native-google-cast",
|
|
5496
|
-
"react-native-google-fit",
|
|
5497
|
-
"react-native-google-places-sdk",
|
|
5498
|
-
"react-native-health",
|
|
5499
|
-
"react-native-health-connect",
|
|
5500
|
-
"react-native-hole-view",
|
|
5501
|
-
"react-native-html-to-pdf",
|
|
5502
|
-
"react-native-image-marker",
|
|
5503
|
-
"react-native-incall-manager",
|
|
5504
|
-
"react-native-ios-modal",
|
|
5505
|
-
"react-native-keyboard-controller/bindings",
|
|
5506
|
-
"react-native-keyboard-controller/findNodeHandle",
|
|
5507
|
-
"react-native-keyboard-manager",
|
|
5508
|
-
"react-native-keys",
|
|
5509
|
-
"react-native-loader-kit",
|
|
5510
|
-
"react-native-localization",
|
|
5511
|
-
"react-native-mixpanel",
|
|
5512
|
-
"react-native-moengage",
|
|
5513
|
-
"react-native-navigation-mode",
|
|
5514
|
-
"react-native-network-info",
|
|
5515
|
-
"react-native-otp-verify",
|
|
5516
|
-
"react-native-passkey",
|
|
5517
|
-
"react-native-payments",
|
|
5518
|
-
"react-native-pdf",
|
|
5519
|
-
"react-native-pdf-renderer",
|
|
5520
|
-
"react-native-pinchable",
|
|
5521
|
-
"react-native-play-age-range-declaration",
|
|
5522
|
-
"react-native-prompt-android",
|
|
5523
|
-
"react-native-radial-gradient",
|
|
5524
|
-
"react-native-razorpay",
|
|
5525
|
-
"react-native-reanimated/platformFunctions/dispatchCommand",
|
|
5526
|
-
"react-native-reanimated/platformFunctions/measure",
|
|
5527
|
-
"react-native-reanimated/platformFunctions/scrollTo",
|
|
5528
|
-
"react-native-reanimated/platformFunctions/setGestureState",
|
|
5529
|
-
"react-native-reanimated/platformFunctions/setNativeProps",
|
|
5530
|
-
"react-native-reanimated/specs/NativeReanimatedModule",
|
|
5531
|
-
"react-native-reanimated/specs/NativeWorkletsModule",
|
|
5532
|
-
"react-native-screenguard",
|
|
5533
|
-
"react-native-screens",
|
|
5534
|
-
"react-native-screens/components/Screen",
|
|
5535
|
-
"react-native-screenshot-prevent",
|
|
5536
|
-
"react-native-select-contact",
|
|
5537
|
-
"react-native-send-intent",
|
|
5538
|
-
"react-native-share-menu",
|
|
5539
|
-
"react-native-shared-element",
|
|
5540
|
-
"react-native-simple-toast",
|
|
5541
|
-
"react-native-spinkit",
|
|
5542
|
-
"react-native-ssl-public-key-pinning",
|
|
5543
|
-
"react-native-star-io10",
|
|
5544
|
-
"react-native-system-navigation-bar",
|
|
5545
|
-
"react-native-tcp",
|
|
5546
|
-
"react-native-teleport",
|
|
5547
|
-
"react-native-theme-switch-animation",
|
|
5548
|
-
"react-native-theoplayer",
|
|
5549
|
-
"react-native-tiktok-business-sdk",
|
|
5550
|
-
"react-native-twilio-video-webrtc",
|
|
5551
|
-
"react-native-udp",
|
|
5552
|
-
"react-native-ui-lib",
|
|
5553
|
-
"react-native-uitextview",
|
|
5554
|
-
"react-native-video-trim",
|
|
5555
|
-
"react-native-voip-push-notification",
|
|
5556
|
-
"react-native-wallet-manager",
|
|
5557
|
-
"react-native-webp-format",
|
|
5558
|
-
"react-native-wheel-pick",
|
|
5559
|
-
"react-native-wheel-picker-android",
|
|
5560
|
-
"react-native-wifi-reborn",
|
|
5561
|
-
"react-native-windows",
|
|
5562
|
-
"react-native-worklets/package.json",
|
|
5563
|
-
"react-native-worklets/specs/NativeWorkletsModule",
|
|
5564
|
-
"react-native-xaml",
|
|
5565
|
-
"react-native-zeroconf",
|
|
5566
|
-
"rn-qr-generator",
|
|
5567
|
-
"rn-secure-storage",
|
|
5568
|
-
"scandit-react-native-datacapture-barcode",
|
|
5569
|
-
"scandit-react-native-datacapture-core",
|
|
5570
|
-
"sp-react-native-in-app-updates",
|
|
5571
|
-
"stream-chat-react-native",
|
|
5572
|
-
"voltra"
|
|
5573
|
-
];
|
|
5574
|
-
|
|
5575
|
-
// ../peach-compat/src/generated/native-package-names.ts
|
|
5576
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
5577
|
-
|
|
5578
|
-
// ../peach-compat/src/generated/light-native-package-names.ts
|
|
5164
|
+
// ../peach-compat/src/generated/light-native-package-names.ts
|
|
5579
5165
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
5580
5166
|
var LIGHT_NATIVE_PACKAGE_NAMES = [
|
|
5581
5167
|
"@100mslive/react-native-hms",
|
|
@@ -7362,10 +6948,399 @@ var NATIVE_RUNTIME_PACKAGE_NAMES = [
|
|
|
7362
6948
|
"react-native-sectioned-slider"
|
|
7363
6949
|
];
|
|
7364
6950
|
|
|
7365
|
-
// ../peach-
|
|
6951
|
+
// ../peach-globals/src/guest-modules/lazy-stub-patterns.ts
|
|
6952
|
+
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
6953
|
+
|
|
6954
|
+
// ../peach-globals/src/guest-modules/version-range.ts
|
|
6955
|
+
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
6956
|
+
var ANY_BOUNDS = {
|
|
6957
|
+
lower: null,
|
|
6958
|
+
lowerInclusive: false,
|
|
6959
|
+
upper: null,
|
|
6960
|
+
upperInclusive: false
|
|
6961
|
+
};
|
|
6962
|
+
var COMPARATOR = /\s*(?:[<>]=?|[=^~])?\s*[^\s]+/g;
|
|
6963
|
+
function compareVersions(left, right) {
|
|
6964
|
+
if (left.major !== right.major) return left.major < right.major ? -1 : 1;
|
|
6965
|
+
if (left.minor !== right.minor) return left.minor < right.minor ? -1 : 1;
|
|
6966
|
+
if (left.patch !== right.patch) return left.patch < right.patch ? -1 : 1;
|
|
6967
|
+
if (left.prerelease.length === 0) return right.prerelease.length === 0 ? 0 : 1;
|
|
6968
|
+
if (right.prerelease.length === 0) return -1;
|
|
6969
|
+
const length = Math.max(left.prerelease.length, right.prerelease.length);
|
|
6970
|
+
for (let index = 0; index < length; index++) {
|
|
6971
|
+
const leftPart = left.prerelease[index];
|
|
6972
|
+
const rightPart = right.prerelease[index];
|
|
6973
|
+
if (leftPart === void 0) return -1;
|
|
6974
|
+
if (rightPart === void 0) return 1;
|
|
6975
|
+
if (leftPart === rightPart) continue;
|
|
6976
|
+
const leftNumeric = /^\d+$/.test(leftPart);
|
|
6977
|
+
const rightNumeric = /^\d+$/.test(rightPart);
|
|
6978
|
+
if (leftNumeric && rightNumeric) return Number(leftPart) < Number(rightPart) ? -1 : 1;
|
|
6979
|
+
if (leftNumeric !== rightNumeric) return leftNumeric ? -1 : 1;
|
|
6980
|
+
return leftPart < rightPart ? -1 : 1;
|
|
6981
|
+
}
|
|
6982
|
+
return 0;
|
|
6983
|
+
}
|
|
6984
|
+
function parseComparator(input) {
|
|
6985
|
+
const token = input.trim();
|
|
6986
|
+
if (token === "" || token === "*" || token === "x" || token === "X") {
|
|
6987
|
+
return ANY_BOUNDS;
|
|
6988
|
+
}
|
|
6989
|
+
const match = /^(>=|<=|>|<|=|\^|~)?\s*v?(\d+|[xX*])(?:\.(\d+|[xX*]))?(?:\.(\d+|[xX*]))?(?:-([0-9A-Za-z.-]+))?(?:\+[0-9A-Za-z.-]+)?$/.exec(
|
|
6990
|
+
token
|
|
6991
|
+
);
|
|
6992
|
+
if (!match) return null;
|
|
6993
|
+
const operator = match[1] ?? "=";
|
|
6994
|
+
const wildcard = (part) => part === void 0 || part === "x" || part === "X" || part === "*";
|
|
6995
|
+
if (wildcard(match[2])) return ANY_BOUNDS;
|
|
6996
|
+
const major = Number(match[2]);
|
|
6997
|
+
const minor = wildcard(match[3]) ? null : Number(match[3]);
|
|
6998
|
+
const patch = wildcard(match[4]) ? null : Number(match[4]);
|
|
6999
|
+
const floor = {
|
|
7000
|
+
major,
|
|
7001
|
+
minor: minor ?? 0,
|
|
7002
|
+
patch: patch ?? 0,
|
|
7003
|
+
prerelease: match[5] ? match[5].split(".") : []
|
|
7004
|
+
};
|
|
7005
|
+
if (operator === ">") {
|
|
7006
|
+
return { ...ANY_BOUNDS, lower: floor, lowerInclusive: false };
|
|
7007
|
+
}
|
|
7008
|
+
if (operator === ">=") {
|
|
7009
|
+
return { ...ANY_BOUNDS, lower: floor, lowerInclusive: true };
|
|
7010
|
+
}
|
|
7011
|
+
if (operator === "<") {
|
|
7012
|
+
return { ...ANY_BOUNDS, upper: floor, upperInclusive: false };
|
|
7013
|
+
}
|
|
7014
|
+
if (operator === "<=") {
|
|
7015
|
+
return { ...ANY_BOUNDS, upper: floor, upperInclusive: true };
|
|
7016
|
+
}
|
|
7017
|
+
let upper;
|
|
7018
|
+
if (operator === "^") {
|
|
7019
|
+
upper = major !== 0 ? { major: major + 1, minor: 0, patch: 0, prerelease: [] } : (minor ?? 0) !== 0 || minor === null ? { major: 0, minor: (minor ?? 0) + 1, patch: 0, prerelease: [] } : { major: 0, minor: 0, patch: (patch ?? 0) + 1, prerelease: [] };
|
|
7020
|
+
} else if (operator === "~") {
|
|
7021
|
+
upper = minor === null ? { major: major + 1, minor: 0, patch: 0, prerelease: [] } : { major, minor: minor + 1, patch: 0, prerelease: [] };
|
|
7022
|
+
} else if (minor === null) {
|
|
7023
|
+
upper = { major: major + 1, minor: 0, patch: 0, prerelease: [] };
|
|
7024
|
+
} else if (patch === null) {
|
|
7025
|
+
upper = { major, minor: minor + 1, patch: 0, prerelease: [] };
|
|
7026
|
+
} else {
|
|
7027
|
+
return {
|
|
7028
|
+
lower: floor,
|
|
7029
|
+
lowerInclusive: true,
|
|
7030
|
+
upper: floor,
|
|
7031
|
+
upperInclusive: true
|
|
7032
|
+
};
|
|
7033
|
+
}
|
|
7034
|
+
return {
|
|
7035
|
+
lower: floor,
|
|
7036
|
+
lowerInclusive: true,
|
|
7037
|
+
upper,
|
|
7038
|
+
upperInclusive: false
|
|
7039
|
+
};
|
|
7040
|
+
}
|
|
7041
|
+
function stricterLower(left, right) {
|
|
7042
|
+
if (!left.lower) return { lower: right.lower, lowerInclusive: right.lowerInclusive };
|
|
7043
|
+
if (!right.lower) return { lower: left.lower, lowerInclusive: left.lowerInclusive };
|
|
7044
|
+
const order = compareVersions(left.lower, right.lower);
|
|
7045
|
+
if (order > 0) return { lower: left.lower, lowerInclusive: left.lowerInclusive };
|
|
7046
|
+
if (order < 0) return { lower: right.lower, lowerInclusive: right.lowerInclusive };
|
|
7047
|
+
return {
|
|
7048
|
+
lower: left.lower,
|
|
7049
|
+
lowerInclusive: left.lowerInclusive && right.lowerInclusive
|
|
7050
|
+
};
|
|
7051
|
+
}
|
|
7052
|
+
function stricterUpper(left, right) {
|
|
7053
|
+
if (!left.upper) return { upper: right.upper, upperInclusive: right.upperInclusive };
|
|
7054
|
+
if (!right.upper) return { upper: left.upper, upperInclusive: left.upperInclusive };
|
|
7055
|
+
const order = compareVersions(left.upper, right.upper);
|
|
7056
|
+
if (order < 0) return { upper: left.upper, upperInclusive: left.upperInclusive };
|
|
7057
|
+
if (order > 0) return { upper: right.upper, upperInclusive: right.upperInclusive };
|
|
7058
|
+
return {
|
|
7059
|
+
upper: left.upper,
|
|
7060
|
+
upperInclusive: left.upperInclusive && right.upperInclusive
|
|
7061
|
+
};
|
|
7062
|
+
}
|
|
7063
|
+
function hasValues(bounds) {
|
|
7064
|
+
if (!bounds.lower || !bounds.upper) return true;
|
|
7065
|
+
const order = compareVersions(bounds.lower, bounds.upper);
|
|
7066
|
+
return order < 0 || order === 0 && bounds.lowerInclusive && bounds.upperInclusive;
|
|
7067
|
+
}
|
|
7068
|
+
function parseRange(input) {
|
|
7069
|
+
const groups = input.split("||");
|
|
7070
|
+
const parsed = [];
|
|
7071
|
+
for (const group of groups) {
|
|
7072
|
+
const tokens = group.trim().match(COMPARATOR) ?? [];
|
|
7073
|
+
if (tokens.length === 0) return null;
|
|
7074
|
+
let bounds = ANY_BOUNDS;
|
|
7075
|
+
for (const token of tokens) {
|
|
7076
|
+
const comparator = parseComparator(token);
|
|
7077
|
+
if (!comparator) return null;
|
|
7078
|
+
bounds = {
|
|
7079
|
+
...stricterLower(bounds, comparator),
|
|
7080
|
+
...stricterUpper(bounds, comparator)
|
|
7081
|
+
};
|
|
7082
|
+
}
|
|
7083
|
+
if (!hasValues(bounds)) return null;
|
|
7084
|
+
parsed.push(bounds);
|
|
7085
|
+
}
|
|
7086
|
+
return parsed;
|
|
7087
|
+
}
|
|
7088
|
+
function containsBounds(container, contained) {
|
|
7089
|
+
if (container.lower) {
|
|
7090
|
+
if (!contained.lower) return false;
|
|
7091
|
+
const order = compareVersions(container.lower, contained.lower);
|
|
7092
|
+
if (order > 0) return false;
|
|
7093
|
+
if (order === 0 && contained.lowerInclusive && !container.lowerInclusive) return false;
|
|
7094
|
+
}
|
|
7095
|
+
if (container.upper) {
|
|
7096
|
+
if (!contained.upper) return false;
|
|
7097
|
+
const order = compareVersions(container.upper, contained.upper);
|
|
7098
|
+
if (order < 0) return false;
|
|
7099
|
+
if (order === 0 && contained.upperInclusive && !container.upperInclusive) return false;
|
|
7100
|
+
}
|
|
7101
|
+
return true;
|
|
7102
|
+
}
|
|
7103
|
+
function overlapsBounds(left, right) {
|
|
7104
|
+
const intersection = {
|
|
7105
|
+
...stricterLower(left, right),
|
|
7106
|
+
...stricterUpper(left, right)
|
|
7107
|
+
};
|
|
7108
|
+
return hasValues(intersection);
|
|
7109
|
+
}
|
|
7110
|
+
function resolveCompatVersionRange(availableRegistryRanges, declaredVersion) {
|
|
7111
|
+
const declaredGroups = parseRange(declaredVersion);
|
|
7112
|
+
const registryGroups = availableRegistryRanges.map((range) => ({
|
|
7113
|
+
range,
|
|
7114
|
+
bounds: parseRange(range)
|
|
7115
|
+
}));
|
|
7116
|
+
if (!declaredGroups || registryGroups.some((candidate) => !candidate.bounds)) {
|
|
7117
|
+
return {
|
|
7118
|
+
status: "unresolved",
|
|
7119
|
+
declaredVersion,
|
|
7120
|
+
availableRegistryRanges
|
|
7121
|
+
};
|
|
7122
|
+
}
|
|
7123
|
+
let selectedRange = null;
|
|
7124
|
+
for (const declared of declaredGroups) {
|
|
7125
|
+
const containing = registryGroups.filter(
|
|
7126
|
+
(candidate2) => candidate2.bounds?.length === 1 && containsBounds(candidate2.bounds[0], declared)
|
|
7127
|
+
);
|
|
7128
|
+
if (containing.length !== 1) {
|
|
7129
|
+
const overlaps = registryGroups.some(
|
|
7130
|
+
(candidate2) => candidate2.bounds?.some((bounds) => overlapsBounds(bounds, declared))
|
|
7131
|
+
);
|
|
7132
|
+
return {
|
|
7133
|
+
status: overlaps ? "unresolved" : "unmatched",
|
|
7134
|
+
declaredVersion,
|
|
7135
|
+
availableRegistryRanges
|
|
7136
|
+
};
|
|
7137
|
+
}
|
|
7138
|
+
const candidate = containing[0].range;
|
|
7139
|
+
if (selectedRange && selectedRange !== candidate) {
|
|
7140
|
+
return {
|
|
7141
|
+
status: "unresolved",
|
|
7142
|
+
declaredVersion,
|
|
7143
|
+
availableRegistryRanges
|
|
7144
|
+
};
|
|
7145
|
+
}
|
|
7146
|
+
selectedRange = candidate;
|
|
7147
|
+
}
|
|
7148
|
+
if (!selectedRange) {
|
|
7149
|
+
return {
|
|
7150
|
+
status: "unresolved",
|
|
7151
|
+
declaredVersion,
|
|
7152
|
+
availableRegistryRanges
|
|
7153
|
+
};
|
|
7154
|
+
}
|
|
7155
|
+
return {
|
|
7156
|
+
status: "matched",
|
|
7157
|
+
declaredVersion,
|
|
7158
|
+
registryRange: selectedRange,
|
|
7159
|
+
availableRegistryRanges
|
|
7160
|
+
};
|
|
7161
|
+
}
|
|
7162
|
+
|
|
7163
|
+
// ../peach-globals/src/guest-modules/lazy-stub-patterns.ts
|
|
7164
|
+
var LAZY_STUB_PATTERNS = [
|
|
7165
|
+
"@10play/tentap-editor",
|
|
7166
|
+
"@adobe/react-native-aepcore",
|
|
7167
|
+
"@azesmway/react-native-unity",
|
|
7168
|
+
"@azzapp/react-native-skia-video",
|
|
7169
|
+
"@batch.com/react-native-plugin",
|
|
7170
|
+
"@bugsnag/react-native",
|
|
7171
|
+
"@bugsnag/react-native-performance",
|
|
7172
|
+
"@callstack/react-native-bottom-tabs",
|
|
7173
|
+
"@callstack/react-native-visionos",
|
|
7174
|
+
"@clerk/expo",
|
|
7175
|
+
"@cometchat/chat-uikit-react-native",
|
|
7176
|
+
"@didomi/react-native",
|
|
7177
|
+
"@dr.pogodin/react-native-static-server",
|
|
7178
|
+
"@eabdullazyanov/react-native-sms-user-consent",
|
|
7179
|
+
"@expensify/react-native-live-markdown",
|
|
7180
|
+
"@expo/ui/community/menu",
|
|
7181
|
+
"@expo/ui/swift-ui",
|
|
7182
|
+
"@giphy/react-native-sdk",
|
|
7183
|
+
"@google/react-native-make-payment",
|
|
7184
|
+
"@googlemaps/react-native-navigation-sdk",
|
|
7185
|
+
"@iterable/expo-plugin",
|
|
7186
|
+
"@kingstinct/react-native-healthkit",
|
|
7187
|
+
"@lodev09/react-native-exify",
|
|
7188
|
+
"@luciq/react-native",
|
|
7189
|
+
"@mattermost/react-native-paste-input",
|
|
7190
|
+
"@mgcrea/vision-camera-barcode-scanner",
|
|
7191
|
+
"@mozzius/expo-dynamic-app-icon",
|
|
7192
|
+
"@okta/okta-react-native",
|
|
7193
|
+
"@playerdata/react-native-mcu-manager",
|
|
7194
|
+
"@react-native-community/audio-toolkit",
|
|
7195
|
+
"@react-native-community/checkbox",
|
|
7196
|
+
"@react-native-community/progress-bar-android",
|
|
7197
|
+
"@react-native-community/toolbar-android",
|
|
7198
|
+
"@react-native-documents/picker",
|
|
7199
|
+
"@react-native-firebase/app-distribution",
|
|
7200
|
+
"@react-native-firebase/database",
|
|
7201
|
+
"@react-native-firebase/in-app-messaging",
|
|
7202
|
+
"@react-native-ml-kit/face-detection",
|
|
7203
|
+
"@react-native-ml-kit/text-recognition",
|
|
7204
|
+
"@react-native-segmented-control/segmented-control",
|
|
7205
|
+
"@react-native-seoul/naver-login",
|
|
7206
|
+
"@renegades/react-native-tickle",
|
|
7207
|
+
"@rnw-community/react-native-payments",
|
|
7208
|
+
"@rudderstack/rudder-integration-firebase-react-native",
|
|
7209
|
+
"@rudderstack/rudder-sdk-react-native",
|
|
7210
|
+
"@sbaiahmed1/react-native-biometrics",
|
|
7211
|
+
"@sbaiahmed1/react-native-biometrics/types",
|
|
7212
|
+
"@sbaiahmed1/react-native-blur",
|
|
7213
|
+
"@shopify/checkout-sheet-kit",
|
|
7214
|
+
"@stream-io/video-react-native-sdk",
|
|
7215
|
+
"@stripe/stripe-identity-react-native",
|
|
7216
|
+
"@supersami/rn-foreground-service",
|
|
7217
|
+
"@survicate/react-native-survicate",
|
|
7218
|
+
"@twilio/voice-react-native-sdk",
|
|
7219
|
+
"@xmartlabs/react-native-line",
|
|
7220
|
+
"@zoontek/react-native-navigation-bar",
|
|
7221
|
+
"clevertap-react-native",
|
|
7222
|
+
"expo-dynamic-app-icon",
|
|
7223
|
+
"expo-health-connect",
|
|
7224
|
+
"expo-mesh-gradient",
|
|
7225
|
+
"expo-modules-core",
|
|
7226
|
+
"expo-superwall",
|
|
7227
|
+
"freerasp-react-native",
|
|
7228
|
+
"llama.rn",
|
|
7229
|
+
"newrelic-react-native-agent",
|
|
7230
|
+
"realm",
|
|
7231
|
+
"react-native-a11y",
|
|
7232
|
+
"react-native-adapty",
|
|
7233
|
+
"react-native-add-calendar-event",
|
|
7234
|
+
"react-native-adjust",
|
|
7235
|
+
"react-native-advanced-input-mask",
|
|
7236
|
+
"react-native-agora",
|
|
7237
|
+
"react-native-android-location-enabler",
|
|
7238
|
+
"react-native-animateable-text",
|
|
7239
|
+
"react-native-app-clip",
|
|
7240
|
+
"react-native-avoid-softinput",
|
|
7241
|
+
"react-native-azure-auth",
|
|
7242
|
+
"react-native-bare-kit",
|
|
7243
|
+
"react-native-bluetooth-classic",
|
|
7244
|
+
"react-native-bluetooth-state-manager",
|
|
7245
|
+
"react-native-bottom-tabs",
|
|
7246
|
+
"react-native-camera-kit",
|
|
7247
|
+
"react-native-charts-wrapper",
|
|
7248
|
+
"react-native-dialogs",
|
|
7249
|
+
"react-native-drop-shadow",
|
|
7250
|
+
"react-native-dynamic-app-icon",
|
|
7251
|
+
"react-native-expo-braintree",
|
|
7252
|
+
"react-native-extra-dimensions-android",
|
|
7253
|
+
"react-native-fast-opencv",
|
|
7254
|
+
"react-native-fast-shadow",
|
|
7255
|
+
"react-native-fast-squircle",
|
|
7256
|
+
"react-native-fast-tflite",
|
|
7257
|
+
"react-native-filament",
|
|
7258
|
+
"react-native-file-viewer-turbo",
|
|
7259
|
+
"react-native-floating-label-input",
|
|
7260
|
+
"react-native-google-cast",
|
|
7261
|
+
"react-native-google-fit",
|
|
7262
|
+
"react-native-google-places-sdk",
|
|
7263
|
+
"react-native-health",
|
|
7264
|
+
"react-native-health-connect",
|
|
7265
|
+
"react-native-hole-view",
|
|
7266
|
+
"react-native-html-to-pdf",
|
|
7267
|
+
"react-native-image-marker",
|
|
7268
|
+
"react-native-incall-manager",
|
|
7269
|
+
"react-native-ios-modal",
|
|
7270
|
+
"react-native-keyboard-controller/bindings",
|
|
7271
|
+
"react-native-keyboard-controller/findNodeHandle",
|
|
7272
|
+
"react-native-keyboard-manager",
|
|
7273
|
+
"react-native-keys",
|
|
7274
|
+
"react-native-loader-kit",
|
|
7275
|
+
"react-native-localization",
|
|
7276
|
+
"react-native-mixpanel",
|
|
7277
|
+
"react-native-moengage",
|
|
7278
|
+
"react-native-navigation-mode",
|
|
7279
|
+
"react-native-network-info",
|
|
7280
|
+
"react-native-otp-verify",
|
|
7281
|
+
"react-native-passkey",
|
|
7282
|
+
"react-native-payments",
|
|
7283
|
+
"react-native-pdf",
|
|
7284
|
+
"react-native-pdf-renderer",
|
|
7285
|
+
"react-native-pinchable",
|
|
7286
|
+
"react-native-play-age-range-declaration",
|
|
7287
|
+
"react-native-prompt-android",
|
|
7288
|
+
"react-native-radial-gradient",
|
|
7289
|
+
"react-native-razorpay",
|
|
7290
|
+
"react-native-reanimated/platformFunctions/dispatchCommand",
|
|
7291
|
+
"react-native-reanimated/platformFunctions/measure",
|
|
7292
|
+
"react-native-reanimated/platformFunctions/scrollTo",
|
|
7293
|
+
"react-native-reanimated/platformFunctions/setGestureState",
|
|
7294
|
+
"react-native-reanimated/platformFunctions/setNativeProps",
|
|
7295
|
+
"react-native-reanimated/specs/NativeReanimatedModule",
|
|
7296
|
+
"react-native-reanimated/specs/NativeWorkletsModule",
|
|
7297
|
+
"react-native-screenguard",
|
|
7298
|
+
"react-native-screens",
|
|
7299
|
+
"react-native-screens/components/Screen",
|
|
7300
|
+
"react-native-screenshot-prevent",
|
|
7301
|
+
"react-native-select-contact",
|
|
7302
|
+
"react-native-send-intent",
|
|
7303
|
+
"react-native-share-menu",
|
|
7304
|
+
"react-native-shared-element",
|
|
7305
|
+
"react-native-simple-toast",
|
|
7306
|
+
"react-native-spinkit",
|
|
7307
|
+
"react-native-ssl-public-key-pinning",
|
|
7308
|
+
"react-native-star-io10",
|
|
7309
|
+
"react-native-system-navigation-bar",
|
|
7310
|
+
"react-native-tcp",
|
|
7311
|
+
"react-native-teleport",
|
|
7312
|
+
"react-native-theme-switch-animation",
|
|
7313
|
+
"react-native-theoplayer",
|
|
7314
|
+
"react-native-tiktok-business-sdk",
|
|
7315
|
+
"react-native-twilio-video-webrtc",
|
|
7316
|
+
"react-native-udp",
|
|
7317
|
+
"react-native-ui-lib",
|
|
7318
|
+
"react-native-uitextview",
|
|
7319
|
+
"react-native-video-trim",
|
|
7320
|
+
"react-native-voip-push-notification",
|
|
7321
|
+
"react-native-wallet-manager",
|
|
7322
|
+
"react-native-webp-format",
|
|
7323
|
+
"react-native-wheel-pick",
|
|
7324
|
+
"react-native-wheel-picker-android",
|
|
7325
|
+
"react-native-wifi-reborn",
|
|
7326
|
+
"react-native-windows",
|
|
7327
|
+
"react-native-worklets/package.json",
|
|
7328
|
+
"react-native-worklets/specs/NativeWorkletsModule",
|
|
7329
|
+
"react-native-xaml",
|
|
7330
|
+
"react-native-zeroconf",
|
|
7331
|
+
"rn-qr-generator",
|
|
7332
|
+
"rn-secure-storage",
|
|
7333
|
+
"scandit-react-native-datacapture-barcode",
|
|
7334
|
+
"scandit-react-native-datacapture-core",
|
|
7335
|
+
"sp-react-native-in-app-updates",
|
|
7336
|
+
"stream-chat-react-native",
|
|
7337
|
+
"voltra"
|
|
7338
|
+
];
|
|
7339
|
+
|
|
7340
|
+
// ../peach-globals/src/guest-modules/stub-manifest.ts
|
|
7366
7341
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
7367
7342
|
|
|
7368
|
-
// ../peach-
|
|
7343
|
+
// ../peach-globals/src/guest-modules/wrapper-real-packages.ts
|
|
7369
7344
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
7370
7345
|
var SOOTSIM_COMPAT_WRAPPER_REAL_PACKAGES = {
|
|
7371
7346
|
expoUiConfirmationDialog: {
|
|
@@ -7838,7 +7813,7 @@ var PEACH_UPSTREAM_MODULES = {
|
|
|
7838
7813
|
...PEACH_REACT_NATIVE_UPSTREAM_MODULES
|
|
7839
7814
|
};
|
|
7840
7815
|
|
|
7841
|
-
// ../peach-
|
|
7816
|
+
// ../peach-globals/src/guest-modules/stub-manifest.ts
|
|
7842
7817
|
var COMPAT_STUBS = {
|
|
7843
7818
|
reactNativeScreens: {
|
|
7844
7819
|
specifier: "react-native-screens",
|
|
@@ -8379,7 +8354,7 @@ async function runAsync(walk, inputs) {
|
|
|
8379
8354
|
function createInstalledPackageReader() {
|
|
8380
8355
|
const hasModules = /* @__PURE__ */ new Map();
|
|
8381
8356
|
const manifests = /* @__PURE__ */ new Map();
|
|
8382
|
-
return function* readInstalledPackage(fromDir,
|
|
8357
|
+
return function* readInstalledPackage(fromDir, name) {
|
|
8383
8358
|
for (let dir = fromDir; ; ) {
|
|
8384
8359
|
if (import_path2.default.basename(dir) !== "node_modules") {
|
|
8385
8360
|
const modules = import_path2.default.join(dir, "node_modules");
|
|
@@ -8389,7 +8364,7 @@ function createInstalledPackageReader() {
|
|
|
8389
8364
|
hasModules.set(dir, present);
|
|
8390
8365
|
}
|
|
8391
8366
|
if (present) {
|
|
8392
|
-
const root = import_path2.default.join(modules,
|
|
8367
|
+
const root = import_path2.default.join(modules, name);
|
|
8393
8368
|
let installed = manifests.get(root);
|
|
8394
8369
|
if (installed === void 0) {
|
|
8395
8370
|
const manifest = yield* readManifest(import_path2.default.join(root, "package.json"));
|
|
@@ -8408,11 +8383,11 @@ function createInstalledPackageReader() {
|
|
|
8408
8383
|
function* installedVersionsWalk(projectRoot, names, selectedPackages) {
|
|
8409
8384
|
const readInstalledPackage = createInstalledPackageReader();
|
|
8410
8385
|
const versions = {};
|
|
8411
|
-
for (const
|
|
8412
|
-
const installed = selectedPackages ? selectedPackages.get(
|
|
8386
|
+
for (const name of [...names].sort()) {
|
|
8387
|
+
const installed = selectedPackages ? selectedPackages.get(name) : yield* readInstalledPackage(projectRoot, name);
|
|
8413
8388
|
const version = installed && Reflect.get(installed.manifest, "version");
|
|
8414
|
-
if (typeof version === "string" && version.length > 0) versions[
|
|
8415
|
-
if (
|
|
8389
|
+
if (typeof version === "string" && version.length > 0) versions[name] = version;
|
|
8390
|
+
if (name === "react-native-worklets" && installed) {
|
|
8416
8391
|
const defaults = yield* readManifest(
|
|
8417
8392
|
import_path2.default.join(installed.root, "src/featureFlags/staticFlags.json")
|
|
8418
8393
|
);
|
|
@@ -8434,8 +8409,8 @@ function* nativePackageVersionsWalk(projectRoot) {
|
|
|
8434
8409
|
...LAZY_STUB_PATTERNS,
|
|
8435
8410
|
...Object.values(COMPAT_STUBS).map((entry) => entry.specifier)
|
|
8436
8411
|
]) {
|
|
8437
|
-
const
|
|
8438
|
-
if (
|
|
8412
|
+
const name = extractPackageFromPath(`node_modules/${specifier}`);
|
|
8413
|
+
if (name) nativeNames.add(name);
|
|
8439
8414
|
}
|
|
8440
8415
|
const manifest = yield* readManifest(import_path2.default.join(appRoot, "package.json"));
|
|
8441
8416
|
if (!manifest) throw new Error("app package.json must contain an object");
|
|
@@ -8453,16 +8428,16 @@ function* nativePackageVersionsWalk(projectRoot) {
|
|
|
8453
8428
|
for (const field of fields) {
|
|
8454
8429
|
const dependencies = Reflect.get(next.manifest, field);
|
|
8455
8430
|
if (typeof dependencies !== "object" || dependencies === null) continue;
|
|
8456
|
-
for (const
|
|
8431
|
+
for (const name of Object.keys(dependencies)) {
|
|
8457
8432
|
if (field === "peerDependencies" && typeof peers === "object" && peers !== null) {
|
|
8458
|
-
const peer = Reflect.get(peers,
|
|
8433
|
+
const peer = Reflect.get(peers, name);
|
|
8459
8434
|
if (typeof peer === "object" && peer !== null && Reflect.get(peer, "optional"))
|
|
8460
8435
|
continue;
|
|
8461
8436
|
}
|
|
8462
|
-
const installed = yield* readInstalledPackage(root,
|
|
8437
|
+
const installed = yield* readInstalledPackage(root, name);
|
|
8463
8438
|
if (!installed) continue;
|
|
8464
|
-
if (nativeNames.has(
|
|
8465
|
-
needed.set(
|
|
8439
|
+
if (nativeNames.has(name) && !needed.has(name))
|
|
8440
|
+
needed.set(name, (yield* readInstalledPackage(appRoot, name)) ?? installed);
|
|
8466
8441
|
pending.push(installed);
|
|
8467
8442
|
}
|
|
8468
8443
|
}
|
|
@@ -9472,7 +9447,7 @@ var import_node_module = require("node:module");
|
|
|
9472
9447
|
var import_node_path11 = require("node:path");
|
|
9473
9448
|
|
|
9474
9449
|
// runtime-companion.json
|
|
9475
|
-
var runtime_companion_default = { abi: 1, sha256: "
|
|
9450
|
+
var runtime_companion_default = { abi: 1, sha256: "9b370a218cb12559cba2bb30e1e33d168ccd0f310e473c5428133b85938be20a", file: "node/cli-9b370a218cb12559cba2bb30e1e33d168ccd0f310e473c5428133b85938be20a.cjs" };
|
|
9476
9451
|
|
|
9477
9452
|
// src/cli-runtime.ts
|
|
9478
9453
|
var CLI_COMPANION_ABI = 1;
|
|
@@ -9609,7 +9584,7 @@ function applyFetchProxyCors(req, res) {
|
|
|
9609
9584
|
"access-control-expose-headers",
|
|
9610
9585
|
[
|
|
9611
9586
|
...Object.keys(res.getHeaders()).filter(
|
|
9612
|
-
(
|
|
9587
|
+
(name) => !name.startsWith("access-control-")
|
|
9613
9588
|
),
|
|
9614
9589
|
"x-sootsim-set-cookie"
|
|
9615
9590
|
].join(", ")
|
|
@@ -9635,7 +9610,7 @@ function buildAppApiProxyHeaders(reqHeaders, targetUrl) {
|
|
|
9635
9610
|
if (typeof nativeCookie === "string" && nativeCookie)
|
|
9636
9611
|
headers.cookie = decodeURIComponent(nativeCookie);
|
|
9637
9612
|
headers.host = targetUrl.host;
|
|
9638
|
-
if (!Object.keys(headers).some((
|
|
9613
|
+
if (!Object.keys(headers).some((name) => name.toLowerCase() === "mobile-origin")) {
|
|
9639
9614
|
headers.origin = targetUrl.origin;
|
|
9640
9615
|
headers.referer = `${targetUrl.origin}/`;
|
|
9641
9616
|
}
|
|
@@ -9774,7 +9749,7 @@ function handleAppApiRequest(req, res) {
|
|
|
9774
9749
|
res.setHeader("access-control-allow-credentials", "true");
|
|
9775
9750
|
res.setHeader(
|
|
9776
9751
|
"access-control-expose-headers",
|
|
9777
|
-
Object.keys(res.getHeaders()).filter((
|
|
9752
|
+
Object.keys(res.getHeaders()).filter((name) => !name.startsWith("access-control-") && name !== "set-cookie").join(", ")
|
|
9778
9753
|
);
|
|
9779
9754
|
}
|
|
9780
9755
|
});
|