peachsim 0.1.2711 → 0.1.2714
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 +2 -2
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +5 -5
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +3 -3
- package/dist-lib/bundle-channel.cjs +23 -11
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +3 -3
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +3 -3
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +2 -2
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +7 -7
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +5 -5
- package/dist-lib/detox/index.cjs +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/esm-chunks/{acorn-OCBLCN5A.mjs → acorn-TAGZKKPN.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-GYXLTVP3.mjs → chunk-2QYRTHQP.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-W4QBCRN7.mjs → chunk-4SU7JTJS.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-EJBMMUQZ.mjs → chunk-BR2PYE5N.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-WIO4Q5IV.mjs → chunk-CKU4NQB2.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-P2GPXTIA.mjs → chunk-EMKWPJVR.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-645SJNE4.mjs → chunk-ETSMUW5U.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-CHM4X2XL.mjs → chunk-GD26AARB.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-DT4OBZQI.mjs → chunk-GUMPVA6V.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-T7EMVIBK.mjs → chunk-MJB7SUF2.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-TEQHJTAW.mjs → chunk-NQ7FRPK3.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-AHSRJL6E.mjs → chunk-NVCJKK6H.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-P7P6MWTQ.mjs → chunk-RI7P4GEH.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-S5PU3UTN.mjs → chunk-RYIZ6PB4.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-PFJIZOON.mjs → chunk-TEM5FDKE.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-HSU3NWS6.mjs → chunk-UOPIXOP4.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-PPIBF6M6.mjs → chunk-VAMKVAQL.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-6XH52S43.mjs → chunk-VOJUTKPC.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-ITBMRYX2.mjs → chunk-WCIRPGNB.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-E3KN5AY3.mjs → chunk-WE2YEKGX.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-4DLWHVVR.mjs → chunk-X7JPMC6T.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-Q4BKA6LM.mjs → chunk-XMFLJLRS.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-ZMKDMT5R.mjs → chunk-Z3UKTJL5.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-Z2NUVVDF.mjs → chunk-Z4PR422D.mjs} +33 -21
- package/dist-lib/esm-chunks/{chunk-DGCQVJB4.mjs → chunk-ZOBAZFDN.mjs} +4 -4
- package/dist-lib/esm-chunks/{metro-layout-parser-SXZNEYPN.mjs → metro-layout-parser-HHB5DEEE.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-Q6FIEQ55.mjs → swift-package-prebuilt-Y6WQSXES.mjs} +12 -12
- package/dist-lib/esm-chunks/{swift-sdk-app-module-53LJECGH.mjs → swift-sdk-app-module-CYLPUQC2.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-ZWDGO7VP.mjs → swift-sdk-image-VSY6EQS7.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-DVBWUBIR.mjs → swift-sdk-image-producer-POJBJX6E.mjs} +5 -5
- package/dist-lib/expo-swift-bundle.cjs +23 -11
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +7 -7
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +23 -11
- package/dist-lib/host/fetch-proxy-handler.cjs +3 -3
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +2 -2
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +3 -3
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +3 -3
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +4 -4
- package/dist-lib/native-app-identity-project.cjs +1 -1
- package/dist-lib/native-app-identity-project.mjs +15 -15
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +6 -6
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +3 -3
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +2 -2
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +3 -3
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +85 -85
- package/dist-lib/public-origins-lib.json +64 -64
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +2 -2
- 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 +8 -8
- package/dist-lib/skills.cjs +23 -11
- package/dist-lib/swift-compile.cjs +20 -8
- package/dist-lib/swift-compile.mjs +12 -12
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +3 -3
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +6 -6
- package/dist-lib/swift-svg-raster.cjs +1 -1
- package/dist-lib/swift-svg-raster.mjs +2 -2
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
- package/dist-lib/vendor/acorn.cjs +1 -1
- package/dist-lib/vendor/magic-string.cjs +1 -1
- package/dist-lib/vendor/stream-json.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
- package/dist-lib/vendor/sucrase.cjs +1 -1
- package/dist-lib/vendor/terser.cjs +1 -1
- package/dist-lib/vendor/valibot.cjs +1 -1
- package/dist-lib/vendor/ws.cjs +1 -1
- package/dist-lib/vendor/zod.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +3 -3
- package/dist-types/packages/peach-engine/src/engine/native-image-pipeline.d.ts +1 -1
- package/package.json +1 -1
- package/src/swift-compile.ts +2 -2
- package/src/swift-guest-compile.ts +14 -2
- package/src/swift-sdk-image-recipe.ts +1 -1
- package/src/swiftSdkLinkContract.ts +1 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2714 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
LAUNCH_METADATA_KEYS,
|
|
4
4
|
LAUNCH_METADATA_KEYS_PATH
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-GUMPVA6V.mjs";
|
|
6
6
|
import {
|
|
7
7
|
cacheDir,
|
|
8
8
|
parseSwiftDistributionLock,
|
|
9
9
|
readActiveRuntime,
|
|
10
10
|
runtimeDir
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-GD26AARB.mjs";
|
|
12
12
|
import {
|
|
13
13
|
SWIFT_WASM_TRIPLE,
|
|
14
14
|
registerSwiftHostCompiler
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-WCIRPGNB.mjs";
|
|
16
16
|
import {
|
|
17
17
|
isRecord
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ETSMUW5U.mjs";
|
|
19
19
|
|
|
20
20
|
// src/swift-distribution.ts
|
|
21
21
|
import { execFile as execFile2 } from "node:child_process";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2714 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
acquireSwiftRootReadHold,
|
|
4
4
|
hasLiveSwiftRootReaders,
|
|
5
5
|
retainSwiftRootReadHold,
|
|
6
6
|
withSwiftRootLock
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-BR2PYE5N.mjs";
|
|
8
8
|
import {
|
|
9
9
|
CORE_FOUNDATION_OVERLAY_GLOBALS,
|
|
10
10
|
NATIVE_GRAPH_SDK_VERSION,
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
withoutImportedSdkEnumForwards,
|
|
56
56
|
withoutSwiftDeclarations,
|
|
57
57
|
writeBuildFile
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-GD26AARB.mjs";
|
|
59
59
|
import {
|
|
60
60
|
SWIFT_AUTOLINK_LINKER,
|
|
61
61
|
SWIFT_CACHE_HOLD_MARKER,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
wasmThreadLinkFlags,
|
|
73
73
|
windowAdmission,
|
|
74
74
|
writeSwiftAutolinkLinker
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-WCIRPGNB.mjs";
|
|
76
76
|
import {
|
|
77
77
|
SWIFT_BINARY_TREES_DIR,
|
|
78
78
|
SWIFT_NATIVE_INPUT_ROOT,
|
|
@@ -87,7 +87,7 @@ import {
|
|
|
87
87
|
isSwiftResourcePath,
|
|
88
88
|
isSwiftSourceLinkGraph,
|
|
89
89
|
swiftProjectFilesProblems
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-VAMKVAQL.mjs";
|
|
91
91
|
import {
|
|
92
92
|
OBJC_RESOURCE_ACCESSOR_BODY,
|
|
93
93
|
OBJC_RESOURCE_ACCESSOR_HEADER,
|
|
@@ -110,16 +110,16 @@ import {
|
|
|
110
110
|
swiftPackagePartition,
|
|
111
111
|
swiftTargetModuleName,
|
|
112
112
|
withoutGlogModuleMap
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-NQ7FRPK3.mjs";
|
|
114
114
|
import {
|
|
115
115
|
rnxPublicBrand
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-4SU7JTJS.mjs";
|
|
117
117
|
import {
|
|
118
118
|
isRecord
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-ETSMUW5U.mjs";
|
|
120
120
|
import {
|
|
121
121
|
__publicField
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-UOPIXOP4.mjs";
|
|
123
123
|
|
|
124
124
|
// src/swift-compile.ts
|
|
125
125
|
import {
|
|
@@ -14363,7 +14363,7 @@ async function compileGuestLink(options) {
|
|
|
14363
14363
|
};
|
|
14364
14364
|
const sdk = options.sdkImage;
|
|
14365
14365
|
const sdkCallers = sdk.sdkInterface.guestCallers;
|
|
14366
|
-
const sdkObjects = (await import("./swift-sdk-image-
|
|
14366
|
+
const sdkObjects = (await import("./swift-sdk-image-VSY6EQS7.mjs")).readSwiftSdkManifestIndex(
|
|
14367
14367
|
sdk
|
|
14368
14368
|
).guestObjects;
|
|
14369
14369
|
if (!sdkCallers || !sdkObjects)
|
|
@@ -14661,8 +14661,9 @@ async function compileGuestLink(options) {
|
|
|
14661
14661
|
linkSwiftAppModule,
|
|
14662
14662
|
readSwiftSdkUsage,
|
|
14663
14663
|
swiftAppModuleThunkSection,
|
|
14664
|
-
swiftSdkProjectionSpans
|
|
14665
|
-
|
|
14664
|
+
swiftSdkProjectionSpans,
|
|
14665
|
+
writeSwiftSdkAppLink
|
|
14666
|
+
} = await import("./swift-sdk-app-module-CYLPUQC2.mjs");
|
|
14666
14667
|
const project = options.project;
|
|
14667
14668
|
const work = project ? mkdtempSync2(path14.join(directory, "app-module-")) : path14.join(directory, "app-module");
|
|
14668
14669
|
if (project) chownSync(work, project.uid, project.gid);
|
|
@@ -14782,11 +14783,13 @@ async function compileGuestLink(options) {
|
|
|
14782
14783
|
options.onStage("lowering the app image");
|
|
14783
14784
|
const lowerPromise = link.lower();
|
|
14784
14785
|
await new Promise((resolve) => setImmediate(resolve));
|
|
14786
|
+
const linkage = { ...link.linkage, data };
|
|
14787
|
+
let usage;
|
|
14785
14788
|
let binding;
|
|
14786
14789
|
try {
|
|
14787
14790
|
if (result.finalLinkDone) await result.finalLinkDone;
|
|
14788
|
-
|
|
14789
|
-
binding = createSwiftSdkBinding(
|
|
14791
|
+
usage = readSwiftSdkUsage(result.mapPath, options.output, sdkObjectKeys);
|
|
14792
|
+
binding = createSwiftSdkBinding(linkage, sdk, usage);
|
|
14790
14793
|
} catch (error) {
|
|
14791
14794
|
await Promise.allSettled([lowerPromise]);
|
|
14792
14795
|
throw error;
|
|
@@ -14808,6 +14811,15 @@ async function compileGuestLink(options) {
|
|
|
14808
14811
|
swiftAppModuleThunkSection(finalized.wasm)
|
|
14809
14812
|
])
|
|
14810
14813
|
);
|
|
14814
|
+
if (!project) {
|
|
14815
|
+
const replayDirectory = path14.join(options.buildDirectory, ".peach-sdk-module");
|
|
14816
|
+
mkdirSync5(replayDirectory, { recursive: true });
|
|
14817
|
+
writeSwiftSdkAppLink(path14.join(replayDirectory, "app-link.json.gz"), {
|
|
14818
|
+
linkage,
|
|
14819
|
+
usage,
|
|
14820
|
+
scopedLookups: true
|
|
14821
|
+
});
|
|
14822
|
+
}
|
|
14811
14823
|
return binding;
|
|
14812
14824
|
}
|
|
14813
14825
|
} finally {
|
|
@@ -15701,7 +15713,7 @@ function swiftReproducibleBuildFlags(roots) {
|
|
|
15701
15713
|
// src/swift-sdk-image-recipe.ts
|
|
15702
15714
|
import { createHash as createHash15 } from "node:crypto";
|
|
15703
15715
|
var SWIFT_SDK_IMAGE_VERSION = 13;
|
|
15704
|
-
var SOURCE_SWIFT_FRAMEWORK_RECIPE = "swift-framework/
|
|
15716
|
+
var SOURCE_SWIFT_FRAMEWORK_RECIPE = "swift-framework/v4";
|
|
15705
15717
|
var swiftSdkImageScope = (scopedLookups) => scopedLookups ? "guest image scopes 9\n" : "unscoped constructor order 1\n";
|
|
15706
15718
|
var SWIFT_SDK_IMAGE_RECIPE = createHash15("sha256").update(`swift-sdk-image
|
|
15707
15719
|
${SWIFT_SDK_IMAGE_VERSION}
|
|
@@ -16624,7 +16636,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
|
|
|
16624
16636
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
16625
16637
|
var MULTI_MANIFEST_VERSION = 76;
|
|
16626
16638
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
16627
|
-
var compilerSourceDigest = true ? "
|
|
16639
|
+
var compilerSourceDigest = true ? "0f4683a0a52c52745cf2a25c5bb0d3b8d33c6c65616c018a0b91a1661ac1b6aa" : swiftCompilerSourceDigest(import.meta.dirname);
|
|
16628
16640
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
16629
16641
|
return swiftCompileInputHash(input, release).update(swiftModuleDigest(moduleRoot)).digest("hex");
|
|
16630
16642
|
}
|
|
@@ -20532,8 +20544,8 @@ async function buildFrameworkProducts(scratch, args, allowWrite) {
|
|
|
20532
20544
|
unoptimized ? "-Onone" : "-Osize",
|
|
20533
20545
|
"-Xswiftc",
|
|
20534
20546
|
"-no-whole-module-optimization",
|
|
20535
|
-
|
|
20536
|
-
"-incremental",
|
|
20547
|
+
// optimized batches can move specialized definitions between object files.
|
|
20548
|
+
...unoptimized ? ["-Xswiftc", "-incremental"] : [],
|
|
20537
20549
|
"-Xswiftc",
|
|
20538
20550
|
"-enable-batch-mode",
|
|
20539
20551
|
// each batch repeats the same framework diagnostics.
|
|
@@ -21118,7 +21130,7 @@ async function compileSwiftProjectOnce(sources, options) {
|
|
|
21118
21130
|
const distribution = swiftDistributionAt(moduleRoot);
|
|
21119
21131
|
const mirrorDistribution = options.linkOnly || options.project ? null : distribution;
|
|
21120
21132
|
if (distribution) refreshSwiftCacheHold(moduleRoot);
|
|
21121
|
-
const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-
|
|
21133
|
+
const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-Y6WQSXES.mjs")).useSwiftPackagePrebuilts(
|
|
21122
21134
|
sources,
|
|
21123
21135
|
moduleRoot,
|
|
21124
21136
|
options.toolchainBin
|
|
@@ -21131,7 +21143,7 @@ async function compileSwiftProjectOnce(sources, options) {
|
|
|
21131
21143
|
sources: path23.join(root, "Sources", "App"),
|
|
21132
21144
|
multi: compileTargets(input).length > 0
|
|
21133
21145
|
};
|
|
21134
|
-
const sdkImage = options.linkOnly ? void 0 : await (await import("./swift-sdk-image-
|
|
21146
|
+
const sdkImage = options.linkOnly ? void 0 : await (await import("./swift-sdk-image-VSY6EQS7.mjs")).buildSwiftSdkImage(
|
|
21135
21147
|
moduleRoot,
|
|
21136
21148
|
!!guestGraph,
|
|
21137
21149
|
distribution ? [] : linkedFrameworkTargets(moduleRoot, input).imports,
|
|
@@ -21850,7 +21862,7 @@ ${compatShape}` : "";
|
|
|
21850
21862
|
});
|
|
21851
21863
|
sdkAsset = { key: sdkImage.key, sha256: sdkImage.sha256, binding };
|
|
21852
21864
|
} else {
|
|
21853
|
-
const { buildSwiftAppModule } = await import("./swift-sdk-app-module-
|
|
21865
|
+
const { buildSwiftAppModule } = await import("./swift-sdk-app-module-CYLPUQC2.mjs");
|
|
21854
21866
|
const binding = await buildSwiftAppModule({
|
|
21855
21867
|
buildRoot: root2,
|
|
21856
21868
|
toolchainBin: options.toolchainBin,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2714 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isSwiftImageVariants
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MJB7SUF2.mjs";
|
|
5
5
|
import {
|
|
6
6
|
findBundleFooter
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-NVCJKK6H.mjs";
|
|
8
8
|
import {
|
|
9
9
|
isRecord
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ETSMUW5U.mjs";
|
|
11
11
|
|
|
12
12
|
// src/android-string-value.ts
|
|
13
13
|
function compileAndroidStringValue(text, where) {
|
package/dist-lib/esm-chunks/{metro-layout-parser-SXZNEYPN.mjs → metro-layout-parser-HHB5DEEE.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
2
|
-
import "./chunk-
|
|
1
|
+
/*! peach v0.1.2714 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "./chunk-UOPIXOP4.mjs";
|
|
3
3
|
|
|
4
4
|
// src/metro-layout-parser.ts
|
|
5
5
|
var whitespace = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/y;
|
|
@@ -8,7 +8,7 @@ var lineBreak = /[\r\n\u2028\u2029]/;
|
|
|
8
8
|
var metroLayoutParser;
|
|
9
9
|
async function loadMetroLayoutParser() {
|
|
10
10
|
if (metroLayoutParser) return metroLayoutParser;
|
|
11
|
-
const { Parser } = await import("./acorn-
|
|
11
|
+
const { Parser } = await import("./acorn-TAGZKKPN.mjs");
|
|
12
12
|
metroLayoutParser = Parser.extend(
|
|
13
13
|
(Base) => {
|
|
14
14
|
const parseFunctionBody = Reflect.get(Base.prototype, "parseFunctionBody");
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2714 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
compileTargets,
|
|
4
4
|
fetchNativeEntry,
|
|
5
5
|
nativeEntryKey,
|
|
6
6
|
swiftAvailableModules
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-Z4PR422D.mjs";
|
|
8
|
+
import "./chunk-BR2PYE5N.mjs";
|
|
9
9
|
import {
|
|
10
10
|
swiftDistributionAt,
|
|
11
11
|
swiftImportNames
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-GD26AARB.mjs";
|
|
13
|
+
import "./chunk-WCIRPGNB.mjs";
|
|
14
14
|
import {
|
|
15
15
|
SWIFT_REMOTE_PACKAGES_DIR
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-VAMKVAQL.mjs";
|
|
17
17
|
import {
|
|
18
18
|
manifestCalls
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-NQ7FRPK3.mjs";
|
|
20
|
+
import "./chunk-MJB7SUF2.mjs";
|
|
21
|
+
import "./chunk-4SU7JTJS.mjs";
|
|
22
|
+
import "./chunk-RYIZ6PB4.mjs";
|
|
23
|
+
import "./chunk-ETSMUW5U.mjs";
|
|
24
|
+
import "./chunk-UOPIXOP4.mjs";
|
|
25
25
|
|
|
26
26
|
// src/swift-package-prebuilt.ts
|
|
27
27
|
import { createHash } from "node:crypto";
|
package/dist-lib/esm-chunks/{swift-sdk-app-module-53LJECGH.mjs → swift-sdk-app-module-CYLPUQC2.mjs}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2714 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
4
4
|
SWIFT_SDK_APP_TABLE_BASE,
|
|
5
5
|
SWIFT_SDK_MEMORY_BASE,
|
|
6
6
|
SWIFT_SDK_PIECE_FIELDS,
|
|
7
7
|
readSwiftSdkManifest
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-VOJUTKPC.mjs";
|
|
9
9
|
import {
|
|
10
10
|
ADDEND_RELOCATIONS,
|
|
11
11
|
KEEP_WASM_NAMES,
|
|
@@ -33,22 +33,22 @@ import {
|
|
|
33
33
|
wasmReader,
|
|
34
34
|
wasmSections,
|
|
35
35
|
writeWasmCustomSection
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
36
|
+
} from "./chunk-Z4PR422D.mjs";
|
|
37
|
+
import "./chunk-BR2PYE5N.mjs";
|
|
38
|
+
import "./chunk-X7JPMC6T.mjs";
|
|
39
|
+
import "./chunk-GUMPVA6V.mjs";
|
|
40
|
+
import "./chunk-RI7P4GEH.mjs";
|
|
41
|
+
import "./chunk-GD26AARB.mjs";
|
|
42
42
|
import {
|
|
43
43
|
SWIFT_WASM_TRIPLE
|
|
44
|
-
} from "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
44
|
+
} from "./chunk-WCIRPGNB.mjs";
|
|
45
|
+
import "./chunk-VAMKVAQL.mjs";
|
|
46
|
+
import "./chunk-NQ7FRPK3.mjs";
|
|
47
|
+
import "./chunk-MJB7SUF2.mjs";
|
|
48
|
+
import "./chunk-4SU7JTJS.mjs";
|
|
49
|
+
import "./chunk-RYIZ6PB4.mjs";
|
|
50
|
+
import "./chunk-ETSMUW5U.mjs";
|
|
51
|
+
import "./chunk-UOPIXOP4.mjs";
|
|
52
52
|
|
|
53
53
|
// src/swift-sdk-app-module.ts
|
|
54
54
|
import { execFile } from "node:child_process";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2714 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
4
4
|
SWIFT_SDK_APP_TABLE_BASE,
|
|
@@ -14,21 +14,21 @@ import {
|
|
|
14
14
|
swiftSdkImageFile,
|
|
15
15
|
swiftSdkImageKey,
|
|
16
16
|
swiftSdkImageProducts
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-VOJUTKPC.mjs";
|
|
18
|
+
import "./chunk-Z4PR422D.mjs";
|
|
19
|
+
import "./chunk-BR2PYE5N.mjs";
|
|
20
|
+
import "./chunk-X7JPMC6T.mjs";
|
|
21
|
+
import "./chunk-GUMPVA6V.mjs";
|
|
22
|
+
import "./chunk-RI7P4GEH.mjs";
|
|
23
|
+
import "./chunk-GD26AARB.mjs";
|
|
24
|
+
import "./chunk-WCIRPGNB.mjs";
|
|
25
|
+
import "./chunk-VAMKVAQL.mjs";
|
|
26
|
+
import "./chunk-NQ7FRPK3.mjs";
|
|
27
|
+
import "./chunk-MJB7SUF2.mjs";
|
|
28
|
+
import "./chunk-4SU7JTJS.mjs";
|
|
29
|
+
import "./chunk-RYIZ6PB4.mjs";
|
|
30
|
+
import "./chunk-ETSMUW5U.mjs";
|
|
31
|
+
import "./chunk-UOPIXOP4.mjs";
|
|
32
32
|
export {
|
|
33
33
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
34
34
|
SWIFT_SDK_APP_TABLE_BASE,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2714 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
withSwiftRootLock
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-BR2PYE5N.mjs";
|
|
5
5
|
import {
|
|
6
6
|
swiftCacheDir,
|
|
7
7
|
windowAdmission
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-WCIRPGNB.mjs";
|
|
9
9
|
import {
|
|
10
10
|
isRecord
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-ETSMUW5U.mjs";
|
|
12
|
+
import "./chunk-UOPIXOP4.mjs";
|
|
13
13
|
|
|
14
14
|
// src/swift-sdk-image-producer.ts
|
|
15
15
|
import { execFile, execFileSync } from "node:child_process";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2714 | (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;
|
|
@@ -19553,7 +19553,7 @@ var init_react_native_core_digest = __esm({
|
|
|
19553
19553
|
|
|
19554
19554
|
// src/swift-compiler-digest.ts
|
|
19555
19555
|
function swiftArchiveCompilerDigestValue() {
|
|
19556
|
-
return true ? "
|
|
19556
|
+
return true ? "a5e00b0798f4f309d01d9e64e8aef4ce6ccb61c076e11617556a116eec890a6c" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname, "archive");
|
|
19557
19557
|
}
|
|
19558
19558
|
var import_node_crypto16, import_node_fs32, import_node_path31, SWIFT_DIGEST_SOURCES, LINKED_IMAGE_SOURCES, SWIFT_ARCHIVE_DIGEST_SOURCES;
|
|
19559
19559
|
var init_swift_compiler_digest = __esm({
|
|
@@ -19704,7 +19704,7 @@ var init_swift_standin_digest = __esm({
|
|
|
19704
19704
|
|
|
19705
19705
|
// src/expo-native-compiler-digest.ts
|
|
19706
19706
|
function expoNativeCompilerDigestValue() {
|
|
19707
|
-
return true ? "
|
|
19707
|
+
return true ? "05a82bbcb80b8ea52729d48de4cea53bec37348c78d4e34d6ecc8c56b777e1a5" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
19708
19708
|
}
|
|
19709
19709
|
var import_node_crypto18;
|
|
19710
19710
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -39435,7 +39435,7 @@ var init_swift_sdk_image_recipe = __esm({
|
|
|
39435
39435
|
import_node_crypto37 = require("node:crypto");
|
|
39436
39436
|
init_wasm_optimize();
|
|
39437
39437
|
SWIFT_SDK_IMAGE_VERSION = 13;
|
|
39438
|
-
SOURCE_SWIFT_FRAMEWORK_RECIPE = "swift-framework/
|
|
39438
|
+
SOURCE_SWIFT_FRAMEWORK_RECIPE = "swift-framework/v4";
|
|
39439
39439
|
swiftSdkImageScope = (scopedLookups) => scopedLookups ? "guest image scopes 9\n" : "unscoped constructor order 1\n";
|
|
39440
39440
|
SWIFT_SDK_IMAGE_RECIPE = (0, import_node_crypto37.createHash)("sha256").update(`swift-sdk-image
|
|
39441
39441
|
${SWIFT_SDK_IMAGE_VERSION}
|
|
@@ -42749,7 +42749,8 @@ async function compileGuestLink(options2) {
|
|
|
42749
42749
|
linkSwiftAppModule: linkSwiftAppModule2,
|
|
42750
42750
|
readSwiftSdkUsage: readSwiftSdkUsage2,
|
|
42751
42751
|
swiftAppModuleThunkSection: swiftAppModuleThunkSection2,
|
|
42752
|
-
swiftSdkProjectionSpans: swiftSdkProjectionSpans2
|
|
42752
|
+
swiftSdkProjectionSpans: swiftSdkProjectionSpans2,
|
|
42753
|
+
writeSwiftSdkAppLink: writeSwiftSdkAppLink2
|
|
42753
42754
|
} = await Promise.resolve().then(() => (init_swift_sdk_app_module(), swift_sdk_app_module_exports));
|
|
42754
42755
|
const project2 = options2.project;
|
|
42755
42756
|
const work = project2 ? (0, import_node_fs62.mkdtempSync)(import_node_path60.default.join(directory2, "app-module-")) : import_node_path60.default.join(directory2, "app-module");
|
|
@@ -42870,11 +42871,13 @@ async function compileGuestLink(options2) {
|
|
|
42870
42871
|
options2.onStage("lowering the app image");
|
|
42871
42872
|
const lowerPromise = link.lower();
|
|
42872
42873
|
await new Promise((resolve3) => setImmediate(resolve3));
|
|
42874
|
+
const linkage = { ...link.linkage, data };
|
|
42875
|
+
let usage;
|
|
42873
42876
|
let binding;
|
|
42874
42877
|
try {
|
|
42875
42878
|
if (result.finalLinkDone) await result.finalLinkDone;
|
|
42876
|
-
|
|
42877
|
-
binding = createSwiftSdkBinding2(
|
|
42879
|
+
usage = readSwiftSdkUsage2(result.mapPath, options2.output, sdkObjectKeys);
|
|
42880
|
+
binding = createSwiftSdkBinding2(linkage, sdk2, usage);
|
|
42878
42881
|
} catch (error) {
|
|
42879
42882
|
await Promise.allSettled([lowerPromise]);
|
|
42880
42883
|
throw error;
|
|
@@ -42896,6 +42899,15 @@ async function compileGuestLink(options2) {
|
|
|
42896
42899
|
swiftAppModuleThunkSection2(finalized.wasm)
|
|
42897
42900
|
])
|
|
42898
42901
|
);
|
|
42902
|
+
if (!project2) {
|
|
42903
|
+
const replayDirectory = import_node_path60.default.join(options2.buildDirectory, ".peach-sdk-module");
|
|
42904
|
+
(0, import_node_fs62.mkdirSync)(replayDirectory, { recursive: true });
|
|
42905
|
+
writeSwiftSdkAppLink2(import_node_path60.default.join(replayDirectory, "app-link.json.gz"), {
|
|
42906
|
+
linkage,
|
|
42907
|
+
usage,
|
|
42908
|
+
scopedLookups: true
|
|
42909
|
+
});
|
|
42910
|
+
}
|
|
42899
42911
|
return binding;
|
|
42900
42912
|
}
|
|
42901
42913
|
} finally {
|
|
@@ -48432,8 +48444,8 @@ async function buildFrameworkProducts(scratch2, args, allowWrite) {
|
|
|
48432
48444
|
unoptimized ? "-Onone" : "-Osize",
|
|
48433
48445
|
"-Xswiftc",
|
|
48434
48446
|
"-no-whole-module-optimization",
|
|
48435
|
-
|
|
48436
|
-
"-incremental",
|
|
48447
|
+
// optimized batches can move specialized definitions between object files.
|
|
48448
|
+
...unoptimized ? ["-Xswiftc", "-incremental"] : [],
|
|
48437
48449
|
"-Xswiftc",
|
|
48438
48450
|
"-enable-batch-mode",
|
|
48439
48451
|
// each batch repeats the same framework diagnostics.
|
|
@@ -50013,7 +50025,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
50013
50025
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
50014
50026
|
MULTI_MANIFEST_VERSION = 76;
|
|
50015
50027
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
50016
|
-
compilerSourceDigest = true ? "
|
|
50028
|
+
compilerSourceDigest = true ? "0f4683a0a52c52745cf2a25c5bb0d3b8d33c6c65616c018a0b91a1661ac1b6aa" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
50017
50029
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
50018
50030
|
MODULE_MAP_RESPONSE_FILE_RUN = 16;
|
|
50019
50031
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
@@ -105395,7 +105407,7 @@ var init_nitro_superset = __esm({
|
|
|
105395
105407
|
init_nitroContract();
|
|
105396
105408
|
init_swift_standin_digest();
|
|
105397
105409
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
105398
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
105410
|
+
NITRO_COMPILER_DIGEST = true ? "375ec91285d114caab51fe145bb528c741bf051f4eda0bd991ff82653b7fbe32" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
105399
105411
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
105400
105412
|
nitroSupersetKey = (inputs2) => nativeEntryKey({ ...inputs2, compiler: NITRO_COMPILER_DIGEST });
|
|
105401
105413
|
published2 = /* @__PURE__ */ new Map();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2714 | (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,19 +1,19 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2714 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isSwiftResourcePath
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-VAMKVAQL.mjs";
|
|
5
5
|
import {
|
|
6
6
|
isNativeAppIdentity
|
|
7
|
-
} from "./esm-chunks/chunk-
|
|
8
|
-
import "./esm-chunks/chunk-
|
|
7
|
+
} from "./esm-chunks/chunk-ZOBAZFDN.mjs";
|
|
8
|
+
import "./esm-chunks/chunk-MJB7SUF2.mjs";
|
|
9
9
|
import {
|
|
10
10
|
insertBundleGlobalFooter,
|
|
11
11
|
readBundleGlobalFooter
|
|
12
|
-
} from "./esm-chunks/chunk-
|
|
12
|
+
} from "./esm-chunks/chunk-NVCJKK6H.mjs";
|
|
13
13
|
import {
|
|
14
14
|
isRecord
|
|
15
|
-
} from "./esm-chunks/chunk-
|
|
16
|
-
import "./esm-chunks/chunk-
|
|
15
|
+
} from "./esm-chunks/chunk-ETSMUW5U.mjs";
|
|
16
|
+
import "./esm-chunks/chunk-UOPIXOP4.mjs";
|
|
17
17
|
|
|
18
18
|
// src/expoSwiftContract.ts
|
|
19
19
|
function strings(value) {
|
package/dist-lib/home-paths.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2714 | (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.2714 | (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;
|
|
@@ -6177,7 +6177,7 @@ var init_swift_objc_sdk_tree = __esm({
|
|
|
6177
6177
|
|
|
6178
6178
|
// src/swift-compiler-digest.ts
|
|
6179
6179
|
function swiftArchiveCompilerDigestValue() {
|
|
6180
|
-
return true ? "
|
|
6180
|
+
return true ? "a5e00b0798f4f309d01d9e64e8aef4ce6ccb61c076e11617556a116eec890a6c" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname, "archive");
|
|
6181
6181
|
}
|
|
6182
6182
|
var import_node_crypto10, import_node_fs25, import_node_path25, SWIFT_DIGEST_SOURCES, LINKED_IMAGE_SOURCES, SWIFT_ARCHIVE_DIGEST_SOURCES;
|
|
6183
6183
|
var init_swift_compiler_digest = __esm({
|
|
@@ -6328,7 +6328,7 @@ var init_swift_standin_digest = __esm({
|
|
|
6328
6328
|
|
|
6329
6329
|
// src/expo-native-compiler-digest.ts
|
|
6330
6330
|
function expoNativeCompilerDigestValue() {
|
|
6331
|
-
return true ? "
|
|
6331
|
+
return true ? "05a82bbcb80b8ea52729d48de4cea53bec37348c78d4e34d6ecc8c56b777e1a5" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
6332
6332
|
}
|
|
6333
6333
|
var import_node_crypto12;
|
|
6334
6334
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -44207,7 +44207,7 @@ var init_swift_sdk_image_recipe = __esm({
|
|
|
44207
44207
|
import_node_crypto42 = require("node:crypto");
|
|
44208
44208
|
init_wasm_optimize();
|
|
44209
44209
|
SWIFT_SDK_IMAGE_VERSION = 13;
|
|
44210
|
-
SOURCE_SWIFT_FRAMEWORK_RECIPE = "swift-framework/
|
|
44210
|
+
SOURCE_SWIFT_FRAMEWORK_RECIPE = "swift-framework/v4";
|
|
44211
44211
|
swiftSdkImageScope = (scopedLookups) => scopedLookups ? "guest image scopes 9\n" : "unscoped constructor order 1\n";
|
|
44212
44212
|
SWIFT_SDK_IMAGE_RECIPE = (0, import_node_crypto42.createHash)("sha256").update(`swift-sdk-image
|
|
44213
44213
|
${SWIFT_SDK_IMAGE_VERSION}
|
|
@@ -47521,7 +47521,8 @@ async function compileGuestLink(options2) {
|
|
|
47521
47521
|
linkSwiftAppModule: linkSwiftAppModule2,
|
|
47522
47522
|
readSwiftSdkUsage: readSwiftSdkUsage2,
|
|
47523
47523
|
swiftAppModuleThunkSection: swiftAppModuleThunkSection2,
|
|
47524
|
-
swiftSdkProjectionSpans: swiftSdkProjectionSpans2
|
|
47524
|
+
swiftSdkProjectionSpans: swiftSdkProjectionSpans2,
|
|
47525
|
+
writeSwiftSdkAppLink: writeSwiftSdkAppLink2
|
|
47525
47526
|
} = await Promise.resolve().then(() => (init_swift_sdk_app_module(), swift_sdk_app_module_exports));
|
|
47526
47527
|
const project2 = options2.project;
|
|
47527
47528
|
const work = project2 ? (0, import_node_fs75.mkdtempSync)(import_node_path75.default.join(directory2, "app-module-")) : import_node_path75.default.join(directory2, "app-module");
|
|
@@ -47642,11 +47643,13 @@ async function compileGuestLink(options2) {
|
|
|
47642
47643
|
options2.onStage("lowering the app image");
|
|
47643
47644
|
const lowerPromise = link.lower();
|
|
47644
47645
|
await new Promise((resolve11) => setImmediate(resolve11));
|
|
47646
|
+
const linkage = { ...link.linkage, data };
|
|
47647
|
+
let usage;
|
|
47645
47648
|
let binding;
|
|
47646
47649
|
try {
|
|
47647
47650
|
if (result.finalLinkDone) await result.finalLinkDone;
|
|
47648
|
-
|
|
47649
|
-
binding = createSwiftSdkBinding2(
|
|
47651
|
+
usage = readSwiftSdkUsage2(result.mapPath, options2.output, sdkObjectKeys);
|
|
47652
|
+
binding = createSwiftSdkBinding2(linkage, sdk2, usage);
|
|
47650
47653
|
} catch (error) {
|
|
47651
47654
|
await Promise.allSettled([lowerPromise]);
|
|
47652
47655
|
throw error;
|
|
@@ -47668,6 +47671,15 @@ async function compileGuestLink(options2) {
|
|
|
47668
47671
|
swiftAppModuleThunkSection2(finalized.wasm)
|
|
47669
47672
|
])
|
|
47670
47673
|
);
|
|
47674
|
+
if (!project2) {
|
|
47675
|
+
const replayDirectory = import_node_path75.default.join(options2.buildDirectory, ".peach-sdk-module");
|
|
47676
|
+
(0, import_node_fs75.mkdirSync)(replayDirectory, { recursive: true });
|
|
47677
|
+
writeSwiftSdkAppLink2(import_node_path75.default.join(replayDirectory, "app-link.json.gz"), {
|
|
47678
|
+
linkage,
|
|
47679
|
+
usage,
|
|
47680
|
+
scopedLookups: true
|
|
47681
|
+
});
|
|
47682
|
+
}
|
|
47671
47683
|
return binding;
|
|
47672
47684
|
}
|
|
47673
47685
|
} finally {
|
|
@@ -53192,8 +53204,8 @@ async function buildFrameworkProducts(scratch2, args, allowWrite) {
|
|
|
53192
53204
|
unoptimized ? "-Onone" : "-Osize",
|
|
53193
53205
|
"-Xswiftc",
|
|
53194
53206
|
"-no-whole-module-optimization",
|
|
53195
|
-
|
|
53196
|
-
"-incremental",
|
|
53207
|
+
// optimized batches can move specialized definitions between object files.
|
|
53208
|
+
...unoptimized ? ["-Xswiftc", "-incremental"] : [],
|
|
53197
53209
|
"-Xswiftc",
|
|
53198
53210
|
"-enable-batch-mode",
|
|
53199
53211
|
// each batch repeats the same framework diagnostics.
|
|
@@ -54773,7 +54785,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
54773
54785
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
54774
54786
|
MULTI_MANIFEST_VERSION = 76;
|
|
54775
54787
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
54776
|
-
compilerSourceDigest = true ? "
|
|
54788
|
+
compilerSourceDigest = true ? "0f4683a0a52c52745cf2a25c5bb0d3b8d33c6c65616c018a0b91a1661ac1b6aa" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
54777
54789
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
54778
54790
|
MODULE_MAP_RESPONSE_FILE_RUN = 16;
|
|
54779
54791
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
@@ -127712,7 +127724,7 @@ var init_nitro_superset = __esm({
|
|
|
127712
127724
|
init_nitroContract();
|
|
127713
127725
|
init_swift_standin_digest();
|
|
127714
127726
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
127715
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
127727
|
+
NITRO_COMPILER_DIGEST = true ? "375ec91285d114caab51fe145bb528c741bf051f4eda0bd991ff82653b7fbe32" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
127716
127728
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
127717
127729
|
nitroSupersetKey = (inputs2) => nativeEntryKey({ ...inputs2, compiler: NITRO_COMPILER_DIGEST });
|
|
127718
127730
|
published3 = /* @__PURE__ */ new Map();
|