peachsim 0.1.1918 → 0.1.1920
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/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 +71 -23
- 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 +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +68 -19
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +1 -1
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +69 -20
- package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
- 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 +3 -3
- 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 +3 -3
- package/dist-lib/native-app-identity-project.cjs +3 -3
- package/dist-lib/native-app-identity-project.mjs +3 -3
- 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 +53 -53
- 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 +71 -23
- package/dist-lib/swift-compile.cjs +28 -10
- package/dist-lib/swift-compile.mjs +28 -10
- package/dist-lib/swift-package.cjs +4 -1
- package/dist-lib/swift-package.mjs +3 -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 +67 -18
- package/dist-lib/vite.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/package.json +1 -1
- package/src/expo-swift-host.ts +6 -6
- package/src/swift-compile.ts +29 -5
- package/src/swift-guest-link.ts +3 -3
- package/src/swift-host.ts +54 -9
- package/src/swift-installed-targets.ts +1 -1
- package/src/swift-package.ts +3 -0
- package/src/swift-standins.ts +0 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1920 | (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.1920 | (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.1920 | (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.1920 | (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.1920 | (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/beta.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1920 | (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/beta.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1920 | (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.1920 | (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.1920 | (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.1920 | (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": "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": "
|
|
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": "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": "450ee02b48bcdbbacbb4e94cd161308f1dac1bdb540ed5033c2433f717f738d2", "home-paths.ts": "744d0e29fcc4baae6748161da45dd75e357348703331dad685c74ec813abcc83", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "c126efdce870c1953833ec9c32d66b15bbe422ab2a31b7531be3e278edbc9737", "xcode-target-members.ts": "75a23a5fc54cc6f5e952d545f2f0f86241ff36525ab4e568c172e83c3bfb9da4", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
|
|
@@ -14241,7 +14241,7 @@ function swiftPackagePartition(manifest, resourcePaths = []) {
|
|
|
14241
14241
|
const targets = swiftManifestTargets(manifest, resourcePaths);
|
|
14242
14242
|
return targets.length === 1 && targets[0].executable && targets[0].path === "." && targets[0].languageMode === 5 && !targets[0].iosDeploymentTarget && !targets[0].mainActorIsolation && !targets[0].defines?.length && !targets[0].experimentalFeatures?.length && !targets[0].upcomingFeatures?.length && !targets[0].swiftFlags?.length && !targets[0].linkedLibraries?.length && !targets[0].cxxInterop && !swiftManifestCxxLanguageStandard(manifest) ? [] : targets;
|
|
14243
14243
|
}
|
|
14244
|
-
var MANIFEST_DECLARATIONS, SWIFT_NATIVE_TRANSLATION_UNIT_EXTENSIONS, SWIFT_NATIVE_SOURCE_EXTENSIONS, withoutGlogModuleMap, swiftEscapes, unsafeFlagsOpen, OBJC_RESOURCE_ACCESSOR_HEADER, OBJC_RESOURCE_ACCESSOR_BODY;
|
|
14244
|
+
var MANIFEST_DECLARATIONS, SWIFT_NATIVE_TRANSLATION_UNIT_EXTENSIONS, SWIFT_STANDINS_DIR, SWIFT_NATIVE_SOURCE_EXTENSIONS, withoutGlogModuleMap, swiftEscapes, unsafeFlagsOpen, OBJC_RESOURCE_ACCESSOR_HEADER, OBJC_RESOURCE_ACCESSOR_BODY;
|
|
14245
14245
|
var init_swift_package = __esm({
|
|
14246
14246
|
"src/swift-package.ts"() {
|
|
14247
14247
|
"use strict";
|
|
@@ -14266,6 +14266,7 @@ var init_swift_package = __esm({
|
|
|
14266
14266
|
".m",
|
|
14267
14267
|
".mm"
|
|
14268
14268
|
];
|
|
14269
|
+
SWIFT_STANDINS_DIR = "__standins__";
|
|
14269
14270
|
SWIFT_NATIVE_SOURCE_EXTENSIONS = [
|
|
14270
14271
|
...SWIFT_NATIVE_TRANSLATION_UNIT_EXTENSIONS,
|
|
14271
14272
|
".s",
|
|
@@ -25677,7 +25678,7 @@ function linkGuestImages(options) {
|
|
|
25677
25678
|
);
|
|
25678
25679
|
const output2 = import_node_fs36.default.openSync(trace, "w");
|
|
25679
25680
|
try {
|
|
25680
|
-
(0, import_node_child_process18.execFileSync)(wasmLd, [`@${response}`], { stdio: ["ignore", output2, "
|
|
25681
|
+
(0, import_node_child_process18.execFileSync)(wasmLd, [`@${response}`], { stdio: ["ignore", output2, "pipe"] });
|
|
25681
25682
|
} finally {
|
|
25682
25683
|
import_node_fs36.default.closeSync(output2);
|
|
25683
25684
|
}
|
|
@@ -26049,7 +26050,7 @@ function discoverGuestLinkInputs(options) {
|
|
|
26049
26050
|
const traceOutput = import_node_fs36.default.openSync(trace, "w");
|
|
26050
26051
|
try {
|
|
26051
26052
|
(0, import_node_child_process18.execFileSync)(options.wasmLd, [`@${response}`], {
|
|
26052
|
-
stdio: ["ignore", traceOutput, "
|
|
26053
|
+
stdio: ["ignore", traceOutput, "pipe"]
|
|
26053
26054
|
});
|
|
26054
26055
|
} finally {
|
|
26055
26056
|
import_node_fs36.default.closeSync(traceOutput);
|
|
@@ -26204,7 +26205,7 @@ function verifyGuestSymbolScopes(options) {
|
|
|
26204
26205
|
const traceOutput = import_node_fs36.default.openSync(tracePath, "w");
|
|
26205
26206
|
try {
|
|
26206
26207
|
(0, import_node_child_process18.execFileSync)(options.wasmLd, [`@${response}`], {
|
|
26207
|
-
stdio: ["ignore", traceOutput, "
|
|
26208
|
+
stdio: ["ignore", traceOutput, "pipe"]
|
|
26208
26209
|
});
|
|
26209
26210
|
} finally {
|
|
26210
26211
|
import_node_fs36.default.closeSync(traceOutput);
|
|
@@ -28782,8 +28783,12 @@ function providedModulesPath(root, modules, excluded) {
|
|
|
28782
28783
|
return directory2;
|
|
28783
28784
|
}
|
|
28784
28785
|
function swiftTargetDependencies(files2, targets, frameworks = OPTIONAL_FRAMEWORKS) {
|
|
28785
|
-
const localNames = new Set(
|
|
28786
|
-
|
|
28786
|
+
const localNames = new Set(
|
|
28787
|
+
targets.flatMap(
|
|
28788
|
+
(target) => target.path.startsWith(`${SWIFT_STANDINS_DIR}/`) ? [] : [target.name]
|
|
28789
|
+
)
|
|
28790
|
+
);
|
|
28791
|
+
const names = /* @__PURE__ */ new Set([...frameworks, ...targets.map((target) => target.name)]);
|
|
28787
28792
|
const siblings = /* @__PURE__ */ new Map();
|
|
28788
28793
|
for (const target of targets) {
|
|
28789
28794
|
const prefix = target.path === "." ? "" : `${target.path}/`;
|
|
@@ -30617,7 +30622,15 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
30617
30622
|
allowExisting: true
|
|
30618
30623
|
}
|
|
30619
30624
|
);
|
|
30620
|
-
const
|
|
30625
|
+
const stagedDir = import_node_path44.default.posix.dirname(file);
|
|
30626
|
+
const quoteDirs = [
|
|
30627
|
+
...stagedDir !== "." ? [stagedDir] : [],
|
|
30628
|
+
...origin && origin !== stagedDir ? [origin] : []
|
|
30629
|
+
];
|
|
30630
|
+
const quoteFlags = quoteDirs.flatMap((dir) => [
|
|
30631
|
+
"-iquote",
|
|
30632
|
+
import_node_path44.default.join(layout2.root, dir)
|
|
30633
|
+
]);
|
|
30621
30634
|
const perFile = [
|
|
30622
30635
|
...file.endsWith(".c") && swiftWholeFileArm64Guard(contents) ? ["-D__arm64__=1"] : [],
|
|
30623
30636
|
.../\.mm?$/.test(file) ? ["-fobjc-exceptions"] : [],
|
|
@@ -31366,6 +31379,9 @@ module ${moduleName2}.Swift {
|
|
|
31366
31379
|
...producers.filter((name3) => !included.has(name3))
|
|
31367
31380
|
])
|
|
31368
31381
|
],
|
|
31382
|
+
emittedHeaderProducers: [
|
|
31383
|
+
.../* @__PURE__ */ new Set([...Object.keys(nativeHeaderDeclarations), ...producers])
|
|
31384
|
+
],
|
|
31369
31385
|
nativeHeaderDeclarations,
|
|
31370
31386
|
headerProductTarget,
|
|
31371
31387
|
targetFailures,
|
|
@@ -32281,7 +32297,9 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
32281
32297
|
SWIFTPM_PROGRESS,
|
|
32282
32298
|
SWIFTPM_NOISE
|
|
32283
32299
|
);
|
|
32284
|
-
for (const producer of build === preparation.headerProductTarget ? preparation.
|
|
32300
|
+
for (const producer of build === preparation.headerProductTarget ? preparation.emittedHeaderProducers : preparation.emittedHeaderProducers.filter(
|
|
32301
|
+
(candidate) => candidate === build || !preparation.headerProducers.includes(candidate)
|
|
32302
|
+
)) {
|
|
32285
32303
|
const emitted = import_node_path44.default.join(
|
|
32286
32304
|
root,
|
|
32287
32305
|
".build",
|
|
@@ -32472,7 +32490,7 @@ var init_swift_compile = __esm({
|
|
|
32472
32490
|
BUILD_JOBS = String(SWIFT_BUILD_JOBS);
|
|
32473
32491
|
SWIFT_BUILDER_TRANSPORT_MARGIN_MS = 3e5;
|
|
32474
32492
|
SWIFT_BUILDER_DEFAULT_COMPILE_MS = 18e5;
|
|
32475
|
-
clangInterfaceHeader = (header) => header.replace(/^@import (?:UIKitCore|UIKitText);$/gm, "@import UIKit;").replace(/^@import CoreFoundation;$/gm, "@import Foundation;").replace(/\b_TtC10Foundation\d+(NS\w+)\b/g, "$1");
|
|
32493
|
+
clangInterfaceHeader = (header) => header.replace(/^@import (?:UIKitCore|UIKitText);$/gm, "@import UIKit;").replace(/^@import CoreFoundation;$/gm, "@import Foundation;").replace(/\b_TtC10Foundation\d+(NS\w+)\b/g, "$1").replace(/\b__attribute__\(\(objc_subclassing_restricted\)\)\s*/g, "");
|
|
32476
32494
|
swiftInterfaceDeclarations = (header) => /* @__PURE__ */ new Set([
|
|
32477
32495
|
...[
|
|
32478
32496
|
...header.matchAll(
|
|
@@ -32595,7 +32613,7 @@ var init_swift_compile = __esm({
|
|
|
32595
32613
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
32596
32614
|
MULTI_MANIFEST_VERSION = 66;
|
|
32597
32615
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
32598
|
-
compilerSourceDigest = true ? "
|
|
32616
|
+
compilerSourceDigest = true ? "e0f99d38b4422622101a49acffd939440548c5e58e5bb4d73930126572c11683" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
32599
32617
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
32600
32618
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
32601
32619
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -38383,7 +38401,7 @@ var init_swift_standin_digest = __esm({
|
|
|
38383
38401
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
38384
38402
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
38385
38403
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
38386
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
38404
|
+
STANDIN_SOURCE_DIGEST = true ? "dd0f39366da15dd9d36186cc0427ce01492a37915ffe39f624ebda75d4f545a1" : standinSourceDigest();
|
|
38387
38405
|
}
|
|
38388
38406
|
});
|
|
38389
38407
|
|
|
@@ -38873,7 +38891,7 @@ var init_expo_native_prebuilt = __esm({
|
|
|
38873
38891
|
init_swift_native_pin();
|
|
38874
38892
|
init_xcode_project();
|
|
38875
38893
|
EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
38876
|
-
EXPO_NATIVE_COMPILER_DIGEST = true ? "
|
|
38894
|
+
EXPO_NATIVE_COMPILER_DIGEST = true ? "2770fd2a3c2cea31988c749e7a29351f8392e488475b055ae04342db4226787a" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
38877
38895
|
IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
38878
38896
|
expoNativeEntryUrl = (key2, file) => `${NATIVE_PREBUILT_ORIGIN}/${nativeEntryPrefix("expo", EXPO_NATIVE_ENTRY_NAME, key2)}/${file}`;
|
|
38879
38897
|
isStringRecord = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
|
|
@@ -42504,7 +42522,7 @@ async function swiftStandins(binaries, toolchain, provided = /* @__PURE__ */ new
|
|
|
42504
42522
|
import_node_fs70.default.rmSync(modules, { recursive: true, force: true });
|
|
42505
42523
|
}
|
|
42506
42524
|
}
|
|
42507
|
-
var import_node_child_process36, import_node_crypto36, import_node_fs70, import_node_path68, TRIPLE, cacheDir4,
|
|
42525
|
+
var import_node_child_process36, import_node_crypto36, import_node_fs70, import_node_path68, TRIPLE, cacheDir4, key, digests, isBinaryLibraryFile, REACH_STAGED_FRAMEWORKS, OBJC_IMPORT, files, OBJC, OBJC_ATTRIBUTE, TYPE_DECLARATION, OPTIONAL_REQUIREMENT, WASM_EH_FLAGS, OBJC_UNREPRESENTABLE, INERT_VALUE, identChar, RUST_TARGET, UNSEARCHED, RUST_TOOLCHAIN, built;
|
|
42508
42526
|
var init_swift_standins = __esm({
|
|
42509
42527
|
"src/swift-standins.ts"() {
|
|
42510
42528
|
"use strict";
|
|
@@ -42530,7 +42548,6 @@ var init_swift_standins = __esm({
|
|
|
42530
42548
|
init_swift_xcframework();
|
|
42531
42549
|
TRIPLE = "wasm32-unknown-wasip1";
|
|
42532
42550
|
cacheDir4 = import_node_path68.default.join(cacheDir(), "swift-standins");
|
|
42533
|
-
SWIFT_STANDINS_DIR = "__standins__";
|
|
42534
42551
|
key = (...parts) => (0, import_node_crypto36.createHash)("sha256").update(parts.join("\0")).digest("hex").slice(0, 32);
|
|
42535
42552
|
digests = /* @__PURE__ */ new Map();
|
|
42536
42553
|
isBinaryLibraryFile = (file) => /\.(?:a|dylib|o|tbd)$/i.test(file);
|
|
@@ -47019,12 +47036,44 @@ async function buildXcodeLayout(root) {
|
|
|
47019
47036
|
for (const framework of app.frameworks) {
|
|
47020
47037
|
const target = targets.find((target2) => target2.name === frameworkNames.get(framework));
|
|
47021
47038
|
if (!target) continue;
|
|
47022
|
-
|
|
47023
|
-
|
|
47024
|
-
|
|
47025
|
-
|
|
47039
|
+
const productLinks = packages.sourceLinks.owners.find((owner) => owner.module === framework.moduleName)?.products ?? [];
|
|
47040
|
+
target.dependencies = [
|
|
47041
|
+
...framework.targetDependencies.flatMap(
|
|
47042
|
+
(identity2) => app.frameworks.filter((dependency) => dependency.targetIdentity === identity2).flatMap((dependency) => {
|
|
47043
|
+
const name3 = frameworkNames.get(dependency);
|
|
47044
|
+
return name3 ? [{ kind: "target", name: name3 }] : [];
|
|
47045
|
+
})
|
|
47046
|
+
),
|
|
47047
|
+
...productLinks.flatMap(({ target: productId }) => {
|
|
47048
|
+
const product = packages.sourceLinks.targets.find((item) => item.id === productId);
|
|
47049
|
+
return (product?.dependencies ?? []).flatMap(({ target: targetId }) => {
|
|
47050
|
+
const item = packages.sourceLinks.targets.find((node) => node.id === targetId);
|
|
47051
|
+
if (!item) return [];
|
|
47052
|
+
if (item.sourceTarget)
|
|
47053
|
+
return [
|
|
47054
|
+
{ kind: "target", name: item.sourceTarget }
|
|
47055
|
+
];
|
|
47056
|
+
return item.productType === "swiftpm.target.binary" ? standins.filter((standin) => standin.target === item.productName).map(
|
|
47057
|
+
(standin) => ({
|
|
47058
|
+
kind: "target",
|
|
47059
|
+
name: standin.module
|
|
47060
|
+
})
|
|
47061
|
+
) : [];
|
|
47062
|
+
});
|
|
47063
|
+
}),
|
|
47064
|
+
...(framework.packageProducts ?? []).flatMap(({ product, source }) => {
|
|
47065
|
+
const native = packages.nativeProducts.find(
|
|
47066
|
+
({ name: name3, source: origin }) => name3 === product && (source.kind === "unnamed" || origin === (source.kind === "remote" ? source.url : import_node_path74.default.resolve(source.dir)))
|
|
47067
|
+
);
|
|
47068
|
+
return native ? [
|
|
47069
|
+
{
|
|
47070
|
+
kind: "product",
|
|
47071
|
+
name: native.name,
|
|
47072
|
+
package: native.packageDir
|
|
47073
|
+
}
|
|
47074
|
+
] : [];
|
|
47026
47075
|
})
|
|
47027
|
-
|
|
47076
|
+
];
|
|
47028
47077
|
}
|
|
47029
47078
|
const packagePaths = /* @__PURE__ */ new Map();
|
|
47030
47079
|
const packageFiles2 = /* @__PURE__ */ new Map();
|
|
@@ -55221,7 +55270,6 @@ var init_swift_installed_targets = __esm({
|
|
|
55221
55270
|
import_node_path81 = __toESM(require("node:path"), 1);
|
|
55222
55271
|
init_swift_package();
|
|
55223
55272
|
init_swift_source_file();
|
|
55224
|
-
init_swift_standins();
|
|
55225
55273
|
}
|
|
55226
55274
|
});
|
|
55227
55275
|
|
|
@@ -56043,7 +56091,7 @@ var init_nitro_superset = __esm({
|
|
|
56043
56091
|
init_swift_standin_digest();
|
|
56044
56092
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
56045
56093
|
packageVersion = (root) => JSON.parse((0, import_node_fs86.readFileSync)((0, import_node_path84.join)(root, "package.json"), "utf8")).version;
|
|
56046
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
56094
|
+
NITRO_COMPILER_DIGEST = true ? "5b708634746d517534c51042c6f7dcbc5bc5144e433a3c1de5ccc8e3cb1313d5" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
56047
56095
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
56048
56096
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
56049
56097
|
published2 = /* @__PURE__ */ new Map();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1920 | (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.1920 | (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.1920 | (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.1920 | (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.1920 | (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.1920 | (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.1920 | (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.1920 | (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.1920 | (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": "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": "
|
|
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": "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": "450ee02b48bcdbbacbb4e94cd161308f1dac1bdb540ed5033c2433f717f738d2", "home-paths.ts": "744d0e29fcc4baae6748161da45dd75e357348703331dad685c74ec813abcc83", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "c126efdce870c1953833ec9c32d66b15bbe422ab2a31b7531be3e278edbc9737", "xcode-target-members.ts": "75a23a5fc54cc6f5e952d545f2f0f86241ff36525ab4e568c172e83c3bfb9da4", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
|
|
@@ -7326,6 +7326,7 @@ function isSwiftNativeTranslationUnit(file) {
|
|
|
7326
7326
|
(extension) => file.endsWith(extension)
|
|
7327
7327
|
);
|
|
7328
7328
|
}
|
|
7329
|
+
var SWIFT_STANDINS_DIR = "__standins__";
|
|
7329
7330
|
var SWIFT_NATIVE_SOURCE_EXTENSIONS = [
|
|
7330
7331
|
...SWIFT_NATIVE_TRANSLATION_UNIT_EXTENSIONS,
|
|
7331
7332
|
".s",
|
|
@@ -18961,7 +18962,7 @@ function linkGuestImages(options) {
|
|
|
18961
18962
|
);
|
|
18962
18963
|
const output2 = import_node_fs33.default.openSync(trace, "w");
|
|
18963
18964
|
try {
|
|
18964
|
-
(0, import_node_child_process18.execFileSync)(wasmLd, [`@${response}`], { stdio: ["ignore", output2, "
|
|
18965
|
+
(0, import_node_child_process18.execFileSync)(wasmLd, [`@${response}`], { stdio: ["ignore", output2, "pipe"] });
|
|
18965
18966
|
} finally {
|
|
18966
18967
|
import_node_fs33.default.closeSync(output2);
|
|
18967
18968
|
}
|
|
@@ -19333,7 +19334,7 @@ function discoverGuestLinkInputs(options) {
|
|
|
19333
19334
|
const traceOutput = import_node_fs33.default.openSync(trace, "w");
|
|
19334
19335
|
try {
|
|
19335
19336
|
(0, import_node_child_process18.execFileSync)(options.wasmLd, [`@${response}`], {
|
|
19336
|
-
stdio: ["ignore", traceOutput, "
|
|
19337
|
+
stdio: ["ignore", traceOutput, "pipe"]
|
|
19337
19338
|
});
|
|
19338
19339
|
} finally {
|
|
19339
19340
|
import_node_fs33.default.closeSync(traceOutput);
|
|
@@ -19488,7 +19489,7 @@ function verifyGuestSymbolScopes(options) {
|
|
|
19488
19489
|
const traceOutput = import_node_fs33.default.openSync(tracePath, "w");
|
|
19489
19490
|
try {
|
|
19490
19491
|
(0, import_node_child_process18.execFileSync)(options.wasmLd, [`@${response}`], {
|
|
19491
|
-
stdio: ["ignore", traceOutput, "
|
|
19492
|
+
stdio: ["ignore", traceOutput, "pipe"]
|
|
19492
19493
|
});
|
|
19493
19494
|
} finally {
|
|
19494
19495
|
import_node_fs33.default.closeSync(traceOutput);
|
|
@@ -21374,7 +21375,7 @@ function swiftModuleInterface(moduleRoot, name3, interfaceRoot) {
|
|
|
21374
21375
|
if (declared.size === 0) return null;
|
|
21375
21376
|
return { declared, header: clangInterfaceHeader((0, import_node_fs43.readFileSync)(built2, "utf8")) };
|
|
21376
21377
|
}
|
|
21377
|
-
var clangInterfaceHeader = (header) => header.replace(/^@import (?:UIKitCore|UIKitText);$/gm, "@import UIKit;").replace(/^@import CoreFoundation;$/gm, "@import Foundation;").replace(/\b_TtC10Foundation\d+(NS\w+)\b/g, "$1");
|
|
21378
|
+
var clangInterfaceHeader = (header) => header.replace(/^@import (?:UIKitCore|UIKitText);$/gm, "@import UIKit;").replace(/^@import CoreFoundation;$/gm, "@import Foundation;").replace(/\b_TtC10Foundation\d+(NS\w+)\b/g, "$1").replace(/\b__attribute__\(\(objc_subclassing_restricted\)\)\s*/g, "");
|
|
21378
21379
|
var swiftInterfaceDeclarations = (header) => /* @__PURE__ */ new Set([
|
|
21379
21380
|
...[
|
|
21380
21381
|
...header.matchAll(
|
|
@@ -22048,8 +22049,12 @@ function providedModulesPath(root, modules, excluded) {
|
|
|
22048
22049
|
return directory;
|
|
22049
22050
|
}
|
|
22050
22051
|
function swiftTargetDependencies(files2, targets, frameworks = OPTIONAL_FRAMEWORKS) {
|
|
22051
|
-
const localNames = new Set(
|
|
22052
|
-
|
|
22052
|
+
const localNames = new Set(
|
|
22053
|
+
targets.flatMap(
|
|
22054
|
+
(target) => target.path.startsWith(`${SWIFT_STANDINS_DIR}/`) ? [] : [target.name]
|
|
22055
|
+
)
|
|
22056
|
+
);
|
|
22057
|
+
const names = /* @__PURE__ */ new Set([...frameworks, ...targets.map((target) => target.name)]);
|
|
22053
22058
|
const siblings = /* @__PURE__ */ new Map();
|
|
22054
22059
|
for (const target of targets) {
|
|
22055
22060
|
const prefix = target.path === "." ? "" : `${target.path}/`;
|
|
@@ -22119,7 +22124,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
22119
22124
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
22120
22125
|
var MULTI_MANIFEST_VERSION = 66;
|
|
22121
22126
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
22122
|
-
var compilerSourceDigest = true ? "
|
|
22127
|
+
var compilerSourceDigest = true ? "e0f99d38b4422622101a49acffd939440548c5e58e5bb4d73930126572c11683" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
22123
22128
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
22124
22129
|
const hash = (0, import_node_crypto17.createHash)("sha256");
|
|
22125
22130
|
hash.update(`swift-compile
|
|
@@ -24587,7 +24592,15 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
24587
24592
|
allowExisting: true
|
|
24588
24593
|
}
|
|
24589
24594
|
);
|
|
24590
|
-
const
|
|
24595
|
+
const stagedDir = import_node_path40.default.posix.dirname(file);
|
|
24596
|
+
const quoteDirs = [
|
|
24597
|
+
...stagedDir !== "." ? [stagedDir] : [],
|
|
24598
|
+
...origin && origin !== stagedDir ? [origin] : []
|
|
24599
|
+
];
|
|
24600
|
+
const quoteFlags = quoteDirs.flatMap((dir) => [
|
|
24601
|
+
"-iquote",
|
|
24602
|
+
import_node_path40.default.join(layout2.root, dir)
|
|
24603
|
+
]);
|
|
24591
24604
|
const perFile = [
|
|
24592
24605
|
...file.endsWith(".c") && swiftWholeFileArm64Guard(contents) ? ["-D__arm64__=1"] : [],
|
|
24593
24606
|
.../\.mm?$/.test(file) ? ["-fobjc-exceptions"] : [],
|
|
@@ -25336,6 +25349,9 @@ module ${moduleName}.Swift {
|
|
|
25336
25349
|
...producers.filter((name3) => !included.has(name3))
|
|
25337
25350
|
])
|
|
25338
25351
|
],
|
|
25352
|
+
emittedHeaderProducers: [
|
|
25353
|
+
.../* @__PURE__ */ new Set([...Object.keys(nativeHeaderDeclarations), ...producers])
|
|
25354
|
+
],
|
|
25339
25355
|
nativeHeaderDeclarations,
|
|
25340
25356
|
headerProductTarget,
|
|
25341
25357
|
targetFailures,
|
|
@@ -26262,7 +26278,9 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
26262
26278
|
SWIFTPM_PROGRESS,
|
|
26263
26279
|
SWIFTPM_NOISE
|
|
26264
26280
|
);
|
|
26265
|
-
for (const producer of build === preparation.headerProductTarget ? preparation.
|
|
26281
|
+
for (const producer of build === preparation.headerProductTarget ? preparation.emittedHeaderProducers : preparation.emittedHeaderProducers.filter(
|
|
26282
|
+
(candidate) => candidate === build || !preparation.headerProducers.includes(candidate)
|
|
26283
|
+
)) {
|
|
26266
26284
|
const emitted = import_node_path40.default.join(
|
|
26267
26285
|
root,
|
|
26268
26286
|
".build",
|
|
@@ -31028,7 +31046,7 @@ function sourceClosureDigest(srcDir, entrypoints) {
|
|
|
31028
31046
|
return hash.digest("hex");
|
|
31029
31047
|
}
|
|
31030
31048
|
var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
31031
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
31049
|
+
var STANDIN_SOURCE_DIGEST = true ? "dd0f39366da15dd9d36186cc0427ce01492a37915ffe39f624ebda75d4f545a1" : standinSourceDigest();
|
|
31032
31050
|
|
|
31033
31051
|
// src/expoSwiftContract.ts
|
|
31034
31052
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -31358,7 +31376,7 @@ async function packageTreeDigest(root) {
|
|
|
31358
31376
|
|
|
31359
31377
|
// src/expo-native-prebuilt.ts
|
|
31360
31378
|
var EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
31361
|
-
var EXPO_NATIVE_COMPILER_DIGEST = true ? "
|
|
31379
|
+
var EXPO_NATIVE_COMPILER_DIGEST = true ? "2770fd2a3c2cea31988c749e7a29351f8392e488475b055ae04342db4226787a" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
31362
31380
|
var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
31363
31381
|
function readSources(value) {
|
|
31364
31382
|
const sources = isRecord(value) ? value.sources : null;
|
|
@@ -33055,7 +33073,6 @@ async function emitCxxStandin(input) {
|
|
|
33055
33073
|
// src/swift-standins.ts
|
|
33056
33074
|
var TRIPLE = "wasm32-unknown-wasip1";
|
|
33057
33075
|
var cacheDir4 = import_node_path63.default.join(cacheDir(), "swift-standins");
|
|
33058
|
-
var SWIFT_STANDINS_DIR = "__standins__";
|
|
33059
33076
|
function exec(file, args, cwd) {
|
|
33060
33077
|
return (0, import_node_child_process36.execFileSync)(file, args, {
|
|
33061
33078
|
cwd,
|
|
@@ -39507,12 +39524,44 @@ async function buildXcodeLayout(root) {
|
|
|
39507
39524
|
for (const framework of app.frameworks) {
|
|
39508
39525
|
const target = targets.find((target2) => target2.name === frameworkNames.get(framework));
|
|
39509
39526
|
if (!target) continue;
|
|
39510
|
-
|
|
39511
|
-
|
|
39512
|
-
|
|
39513
|
-
|
|
39527
|
+
const productLinks = packages.sourceLinks.owners.find((owner) => owner.module === framework.moduleName)?.products ?? [];
|
|
39528
|
+
target.dependencies = [
|
|
39529
|
+
...framework.targetDependencies.flatMap(
|
|
39530
|
+
(identity2) => app.frameworks.filter((dependency) => dependency.targetIdentity === identity2).flatMap((dependency) => {
|
|
39531
|
+
const name3 = frameworkNames.get(dependency);
|
|
39532
|
+
return name3 ? [{ kind: "target", name: name3 }] : [];
|
|
39533
|
+
})
|
|
39534
|
+
),
|
|
39535
|
+
...productLinks.flatMap(({ target: productId }) => {
|
|
39536
|
+
const product = packages.sourceLinks.targets.find((item) => item.id === productId);
|
|
39537
|
+
return (product?.dependencies ?? []).flatMap(({ target: targetId }) => {
|
|
39538
|
+
const item = packages.sourceLinks.targets.find((node) => node.id === targetId);
|
|
39539
|
+
if (!item) return [];
|
|
39540
|
+
if (item.sourceTarget)
|
|
39541
|
+
return [
|
|
39542
|
+
{ kind: "target", name: item.sourceTarget }
|
|
39543
|
+
];
|
|
39544
|
+
return item.productType === "swiftpm.target.binary" ? standins.filter((standin) => standin.target === item.productName).map(
|
|
39545
|
+
(standin) => ({
|
|
39546
|
+
kind: "target",
|
|
39547
|
+
name: standin.module
|
|
39548
|
+
})
|
|
39549
|
+
) : [];
|
|
39550
|
+
});
|
|
39551
|
+
}),
|
|
39552
|
+
...(framework.packageProducts ?? []).flatMap(({ product, source }) => {
|
|
39553
|
+
const native = packages.nativeProducts.find(
|
|
39554
|
+
({ name: name3, source: origin }) => name3 === product && (source.kind === "unnamed" || origin === (source.kind === "remote" ? source.url : import_node_path69.default.resolve(source.dir)))
|
|
39555
|
+
);
|
|
39556
|
+
return native ? [
|
|
39557
|
+
{
|
|
39558
|
+
kind: "product",
|
|
39559
|
+
name: native.name,
|
|
39560
|
+
package: native.packageDir
|
|
39561
|
+
}
|
|
39562
|
+
] : [];
|
|
39514
39563
|
})
|
|
39515
|
-
|
|
39564
|
+
];
|
|
39516
39565
|
}
|
|
39517
39566
|
const packagePaths = /* @__PURE__ */ new Map();
|
|
39518
39567
|
const packageFiles2 = /* @__PURE__ */ new Map();
|