peachsim 0.1.2298 → 0.1.2299
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 +89 -16
- 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 +87 -14
- 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 +98 -25
- package/dist-lib/host/fetch-proxy-handler.cjs +4 -4
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +5 -5
- 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 +5 -5
- package/dist-lib/native-app-identity-project.cjs +4 -4
- package/dist-lib/native-app-identity-project.mjs +4 -4
- 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 +99 -26
- package/dist-lib/swift-compile.cjs +24 -2
- package/dist-lib/swift-compile.mjs +24 -2
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +1 -1
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +1 -1
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +34 -9
- package/dist-lib/vite.cjs +4 -4
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/nativeAnimMirrorContract.d.ts +2 -1
- package/dist-types/packages/peach-kit/src/capabilities.d.ts +2 -2
- package/dist-types/packages/peach-kit/src/transitions/screen-transition-math.d.ts +23 -11
- package/kotlin/sdk.tar.gz +0 -0
- package/package.json +1 -1
- package/src/expo-discovery-cache.ts +65 -4
- package/src/native-swift-slices.ts +9 -2
- package/src/swift-standins.ts +6 -3
- package/src/swift-wasm-prune.ts +29 -0
- package/src/xcode-project.ts +1 -1
package/dist-lib/skills.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2299 | (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;
|
|
@@ -37628,7 +37628,7 @@ var swiftCoverageProvenance;
|
|
|
37628
37628
|
var init_provenance = __esm({
|
|
37629
37629
|
"src/swift-coverage/provenance.ts"() {
|
|
37630
37630
|
"use strict";
|
|
37631
|
-
swiftCoverageProvenance = true ? JSON.parse('{"swift-coverage/indexdump.ts":"0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412","swift-coverage/indexing.ts":"633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272","swift-coverage/types.ts":"bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1","swift-coverage/source.ts":"c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee","swift-coverage/package.ts":"1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b","swift-coverage/xcode.ts":"65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa","swift-coverage/xcode-assets.ts":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"5c83f56357d880243ab485b260d23abd0094583ffa2287dac6e9e7eb18c3673d","swift-coverage/xcode-strings.ts":"f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"bfde06f157f52d3dd76577b3c6059c95c0393180b054ced773624ea89558992b","swift-package.ts":"338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb","swift-source-file.ts":"93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94","swift-toolchain.ts":"b60efa4eb7516378344cb7c48216aea5fa36590ace91a698655b48cfd0db96fe","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1","xcode-project.ts":"
|
|
37631
|
+
swiftCoverageProvenance = true ? JSON.parse('{"swift-coverage/indexdump.ts":"0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412","swift-coverage/indexing.ts":"633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272","swift-coverage/types.ts":"bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1","swift-coverage/source.ts":"c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee","swift-coverage/package.ts":"1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b","swift-coverage/xcode.ts":"65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa","swift-coverage/xcode-assets.ts":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"5c83f56357d880243ab485b260d23abd0094583ffa2287dac6e9e7eb18c3673d","swift-coverage/xcode-strings.ts":"f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"bfde06f157f52d3dd76577b3c6059c95c0393180b054ced773624ea89558992b","swift-package.ts":"338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb","swift-source-file.ts":"93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94","swift-toolchain.ts":"b60efa4eb7516378344cb7c48216aea5fa36590ace91a698655b48cfd0db96fe","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1","xcode-project.ts":"b37f72dc848b4e2bc1ef1c875bd39c6085dc3e7038f03164102d3718c3dad217","xcode-target-members.ts":"2f25aaf5a3aa34395983c75935491c06bd68554c47ff1cb06b49c79499c03db0","xcode-json-project.ts":"41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6","openstep-plist.ts":"74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3"}') : swiftCoverageSourceDigests((0, import_node_path.join)(__sootsim_import_meta_dirname, ".."));
|
|
37632
37632
|
}
|
|
37633
37633
|
});
|
|
37634
37634
|
|
|
@@ -48031,6 +48031,28 @@ function parseWasmObjectBytes(file, buf, isDist, symbolFlagOffsets) {
|
|
|
48031
48031
|
dataRelocList.push({ ...r, segIdx: lo, offInSeg, ownerSymIdx });
|
|
48032
48032
|
}
|
|
48033
48033
|
}
|
|
48034
|
+
const relocatedWords = /* @__PURE__ */ new Map();
|
|
48035
|
+
for (const r of dataRelocList) {
|
|
48036
|
+
let words2 = relocatedWords.get(r.segIdx);
|
|
48037
|
+
if (!words2) relocatedWords.set(r.segIdx, words2 = /* @__PURE__ */ new Set());
|
|
48038
|
+
words2.add(r.offInSeg);
|
|
48039
|
+
}
|
|
48040
|
+
for (const [segIdx, tops] of segTopSyms) {
|
|
48041
|
+
const starts = new Map(tops.map((top) => [top.off, top.symIdx]));
|
|
48042
|
+
const relocated = relocatedWords.get(segIdx);
|
|
48043
|
+
const payload = dataStart + sPayloadStarts[segIdx];
|
|
48044
|
+
const view = new DataView(buf.buffer, buf.byteOffset + payload);
|
|
48045
|
+
for (const top of tops) {
|
|
48046
|
+
for (let at = top.off; at + 4 <= top.end; at += 4) {
|
|
48047
|
+
if (relocated?.has(at)) continue;
|
|
48048
|
+
const target = starts.get(at + (view.getInt32(at, true) & ~3));
|
|
48049
|
+
if (target === void 0 || target === top.symIdx) continue;
|
|
48050
|
+
let list2 = symDataRelocs.get(top.symIdx);
|
|
48051
|
+
if (!list2) symDataRelocs.set(top.symIdx, list2 = []);
|
|
48052
|
+
list2.push(target);
|
|
48053
|
+
}
|
|
48054
|
+
}
|
|
48055
|
+
}
|
|
48034
48056
|
const typePrefixesInObj = /* @__PURE__ */ new Set();
|
|
48035
48057
|
for (let i = 0; i < symKind.length; i++) {
|
|
48036
48058
|
if ((symFlags[i] & 16) === 0 && symNames[i].startsWith("$s") && symNames[i].endsWith("Mn")) {
|
|
@@ -59817,7 +59839,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
|
|
|
59817
59839
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
59818
59840
|
MULTI_MANIFEST_VERSION = 68;
|
|
59819
59841
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
59820
|
-
compilerSourceDigest = true ? "
|
|
59842
|
+
compilerSourceDigest = true ? "0dc8ec5771fbb3c2f4e287a53570e9f15b27a2c933eb41530f414a37408c01d5" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
59821
59843
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
59822
59844
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
59823
59845
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -63670,7 +63692,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
63670
63692
|
nativeTargets.add(ref);
|
|
63671
63693
|
for (const dependency of dependenciesOf(ref)) includeNativeTarget(dependency);
|
|
63672
63694
|
};
|
|
63673
|
-
for (const { ref, module: module3 } of builtTargets)
|
|
63695
|
+
for (const { ref, module: module3 } of builtTargets.slice(0, -1))
|
|
63674
63696
|
if (options.nativeModules?.some(
|
|
63675
63697
|
(name3) => name3 === module3.moduleName || name3 === module3.name
|
|
63676
63698
|
))
|
|
@@ -65962,6 +65984,7 @@ function readExpoDiscovery(key2) {
|
|
|
65962
65984
|
for (const [directory2, expected] of Object.entries(parsed.frameworks)) {
|
|
65963
65985
|
if (frameworkDigest(directory2) !== expected) return void 0;
|
|
65964
65986
|
}
|
|
65987
|
+
saveFileHashes();
|
|
65965
65988
|
} catch {
|
|
65966
65989
|
return void 0;
|
|
65967
65990
|
}
|
|
@@ -66015,6 +66038,52 @@ function readExpoDiscovery(key2) {
|
|
|
66015
66038
|
return void 0;
|
|
66016
66039
|
}
|
|
66017
66040
|
}
|
|
66041
|
+
function fileHashesPath() {
|
|
66042
|
+
return import_node_path63.default.join(sharedDir(), "framework-file-hashes.json");
|
|
66043
|
+
}
|
|
66044
|
+
function stampedFileHash(file) {
|
|
66045
|
+
if (!fileHashesLoaded) {
|
|
66046
|
+
fileHashesLoaded = true;
|
|
66047
|
+
try {
|
|
66048
|
+
const saved = JSON.parse(import_node_fs66.default.readFileSync(fileHashesPath(), "utf8"));
|
|
66049
|
+
if (isRecord(saved)) {
|
|
66050
|
+
for (const [entry, value] of Object.entries(saved))
|
|
66051
|
+
if (Array.isArray(value) && typeof value[0] === "string" && typeof value[1] === "string")
|
|
66052
|
+
fileHashes.set(entry, { stamp: value[0], checksum: value[1] });
|
|
66053
|
+
}
|
|
66054
|
+
} catch {
|
|
66055
|
+
fileHashes.clear();
|
|
66056
|
+
}
|
|
66057
|
+
}
|
|
66058
|
+
const stat2 = import_node_fs66.default.statSync(file, { bigint: true });
|
|
66059
|
+
const stamp = [stat2.dev, stat2.ino, stat2.size, stat2.mtimeNs, stat2.ctimeNs].join(":");
|
|
66060
|
+
const cached4 = fileHashes.get(file);
|
|
66061
|
+
if (cached4?.stamp === stamp) return cached4.checksum;
|
|
66062
|
+
const checksum = (0, import_node_crypto33.createHash)("sha256").update(import_node_fs66.default.readFileSync(file)).digest("hex");
|
|
66063
|
+
fileHashes.set(file, { stamp, checksum });
|
|
66064
|
+
fileHashesChanged = true;
|
|
66065
|
+
return checksum;
|
|
66066
|
+
}
|
|
66067
|
+
function saveFileHashes() {
|
|
66068
|
+
if (!fileHashesChanged) return;
|
|
66069
|
+
fileHashesChanged = false;
|
|
66070
|
+
const target = fileHashesPath();
|
|
66071
|
+
const temporary = `${target}.${process.pid}.${(0, import_node_crypto33.randomUUID)()}.tmp`;
|
|
66072
|
+
try {
|
|
66073
|
+
import_node_fs66.default.mkdirSync(import_node_path63.default.dirname(target), { recursive: true });
|
|
66074
|
+
import_node_fs66.default.writeFileSync(
|
|
66075
|
+
temporary,
|
|
66076
|
+
JSON.stringify(
|
|
66077
|
+
Object.fromEntries(
|
|
66078
|
+
[...fileHashes].filter(([entry]) => import_node_fs66.default.existsSync(entry)).map(([entry, { stamp, checksum }]) => [entry, [stamp, checksum]])
|
|
66079
|
+
)
|
|
66080
|
+
)
|
|
66081
|
+
);
|
|
66082
|
+
import_node_fs66.default.renameSync(temporary, target);
|
|
66083
|
+
} catch {
|
|
66084
|
+
import_node_fs66.default.rmSync(temporary, { force: true });
|
|
66085
|
+
}
|
|
66086
|
+
}
|
|
66018
66087
|
function treeDigest(directory2, signal) {
|
|
66019
66088
|
const entries = /* @__PURE__ */ new Map();
|
|
66020
66089
|
const seen = /* @__PURE__ */ new Set();
|
|
@@ -66031,10 +66100,7 @@ function treeDigest(directory2, signal) {
|
|
|
66031
66100
|
} else if (child.isDirectory()) {
|
|
66032
66101
|
walk3(file);
|
|
66033
66102
|
} else if (child.isFile()) {
|
|
66034
|
-
entries.set(
|
|
66035
|
-
relative6,
|
|
66036
|
-
`file\0${(0, import_node_crypto33.createHash)("sha256").update(import_node_fs66.default.readFileSync(file)).digest("hex")}`
|
|
66037
|
-
);
|
|
66103
|
+
entries.set(relative6, `file\0${stampedFileHash(file)}`);
|
|
66038
66104
|
}
|
|
66039
66105
|
}
|
|
66040
66106
|
};
|
|
@@ -66257,13 +66323,14 @@ function writeExpoDiscovery(options) {
|
|
|
66257
66323
|
);
|
|
66258
66324
|
import_node_fs66.default.renameSync(tmp, import_node_path63.default.join(dir, `${options.key}.json`));
|
|
66259
66325
|
expireDiscovery(dir, import_node_path63.default.join(dir, `${options.key}.json`));
|
|
66326
|
+
saveFileHashes();
|
|
66260
66327
|
return rewritten.units;
|
|
66261
66328
|
} catch (error) {
|
|
66262
66329
|
if (options.signal?.aborted) throw error;
|
|
66263
66330
|
return error instanceof Error ? error.message : String(error);
|
|
66264
66331
|
}
|
|
66265
66332
|
}
|
|
66266
|
-
var import_node_crypto33, import_node_fs66, import_node_path63, import_node_url4, FORMAT, PIPELINE_FILES, EXPIRY_MS, ORPHAN_TEMPORARY_MS, strings, stringRecord, isDigest, digestRecord, sourceLocationLine, MISSING_TREE;
|
|
66333
|
+
var import_node_crypto33, import_node_fs66, import_node_path63, import_node_url4, FORMAT, PIPELINE_FILES, EXPIRY_MS, ORPHAN_TEMPORARY_MS, strings, stringRecord, isDigest, digestRecord, sourceLocationLine, fileHashes, fileHashesLoaded, fileHashesChanged, MISSING_TREE;
|
|
66267
66334
|
var init_expo_discovery_cache = __esm({
|
|
66268
66335
|
"src/expo-discovery-cache.ts"() {
|
|
66269
66336
|
"use strict";
|
|
@@ -66310,6 +66377,9 @@ var init_expo_discovery_cache = __esm({
|
|
|
66310
66377
|
isDigest = (value) => /^[0-9a-f]{64}$/.test(value);
|
|
66311
66378
|
digestRecord = (value) => stringRecord(value) && Object.values(value).every(isDigest);
|
|
66312
66379
|
sourceLocationLine = /^#sourceLocation\(file: "(.*)", line: 1\)$/;
|
|
66380
|
+
fileHashes = /* @__PURE__ */ new Map();
|
|
66381
|
+
fileHashesLoaded = false;
|
|
66382
|
+
fileHashesChanged = false;
|
|
66313
66383
|
MISSING_TREE = "0".repeat(64);
|
|
66314
66384
|
}
|
|
66315
66385
|
});
|
|
@@ -66374,7 +66444,7 @@ var init_swift_standin_digest = __esm({
|
|
|
66374
66444
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
66375
66445
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
66376
66446
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
66377
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
66447
|
+
STANDIN_SOURCE_DIGEST = true ? "318c5e93a7c7c8e4ce1dbf748ec63c84273728043e6bafd140c6563890d717d0" : standinSourceDigest();
|
|
66378
66448
|
}
|
|
66379
66449
|
});
|
|
66380
66450
|
|
|
@@ -66853,7 +66923,7 @@ __export(expo_native_prebuilt_exports, {
|
|
|
66853
66923
|
servedExpoSwift: () => servedExpoSwift
|
|
66854
66924
|
});
|
|
66855
66925
|
function expoNativeCompilerDigestValue() {
|
|
66856
|
-
return true ? "
|
|
66926
|
+
return true ? "3c8bd65a3c749594ba3fad51bc9caeee0a5bf0ac9e8c6e569e513ec366ee6554" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
66857
66927
|
}
|
|
66858
66928
|
function readSources(value) {
|
|
66859
66929
|
const sources = isRecord(value) ? value.sources : null;
|
|
@@ -68555,7 +68625,10 @@ function nativeSwiftSlice(standin, moduleRoot, generator, configured, artifact)
|
|
|
68555
68625
|
`${standin.module}: configured binary behavior cannot replace a compiled native slice`
|
|
68556
68626
|
);
|
|
68557
68627
|
const distribution = swiftDistributionAt(moduleRoot);
|
|
68558
|
-
if (!distribution)
|
|
68628
|
+
if (!distribution)
|
|
68629
|
+
throw new Error(
|
|
68630
|
+
`${standin.module}'s native Swift slice needs a compiled distribution; a source checkout names one with ${SWIFT_PRIVATE_DISTRIBUTION_ENV}`
|
|
68631
|
+
);
|
|
68559
68632
|
const entry = nativeSwiftSliceEntry(distribution, generator);
|
|
68560
68633
|
const directory2 = fetchNativeEntry("slice", entry.name, entry.key) ?? privateSentrySlice(entry, moduleRoot);
|
|
68561
68634
|
if (!directory2)
|
|
@@ -69473,10 +69546,10 @@ function binaryHeaderSearchPaths(binary2, root, declaredFrameworks) {
|
|
|
69473
69546
|
const name3 = import_node_path75.default.basename(framework, ".framework");
|
|
69474
69547
|
if (!declaredFrameworks) continue;
|
|
69475
69548
|
const imports2 = declaredFrameworks.imports.get(name3);
|
|
69476
|
-
const swift = imports2 && swiftModuleInterface(declaredFrameworks.moduleRoot, name3);
|
|
69549
|
+
const swift = !REACH_STAGED_FRAMEWORKS.has(name3) && imports2 && swiftModuleInterface(declaredFrameworks.moduleRoot, name3);
|
|
69477
69550
|
const compiled = declaredFrameworks.compiledImports.get(name3);
|
|
69478
69551
|
if (swift) declared.set(framework, { ...swift, imports: imports2, sdkHeader: null });
|
|
69479
|
-
else if (compiled && REACH_STAGED_FRAMEWORKS.has(name3)) {
|
|
69552
|
+
else if ((compiled || imports2) && REACH_STAGED_FRAMEWORKS.has(name3)) {
|
|
69480
69553
|
const sdkHeader = import_node_path75.default.join(
|
|
69481
69554
|
swiftSharedSdkRoot(
|
|
69482
69555
|
declaredFrameworks.moduleRoot,
|
|
@@ -69488,7 +69561,7 @@ function binaryHeaderSearchPaths(binary2, root, declaredFrameworks) {
|
|
|
69488
69561
|
declared.set(framework, {
|
|
69489
69562
|
declared: null,
|
|
69490
69563
|
header: null,
|
|
69491
|
-
imports: compiled,
|
|
69564
|
+
imports: compiled ?? /* @__PURE__ */ new Set(),
|
|
69492
69565
|
sdkHeader: import_node_fs79.default.readFileSync(sdkHeader, "utf8")
|
|
69493
69566
|
});
|
|
69494
69567
|
}
|
|
@@ -88373,7 +88446,7 @@ var init_nitro_superset = __esm({
|
|
|
88373
88446
|
init_nitroContract();
|
|
88374
88447
|
init_swift_standin_digest();
|
|
88375
88448
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
88376
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
88449
|
+
NITRO_COMPILER_DIGEST = true ? "3ac8f9ccff4c474a3190ac4d02dc192452001e663ee487ba12ba8ace17bedb02" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
88377
88450
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
88378
88451
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
88379
88452
|
published2 = /* @__PURE__ */ new Map();
|
|
@@ -102623,7 +102696,7 @@ function readDescriptorObject(text6, start, end, pairSpans) {
|
|
|
102623
102696
|
const strings7 = {};
|
|
102624
102697
|
let scales;
|
|
102625
102698
|
let fileUris;
|
|
102626
|
-
let
|
|
102699
|
+
let fileHashes2;
|
|
102627
102700
|
let cursor = start + 1;
|
|
102628
102701
|
let braceDepth = 1;
|
|
102629
102702
|
let bracketDepth = 0;
|
|
@@ -102670,7 +102743,7 @@ function readDescriptorObject(text6, start, end, pairSpans) {
|
|
|
102670
102743
|
const value = readStringArray(text6, valueStart, end - 1);
|
|
102671
102744
|
if (!value) return null;
|
|
102672
102745
|
if (key2 === "fileUris") fileUris = value.values;
|
|
102673
|
-
else
|
|
102746
|
+
else fileHashes2 = value.values;
|
|
102674
102747
|
pairSpans?.embedded.push({ start: pairStart, end: value.end });
|
|
102675
102748
|
cursor = value.end;
|
|
102676
102749
|
canStartRegex = false;
|
|
@@ -102722,7 +102795,7 @@ function readDescriptorObject(text6, start, end, pairSpans) {
|
|
|
102722
102795
|
};
|
|
102723
102796
|
if (descriptor.scales.length === 0) descriptor.scales = [1];
|
|
102724
102797
|
if (fileUris) descriptor.fileUris = fileUris;
|
|
102725
|
-
if (
|
|
102798
|
+
if (fileHashes2) descriptor.fileHashes = fileHashes2;
|
|
102726
102799
|
return descriptor;
|
|
102727
102800
|
}
|
|
102728
102801
|
function* iterateAssetDescriptorSites(bundle) {
|
|
@@ -103141,7 +103214,7 @@ async function embedMetroAssetFiles(bundle, read) {
|
|
|
103141
103214
|
continue;
|
|
103142
103215
|
}
|
|
103143
103216
|
const fileUris = [];
|
|
103144
|
-
const
|
|
103217
|
+
const fileHashes2 = [];
|
|
103145
103218
|
const loaded3 = /* @__PURE__ */ new Map();
|
|
103146
103219
|
for (let index = 0; index < site.descriptor.scales.length; index++) {
|
|
103147
103220
|
const scale = site.descriptor.scales[index];
|
|
@@ -103164,7 +103237,7 @@ async function embedMetroAssetFiles(bundle, read) {
|
|
|
103164
103237
|
const file = loaded3.get(scale);
|
|
103165
103238
|
if (!file) continue;
|
|
103166
103239
|
fileUris.push(metroAssetDataUri(site.descriptor.type, file));
|
|
103167
|
-
|
|
103240
|
+
fileHashes2.push(await sha256HexBytes(file));
|
|
103168
103241
|
variants++;
|
|
103169
103242
|
bytes += file.byteLength;
|
|
103170
103243
|
descriptorBytes += file.byteLength;
|
|
@@ -103173,7 +103246,7 @@ async function embedMetroAssetFiles(bundle, read) {
|
|
|
103173
103246
|
asset: `${site.descriptor.httpServerLocation}/${site.descriptor.name}.${site.descriptor.type}`,
|
|
103174
103247
|
bytes: descriptorBytes
|
|
103175
103248
|
});
|
|
103176
|
-
embedded.set(key2, { fileUris, fileHashes, scales });
|
|
103249
|
+
embedded.set(key2, { fileUris, fileHashes: fileHashes2, scales });
|
|
103177
103250
|
}
|
|
103178
103251
|
const parts = [];
|
|
103179
103252
|
let cursor = 0;
|
|
@@ -104134,7 +104207,7 @@ function placeMetroDescriptor(listing, descriptor) {
|
|
|
104134
104207
|
if (perScale.length === 0 || perScale.some((options) => options.length === 0)) {
|
|
104135
104208
|
return { files: files2, ambiguous, verified: false, mismatched: false };
|
|
104136
104209
|
}
|
|
104137
|
-
const
|
|
104210
|
+
const fileHashes2 = !descriptor.fileUris && descriptor.fileHashes?.length === descriptor.scales.length ? descriptor.fileHashes : null;
|
|
104138
104211
|
for (const combination of placementCombinations(perScale)) {
|
|
104139
104212
|
let bytes;
|
|
104140
104213
|
try {
|
|
@@ -104144,10 +104217,10 @@ function placeMetroDescriptor(listing, descriptor) {
|
|
|
104144
104217
|
} catch {
|
|
104145
104218
|
continue;
|
|
104146
104219
|
}
|
|
104147
|
-
const identical =
|
|
104220
|
+
const identical = fileHashes2 ? bytes.every((file, index) => {
|
|
104148
104221
|
const digest3 = (0, import_node_crypto69.createHash)("md5").update(file).digest("hex");
|
|
104149
104222
|
return descriptor.scales.some(
|
|
104150
|
-
(scale, declared) => scale === scales[index] &&
|
|
104223
|
+
(scale, declared) => scale === scales[index] && fileHashes2[declared] === digest3
|
|
104151
104224
|
);
|
|
104152
104225
|
}) : scales.length === descriptor.scales.length && metroDescriptorHash(bytes) === descriptor.hash;
|
|
104153
104226
|
if (!identical) continue;
|
|
@@ -104158,7 +104231,7 @@ function placeMetroDescriptor(listing, descriptor) {
|
|
|
104158
104231
|
});
|
|
104159
104232
|
return { files: chosen, ambiguous: [], verified: true, mismatched: false };
|
|
104160
104233
|
}
|
|
104161
|
-
if (!
|
|
104234
|
+
if (!fileHashes2 && scales.length !== descriptor.scales.length) {
|
|
104162
104235
|
return { files: files2, ambiguous, verified: false, mismatched: false };
|
|
104163
104236
|
}
|
|
104164
104237
|
return { files: files2, ambiguous, verified: false, mismatched: true };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2299 | (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;
|
|
@@ -5537,6 +5537,28 @@ function parseWasmObjectBytes(file, buf, isDist, symbolFlagOffsets) {
|
|
|
5537
5537
|
dataRelocList.push({ ...r, segIdx: lo, offInSeg, ownerSymIdx });
|
|
5538
5538
|
}
|
|
5539
5539
|
}
|
|
5540
|
+
const relocatedWords = /* @__PURE__ */ new Map();
|
|
5541
|
+
for (const r of dataRelocList) {
|
|
5542
|
+
let words = relocatedWords.get(r.segIdx);
|
|
5543
|
+
if (!words) relocatedWords.set(r.segIdx, words = /* @__PURE__ */ new Set());
|
|
5544
|
+
words.add(r.offInSeg);
|
|
5545
|
+
}
|
|
5546
|
+
for (const [segIdx, tops] of segTopSyms) {
|
|
5547
|
+
const starts = new Map(tops.map((top) => [top.off, top.symIdx]));
|
|
5548
|
+
const relocated = relocatedWords.get(segIdx);
|
|
5549
|
+
const payload = dataStart + sPayloadStarts[segIdx];
|
|
5550
|
+
const view = new DataView(buf.buffer, buf.byteOffset + payload);
|
|
5551
|
+
for (const top of tops) {
|
|
5552
|
+
for (let at = top.off; at + 4 <= top.end; at += 4) {
|
|
5553
|
+
if (relocated?.has(at)) continue;
|
|
5554
|
+
const target = starts.get(at + (view.getInt32(at, true) & ~3));
|
|
5555
|
+
if (target === void 0 || target === top.symIdx) continue;
|
|
5556
|
+
let list = symDataRelocs.get(top.symIdx);
|
|
5557
|
+
if (!list) symDataRelocs.set(top.symIdx, list = []);
|
|
5558
|
+
list.push(target);
|
|
5559
|
+
}
|
|
5560
|
+
}
|
|
5561
|
+
}
|
|
5540
5562
|
const typePrefixesInObj = /* @__PURE__ */ new Set();
|
|
5541
5563
|
for (let i = 0; i < symKind.length; i++) {
|
|
5542
5564
|
if ((symFlags[i] & 16) === 0 && symNames[i].startsWith("$s") && symNames[i].endsWith("Mn")) {
|
|
@@ -13471,7 +13493,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
|
|
|
13471
13493
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
13472
13494
|
var MULTI_MANIFEST_VERSION = 68;
|
|
13473
13495
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
13474
|
-
var compilerSourceDigest = true ? "
|
|
13496
|
+
var compilerSourceDigest = true ? "0dc8ec5771fbb3c2f4e287a53570e9f15b27a2c933eb41530f414a37408c01d5" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
13475
13497
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
13476
13498
|
const hash = (0, import_node_crypto13.createHash)("sha256");
|
|
13477
13499
|
hash.update(`swift-compile
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2299 | (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);
|
|
@@ -5490,6 +5490,28 @@ function parseWasmObjectBytes(file, buf, isDist, symbolFlagOffsets) {
|
|
|
5490
5490
|
dataRelocList.push({ ...r, segIdx: lo, offInSeg, ownerSymIdx });
|
|
5491
5491
|
}
|
|
5492
5492
|
}
|
|
5493
|
+
const relocatedWords = /* @__PURE__ */ new Map();
|
|
5494
|
+
for (const r of dataRelocList) {
|
|
5495
|
+
let words = relocatedWords.get(r.segIdx);
|
|
5496
|
+
if (!words) relocatedWords.set(r.segIdx, words = /* @__PURE__ */ new Set());
|
|
5497
|
+
words.add(r.offInSeg);
|
|
5498
|
+
}
|
|
5499
|
+
for (const [segIdx, tops] of segTopSyms) {
|
|
5500
|
+
const starts = new Map(tops.map((top) => [top.off, top.symIdx]));
|
|
5501
|
+
const relocated = relocatedWords.get(segIdx);
|
|
5502
|
+
const payload = dataStart + sPayloadStarts[segIdx];
|
|
5503
|
+
const view = new DataView(buf.buffer, buf.byteOffset + payload);
|
|
5504
|
+
for (const top of tops) {
|
|
5505
|
+
for (let at = top.off; at + 4 <= top.end; at += 4) {
|
|
5506
|
+
if (relocated?.has(at)) continue;
|
|
5507
|
+
const target = starts.get(at + (view.getInt32(at, true) & ~3));
|
|
5508
|
+
if (target === void 0 || target === top.symIdx) continue;
|
|
5509
|
+
let list = symDataRelocs.get(top.symIdx);
|
|
5510
|
+
if (!list) symDataRelocs.set(top.symIdx, list = []);
|
|
5511
|
+
list.push(target);
|
|
5512
|
+
}
|
|
5513
|
+
}
|
|
5514
|
+
}
|
|
5493
5515
|
const typePrefixesInObj = /* @__PURE__ */ new Set();
|
|
5494
5516
|
for (let i = 0; i < symKind.length; i++) {
|
|
5495
5517
|
if ((symFlags[i] & 16) === 0 && symNames[i].startsWith("$s") && symNames[i].endsWith("Mn")) {
|
|
@@ -13457,7 +13479,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
|
|
|
13457
13479
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
13458
13480
|
var MULTI_MANIFEST_VERSION = 68;
|
|
13459
13481
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
13460
|
-
var compilerSourceDigest = true ? "
|
|
13482
|
+
var compilerSourceDigest = true ? "0dc8ec5771fbb3c2f4e287a53570e9f15b27a2c933eb41530f414a37408c01d5" : swiftCompilerSourceDigest(import.meta.dirname);
|
|
13461
13483
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
13462
13484
|
const hash = createHash13("sha256");
|
|
13463
13485
|
hash.update(`swift-compile
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2299 | (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.2299 | (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.2299 | (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;
|
package/dist-lib/swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2299 | (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/vite-swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2299 | (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;
|
|
@@ -10485,6 +10485,28 @@ function parseWasmObjectBytes(file, buf, isDist, symbolFlagOffsets) {
|
|
|
10485
10485
|
dataRelocList.push({ ...r, segIdx: lo, offInSeg, ownerSymIdx });
|
|
10486
10486
|
}
|
|
10487
10487
|
}
|
|
10488
|
+
const relocatedWords = /* @__PURE__ */ new Map();
|
|
10489
|
+
for (const r of dataRelocList) {
|
|
10490
|
+
let words2 = relocatedWords.get(r.segIdx);
|
|
10491
|
+
if (!words2) relocatedWords.set(r.segIdx, words2 = /* @__PURE__ */ new Set());
|
|
10492
|
+
words2.add(r.offInSeg);
|
|
10493
|
+
}
|
|
10494
|
+
for (const [segIdx, tops] of segTopSyms) {
|
|
10495
|
+
const starts = new Map(tops.map((top) => [top.off, top.symIdx]));
|
|
10496
|
+
const relocated = relocatedWords.get(segIdx);
|
|
10497
|
+
const payload = dataStart + sPayloadStarts[segIdx];
|
|
10498
|
+
const view = new DataView(buf.buffer, buf.byteOffset + payload);
|
|
10499
|
+
for (const top of tops) {
|
|
10500
|
+
for (let at = top.off; at + 4 <= top.end; at += 4) {
|
|
10501
|
+
if (relocated?.has(at)) continue;
|
|
10502
|
+
const target = starts.get(at + (view.getInt32(at, true) & ~3));
|
|
10503
|
+
if (target === void 0 || target === top.symIdx) continue;
|
|
10504
|
+
let list2 = symDataRelocs.get(top.symIdx);
|
|
10505
|
+
if (!list2) symDataRelocs.set(top.symIdx, list2 = []);
|
|
10506
|
+
list2.push(target);
|
|
10507
|
+
}
|
|
10508
|
+
}
|
|
10509
|
+
}
|
|
10488
10510
|
const typePrefixesInObj = /* @__PURE__ */ new Set();
|
|
10489
10511
|
for (let i = 0; i < symKind.length; i++) {
|
|
10490
10512
|
if ((symFlags[i] & 16) === 0 && symNames[i].startsWith("$s") && symNames[i].endsWith("Mn")) {
|
|
@@ -18284,7 +18306,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
|
|
|
18284
18306
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
18285
18307
|
var MULTI_MANIFEST_VERSION = 68;
|
|
18286
18308
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
18287
|
-
var compilerSourceDigest = true ? "
|
|
18309
|
+
var compilerSourceDigest = true ? "0dc8ec5771fbb3c2f4e287a53570e9f15b27a2c933eb41530f414a37408c01d5" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
18288
18310
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
18289
18311
|
const hash = (0, import_node_crypto13.createHash)("sha256");
|
|
18290
18312
|
hash.update(`swift-compile
|
|
@@ -25437,7 +25459,7 @@ var import_node_fs33 = require("node:fs");
|
|
|
25437
25459
|
var import_node_path33 = require("node:path");
|
|
25438
25460
|
|
|
25439
25461
|
// src/swift-coverage/provenance.ts
|
|
25440
|
-
var swiftCoverageProvenance = true ? JSON.parse('{"swift-coverage/indexdump.ts":"0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412","swift-coverage/indexing.ts":"633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272","swift-coverage/types.ts":"bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1","swift-coverage/source.ts":"c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee","swift-coverage/package.ts":"1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b","swift-coverage/xcode.ts":"65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa","swift-coverage/xcode-assets.ts":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"5c83f56357d880243ab485b260d23abd0094583ffa2287dac6e9e7eb18c3673d","swift-coverage/xcode-strings.ts":"f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"bfde06f157f52d3dd76577b3c6059c95c0393180b054ced773624ea89558992b","swift-package.ts":"338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb","swift-source-file.ts":"93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94","swift-toolchain.ts":"b60efa4eb7516378344cb7c48216aea5fa36590ace91a698655b48cfd0db96fe","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1","xcode-project.ts":"
|
|
25462
|
+
var swiftCoverageProvenance = true ? JSON.parse('{"swift-coverage/indexdump.ts":"0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412","swift-coverage/indexing.ts":"633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272","swift-coverage/types.ts":"bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1","swift-coverage/source.ts":"c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee","swift-coverage/package.ts":"1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b","swift-coverage/xcode.ts":"65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa","swift-coverage/xcode-assets.ts":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"5c83f56357d880243ab485b260d23abd0094583ffa2287dac6e9e7eb18c3673d","swift-coverage/xcode-strings.ts":"f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"bfde06f157f52d3dd76577b3c6059c95c0393180b054ced773624ea89558992b","swift-package.ts":"338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb","swift-source-file.ts":"93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94","swift-toolchain.ts":"b60efa4eb7516378344cb7c48216aea5fa36590ace91a698655b48cfd0db96fe","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1","xcode-project.ts":"b37f72dc848b4e2bc1ef1c875bd39c6085dc3e7038f03164102d3718c3dad217","xcode-target-members.ts":"2f25aaf5a3aa34395983c75935491c06bd68554c47ff1cb06b49c79499c03db0","xcode-json-project.ts":"41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6","openstep-plist.ts":"74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3"}') : swiftCoverageSourceDigests((0, import_node_path.join)(__sootsim_import_meta_dirname, ".."));
|
|
25441
25463
|
|
|
25442
25464
|
// src/swift-coverage/xcode-asset-symbols.ts
|
|
25443
25465
|
var import_node_fs32 = require("node:fs");
|
|
@@ -30883,7 +30905,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
30883
30905
|
nativeTargets.add(ref);
|
|
30884
30906
|
for (const dependency of dependenciesOf(ref)) includeNativeTarget(dependency);
|
|
30885
30907
|
};
|
|
30886
|
-
for (const { ref, module: module3 } of builtTargets)
|
|
30908
|
+
for (const { ref, module: module3 } of builtTargets.slice(0, -1))
|
|
30887
30909
|
if (options.nativeModules?.some(
|
|
30888
30910
|
(name3) => name3 === module3.moduleName || name3 === module3.name
|
|
30889
30911
|
))
|
|
@@ -32470,7 +32492,7 @@ function sourceClosureDigest(srcDir, entrypoints) {
|
|
|
32470
32492
|
return hash.digest("hex");
|
|
32471
32493
|
}
|
|
32472
32494
|
var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
32473
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
32495
|
+
var STANDIN_SOURCE_DIGEST = true ? "318c5e93a7c7c8e4ce1dbf748ec63c84273728043e6bafd140c6563890d717d0" : standinSourceDigest();
|
|
32474
32496
|
|
|
32475
32497
|
// src/swift-standins.ts
|
|
32476
32498
|
var import_node_child_process31 = require("node:child_process");
|
|
@@ -32979,7 +33001,10 @@ function nativeSwiftSlice(standin, moduleRoot, generator, configured, artifact)
|
|
|
32979
33001
|
`${standin.module}: configured binary behavior cannot replace a compiled native slice`
|
|
32980
33002
|
);
|
|
32981
33003
|
const distribution = swiftDistributionAt(moduleRoot);
|
|
32982
|
-
if (!distribution)
|
|
33004
|
+
if (!distribution)
|
|
33005
|
+
throw new Error(
|
|
33006
|
+
`${standin.module}'s native Swift slice needs a compiled distribution; a source checkout names one with ${SWIFT_PRIVATE_DISTRIBUTION_ENV}`
|
|
33007
|
+
);
|
|
32983
33008
|
const entry = nativeSwiftSliceEntry(distribution, generator);
|
|
32984
33009
|
const directory = fetchNativeEntry("slice", entry.name, entry.key) ?? privateSentrySlice(entry, moduleRoot);
|
|
32985
33010
|
if (!directory)
|
|
@@ -33805,10 +33830,10 @@ function binaryHeaderSearchPaths(binary, root, declaredFrameworks) {
|
|
|
33805
33830
|
const name3 = import_node_path50.default.basename(framework, ".framework");
|
|
33806
33831
|
if (!declaredFrameworks) continue;
|
|
33807
33832
|
const imports2 = declaredFrameworks.imports.get(name3);
|
|
33808
|
-
const swift = imports2 && swiftModuleInterface(declaredFrameworks.moduleRoot, name3);
|
|
33833
|
+
const swift = !REACH_STAGED_FRAMEWORKS.has(name3) && imports2 && swiftModuleInterface(declaredFrameworks.moduleRoot, name3);
|
|
33809
33834
|
const compiled = declaredFrameworks.compiledImports.get(name3);
|
|
33810
33835
|
if (swift) declared.set(framework, { ...swift, imports: imports2, sdkHeader: null });
|
|
33811
|
-
else if (compiled && REACH_STAGED_FRAMEWORKS.has(name3)) {
|
|
33836
|
+
else if ((compiled || imports2) && REACH_STAGED_FRAMEWORKS.has(name3)) {
|
|
33812
33837
|
const sdkHeader = import_node_path50.default.join(
|
|
33813
33838
|
swiftSharedSdkRoot(
|
|
33814
33839
|
declaredFrameworks.moduleRoot,
|
|
@@ -33820,7 +33845,7 @@ function binaryHeaderSearchPaths(binary, root, declaredFrameworks) {
|
|
|
33820
33845
|
declared.set(framework, {
|
|
33821
33846
|
declared: null,
|
|
33822
33847
|
header: null,
|
|
33823
|
-
imports: compiled,
|
|
33848
|
+
imports: compiled ?? /* @__PURE__ */ new Set(),
|
|
33824
33849
|
sdkHeader: import_node_fs50.default.readFileSync(sdkHeader, "utf8")
|
|
33825
33850
|
});
|
|
33826
33851
|
}
|
package/dist-lib/vite.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2299 | (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;
|
|
@@ -3100,7 +3100,7 @@ var STANDIN_SOURCE_DIGEST;
|
|
|
3100
3100
|
var init_swift_standin_digest = __esm({
|
|
3101
3101
|
"src/swift-standin-digest.ts"() {
|
|
3102
3102
|
"use strict";
|
|
3103
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
3103
|
+
STANDIN_SOURCE_DIGEST = true ? "318c5e93a7c7c8e4ce1dbf748ec63c84273728043e6bafd140c6563890d717d0" : standinSourceDigest();
|
|
3104
3104
|
}
|
|
3105
3105
|
});
|
|
3106
3106
|
|
|
@@ -3547,7 +3547,7 @@ var swiftCoverageProvenance;
|
|
|
3547
3547
|
var init_provenance = __esm({
|
|
3548
3548
|
"src/swift-coverage/provenance.ts"() {
|
|
3549
3549
|
"use strict";
|
|
3550
|
-
swiftCoverageProvenance = true ? JSON.parse('{"swift-coverage/indexdump.ts":"0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412","swift-coverage/indexing.ts":"633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272","swift-coverage/types.ts":"bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1","swift-coverage/source.ts":"c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee","swift-coverage/package.ts":"1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b","swift-coverage/xcode.ts":"65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa","swift-coverage/xcode-assets.ts":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"5c83f56357d880243ab485b260d23abd0094583ffa2287dac6e9e7eb18c3673d","swift-coverage/xcode-strings.ts":"f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"bfde06f157f52d3dd76577b3c6059c95c0393180b054ced773624ea89558992b","swift-package.ts":"338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb","swift-source-file.ts":"93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94","swift-toolchain.ts":"b60efa4eb7516378344cb7c48216aea5fa36590ace91a698655b48cfd0db96fe","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1","xcode-project.ts":"
|
|
3550
|
+
swiftCoverageProvenance = true ? JSON.parse('{"swift-coverage/indexdump.ts":"0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412","swift-coverage/indexing.ts":"633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272","swift-coverage/types.ts":"bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1","swift-coverage/source.ts":"c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee","swift-coverage/package.ts":"1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b","swift-coverage/xcode.ts":"65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa","swift-coverage/xcode-assets.ts":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"5c83f56357d880243ab485b260d23abd0094583ffa2287dac6e9e7eb18c3673d","swift-coverage/xcode-strings.ts":"f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"bfde06f157f52d3dd76577b3c6059c95c0393180b054ced773624ea89558992b","swift-package.ts":"338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb","swift-source-file.ts":"93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94","swift-toolchain.ts":"b60efa4eb7516378344cb7c48216aea5fa36590ace91a698655b48cfd0db96fe","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1","xcode-project.ts":"b37f72dc848b4e2bc1ef1c875bd39c6085dc3e7038f03164102d3718c3dad217","xcode-target-members.ts":"2f25aaf5a3aa34395983c75935491c06bd68554c47ff1cb06b49c79499c03db0","xcode-json-project.ts":"41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6","openstep-plist.ts":"74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3"}') : swiftCoverageSourceDigests((0, import_node_path.join)(__sootsim_import_meta_dirname, ".."));
|
|
3551
3551
|
}
|
|
3552
3552
|
});
|
|
3553
3553
|
|
|
@@ -4753,7 +4753,7 @@ var init_swift_compile = __esm({
|
|
|
4753
4753
|
FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
4754
4754
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
4755
4755
|
).join("");
|
|
4756
|
-
compilerSourceDigest = true ? "
|
|
4756
|
+
compilerSourceDigest = true ? "0dc8ec5771fbb3c2f4e287a53570e9f15b27a2c933eb41530f414a37408c01d5" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
4757
4757
|
CORE_FOUNDATION_HANDLE_IMPORTS = [
|
|
4758
4758
|
"CFAllocator",
|
|
4759
4759
|
"CFArray",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2299 | (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
|
-
import type { ScreenTransitionDescriptor, ScreenInteractiveDescriptor, ShellInteractiveEdgeSwipeSpec, ShellInteractiveFormSheetSpec } from '../../../peach-kit/src/transitions/screen-transition-math.d.ts';
|
|
1
|
+
import type { ScreenTransitionDescriptor, ScreenInteractiveDescriptor, ShellInteractiveEdgeSwipeSpec, ShellInteractiveFormSheetSpec, ZoomFinger } from '../../../peach-kit/src/transitions/screen-transition-math.d.ts';
|
|
2
2
|
import type { LottieIntent } from '../engine/lottie-types.d.ts';
|
|
3
3
|
import type { NativeAnimationPriority } from '../engine/native-animation-driver.d.ts';
|
|
4
4
|
import type { NativeAnimationGraphNode, NativeAnimationGraphSpring } from '../engine/native-animation-graph.d.ts';
|
|
@@ -19,6 +19,7 @@ export type NativeAnimMirrorEnvelope = {
|
|
|
19
19
|
generation: number;
|
|
20
20
|
interactiveId: number;
|
|
21
21
|
drag: number;
|
|
22
|
+
finger?: ZoomFinger;
|
|
22
23
|
} | {
|
|
23
24
|
type: 'screenInteractiveEnd';
|
|
24
25
|
surfaceId: string;
|