peachsim 0.1.1813 → 0.1.1814
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 +2 -1
- package/cli/cloud-client.ts +5 -4
- package/cli/cloud-session.ts +14 -1
- package/cli/commands/compat.ts +12 -2
- package/cli/commands/control.ts +5 -0
- package/cli/commands/flow.ts +10 -5
- package/cli/commands/inspect/env.ts +3 -2
- package/cli/commands/inspect/wait-selector.ts +30 -9
- 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 +584 -449
- 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 +1 -1
- package/dist-lib/config.mjs +1 -1
- package/dist-lib/detox/index.cjs +2 -2
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +112 -52
- package/dist-lib/expo-swift-metadata.cjs +1 -17
- package/dist-lib/expo-swift-metadata.mjs +1 -16
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +1963 -1891
- package/dist-lib/host/fetch-proxy-handler.cjs +2 -4
- 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 +7 -10
- 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 +1 -1
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +4 -6
- package/dist-lib/native-app-identity-project.cjs +3 -3
- package/dist-lib/native-app-identity-project.mjs +6 -6
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +1 -1
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- 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 +24 -24
- package/dist-lib/public-origins-lib.json +64 -67
- 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 +1 -1
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +1 -1
- package/dist-lib/skills.cjs +616 -467
- package/dist-lib/swift-compile.cjs +27 -26
- package/dist-lib/swift-compile.mjs +34 -33
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +1 -1
- package/dist-lib/swift-submit.cjs +2 -2
- package/dist-lib/swift-submit.mjs +2 -2
- package/dist-lib/swift-toolchain.cjs +5 -3
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +87 -41
- package/dist-lib/vite.cjs +2 -4
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/react-native/host-services.d.ts +7 -0
- package/dist-types/packages/peach-engine/src/render-worker/host-service-protocol.d.ts +14 -2
- package/install.mjs +21 -8
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/sdk/ios/System/Library/Frameworks/SafariServices.framework/Headers/SFSafariViewController.h +17 -0
- package/sdk/ios/usr/lib/swift/Dispatch.swiftmodule/arm64-apple-ios-simulator.swiftinterface +5 -0
- package/sdk/ios/usr/lib/swift/Foundation.swiftmodule/arm64-apple-ios-simulator.swiftinterface +6 -0
- package/sdk/ios/usr/lib/swift/ObjectiveC.swiftmodule/arm64-apple-ios-simulator.swiftinterface +10 -1
- package/sdk/ios/usr/lib/swift/SwiftUI.swiftmodule/arm64-apple-ios-simulator.swiftinterface +4 -0
- package/sdk/ios/usr/lib/swift/SwiftUICore.swiftmodule/arm64-apple-ios-simulator.swiftinterface +11 -0
- package/sdk/ios/usr/lib/swift/UIKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface +13 -0
- package/sdk/ios/wasm/include/string.h +1 -0
- package/src/expo-kotlin-host.ts +69 -35
- package/src/expo-swift-host.ts +45 -9
- package/src/expoSwiftContract.ts +2 -20
- package/src/nitro-adapter.lock.json +235 -235
- package/src/nitro-bundle.ts +2 -8
- package/src/nitro-superset.lock.json +14 -14
- package/src/nitro-superset.ts +2 -3
- package/src/nitroContract.ts +0 -29
- package/src/react-native-bridge-modules.ts +2 -9
- package/src/swift-compile.ts +2 -0
- package/src/swift-distribution.lock.json +8 -8
- package/src/swift-distribution.ts +1 -0
- package/src/swift-icu.ts +21 -27
- package/src/swift-project-user.ts +5 -0
- package/src/swift-shared-sdk.ts +4 -0
- package/src/swift-standins.ts +6 -1
- package/src/swift-submit.ts +2 -1
- package/src/swift-toolchain.ts +5 -2
- package/src/swift-wasm-prune.ts +10 -2
- package/src/turbo-runtime.lock.json +15 -15
- package/src/turbo-source.ts +160 -37
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1814 | (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 __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1814 | (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 __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1814 | (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 __defProp = Object.defineProperty;
|
package/dist-lib/cloud.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1814 | (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 __defProp = Object.defineProperty;
|
package/dist-lib/cloud.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1814 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
4
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
package/dist-lib/config.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1814 | (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 __defProp = Object.defineProperty;
|
package/dist-lib/config.mjs
CHANGED
package/dist-lib/detox/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1814 | (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;
|
|
@@ -2393,7 +2393,7 @@ var import_node_module = require("node:module");
|
|
|
2393
2393
|
var import_node_path2 = require("node:path");
|
|
2394
2394
|
|
|
2395
2395
|
// runtime-companion.json
|
|
2396
|
-
var runtime_companion_default = { abi: 1, sha256: "
|
|
2396
|
+
var runtime_companion_default = { abi: 1, sha256: "58cc17038ff9baf52198a5edfd081d9a60236469948361b70f2471760d394d3e", file: "node/cli-58cc17038ff9baf52198a5edfd081d9a60236469948361b70f2471760d394d3e.cjs" };
|
|
2397
2397
|
|
|
2398
2398
|
// src/runtime-assets.ts
|
|
2399
2399
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1814 | (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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1814 | (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;
|
|
@@ -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": "8b398ceb60faf4a5729842cab60f49c2e601d6fc6bbbc1faec9023ecb8141990", "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": "08583ee03b92e00f3f331e52fb480ef81c9fd7e668d796a5afcfa07978bcaf03", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "5bdd15dce967553923b0437502e56f70165424d2f22cdde0e2d7aacd618e27cc", "swift-package.ts": "80932fd45cd31e57871475180148f79f273719ac94d94deabce16dc138fdf387", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.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": "8b398ceb60faf4a5729842cab60f49c2e601d6fc6bbbc1faec9023ecb8141990", "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": "08583ee03b92e00f3f331e52fb480ef81c9fd7e668d796a5afcfa07978bcaf03", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "5bdd15dce967553923b0437502e56f70165424d2f22cdde0e2d7aacd618e27cc", "swift-package.ts": "80932fd45cd31e57871475180148f79f273719ac94d94deabce16dc138fdf387", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "8d495f0b828a24c7eb497db324094e09b1969612283ad0d83e1f329ef42a1c47", "home-paths.ts": "744d0e29fcc4baae6748161da45dd75e357348703331dad685c74ec813abcc83", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "76e78ea9974671ff3b7e7a5d65e508306d8eadeb6b6bf859bd2ccc03f4ef6e72", "xcode-target-members.ts": "75a23a5fc54cc6f5e952d545f2f0f86241ff36525ab4e568c172e83c3bfb9da4", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
|
|
@@ -1540,6 +1540,7 @@ var PEACH_ANSWERED_NATIVE_PACKAGE_NAMES = [
|
|
|
1540
1540
|
"react-native-auto-skeleton",
|
|
1541
1541
|
"react-native-avoid-softinput",
|
|
1542
1542
|
"react-native-azure-auth",
|
|
1543
|
+
"react-native-background-actions",
|
|
1543
1544
|
"react-native-background-fetch",
|
|
1544
1545
|
"react-native-background-geolocation",
|
|
1545
1546
|
"react-native-background-timer",
|
|
@@ -2693,7 +2694,7 @@ var MAX_SWIFT_COMPILE_METAL_TOTAL_BYTES = 8 * 1024 * 1024;
|
|
|
2693
2694
|
var MAX_SWIFT_COMPILE_IMAGES = 256;
|
|
2694
2695
|
var MAX_SWIFT_COMPILE_IMAGE_BYTES = 4 * 1024 * 1024;
|
|
2695
2696
|
var MAX_SWIFT_COMPILE_IMAGE_TOTAL_BYTES = 16 * 1024 * 1024;
|
|
2696
|
-
var SWIFT_HOST_ABI =
|
|
2697
|
+
var SWIFT_HOST_ABI = 62;
|
|
2697
2698
|
var POLL_INTERVAL_MS = 1500;
|
|
2698
2699
|
function httpSwiftCompileSubmit(context) {
|
|
2699
2700
|
const { assetReadToken, authorization, endpoint } = context;
|
|
@@ -8967,11 +8968,44 @@ init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
|
8967
8968
|
|
|
8968
8969
|
// ../contrast-runtime-delivery/src/index.ts
|
|
8969
8970
|
async function installVerifiedTarball(tarball) {
|
|
8971
|
+
const { destDir, installedMarker, signal } = tarball;
|
|
8972
|
+
import_node_fs18.default.mkdirSync(import_node_path15.default.dirname(destDir), { recursive: true });
|
|
8973
|
+
const presentAtStart = import_node_fs18.default.existsSync(import_node_path15.default.join(destDir, installedMarker));
|
|
8974
|
+
const lock = `${destDir}.lock`;
|
|
8975
|
+
for (; ; ) {
|
|
8976
|
+
signal?.throwIfAborted();
|
|
8977
|
+
try {
|
|
8978
|
+
import_node_fs18.default.writeFileSync(lock, String(process.pid), { flag: "wx" });
|
|
8979
|
+
break;
|
|
8980
|
+
} catch (err) {
|
|
8981
|
+
if (!isErrnoCode(err, "EEXIST")) throw err;
|
|
8982
|
+
if (lockOwnerGone(lock)) import_node_fs18.default.rmSync(lock, { force: true });
|
|
8983
|
+
else await new Promise((resolve3) => setTimeout(resolve3, 250));
|
|
8984
|
+
}
|
|
8985
|
+
}
|
|
8986
|
+
try {
|
|
8987
|
+
if (!presentAtStart && import_node_fs18.default.existsSync(import_node_path15.default.join(destDir, installedMarker))) {
|
|
8988
|
+
tarball.verify?.(destDir);
|
|
8989
|
+
return;
|
|
8990
|
+
}
|
|
8991
|
+
await installVerifiedTarballLocked(tarball, presentAtStart);
|
|
8992
|
+
} finally {
|
|
8993
|
+
import_node_fs18.default.rmSync(lock, { force: true });
|
|
8994
|
+
}
|
|
8995
|
+
}
|
|
8996
|
+
function lockOwnerGone(lock) {
|
|
8997
|
+
try {
|
|
8998
|
+
process.kill(Number(import_node_fs18.default.readFileSync(lock, "utf8")), 0);
|
|
8999
|
+
return false;
|
|
9000
|
+
} catch (err) {
|
|
9001
|
+
return !isErrnoCode(err, "EPERM", "ENOENT");
|
|
9002
|
+
}
|
|
9003
|
+
}
|
|
9004
|
+
async function installVerifiedTarballLocked(tarball, presentAtStart) {
|
|
8970
9005
|
const { url, digest: digest2, destDir, installedMarker, label, signal } = tarball;
|
|
8971
9006
|
signal?.throwIfAborted();
|
|
8972
9007
|
const downloadDir = import_node_fs18.default.mkdtempSync(import_node_path15.default.join(import_node_os4.default.tmpdir(), "runtime-delivery-download-"));
|
|
8973
9008
|
const archivePath = import_node_path15.default.join(downloadDir, "archive");
|
|
8974
|
-
import_node_fs18.default.mkdirSync(import_node_path15.default.dirname(destDir), { recursive: true });
|
|
8975
9009
|
const tmpDir = import_node_fs18.default.mkdtempSync(
|
|
8976
9010
|
import_node_path15.default.join(import_node_path15.default.dirname(destDir), `.installing-${import_node_path15.default.basename(destDir)}-`)
|
|
8977
9011
|
);
|
|
@@ -9001,6 +9035,10 @@ async function installVerifiedTarball(tarball) {
|
|
|
9001
9035
|
import_node_fs18.default.renameSync(tmpDir, destDir);
|
|
9002
9036
|
} catch (err) {
|
|
9003
9037
|
if (!isErrnoCode(err, "ENOTEMPTY", "EEXIST")) throw err;
|
|
9038
|
+
if (!presentAtStart && import_node_fs18.default.existsSync(import_node_path15.default.join(destDir, installedMarker))) {
|
|
9039
|
+
tarball.verify?.(destDir);
|
|
9040
|
+
return;
|
|
9041
|
+
}
|
|
9004
9042
|
const aside = `${tmpDir}-replaced`;
|
|
9005
9043
|
try {
|
|
9006
9044
|
import_node_fs18.default.renameSync(destDir, aside);
|
|
@@ -10986,8 +11024,10 @@ function ensureSwiftLinuxRuntime(release) {
|
|
|
10986
11024
|
import_node_fs23.default.rmSync(download2, { force: true });
|
|
10987
11025
|
}
|
|
10988
11026
|
}
|
|
10989
|
-
|
|
10990
|
-
import_node_fs23.default.
|
|
11027
|
+
const staged = `${plan.link}.${process.pid}.tmp`;
|
|
11028
|
+
import_node_fs23.default.rmSync(staged, { force: true });
|
|
11029
|
+
import_node_fs23.default.symlinkSync("../../libxml2.so.2", staged);
|
|
11030
|
+
import_node_fs23.default.renameSync(staged, plan.link);
|
|
10991
11031
|
for (const name3 of ["lib", "lib64"]) {
|
|
10992
11032
|
try {
|
|
10993
11033
|
import_node_fs23.default.symlinkSync(`usr/${name3}`, import_node_path19.default.join(root, name3));
|
|
@@ -14021,6 +14061,7 @@ function swiftSharedSdkRoot(moduleRoot, distribution) {
|
|
|
14021
14061
|
if (!import_node_fs25.default.existsSync(headers)) {
|
|
14022
14062
|
import_node_fs25.default.mkdirSync(import_node_path23.default.dirname(headers), { recursive: true });
|
|
14023
14063
|
const staging = import_node_fs25.default.mkdtempSync(`${headers}-`);
|
|
14064
|
+
import_node_fs25.default.chmodSync(staging, 493);
|
|
14024
14065
|
import_node_fs25.default.cpSync(root, staging, { recursive: true, preserveTimestamps: true });
|
|
14025
14066
|
try {
|
|
14026
14067
|
import_node_fs25.default.renameSync(staging, headers);
|
|
@@ -14249,6 +14290,7 @@ function swiftSharedSdkViewOptions(moduleRoot, distribution, toolchainBin, sdk)
|
|
|
14249
14290
|
if (!import_node_fs25.default.existsSync(manifest)) {
|
|
14250
14291
|
import_node_fs25.default.mkdirSync(import_node_path23.default.dirname(view), { recursive: true });
|
|
14251
14292
|
const staging = import_node_fs25.default.mkdtempSync(`${view}-`);
|
|
14293
|
+
import_node_fs25.default.chmodSync(staging, 493);
|
|
14252
14294
|
const realRoot = import_node_path23.default.dirname(bundle);
|
|
14253
14295
|
const overrides = new Map([
|
|
14254
14296
|
[import_node_path23.default.join(sysroot, "darwin/System/Library/Frameworks"), frameworks],
|
|
@@ -14889,14 +14931,12 @@ var ARCHIVE = "wasi/lib_FoundationICU.a";
|
|
|
14889
14931
|
var MEMBER = "icu_packaged_data.cpp.obj";
|
|
14890
14932
|
var raw = /* @__PURE__ */ new Map();
|
|
14891
14933
|
var assets = /* @__PURE__ */ new Map();
|
|
14892
|
-
function memo(cache, key2, load2) {
|
|
14893
|
-
|
|
14894
|
-
if (
|
|
14895
|
-
|
|
14896
|
-
|
|
14897
|
-
|
|
14898
|
-
}
|
|
14899
|
-
return pending;
|
|
14934
|
+
async function memo(cache, key2, load2) {
|
|
14935
|
+
const cached2 = cache.get(key2);
|
|
14936
|
+
if (cached2 !== void 0) return cached2;
|
|
14937
|
+
const value = await load2();
|
|
14938
|
+
cache.set(key2, value);
|
|
14939
|
+
return value;
|
|
14900
14940
|
}
|
|
14901
14941
|
function swiftIcuData(toolchainBin, sdk) {
|
|
14902
14942
|
return memo(
|
|
@@ -16325,6 +16365,10 @@ function pruneSwiftWasmLink(directory, toolchainBin, moduleRoot, staticClangTarg
|
|
|
16325
16365
|
activateSymbolInObj(w.obj, w.symIdx);
|
|
16326
16366
|
}
|
|
16327
16367
|
}
|
|
16368
|
+
for (let n = pref.length - 1; n > 2; n--) {
|
|
16369
|
+
const outer = pref.slice(0, n);
|
|
16370
|
+
if (obj.typePrefixesInObj.has(outer)) markTypeLive(obj, outer);
|
|
16371
|
+
}
|
|
16328
16372
|
const mnName = `${pref}Mn`;
|
|
16329
16373
|
for (let i = 0; i < obj.symNames.length; i++) {
|
|
16330
16374
|
if (obj.symNames[i] === mnName && (obj.symFlags[i] & 16) === 0) {
|
|
@@ -16893,8 +16937,8 @@ function pruneSwiftWasmLink(directory, toolchainBin, moduleRoot, staticClangTarg
|
|
|
16893
16937
|
writePrunedObject(o, outPath);
|
|
16894
16938
|
prunedMap.set(o.file, outPath);
|
|
16895
16939
|
}
|
|
16896
|
-
const
|
|
16897
|
-
(f) => f.startsWith("libswiftCore__") && f !== "libswiftCore__Swift.o" || f.startsWith("libswift_Concurrency__") && f !== "libswift_Concurrency___Concurrency.o"
|
|
16940
|
+
const extraSdkObjs = allSdkObjFiles.filter(
|
|
16941
|
+
(f) => f.startsWith("libDarwin__") || f.startsWith("libswiftCore__") && f !== "libswiftCore__Swift.o" || f.startsWith("libswift_Concurrency__") && f !== "libswift_Concurrency___Concurrency.o"
|
|
16898
16942
|
).map((f) => import_node_path30.default.join(sdkObjsDir, f));
|
|
16899
16943
|
const outTokens = [];
|
|
16900
16944
|
const emittedPruned = /* @__PURE__ */ new Set();
|
|
@@ -16927,7 +16971,7 @@ function pruneSwiftWasmLink(directory, toolchainBin, moduleRoot, staticClangTarg
|
|
|
16927
16971
|
}
|
|
16928
16972
|
}
|
|
16929
16973
|
}
|
|
16930
|
-
outTokens.push(...
|
|
16974
|
+
outTokens.push(...extraSdkObjs);
|
|
16931
16975
|
continue;
|
|
16932
16976
|
}
|
|
16933
16977
|
if (t === "--end-lib") {
|
|
@@ -17884,7 +17928,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
17884
17928
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
17885
17929
|
var MULTI_MANIFEST_VERSION = 65;
|
|
17886
17930
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
17887
|
-
var compilerSourceDigest = true ? "
|
|
17931
|
+
var compilerSourceDigest = true ? "d62fae69578799a35cdf0157f54acf3e1a0c1688de92c4c991c69287b9e562bb" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
17888
17932
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
17889
17933
|
const hash = (0, import_node_crypto13.createHash)("sha256");
|
|
17890
17934
|
hash.update(`swift-compile
|
|
@@ -21896,12 +21940,12 @@ function compileSwiftProjectUnit(input, options) {
|
|
|
21896
21940
|
|
|
21897
21941
|
// src/swift-distribution.lock.json
|
|
21898
21942
|
var swift_distribution_lock_default = {
|
|
21899
|
-
id: "
|
|
21943
|
+
id: "6742aac7746a6ce9",
|
|
21900
21944
|
release: "swift-6.4.0-RELEASE-custom-a560ff35bf882b5c",
|
|
21901
21945
|
wasmSdkId: "swift-6.4.0-RELEASE_wasm-peach-5d385b68",
|
|
21902
21946
|
wasmSdkUrl: "https://r2.sootsim.com/swift-wasm-sdk/swift-6.4.0-RELEASE_wasm-peach-5d385b68.artifactbundle.tar.gz",
|
|
21903
21947
|
wasmSdkChecksum: "d91882af99821a296c3db4459896b46ceaef37e9a30caad14e5f24cf6b964ae9",
|
|
21904
|
-
source: "
|
|
21948
|
+
source: "af1852646c60b5cde579f3465df69967e16810b3",
|
|
21905
21949
|
targets: [
|
|
21906
21950
|
"ImagePlayground",
|
|
21907
21951
|
"QuickLookThumbnailing",
|
|
@@ -22127,16 +22171,16 @@ var swift_distribution_lock_default = {
|
|
|
22127
22171
|
},
|
|
22128
22172
|
hosts: {
|
|
22129
22173
|
"darwin-arm64": {
|
|
22130
|
-
sha256: "
|
|
22131
|
-
size:
|
|
22174
|
+
sha256: "80c63bad6b21a02244c09832dd1344a1aa52894bf5ed391b94771b036f385d08",
|
|
22175
|
+
size: 99101780
|
|
22132
22176
|
},
|
|
22133
22177
|
"linux-x64": {
|
|
22134
|
-
sha256: "
|
|
22135
|
-
size:
|
|
22178
|
+
sha256: "9f58c786fa96313a3aefe564c7af5eadda21a22ac996df49d16bfdd2c73456be",
|
|
22179
|
+
size: 101818987
|
|
22136
22180
|
},
|
|
22137
22181
|
"linux-arm64": {
|
|
22138
|
-
sha256: "
|
|
22139
|
-
size:
|
|
22182
|
+
sha256: "2174623c31e5909128486b5516976060004d80697bdfcf46198b6150f7de1cc8",
|
|
22183
|
+
size: 101312935
|
|
22140
22184
|
}
|
|
22141
22185
|
}
|
|
22142
22186
|
};
|
|
@@ -26707,23 +26751,6 @@ function writeExpoDiscovery(options) {
|
|
|
26707
26751
|
}
|
|
26708
26752
|
}
|
|
26709
26753
|
|
|
26710
|
-
// src/expoSwiftContract.ts
|
|
26711
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
26712
|
-
var COMPILED_EXPO_NATIVE_PACKAGES = {
|
|
26713
|
-
ios: [
|
|
26714
|
-
"@rnw-community/react-native-screen-chrome",
|
|
26715
|
-
"expo-app-intents",
|
|
26716
|
-
"expo-battery",
|
|
26717
|
-
"expo-device",
|
|
26718
|
-
"expo-hinge",
|
|
26719
|
-
"expo-location",
|
|
26720
|
-
"expo-store-review",
|
|
26721
|
-
"expo-updates",
|
|
26722
|
-
"expo-web-browser"
|
|
26723
|
-
],
|
|
26724
|
-
android: []
|
|
26725
|
-
};
|
|
26726
|
-
|
|
26727
26754
|
// src/native-preparation.ts
|
|
26728
26755
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
26729
26756
|
var import_node_timers = require("node:timers");
|
|
@@ -27492,7 +27519,7 @@ function standinSourceDigest(srcDir = __sootsim_import_meta_dirname) {
|
|
|
27492
27519
|
}
|
|
27493
27520
|
return hash.digest("hex");
|
|
27494
27521
|
}
|
|
27495
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
27522
|
+
var STANDIN_SOURCE_DIGEST = true ? "f61e678df21a92da7fd50325f04848c1ad55068f560f9431a8d1c4e40e27de89" : standinSourceDigest();
|
|
27496
27523
|
|
|
27497
27524
|
// src/swift-standins.ts
|
|
27498
27525
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -28582,12 +28609,18 @@ function peachModuleDirs(toolchain, imports2, sdkIncludes) {
|
|
|
28582
28609
|
(name3) => peach.has(name3)
|
|
28583
28610
|
);
|
|
28584
28611
|
const plugins = swiftMacroPlugins(moduleRoot);
|
|
28585
|
-
if (plugins.stale)
|
|
28612
|
+
if (plugins.stale) {
|
|
28586
28613
|
exec("sh", [
|
|
28587
28614
|
import_node_path53.default.join(moduleRoot, "scripts/build-preview-plugin.sh"),
|
|
28588
28615
|
toolchainBin,
|
|
28589
28616
|
plugins.libraries[0]
|
|
28590
28617
|
]);
|
|
28618
|
+
import_node_fs54.default.writeFileSync(
|
|
28619
|
+
import_node_path53.default.join(import_node_path53.default.dirname(plugins.libraries[0]), "compiler-release"),
|
|
28620
|
+
`${toolchain.release}
|
|
28621
|
+
`
|
|
28622
|
+
);
|
|
28623
|
+
}
|
|
28591
28624
|
for (const target of targets)
|
|
28592
28625
|
exec(
|
|
28593
28626
|
import_node_path53.default.join(toolchainBin, "swift"),
|
|
@@ -31992,8 +32025,7 @@ function collectInstalledSwiftBridgeUnits(appRoot, units, installedNamespaces, s
|
|
|
31992
32025
|
const namespacesSeen = new Set(units.map((unit2) => unit2.namespace));
|
|
31993
32026
|
for (const packageName of Object.keys(dependencies).sort()) {
|
|
31994
32027
|
signal?.throwIfAborted();
|
|
31995
|
-
if (answeredPackages.has(packageName)
|
|
31996
|
-
continue;
|
|
32028
|
+
if (answeredPackages.has(packageName)) continue;
|
|
31997
32029
|
let pkgRoot = null;
|
|
31998
32030
|
try {
|
|
31999
32031
|
pkgRoot = import_node_fs56.default.realpathSync(
|
|
@@ -36999,7 +37031,7 @@ async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspa
|
|
|
36999
37031
|
if (typeof sourceRoot !== "string")
|
|
37000
37032
|
throw new Error("Expo autolinking entry has no path");
|
|
37001
37033
|
const canonical = import_node_fs62.default.realpathSync(sourceRoot);
|
|
37002
|
-
if (canonical.split(import_node_path61.default.sep).includes("node_modules") && answeredPackages2.has(packageName)
|
|
37034
|
+
if (canonical.split(import_node_path61.default.sep).includes("node_modules") && answeredPackages2.has(packageName))
|
|
37003
37035
|
continue;
|
|
37004
37036
|
for (const name3 of ["expo-module.config.json", "unimodule.json"]) {
|
|
37005
37037
|
const descriptor = import_node_path61.default.join(canonical, name3);
|
|
@@ -37171,6 +37203,26 @@ ${import_node_fs62.default.readFileSync(source, "utf8")}`;
|
|
|
37171
37203
|
walkFrameworks(canonical);
|
|
37172
37204
|
}
|
|
37173
37205
|
const podspec = import_node_fs62.default.existsSync(ios) ? import_node_fs62.default.readdirSync(ios).find((name3) => name3.endsWith(".podspec")) : void 0;
|
|
37206
|
+
const absentFrameworks = [];
|
|
37207
|
+
if (podspec && !installed) {
|
|
37208
|
+
const declared = [
|
|
37209
|
+
...import_node_fs62.default.readFileSync(import_node_path61.default.join(ios, podspec), "utf8").matchAll(/\bvendored_frameworks\s*=\s*(\[[^\]]*\]|'[^'\n]*'|"[^"\n]*")/g)
|
|
37210
|
+
].flatMap(
|
|
37211
|
+
([, value]) => [...value.matchAll(/'([^'\n]*)'|"([^"\n#]*)"/g)].map(
|
|
37212
|
+
(match) => match[1] ?? match[2]
|
|
37213
|
+
)
|
|
37214
|
+
);
|
|
37215
|
+
for (const entry2 of declared) {
|
|
37216
|
+
const base = import_node_path61.default.dirname(import_node_path61.default.resolve(ios, entry2));
|
|
37217
|
+
const name3 = new RegExp(
|
|
37218
|
+
`^${import_node_path61.default.basename(entry2).replace(/[.+^${}()|[\]\\]/g, "\\$&").replaceAll("*", "[^/]*")}$`
|
|
37219
|
+
);
|
|
37220
|
+
const found = import_node_fs62.default.existsSync(base) ? import_node_fs62.default.readdirSync(base).filter((child) => name3.test(child)) : [];
|
|
37221
|
+
if (found.length === 0)
|
|
37222
|
+
absentFrameworks.push(import_node_path61.default.relative(appRoot, import_node_path61.default.resolve(ios, entry2)));
|
|
37223
|
+
for (const child of found) frameworks.add(resolveSource(import_node_path61.default.join(base, child)));
|
|
37224
|
+
}
|
|
37225
|
+
}
|
|
37174
37226
|
const podspecFloor = podspec ? /\.platforms\s*=\s*\{\s*:ios\s*=>\s*['"](\d+(?:\.\d+){0,2})['"]/.exec(
|
|
37175
37227
|
import_node_fs62.default.readFileSync(import_node_path61.default.join(ios, podspec), "utf8")
|
|
37176
37228
|
)?.[1] : void 0;
|
|
@@ -37205,6 +37257,7 @@ ${import_node_fs62.default.readFileSync(source, "utf8")}`;
|
|
|
37205
37257
|
reactDelegateHandlers: module2.handler ? [module2.handler] : [],
|
|
37206
37258
|
files: closure,
|
|
37207
37259
|
frameworks: [...frameworks],
|
|
37260
|
+
...absentFrameworks.length > 0 ? { absentFrameworks } : {},
|
|
37208
37261
|
...podspecFloor ? { nativeTargets: [synthesizedNativeTarget(namespace, podspecFloor)] } : {}
|
|
37209
37262
|
};
|
|
37210
37263
|
unit2.files[EXPO_SWIFT_ENTRY] = expoEntry([unit2]);
|
|
@@ -37638,6 +37691,13 @@ async function compileExpoSwiftModulesTraced(root, base, publishArtifact, option
|
|
|
37638
37691
|
const libraries = /* @__PURE__ */ new Map();
|
|
37639
37692
|
for (const unit2 of units) {
|
|
37640
37693
|
signal.throwIfAborted();
|
|
37694
|
+
if (unit2.absentFrameworks)
|
|
37695
|
+
gaps.set(
|
|
37696
|
+
unit2,
|
|
37697
|
+
unit2.absentFrameworks.map(
|
|
37698
|
+
(declared) => `${unit2.namespace}.podspec declares vendored framework ${declared}, which is absent`
|
|
37699
|
+
)
|
|
37700
|
+
);
|
|
37641
37701
|
if (unit2.frameworks.length > 0) {
|
|
37642
37702
|
const provided = new Set(swiftPeachModules(module2.root));
|
|
37643
37703
|
const available = swiftAvailableModules(module2.root, module2.toolchainBin);
|
|
@@ -37712,10 +37772,10 @@ async function compileExpoSwiftModulesTraced(root, base, publishArtifact, option
|
|
|
37712
37772
|
)
|
|
37713
37773
|
);
|
|
37714
37774
|
generations.set(unit2, generation);
|
|
37715
|
-
gaps.set(
|
|
37716
|
-
unit2,
|
|
37717
|
-
[...built2.gaps].map(([name3, reason]) => `${name3}: no stand-in: ${reason}`)
|
|
37718
|
-
);
|
|
37775
|
+
gaps.set(unit2, [
|
|
37776
|
+
...gaps.get(unit2) ?? [],
|
|
37777
|
+
...[...built2.gaps].map(([name3, reason]) => `${name3}: no stand-in: ${reason}`)
|
|
37778
|
+
]);
|
|
37719
37779
|
unit2.files["Package.swift"] = expoManifest(
|
|
37720
37780
|
unit2.files,
|
|
37721
37781
|
generation,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1814 | (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 __defProp = Object.defineProperty;
|
|
@@ -22,7 +22,6 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
22
22
|
// src/expoSwiftContract.ts
|
|
23
23
|
var expoSwiftContract_exports = {};
|
|
24
24
|
__export(expoSwiftContract_exports, {
|
|
25
|
-
COMPILED_EXPO_NATIVE_PACKAGES: () => COMPILED_EXPO_NATIVE_PACKAGES,
|
|
26
25
|
insertExpoSwiftFooter: () => insertExpoSwiftFooter,
|
|
27
26
|
isExpoSwiftCompilationResult: () => isExpoSwiftCompilationResult,
|
|
28
27
|
readExpoSwiftFooter: () => readExpoSwiftFooter,
|
|
@@ -184,20 +183,6 @@ function isSwiftResourcePath(value) {
|
|
|
184
183
|
}
|
|
185
184
|
|
|
186
185
|
// src/expoSwiftContract.ts
|
|
187
|
-
var COMPILED_EXPO_NATIVE_PACKAGES = {
|
|
188
|
-
ios: [
|
|
189
|
-
"@rnw-community/react-native-screen-chrome",
|
|
190
|
-
"expo-app-intents",
|
|
191
|
-
"expo-battery",
|
|
192
|
-
"expo-device",
|
|
193
|
-
"expo-hinge",
|
|
194
|
-
"expo-location",
|
|
195
|
-
"expo-store-review",
|
|
196
|
-
"expo-updates",
|
|
197
|
-
"expo-web-browser"
|
|
198
|
-
],
|
|
199
|
-
android: []
|
|
200
|
-
};
|
|
201
186
|
function strings(value) {
|
|
202
187
|
return Array.isArray(value) && value.every((item) => typeof item === "string");
|
|
203
188
|
}
|
|
@@ -237,7 +222,6 @@ function insertExpoSwiftFooter(source, metadata) {
|
|
|
237
222
|
}
|
|
238
223
|
// Annotate the CommonJS export names for ESM import in node:
|
|
239
224
|
0 && (module.exports = {
|
|
240
|
-
COMPILED_EXPO_NATIVE_PACKAGES,
|
|
241
225
|
insertExpoSwiftFooter,
|
|
242
226
|
isExpoSwiftCompilationResult,
|
|
243
227
|
readExpoSwiftFooter,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1814 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
|
|
3
3
|
// src/bundleGlobalFooter.ts
|
|
4
4
|
function findBundleFooter(source, prefix) {
|
|
@@ -154,20 +154,6 @@ function isSwiftResourcePath(value) {
|
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
// src/expoSwiftContract.ts
|
|
157
|
-
var COMPILED_EXPO_NATIVE_PACKAGES = {
|
|
158
|
-
ios: [
|
|
159
|
-
"@rnw-community/react-native-screen-chrome",
|
|
160
|
-
"expo-app-intents",
|
|
161
|
-
"expo-battery",
|
|
162
|
-
"expo-device",
|
|
163
|
-
"expo-hinge",
|
|
164
|
-
"expo-location",
|
|
165
|
-
"expo-store-review",
|
|
166
|
-
"expo-updates",
|
|
167
|
-
"expo-web-browser"
|
|
168
|
-
],
|
|
169
|
-
android: []
|
|
170
|
-
};
|
|
171
157
|
function strings(value) {
|
|
172
158
|
return Array.isArray(value) && value.every((item) => typeof item === "string");
|
|
173
159
|
}
|
|
@@ -206,7 +192,6 @@ function insertExpoSwiftFooter(source, metadata) {
|
|
|
206
192
|
return insertBundleGlobalFooter(source, "__peachExpoSwift", metadata);
|
|
207
193
|
}
|
|
208
194
|
export {
|
|
209
|
-
COMPILED_EXPO_NATIVE_PACKAGES,
|
|
210
195
|
insertExpoSwiftFooter,
|
|
211
196
|
isExpoSwiftCompilationResult,
|
|
212
197
|
readExpoSwiftFooter,
|
package/dist-lib/home-paths.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1814 | (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;
|