peachsim 0.1.2773 → 0.1.2774
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 +127 -23
- 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-3SGU25AX.mjs → acorn-WYOHSUVU.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-FRPS6V6P.mjs → chunk-2JGH43VT.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-4FVDW5QX.mjs → chunk-3SQGKA6Z.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-KZ2NH7C4.mjs → chunk-4K3ZR6YW.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-IM2IAOAZ.mjs → chunk-62NI6YCH.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-YZRKIUVZ.mjs → chunk-AEE6PLCM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-DYKZYFHH.mjs → chunk-B3GMGDAC.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-KEVJJ3QT.mjs → chunk-CDZ6YIIB.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-2HWUPAOD.mjs → chunk-CRXKBBYS.mjs} +47 -24
- package/dist-lib/esm-chunks/{chunk-KMMFDGYA.mjs → chunk-ETJLJYIY.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-NH3CEIBN.mjs → chunk-F3K2ACFM.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-MRQ72NMR.mjs → chunk-IKCQ5XQP.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-IQF674WE.mjs → chunk-K7A5D6XB.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-DFVWY2BW.mjs → chunk-KGVTCLU7.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-5DQRSOJ5.mjs → chunk-M45GB4YE.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-G5TS3L6A.mjs → chunk-MZX6AAGH.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-SZ7TVJHH.mjs → chunk-ONTQLRM4.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-ANTOZ3UC.mjs → chunk-P5VUFHVB.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-Q2EEH42W.mjs → chunk-R7HK74K2.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-HN7CHPZK.mjs → chunk-RC56H3GQ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-GSZLZNZM.mjs → chunk-RGFBDGCR.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-QMI7ECNF.mjs → chunk-TJMPCXFB.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-ORGP6SSO.mjs → chunk-TRALQNBC.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-WBPJJXMA.mjs → chunk-VR25GACU.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-XXLSXSUK.mjs → chunk-W2YKROSW.mjs} +1 -1
- package/dist-lib/esm-chunks/{metro-layout-parser-5MEY33AK.mjs → metro-layout-parser-QG6UBS3S.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-3FLCNBQT.mjs → swift-package-prebuilt-KQJ2G4YJ.mjs} +12 -12
- package/dist-lib/esm-chunks/{swift-sdk-app-module-PPJ4LUOW.mjs → swift-sdk-app-module-RL3LZGNU.mjs} +107 -25
- package/dist-lib/esm-chunks/{swift-sdk-image-L5MERITP.mjs → swift-sdk-image-L7SO7UED.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-IILRYXVN.mjs → swift-sdk-image-producer-QYH6Z7VW.mjs} +5 -5
- package/dist-lib/expo-swift-bundle.cjs +127 -23
- 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 +127 -23
- 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 +127 -23
- package/dist-lib/swift-compile.cjs +124 -20
- 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/ios/duo-vertical-bar-geometry.d.ts +0 -15
- package/dist-types/packages/peach-engine/src/ios/flex-interaction.d.ts +0 -1
- package/package.json +1 -1
- package/src/sfSymbolMetricsContract.ts +51 -23
- package/src/swift-guest-compile.ts +18 -7
- package/src/swift-guest-projection-storage.ts +15 -2
- package/src/swift-sdk-app-module.ts +113 -10
- package/src/swiftSdkLinkContract.ts +10 -0
package/dist-lib/esm-chunks/{swift-sdk-app-module-PPJ4LUOW.mjs → swift-sdk-app-module-RL3LZGNU.mjs}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2774 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
4
4
|
SWIFT_SDK_MEMORY_BASE,
|
|
5
5
|
SWIFT_SDK_PIECE_FIELDS,
|
|
6
6
|
readSwiftSdkManifest
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-MZX6AAGH.mjs";
|
|
8
8
|
import {
|
|
9
9
|
ADDEND_RELOCATIONS,
|
|
10
10
|
KEEP_WASM_NAMES,
|
|
@@ -28,6 +28,7 @@ import {
|
|
|
28
28
|
objcCategoryNeedsFamily,
|
|
29
29
|
passiveSegments,
|
|
30
30
|
placeGuestLazyFunctions,
|
|
31
|
+
planGuestProjectionRegions,
|
|
31
32
|
projectOutputFile,
|
|
32
33
|
readArMembers,
|
|
33
34
|
readSwiftPrunedLinkResponse,
|
|
@@ -35,22 +36,22 @@ import {
|
|
|
35
36
|
wasmReader,
|
|
36
37
|
wasmSections,
|
|
37
38
|
writeWasmCustomSection
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
39
|
+
} from "./chunk-CRXKBBYS.mjs";
|
|
40
|
+
import "./chunk-M45GB4YE.mjs";
|
|
41
|
+
import "./chunk-B3GMGDAC.mjs";
|
|
42
|
+
import "./chunk-RGFBDGCR.mjs";
|
|
43
|
+
import "./chunk-W2YKROSW.mjs";
|
|
44
|
+
import "./chunk-IKCQ5XQP.mjs";
|
|
44
45
|
import {
|
|
45
46
|
SWIFT_WASM_TRIPLE
|
|
46
|
-
} from "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
47
|
+
} from "./chunk-3SQGKA6Z.mjs";
|
|
48
|
+
import "./chunk-4K3ZR6YW.mjs";
|
|
49
|
+
import "./chunk-CDZ6YIIB.mjs";
|
|
50
|
+
import "./chunk-ONTQLRM4.mjs";
|
|
51
|
+
import "./chunk-P5VUFHVB.mjs";
|
|
52
|
+
import "./chunk-62NI6YCH.mjs";
|
|
53
|
+
import "./chunk-ETJLJYIY.mjs";
|
|
54
|
+
import "./chunk-R7HK74K2.mjs";
|
|
54
55
|
|
|
55
56
|
// src/swift-sdk-app-module.ts
|
|
56
57
|
import { execFile } from "node:child_process";
|
|
@@ -463,7 +464,7 @@ async function linkSwiftAppModule(options) {
|
|
|
463
464
|
{ maxBuffer: 64 << 20, ...options.project }
|
|
464
465
|
);
|
|
465
466
|
const module = path.join(work, "app.module.wasm");
|
|
466
|
-
const { bytes, linkage } = resolveSdkReferences(
|
|
467
|
+
const { bytes, linkage, staticEnd, globalValues } = resolveSdkReferences(
|
|
467
468
|
readFileSync(
|
|
468
469
|
options.project ? projectOutputFile(work, linked, options.project) : linked
|
|
469
470
|
),
|
|
@@ -496,6 +497,8 @@ async function linkSwiftAppModule(options) {
|
|
|
496
497
|
).update(bytes).digest("hex"));
|
|
497
498
|
return {
|
|
498
499
|
linkage,
|
|
500
|
+
staticEnd,
|
|
501
|
+
globalValues,
|
|
499
502
|
async lower() {
|
|
500
503
|
const receipt = loweringCache && `${loweringCache.file}.key`;
|
|
501
504
|
if (loweringCache && receipt && existsSync(receipt) && existsSync(loweringCache.file) && readFileSync(receipt, "utf8") === loweringKey) {
|
|
@@ -1019,6 +1022,7 @@ function resolveSdkReferences(source, sdk, forwarders) {
|
|
|
1019
1022
|
const er = wasmReader(bytes, exportSection.start);
|
|
1020
1023
|
const exportCount = er.u();
|
|
1021
1024
|
const originalExportsStart = er.at;
|
|
1025
|
+
let staticEnd = 0;
|
|
1022
1026
|
for (let i = 0; i < exportCount; i++) {
|
|
1023
1027
|
const name = er.name();
|
|
1024
1028
|
const kind = er.byte();
|
|
@@ -1031,8 +1035,10 @@ function resolveSdkReferences(source, sdk, forwarders) {
|
|
|
1031
1035
|
const op = raw.byte();
|
|
1032
1036
|
const value = op === 35 ? BigInt(raw.u()) : raw.s();
|
|
1033
1037
|
raw.skip(1);
|
|
1034
|
-
if (j
|
|
1038
|
+
if (j !== index) continue;
|
|
1039
|
+
if (value <= 0n || value > BigInt(SWIFT_SDK_MEMORY_BASE))
|
|
1035
1040
|
throw new Error("Swift app exceeds its reserved static memory range");
|
|
1041
|
+
staticEnd = Number(value);
|
|
1036
1042
|
}
|
|
1037
1043
|
}
|
|
1038
1044
|
const exportParts = [
|
|
@@ -1069,7 +1075,12 @@ function resolveSdkReferences(source, sdk, forwarders) {
|
|
|
1069
1075
|
parts.push(bytes.subarray(s.offset, s.end));
|
|
1070
1076
|
}
|
|
1071
1077
|
}
|
|
1072
|
-
return {
|
|
1078
|
+
return {
|
|
1079
|
+
bytes: Buffer.concat(parts),
|
|
1080
|
+
linkage,
|
|
1081
|
+
staticEnd,
|
|
1082
|
+
globalValues: [...new Set(got.values())]
|
|
1083
|
+
};
|
|
1073
1084
|
}
|
|
1074
1085
|
function expandSdkRelocations(bytes, section, patches) {
|
|
1075
1086
|
patches.sort((a, b) => a.at - b.at);
|
|
@@ -1116,25 +1127,94 @@ function bindSwiftAppModule(linkage, sdk) {
|
|
|
1116
1127
|
throw new Error(`SDK image has no compatible function ${name}`);
|
|
1117
1128
|
return slot;
|
|
1118
1129
|
});
|
|
1119
|
-
const
|
|
1130
|
+
const projection = linkage.replayProjection?.sdk === sdk.key ? void 0 : linkage.replayProjection;
|
|
1131
|
+
const optional = projection && new Set(projection.lookupValues);
|
|
1132
|
+
const values = linkage.values.map(({ kind, name, addend }, index) => {
|
|
1120
1133
|
const value = kind === "function" ? functions[name] : kind === "address" ? data[name] : tls[name];
|
|
1134
|
+
if (value === void 0 && optional?.has(index)) return 0n;
|
|
1121
1135
|
if (value === void 0 || kind === "tls" && tls.errno === void 0)
|
|
1122
1136
|
throw new Error(`SDK image has no ${kind} symbol ${name}`);
|
|
1123
1137
|
return BigInt(value + addend - (kind === "tls" ? tls.errno : 0));
|
|
1124
1138
|
});
|
|
1139
|
+
const fixups = projection ? appendReplayProjectionFixups(linkage.data, values, projection, sdk) : linkage.data;
|
|
1125
1140
|
const words = Uint32Array.from([
|
|
1126
1141
|
values.length,
|
|
1127
1142
|
slots.length,
|
|
1128
|
-
|
|
1143
|
+
fixups.length,
|
|
1129
1144
|
linkage.tls.length
|
|
1130
1145
|
]);
|
|
1131
1146
|
return Buffer.concat([
|
|
1132
|
-
...[words, values, slots, Uint32Array.from(linkage.tls)].map(
|
|
1147
|
+
...[words, BigInt64Array.from(values), slots, Uint32Array.from(linkage.tls)].map(
|
|
1133
1148
|
(part) => new Uint8Array(part.buffer)
|
|
1134
1149
|
),
|
|
1135
|
-
encodeNativeSdkFixups(
|
|
1150
|
+
encodeNativeSdkFixups(fixups)
|
|
1136
1151
|
]);
|
|
1137
1152
|
}
|
|
1153
|
+
function appendReplayProjectionFixups(data, values, projection, sdk) {
|
|
1154
|
+
const { countAddresses, images, staticEnd } = projection;
|
|
1155
|
+
if (!Number.isSafeInteger(staticEnd) || staticEnd < SWIFT_SDK_APP_MEMORY_BASE || staticEnd >= SWIFT_SDK_MEMORY_BASE || countAddresses.length !== images.length || new Set(countAddresses).size !== images.length)
|
|
1156
|
+
throw new Error("invalid retained app projection storage");
|
|
1157
|
+
const objects = new Map(projection.objects);
|
|
1158
|
+
const products = new Map(projection.products);
|
|
1159
|
+
const sdkSpans = swiftSdkProjectionSpans(
|
|
1160
|
+
sdk,
|
|
1161
|
+
(object, product) => objects.get(object) ?? products.get(product)
|
|
1162
|
+
);
|
|
1163
|
+
const regions = planGuestProjectionRegions(
|
|
1164
|
+
images,
|
|
1165
|
+
images.map(() => ({
|
|
1166
|
+
regions: Number.MAX_SAFE_INTEGER,
|
|
1167
|
+
memoryProtection: { initial: 3, maximum: 3 },
|
|
1168
|
+
tableProtection: { initial: 5, maximum: 5 }
|
|
1169
|
+
})),
|
|
1170
|
+
[
|
|
1171
|
+
...images.flatMap(
|
|
1172
|
+
({ regions: regions2 }, image) => regions2.map(({ space, address, length }) => ({ image, space, address, length }))
|
|
1173
|
+
),
|
|
1174
|
+
...sdkSpans
|
|
1175
|
+
]
|
|
1176
|
+
);
|
|
1177
|
+
const fixups = [...data];
|
|
1178
|
+
const literals = /* @__PURE__ */ new Map();
|
|
1179
|
+
const add = (address, width, value) => {
|
|
1180
|
+
let index = literals.get(value);
|
|
1181
|
+
if (index === void 0) {
|
|
1182
|
+
index = values.length;
|
|
1183
|
+
literals.set(value, index);
|
|
1184
|
+
values.push(value);
|
|
1185
|
+
}
|
|
1186
|
+
fixups.push(address, width, index);
|
|
1187
|
+
};
|
|
1188
|
+
const name = Math.ceil(staticEnd / 8) * 8;
|
|
1189
|
+
let next = name + 8;
|
|
1190
|
+
if (next > SWIFT_SDK_MEMORY_BASE)
|
|
1191
|
+
throw new Error("rebound SDK projection exceeds the app static memory reservation");
|
|
1192
|
+
add(name, 8, Buffer.from("__WASM\0\0").readBigInt64LE());
|
|
1193
|
+
for (const [image, { regions: ranges }] of regions.entries()) {
|
|
1194
|
+
const count = countAddresses[image];
|
|
1195
|
+
if (!Number.isSafeInteger(count) || count < SWIFT_SDK_APP_MEMORY_BASE || count + 16 > staticEnd || count % 8 !== 0)
|
|
1196
|
+
throw new Error("retained app projection record is out of range");
|
|
1197
|
+
add(count, 4, BigInt(ranges.length));
|
|
1198
|
+
add(count + 8, 8, BigInt(next));
|
|
1199
|
+
for (const range of ranges) {
|
|
1200
|
+
if (next + 40 > SWIFT_SDK_MEMORY_BASE)
|
|
1201
|
+
throw new Error(
|
|
1202
|
+
"rebound SDK projection exceeds the app static memory reservation"
|
|
1203
|
+
);
|
|
1204
|
+
add(next, 8, BigInt(name));
|
|
1205
|
+
add(
|
|
1206
|
+
next + 8,
|
|
1207
|
+
8,
|
|
1208
|
+
BigInt(range.address) << 32n | BigInt(range.space === "function-table")
|
|
1209
|
+
);
|
|
1210
|
+
add(next + 16, 8, BigInt(range.initialProtection) << 32n | BigInt(range.length));
|
|
1211
|
+
add(next + 24, 8, BigInt(range.maximumProtection));
|
|
1212
|
+
add(next + 32, 8, 0n);
|
|
1213
|
+
next += 40;
|
|
1214
|
+
}
|
|
1215
|
+
}
|
|
1216
|
+
return fixups;
|
|
1217
|
+
}
|
|
1138
1218
|
var SCANNED = /* @__PURE__ */ new Set([
|
|
1139
1219
|
"swift5_protocols",
|
|
1140
1220
|
"swift5_protocol_conformances",
|
|
@@ -1438,8 +1518,10 @@ function selectSwiftSdkData(sdk, usage, linkage, projection) {
|
|
|
1438
1518
|
const { functions, data } = sdk.sdkInterface;
|
|
1439
1519
|
for (const { name } of linkage.functions) boundSlots.add(functions[name]);
|
|
1440
1520
|
for (const { kind, name } of linkage.values) {
|
|
1441
|
-
|
|
1442
|
-
|
|
1521
|
+
const address2 = kind === "function" ? functions[name] : data[name];
|
|
1522
|
+
if (address2 === void 0) continue;
|
|
1523
|
+
if (kind === "function") boundSlots.add(address2);
|
|
1524
|
+
else if (kind === "address") visit(address2);
|
|
1443
1525
|
}
|
|
1444
1526
|
}
|
|
1445
1527
|
const slots = block("functionSlots");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2774 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
4
4
|
SWIFT_SDK_IMAGE_BUNDLE,
|
|
@@ -13,21 +13,21 @@ import {
|
|
|
13
13
|
swiftSdkImageFile,
|
|
14
14
|
swiftSdkImageKey,
|
|
15
15
|
swiftSdkImageProducts
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./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-
|
|
16
|
+
} from "./chunk-MZX6AAGH.mjs";
|
|
17
|
+
import "./chunk-CRXKBBYS.mjs";
|
|
18
|
+
import "./chunk-M45GB4YE.mjs";
|
|
19
|
+
import "./chunk-B3GMGDAC.mjs";
|
|
20
|
+
import "./chunk-RGFBDGCR.mjs";
|
|
21
|
+
import "./chunk-W2YKROSW.mjs";
|
|
22
|
+
import "./chunk-IKCQ5XQP.mjs";
|
|
23
|
+
import "./chunk-3SQGKA6Z.mjs";
|
|
24
|
+
import "./chunk-4K3ZR6YW.mjs";
|
|
25
|
+
import "./chunk-CDZ6YIIB.mjs";
|
|
26
|
+
import "./chunk-ONTQLRM4.mjs";
|
|
27
|
+
import "./chunk-P5VUFHVB.mjs";
|
|
28
|
+
import "./chunk-62NI6YCH.mjs";
|
|
29
|
+
import "./chunk-ETJLJYIY.mjs";
|
|
30
|
+
import "./chunk-R7HK74K2.mjs";
|
|
31
31
|
export {
|
|
32
32
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
33
33
|
SWIFT_SDK_IMAGE_BUNDLE,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2774 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
withSwiftRootLock
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-M45GB4YE.mjs";
|
|
5
5
|
import {
|
|
6
6
|
swiftCacheDir,
|
|
7
7
|
windowAdmission
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-3SQGKA6Z.mjs";
|
|
9
9
|
import {
|
|
10
10
|
isRecord
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-ETJLJYIY.mjs";
|
|
12
|
+
import "./chunk-R7HK74K2.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.2774 | (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;
|
|
@@ -19579,7 +19579,7 @@ var init_react_native_core_digest = __esm({
|
|
|
19579
19579
|
|
|
19580
19580
|
// src/swift-compiler-digest.ts
|
|
19581
19581
|
function swiftArchiveCompilerDigestValue() {
|
|
19582
|
-
return true ? "
|
|
19582
|
+
return true ? "dbd69368ac13e2e2185634c7660242da347ffd693806bb5095aa7f248ecd808c" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname, "archive");
|
|
19583
19583
|
}
|
|
19584
19584
|
var import_node_crypto16, import_node_fs32, import_node_path31, SWIFT_DIGEST_SOURCES, LINKED_IMAGE_SOURCES, SWIFT_ARCHIVE_DIGEST_SOURCES;
|
|
19585
19585
|
var init_swift_compiler_digest = __esm({
|
|
@@ -19731,7 +19731,7 @@ var init_swift_standin_digest = __esm({
|
|
|
19731
19731
|
|
|
19732
19732
|
// src/expo-native-compiler-digest.ts
|
|
19733
19733
|
function expoNativeCompilerDigestValue() {
|
|
19734
|
-
return true ? "
|
|
19734
|
+
return true ? "f81f5f4c1643adadf91a8790156c5e76b276bbfe0ab887e120295f7fe09fd97a" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
19735
19735
|
}
|
|
19736
19736
|
var import_node_crypto18;
|
|
19737
19737
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -32137,6 +32137,7 @@ function finalizeGuestProjectionStorage(options2) {
|
|
|
32137
32137
|
const result = Buffer.from(options2.optimized);
|
|
32138
32138
|
const locations = /* @__PURE__ */ new Map();
|
|
32139
32139
|
const counts = /* @__PURE__ */ new Map();
|
|
32140
|
+
const countAddresses = [];
|
|
32140
32141
|
const uuids = /* @__PURE__ */ new Map();
|
|
32141
32142
|
const markers = new Map(
|
|
32142
32143
|
options2.reserved.countMarkers.map((marker, index) => [marker, index])
|
|
@@ -32169,6 +32170,7 @@ function finalizeGuestProjectionStorage(options2) {
|
|
|
32169
32170
|
if (counts.has(count))
|
|
32170
32171
|
throw new Error("duplicate guest projection count marker");
|
|
32171
32172
|
counts.set(count, offset);
|
|
32173
|
+
countAddresses[count] = segment2.address + offset - segment2.offset;
|
|
32172
32174
|
}
|
|
32173
32175
|
if (offset > end - 8 || result[offset + 3] !== 254 || result[offset + 7] !== 253)
|
|
32174
32176
|
continue;
|
|
@@ -32206,7 +32208,16 @@ function finalizeGuestProjectionStorage(options2) {
|
|
|
32206
32208
|
result.writeUInt32LE(region?.initialProtection ?? 0, offset + 8);
|
|
32207
32209
|
result.writeUInt32LE(region?.maximumProtection ?? 0, offset + 12);
|
|
32208
32210
|
}
|
|
32209
|
-
return {
|
|
32211
|
+
return {
|
|
32212
|
+
wasm: result,
|
|
32213
|
+
images,
|
|
32214
|
+
countAddresses,
|
|
32215
|
+
appImages: options2.sdkSpans ? planGuestProjectionRegions(
|
|
32216
|
+
options2.reserved.images,
|
|
32217
|
+
options2.reserved.capacities,
|
|
32218
|
+
spans
|
|
32219
|
+
) : images
|
|
32220
|
+
};
|
|
32210
32221
|
}
|
|
32211
32222
|
var UUID_MARKER_PREFIX, UUID_BYTES;
|
|
32212
32223
|
var init_swift_guest_projection_storage = __esm({
|
|
@@ -41439,7 +41450,7 @@ async function linkSwiftAppModule(options2) {
|
|
|
41439
41450
|
{ maxBuffer: 64 << 20, ...options2.project }
|
|
41440
41451
|
);
|
|
41441
41452
|
const module2 = import_node_path59.default.join(work, "app.module.wasm");
|
|
41442
|
-
const { bytes, linkage } = resolveSdkReferences(
|
|
41453
|
+
const { bytes, linkage, staticEnd, globalValues } = resolveSdkReferences(
|
|
41443
41454
|
(0, import_node_fs61.readFileSync)(
|
|
41444
41455
|
options2.project ? projectOutputFile(work, linked, options2.project) : linked
|
|
41445
41456
|
),
|
|
@@ -41472,6 +41483,8 @@ async function linkSwiftAppModule(options2) {
|
|
|
41472
41483
|
).update(bytes).digest("hex"));
|
|
41473
41484
|
return {
|
|
41474
41485
|
linkage,
|
|
41486
|
+
staticEnd,
|
|
41487
|
+
globalValues,
|
|
41475
41488
|
async lower() {
|
|
41476
41489
|
const receipt = loweringCache && `${loweringCache.file}.key`;
|
|
41477
41490
|
if (loweringCache && receipt && (0, import_node_fs61.existsSync)(receipt) && (0, import_node_fs61.existsSync)(loweringCache.file) && (0, import_node_fs61.readFileSync)(receipt, "utf8") === loweringKey) {
|
|
@@ -41952,6 +41965,7 @@ function resolveSdkReferences(source, sdk2, forwarders) {
|
|
|
41952
41965
|
const er = wasmReader(bytes, exportSection.start);
|
|
41953
41966
|
const exportCount = er.u();
|
|
41954
41967
|
const originalExportsStart = er.at;
|
|
41968
|
+
let staticEnd = 0;
|
|
41955
41969
|
for (let i = 0; i < exportCount; i++) {
|
|
41956
41970
|
const name3 = er.name();
|
|
41957
41971
|
const kind = er.byte();
|
|
@@ -41964,8 +41978,10 @@ function resolveSdkReferences(source, sdk2, forwarders) {
|
|
|
41964
41978
|
const op = raw2.byte();
|
|
41965
41979
|
const value = op === 35 ? BigInt(raw2.u()) : raw2.s();
|
|
41966
41980
|
raw2.skip(1);
|
|
41967
|
-
if (j
|
|
41981
|
+
if (j !== index) continue;
|
|
41982
|
+
if (value <= 0n || value > BigInt(SWIFT_SDK_MEMORY_BASE))
|
|
41968
41983
|
throw new Error("Swift app exceeds its reserved static memory range");
|
|
41984
|
+
staticEnd = Number(value);
|
|
41969
41985
|
}
|
|
41970
41986
|
}
|
|
41971
41987
|
const exportParts = [
|
|
@@ -42002,7 +42018,12 @@ function resolveSdkReferences(source, sdk2, forwarders) {
|
|
|
42002
42018
|
parts.push(bytes.subarray(s.offset, s.end));
|
|
42003
42019
|
}
|
|
42004
42020
|
}
|
|
42005
|
-
return {
|
|
42021
|
+
return {
|
|
42022
|
+
bytes: Buffer.concat(parts),
|
|
42023
|
+
linkage,
|
|
42024
|
+
staticEnd,
|
|
42025
|
+
globalValues: [...new Set(got.values())]
|
|
42026
|
+
};
|
|
42006
42027
|
}
|
|
42007
42028
|
function expandSdkRelocations(bytes, section2, patches) {
|
|
42008
42029
|
patches.sort((a, b) => a.at - b.at);
|
|
@@ -42049,25 +42070,94 @@ function bindSwiftAppModule(linkage, sdk2) {
|
|
|
42049
42070
|
throw new Error(`SDK image has no compatible function ${name3}`);
|
|
42050
42071
|
return slot;
|
|
42051
42072
|
});
|
|
42052
|
-
const
|
|
42073
|
+
const projection = linkage.replayProjection?.sdk === sdk2.key ? void 0 : linkage.replayProjection;
|
|
42074
|
+
const optional3 = projection && new Set(projection.lookupValues);
|
|
42075
|
+
const values = linkage.values.map(({ kind, name: name3, addend }, index) => {
|
|
42053
42076
|
const value = kind === "function" ? functions[name3] : kind === "address" ? data[name3] : tls[name3];
|
|
42077
|
+
if (value === void 0 && optional3?.has(index)) return 0n;
|
|
42054
42078
|
if (value === void 0 || kind === "tls" && tls.errno === void 0)
|
|
42055
42079
|
throw new Error(`SDK image has no ${kind} symbol ${name3}`);
|
|
42056
42080
|
return BigInt(value + addend - (kind === "tls" ? tls.errno : 0));
|
|
42057
42081
|
});
|
|
42082
|
+
const fixups = projection ? appendReplayProjectionFixups(linkage.data, values, projection, sdk2) : linkage.data;
|
|
42058
42083
|
const words2 = Uint32Array.from([
|
|
42059
42084
|
values.length,
|
|
42060
42085
|
slots.length,
|
|
42061
|
-
|
|
42086
|
+
fixups.length,
|
|
42062
42087
|
linkage.tls.length
|
|
42063
42088
|
]);
|
|
42064
42089
|
return Buffer.concat([
|
|
42065
|
-
...[words2, values, slots, Uint32Array.from(linkage.tls)].map(
|
|
42090
|
+
...[words2, BigInt64Array.from(values), slots, Uint32Array.from(linkage.tls)].map(
|
|
42066
42091
|
(part) => new Uint8Array(part.buffer)
|
|
42067
42092
|
),
|
|
42068
|
-
encodeNativeSdkFixups(
|
|
42093
|
+
encodeNativeSdkFixups(fixups)
|
|
42069
42094
|
]);
|
|
42070
42095
|
}
|
|
42096
|
+
function appendReplayProjectionFixups(data, values, projection, sdk2) {
|
|
42097
|
+
const { countAddresses, images, staticEnd } = projection;
|
|
42098
|
+
if (!Number.isSafeInteger(staticEnd) || staticEnd < SWIFT_SDK_APP_MEMORY_BASE || staticEnd >= SWIFT_SDK_MEMORY_BASE || countAddresses.length !== images.length || new Set(countAddresses).size !== images.length)
|
|
42099
|
+
throw new Error("invalid retained app projection storage");
|
|
42100
|
+
const objects = new Map(projection.objects);
|
|
42101
|
+
const products = new Map(projection.products);
|
|
42102
|
+
const sdkSpans = swiftSdkProjectionSpans(
|
|
42103
|
+
sdk2,
|
|
42104
|
+
(object8, product) => objects.get(object8) ?? products.get(product)
|
|
42105
|
+
);
|
|
42106
|
+
const regions = planGuestProjectionRegions(
|
|
42107
|
+
images,
|
|
42108
|
+
images.map(() => ({
|
|
42109
|
+
regions: Number.MAX_SAFE_INTEGER,
|
|
42110
|
+
memoryProtection: { initial: 3, maximum: 3 },
|
|
42111
|
+
tableProtection: { initial: 5, maximum: 5 }
|
|
42112
|
+
})),
|
|
42113
|
+
[
|
|
42114
|
+
...images.flatMap(
|
|
42115
|
+
({ regions: regions2 }, image) => regions2.map(({ space, address, length }) => ({ image, space, address, length }))
|
|
42116
|
+
),
|
|
42117
|
+
...sdkSpans
|
|
42118
|
+
]
|
|
42119
|
+
);
|
|
42120
|
+
const fixups = [...data];
|
|
42121
|
+
const literals = /* @__PURE__ */ new Map();
|
|
42122
|
+
const add = (address, width, value) => {
|
|
42123
|
+
let index = literals.get(value);
|
|
42124
|
+
if (index === void 0) {
|
|
42125
|
+
index = values.length;
|
|
42126
|
+
literals.set(value, index);
|
|
42127
|
+
values.push(value);
|
|
42128
|
+
}
|
|
42129
|
+
fixups.push(address, width, index);
|
|
42130
|
+
};
|
|
42131
|
+
const name3 = Math.ceil(staticEnd / 8) * 8;
|
|
42132
|
+
let next = name3 + 8;
|
|
42133
|
+
if (next > SWIFT_SDK_MEMORY_BASE)
|
|
42134
|
+
throw new Error("rebound SDK projection exceeds the app static memory reservation");
|
|
42135
|
+
add(name3, 8, Buffer.from("__WASM\0\0").readBigInt64LE());
|
|
42136
|
+
for (const [image, { regions: ranges }] of regions.entries()) {
|
|
42137
|
+
const count = countAddresses[image];
|
|
42138
|
+
if (!Number.isSafeInteger(count) || count < SWIFT_SDK_APP_MEMORY_BASE || count + 16 > staticEnd || count % 8 !== 0)
|
|
42139
|
+
throw new Error("retained app projection record is out of range");
|
|
42140
|
+
add(count, 4, BigInt(ranges.length));
|
|
42141
|
+
add(count + 8, 8, BigInt(next));
|
|
42142
|
+
for (const range3 of ranges) {
|
|
42143
|
+
if (next + 40 > SWIFT_SDK_MEMORY_BASE)
|
|
42144
|
+
throw new Error(
|
|
42145
|
+
"rebound SDK projection exceeds the app static memory reservation"
|
|
42146
|
+
);
|
|
42147
|
+
add(next, 8, BigInt(name3));
|
|
42148
|
+
add(
|
|
42149
|
+
next + 8,
|
|
42150
|
+
8,
|
|
42151
|
+
BigInt(range3.address) << 32n | BigInt(range3.space === "function-table")
|
|
42152
|
+
);
|
|
42153
|
+
add(next + 16, 8, BigInt(range3.initialProtection) << 32n | BigInt(range3.length));
|
|
42154
|
+
add(next + 24, 8, BigInt(range3.maximumProtection));
|
|
42155
|
+
add(next + 32, 8, 0n);
|
|
42156
|
+
next += 40;
|
|
42157
|
+
}
|
|
42158
|
+
}
|
|
42159
|
+
return fixups;
|
|
42160
|
+
}
|
|
42071
42161
|
function writeSwiftSdkAppLink(file, link) {
|
|
42072
42162
|
const bytes = (0, import_node_zlib4.gzipSync)(JSON.stringify(link), { level: 1 });
|
|
42073
42163
|
(0, import_node_fs61.writeFileSync)(file, bytes);
|
|
@@ -42361,8 +42451,10 @@ function selectSwiftSdkData(sdk2, usage, linkage, projection) {
|
|
|
42361
42451
|
const { functions, data } = sdk2.sdkInterface;
|
|
42362
42452
|
for (const { name: name3 } of linkage.functions) boundSlots.add(functions[name3]);
|
|
42363
42453
|
for (const { kind, name: name3 } of linkage.values) {
|
|
42364
|
-
|
|
42365
|
-
|
|
42454
|
+
const address2 = kind === "function" ? functions[name3] : data[name3];
|
|
42455
|
+
if (address2 === void 0) continue;
|
|
42456
|
+
if (kind === "function") boundSlots.add(address2);
|
|
42457
|
+
else if (kind === "address") visit3(address2);
|
|
42366
42458
|
}
|
|
42367
42459
|
}
|
|
42368
42460
|
const slots = block2("functionSlots");
|
|
@@ -42673,6 +42765,7 @@ var init_swift_sdk_app_module = __esm({
|
|
|
42673
42765
|
init_swift_distribution_mirror();
|
|
42674
42766
|
init_swift_guest_dyld_functions();
|
|
42675
42767
|
init_swift_guest_linked_spans();
|
|
42768
|
+
init_swift_guest_projection_storage();
|
|
42676
42769
|
init_swift_project_user();
|
|
42677
42770
|
init_swift_sdk_image();
|
|
42678
42771
|
init_swift_sdk_image_map();
|
|
@@ -43146,7 +43239,6 @@ async function compileGuestLink(options2) {
|
|
|
43146
43239
|
linkSwiftAppModule: linkSwiftAppModule2,
|
|
43147
43240
|
readSwiftSdkUsage: readSwiftSdkUsage2,
|
|
43148
43241
|
swiftAppModuleThunkSection: swiftAppModuleThunkSection2,
|
|
43149
|
-
swiftSdkProjectionDigest: swiftSdkProjectionDigest2,
|
|
43150
43242
|
swiftSdkProjectionSpans: swiftSdkProjectionSpans2,
|
|
43151
43243
|
writeSwiftSdkAppLink: writeSwiftSdkAppLink2
|
|
43152
43244
|
} = await Promise.resolve().then(() => (init_swift_sdk_app_module(), swift_sdk_app_module_exports));
|
|
@@ -43300,17 +43392,29 @@ async function compileGuestLink(options2) {
|
|
|
43300
43392
|
if (project2) return binding;
|
|
43301
43393
|
const replayDirectory = import_node_path60.default.join(options2.buildDirectory, ".peach-sdk-module");
|
|
43302
43394
|
(0, import_node_fs62.mkdirSync)(replayDirectory, { recursive: true });
|
|
43395
|
+
const directValues = new Set(link.globalValues);
|
|
43396
|
+
for (const values2 of [data, linkage.tls])
|
|
43397
|
+
for (let index = 2; index < values2.length; index += 3)
|
|
43398
|
+
directValues.add(values2[index]);
|
|
43303
43399
|
const appLink = writeSwiftSdkAppLink2(
|
|
43304
43400
|
import_node_path60.default.join(replayDirectory, "app-link.json.gz"),
|
|
43305
43401
|
{
|
|
43306
|
-
linkage
|
|
43402
|
+
linkage: {
|
|
43403
|
+
...linkage,
|
|
43404
|
+
replayProjection: {
|
|
43405
|
+
sdk: sdk2.key,
|
|
43406
|
+
staticEnd: link.staticEnd,
|
|
43407
|
+
countAddresses: finalized.countAddresses,
|
|
43408
|
+
images: finalized.appImages,
|
|
43409
|
+
objects: [...sdkObjectImages],
|
|
43410
|
+
products: [...sdkProductImages],
|
|
43411
|
+
lookupValues: [...new Set(bindingRows.values())].filter(
|
|
43412
|
+
(index) => !directValues.has(index)
|
|
43413
|
+
)
|
|
43414
|
+
}
|
|
43415
|
+
},
|
|
43307
43416
|
usage,
|
|
43308
|
-
scopedLookups: true
|
|
43309
|
-
sdkProjection: {
|
|
43310
|
-
objects: [...sdkObjectImages],
|
|
43311
|
-
products: [...sdkProductImages],
|
|
43312
|
-
layoutSha256: swiftSdkProjectionDigest2(sdkSpans)
|
|
43313
|
-
}
|
|
43417
|
+
scopedLookups: true
|
|
43314
43418
|
}
|
|
43315
43419
|
);
|
|
43316
43420
|
return { ...binding, appLink };
|
|
@@ -50576,7 +50680,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
50576
50680
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
50577
50681
|
MULTI_MANIFEST_VERSION = 76;
|
|
50578
50682
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
50579
|
-
compilerSourceDigest = true ? "
|
|
50683
|
+
compilerSourceDigest = true ? "059193e56cc163028469bb65adf83db77e86a673218f6c713c533cced24fa090" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
50580
50684
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
50581
50685
|
MODULE_MAP_RESPONSE_FILE_RUN = 16;
|
|
50582
50686
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
@@ -105962,7 +106066,7 @@ var init_nitro_superset = __esm({
|
|
|
105962
106066
|
init_nitroContract();
|
|
105963
106067
|
init_swift_standin_digest();
|
|
105964
106068
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
105965
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
106069
|
+
NITRO_COMPILER_DIGEST = true ? "15fd02d00a07f5483503714d46d4bd59673aaee4c546000ea574ecdb74b2643e" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
105966
106070
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
105967
106071
|
nitroSupersetKey = (inputs2) => nativeEntryKey({ ...inputs2, compiler: NITRO_COMPILER_DIGEST });
|
|
105968
106072
|
published2 = /* @__PURE__ */ new Map();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2774 | (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.2774 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isSwiftResourcePath
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-4K3ZR6YW.mjs";
|
|
5
5
|
import {
|
|
6
6
|
isNativeAppIdentity
|
|
7
|
-
} from "./esm-chunks/chunk-
|
|
8
|
-
import "./esm-chunks/chunk-
|
|
7
|
+
} from "./esm-chunks/chunk-KGVTCLU7.mjs";
|
|
8
|
+
import "./esm-chunks/chunk-ONTQLRM4.mjs";
|
|
9
9
|
import {
|
|
10
10
|
insertBundleGlobalFooter,
|
|
11
11
|
readBundleGlobalFooter
|
|
12
|
-
} from "./esm-chunks/chunk-
|
|
12
|
+
} from "./esm-chunks/chunk-AEE6PLCM.mjs";
|
|
13
13
|
import {
|
|
14
14
|
isRecord
|
|
15
|
-
} from "./esm-chunks/chunk-
|
|
16
|
-
import "./esm-chunks/chunk-
|
|
15
|
+
} from "./esm-chunks/chunk-ETJLJYIY.mjs";
|
|
16
|
+
import "./esm-chunks/chunk-R7HK74K2.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.2774 | (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;
|