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
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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/beta.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/beta.mjs
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;
|
|
@@ -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;
|
|
@@ -12144,7 +12144,7 @@ var swiftCoverageProvenance;
|
|
|
12144
12144
|
var init_provenance = __esm({
|
|
12145
12145
|
"src/swift-coverage/provenance.ts"() {
|
|
12146
12146
|
"use strict";
|
|
12147
|
-
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":"
|
|
12147
|
+
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, ".."));
|
|
12148
12148
|
}
|
|
12149
12149
|
});
|
|
12150
12150
|
|
|
@@ -20496,6 +20496,28 @@ function parseWasmObjectBytes(file, buf, isDist, symbolFlagOffsets) {
|
|
|
20496
20496
|
dataRelocList.push({ ...r, segIdx: lo, offInSeg, ownerSymIdx });
|
|
20497
20497
|
}
|
|
20498
20498
|
}
|
|
20499
|
+
const relocatedWords = /* @__PURE__ */ new Map();
|
|
20500
|
+
for (const r of dataRelocList) {
|
|
20501
|
+
let words2 = relocatedWords.get(r.segIdx);
|
|
20502
|
+
if (!words2) relocatedWords.set(r.segIdx, words2 = /* @__PURE__ */ new Set());
|
|
20503
|
+
words2.add(r.offInSeg);
|
|
20504
|
+
}
|
|
20505
|
+
for (const [segIdx, tops] of segTopSyms) {
|
|
20506
|
+
const starts = new Map(tops.map((top) => [top.off, top.symIdx]));
|
|
20507
|
+
const relocated = relocatedWords.get(segIdx);
|
|
20508
|
+
const payload = dataStart + sPayloadStarts[segIdx];
|
|
20509
|
+
const view = new DataView(buf.buffer, buf.byteOffset + payload);
|
|
20510
|
+
for (const top of tops) {
|
|
20511
|
+
for (let at = top.off; at + 4 <= top.end; at += 4) {
|
|
20512
|
+
if (relocated?.has(at)) continue;
|
|
20513
|
+
const target = starts.get(at + (view.getInt32(at, true) & ~3));
|
|
20514
|
+
if (target === void 0 || target === top.symIdx) continue;
|
|
20515
|
+
let list2 = symDataRelocs.get(top.symIdx);
|
|
20516
|
+
if (!list2) symDataRelocs.set(top.symIdx, list2 = []);
|
|
20517
|
+
list2.push(target);
|
|
20518
|
+
}
|
|
20519
|
+
}
|
|
20520
|
+
}
|
|
20499
20521
|
const typePrefixesInObj = /* @__PURE__ */ new Set();
|
|
20500
20522
|
for (let i = 0; i < symKind.length; i++) {
|
|
20501
20523
|
if ((symFlags[i] & 16) === 0 && symNames[i].startsWith("$s") && symNames[i].endsWith("Mn")) {
|
|
@@ -32231,7 +32253,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
|
|
|
32231
32253
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
32232
32254
|
MULTI_MANIFEST_VERSION = 68;
|
|
32233
32255
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
32234
|
-
compilerSourceDigest = true ? "
|
|
32256
|
+
compilerSourceDigest = true ? "0dc8ec5771fbb3c2f4e287a53570e9f15b27a2c933eb41530f414a37408c01d5" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
32235
32257
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
32236
32258
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
32237
32259
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -36042,7 +36064,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
36042
36064
|
nativeTargets.add(ref);
|
|
36043
36065
|
for (const dependency of dependenciesOf(ref)) includeNativeTarget(dependency);
|
|
36044
36066
|
};
|
|
36045
|
-
for (const { ref, module: module3 } of builtTargets)
|
|
36067
|
+
for (const { ref, module: module3 } of builtTargets.slice(0, -1))
|
|
36046
36068
|
if (options.nativeModules?.some(
|
|
36047
36069
|
(name3) => name3 === module3.moduleName || name3 === module3.name
|
|
36048
36070
|
))
|
|
@@ -44956,7 +44978,7 @@ var init_swift_standin_digest = __esm({
|
|
|
44956
44978
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
44957
44979
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
44958
44980
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
44959
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
44981
|
+
STANDIN_SOURCE_DIGEST = true ? "318c5e93a7c7c8e4ce1dbf748ec63c84273728043e6bafd140c6563890d717d0" : standinSourceDigest();
|
|
44960
44982
|
}
|
|
44961
44983
|
});
|
|
44962
44984
|
|
|
@@ -45049,7 +45071,10 @@ function nativeSwiftSlice(standin, moduleRoot, generator, configured, artifact)
|
|
|
45049
45071
|
`${standin.module}: configured binary behavior cannot replace a compiled native slice`
|
|
45050
45072
|
);
|
|
45051
45073
|
const distribution = swiftDistributionAt(moduleRoot);
|
|
45052
|
-
if (!distribution)
|
|
45074
|
+
if (!distribution)
|
|
45075
|
+
throw new Error(
|
|
45076
|
+
`${standin.module}'s native Swift slice needs a compiled distribution; a source checkout names one with ${SWIFT_PRIVATE_DISTRIBUTION_ENV}`
|
|
45077
|
+
);
|
|
45053
45078
|
const entry = nativeSwiftSliceEntry(distribution, generator);
|
|
45054
45079
|
const directory2 = fetchNativeEntry("slice", entry.name, entry.key) ?? privateSentrySlice(entry, moduleRoot);
|
|
45055
45080
|
if (!directory2)
|
|
@@ -45919,10 +45944,10 @@ function binaryHeaderSearchPaths(binary2, root, declaredFrameworks) {
|
|
|
45919
45944
|
const name3 = import_node_path75.default.basename(framework, ".framework");
|
|
45920
45945
|
if (!declaredFrameworks) continue;
|
|
45921
45946
|
const imports2 = declaredFrameworks.imports.get(name3);
|
|
45922
|
-
const swift = imports2 && swiftModuleInterface(declaredFrameworks.moduleRoot, name3);
|
|
45947
|
+
const swift = !REACH_STAGED_FRAMEWORKS.has(name3) && imports2 && swiftModuleInterface(declaredFrameworks.moduleRoot, name3);
|
|
45923
45948
|
const compiled = declaredFrameworks.compiledImports.get(name3);
|
|
45924
45949
|
if (swift) declared.set(framework, { ...swift, imports: imports2, sdkHeader: null });
|
|
45925
|
-
else if (compiled && REACH_STAGED_FRAMEWORKS.has(name3)) {
|
|
45950
|
+
else if ((compiled || imports2) && REACH_STAGED_FRAMEWORKS.has(name3)) {
|
|
45926
45951
|
const sdkHeader = import_node_path75.default.join(
|
|
45927
45952
|
swiftSharedSdkRoot(
|
|
45928
45953
|
declaredFrameworks.moduleRoot,
|
|
@@ -45934,7 +45959,7 @@ function binaryHeaderSearchPaths(binary2, root, declaredFrameworks) {
|
|
|
45934
45959
|
declared.set(framework, {
|
|
45935
45960
|
declared: null,
|
|
45936
45961
|
header: null,
|
|
45937
|
-
imports: compiled,
|
|
45962
|
+
imports: compiled ?? /* @__PURE__ */ new Set(),
|
|
45938
45963
|
sdkHeader: import_node_fs76.default.readFileSync(sdkHeader, "utf8")
|
|
45939
45964
|
});
|
|
45940
45965
|
}
|
|
@@ -58320,7 +58345,7 @@ var init_nitro_superset = __esm({
|
|
|
58320
58345
|
init_nitroContract();
|
|
58321
58346
|
init_swift_standin_digest();
|
|
58322
58347
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
58323
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
58348
|
+
NITRO_COMPILER_DIGEST = true ? "3ac8f9ccff4c474a3190ac4d02dc192452001e663ee487ba12ba8ace17bedb02" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
58324
58349
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
58325
58350
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
58326
58351
|
published = /* @__PURE__ */ new Map();
|
|
@@ -59167,6 +59192,7 @@ function readExpoDiscovery(key2) {
|
|
|
59167
59192
|
for (const [directory2, expected] of Object.entries(parsed.frameworks)) {
|
|
59168
59193
|
if (frameworkDigest(directory2) !== expected) return void 0;
|
|
59169
59194
|
}
|
|
59195
|
+
saveFileHashes();
|
|
59170
59196
|
} catch {
|
|
59171
59197
|
return void 0;
|
|
59172
59198
|
}
|
|
@@ -59220,6 +59246,52 @@ function readExpoDiscovery(key2) {
|
|
|
59220
59246
|
return void 0;
|
|
59221
59247
|
}
|
|
59222
59248
|
}
|
|
59249
|
+
function fileHashesPath() {
|
|
59250
|
+
return import_node_path94.default.join(sharedDir(), "framework-file-hashes.json");
|
|
59251
|
+
}
|
|
59252
|
+
function stampedFileHash(file) {
|
|
59253
|
+
if (!fileHashesLoaded) {
|
|
59254
|
+
fileHashesLoaded = true;
|
|
59255
|
+
try {
|
|
59256
|
+
const saved = JSON.parse(import_node_fs96.default.readFileSync(fileHashesPath(), "utf8"));
|
|
59257
|
+
if (isRecord(saved)) {
|
|
59258
|
+
for (const [entry, value] of Object.entries(saved))
|
|
59259
|
+
if (Array.isArray(value) && typeof value[0] === "string" && typeof value[1] === "string")
|
|
59260
|
+
fileHashes.set(entry, { stamp: value[0], checksum: value[1] });
|
|
59261
|
+
}
|
|
59262
|
+
} catch {
|
|
59263
|
+
fileHashes.clear();
|
|
59264
|
+
}
|
|
59265
|
+
}
|
|
59266
|
+
const stat = import_node_fs96.default.statSync(file, { bigint: true });
|
|
59267
|
+
const stamp = [stat.dev, stat.ino, stat.size, stat.mtimeNs, stat.ctimeNs].join(":");
|
|
59268
|
+
const cached2 = fileHashes.get(file);
|
|
59269
|
+
if (cached2?.stamp === stamp) return cached2.checksum;
|
|
59270
|
+
const checksum = (0, import_node_crypto50.createHash)("sha256").update(import_node_fs96.default.readFileSync(file)).digest("hex");
|
|
59271
|
+
fileHashes.set(file, { stamp, checksum });
|
|
59272
|
+
fileHashesChanged = true;
|
|
59273
|
+
return checksum;
|
|
59274
|
+
}
|
|
59275
|
+
function saveFileHashes() {
|
|
59276
|
+
if (!fileHashesChanged) return;
|
|
59277
|
+
fileHashesChanged = false;
|
|
59278
|
+
const target = fileHashesPath();
|
|
59279
|
+
const temporary = `${target}.${process.pid}.${(0, import_node_crypto50.randomUUID)()}.tmp`;
|
|
59280
|
+
try {
|
|
59281
|
+
import_node_fs96.default.mkdirSync(import_node_path94.default.dirname(target), { recursive: true });
|
|
59282
|
+
import_node_fs96.default.writeFileSync(
|
|
59283
|
+
temporary,
|
|
59284
|
+
JSON.stringify(
|
|
59285
|
+
Object.fromEntries(
|
|
59286
|
+
[...fileHashes].filter(([entry]) => import_node_fs96.default.existsSync(entry)).map(([entry, { stamp, checksum }]) => [entry, [stamp, checksum]])
|
|
59287
|
+
)
|
|
59288
|
+
)
|
|
59289
|
+
);
|
|
59290
|
+
import_node_fs96.default.renameSync(temporary, target);
|
|
59291
|
+
} catch {
|
|
59292
|
+
import_node_fs96.default.rmSync(temporary, { force: true });
|
|
59293
|
+
}
|
|
59294
|
+
}
|
|
59223
59295
|
function treeDigest2(directory2, signal) {
|
|
59224
59296
|
const entries = /* @__PURE__ */ new Map();
|
|
59225
59297
|
const seen = /* @__PURE__ */ new Set();
|
|
@@ -59236,10 +59308,7 @@ function treeDigest2(directory2, signal) {
|
|
|
59236
59308
|
} else if (child.isDirectory()) {
|
|
59237
59309
|
walk3(file);
|
|
59238
59310
|
} else if (child.isFile()) {
|
|
59239
|
-
entries.set(
|
|
59240
|
-
relative4,
|
|
59241
|
-
`file\0${(0, import_node_crypto50.createHash)("sha256").update(import_node_fs96.default.readFileSync(file)).digest("hex")}`
|
|
59242
|
-
);
|
|
59311
|
+
entries.set(relative4, `file\0${stampedFileHash(file)}`);
|
|
59243
59312
|
}
|
|
59244
59313
|
}
|
|
59245
59314
|
};
|
|
@@ -59462,13 +59531,14 @@ function writeExpoDiscovery(options) {
|
|
|
59462
59531
|
);
|
|
59463
59532
|
import_node_fs96.default.renameSync(tmp, import_node_path94.default.join(dir, `${options.key}.json`));
|
|
59464
59533
|
expireDiscovery(dir, import_node_path94.default.join(dir, `${options.key}.json`));
|
|
59534
|
+
saveFileHashes();
|
|
59465
59535
|
return rewritten.units;
|
|
59466
59536
|
} catch (error) {
|
|
59467
59537
|
if (options.signal?.aborted) throw error;
|
|
59468
59538
|
return error instanceof Error ? error.message : String(error);
|
|
59469
59539
|
}
|
|
59470
59540
|
}
|
|
59471
|
-
var import_node_crypto50, import_node_fs96, import_node_path94, import_node_url5, FORMAT, PIPELINE_FILES, EXPIRY_MS, ORPHAN_TEMPORARY_MS, strings4, stringRecord, isDigest, digestRecord, sourceLocationLine, MISSING_TREE;
|
|
59541
|
+
var import_node_crypto50, import_node_fs96, import_node_path94, import_node_url5, FORMAT, PIPELINE_FILES, EXPIRY_MS, ORPHAN_TEMPORARY_MS, strings4, stringRecord, isDigest, digestRecord, sourceLocationLine, fileHashes, fileHashesLoaded, fileHashesChanged, MISSING_TREE;
|
|
59472
59542
|
var init_expo_discovery_cache = __esm({
|
|
59473
59543
|
"src/expo-discovery-cache.ts"() {
|
|
59474
59544
|
"use strict";
|
|
@@ -59515,6 +59585,9 @@ var init_expo_discovery_cache = __esm({
|
|
|
59515
59585
|
isDigest = (value) => /^[0-9a-f]{64}$/.test(value);
|
|
59516
59586
|
digestRecord = (value) => stringRecord(value) && Object.values(value).every(isDigest);
|
|
59517
59587
|
sourceLocationLine = /^#sourceLocation\(file: "(.*)", line: 1\)$/;
|
|
59588
|
+
fileHashes = /* @__PURE__ */ new Map();
|
|
59589
|
+
fileHashesLoaded = false;
|
|
59590
|
+
fileHashesChanged = false;
|
|
59518
59591
|
MISSING_TREE = "0".repeat(64);
|
|
59519
59592
|
}
|
|
59520
59593
|
});
|
|
@@ -59531,7 +59604,7 @@ var init_expo_native_compiler_digest = __esm({
|
|
|
59531
59604
|
|
|
59532
59605
|
// src/expo-native-prebuilt.ts
|
|
59533
59606
|
function expoNativeCompilerDigestValue() {
|
|
59534
|
-
return true ? "
|
|
59607
|
+
return true ? "3c8bd65a3c749594ba3fad51bc9caeee0a5bf0ac9e8c6e569e513ec366ee6554" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
59535
59608
|
}
|
|
59536
59609
|
function readSources(value) {
|
|
59537
59610
|
const sources = isRecord(value) ? value.sources : null;
|
|
@@ -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 __defProp = Object.defineProperty;
|
package/dist-lib/cloud.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/cloud.mjs
CHANGED
|
@@ -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);
|
package/dist-lib/config.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/config.mjs
CHANGED
package/dist-lib/detox/index.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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -5129,7 +5129,7 @@ var swiftCoverageProvenance;
|
|
|
5129
5129
|
var init_provenance = __esm({
|
|
5130
5130
|
"src/swift-coverage/provenance.ts"() {
|
|
5131
5131
|
"use strict";
|
|
5132
|
-
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":"
|
|
5132
|
+
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, ".."));
|
|
5133
5133
|
}
|
|
5134
5134
|
});
|
|
5135
5135
|
|
|
@@ -13481,6 +13481,28 @@ function parseWasmObjectBytes(file, buf, isDist, symbolFlagOffsets) {
|
|
|
13481
13481
|
dataRelocList.push({ ...r, segIdx: lo, offInSeg, ownerSymIdx });
|
|
13482
13482
|
}
|
|
13483
13483
|
}
|
|
13484
|
+
const relocatedWords = /* @__PURE__ */ new Map();
|
|
13485
|
+
for (const r of dataRelocList) {
|
|
13486
|
+
let words2 = relocatedWords.get(r.segIdx);
|
|
13487
|
+
if (!words2) relocatedWords.set(r.segIdx, words2 = /* @__PURE__ */ new Set());
|
|
13488
|
+
words2.add(r.offInSeg);
|
|
13489
|
+
}
|
|
13490
|
+
for (const [segIdx, tops] of segTopSyms) {
|
|
13491
|
+
const starts = new Map(tops.map((top) => [top.off, top.symIdx]));
|
|
13492
|
+
const relocated = relocatedWords.get(segIdx);
|
|
13493
|
+
const payload = dataStart + sPayloadStarts[segIdx];
|
|
13494
|
+
const view = new DataView(buf.buffer, buf.byteOffset + payload);
|
|
13495
|
+
for (const top of tops) {
|
|
13496
|
+
for (let at = top.off; at + 4 <= top.end; at += 4) {
|
|
13497
|
+
if (relocated?.has(at)) continue;
|
|
13498
|
+
const target = starts.get(at + (view.getInt32(at, true) & ~3));
|
|
13499
|
+
if (target === void 0 || target === top.symIdx) continue;
|
|
13500
|
+
let list2 = symDataRelocs.get(top.symIdx);
|
|
13501
|
+
if (!list2) symDataRelocs.set(top.symIdx, list2 = []);
|
|
13502
|
+
list2.push(target);
|
|
13503
|
+
}
|
|
13504
|
+
}
|
|
13505
|
+
}
|
|
13484
13506
|
const typePrefixesInObj = /* @__PURE__ */ new Set();
|
|
13485
13507
|
for (let i = 0; i < symKind.length; i++) {
|
|
13486
13508
|
if ((symFlags[i] & 16) === 0 && symNames[i].startsWith("$s") && symNames[i].endsWith("Mn")) {
|
|
@@ -25216,7 +25238,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
|
|
|
25216
25238
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
25217
25239
|
MULTI_MANIFEST_VERSION = 68;
|
|
25218
25240
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
25219
|
-
compilerSourceDigest = true ? "
|
|
25241
|
+
compilerSourceDigest = true ? "0dc8ec5771fbb3c2f4e287a53570e9f15b27a2c933eb41530f414a37408c01d5" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
25220
25242
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
25221
25243
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
25222
25244
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -28725,7 +28747,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
28725
28747
|
nativeTargets.add(ref);
|
|
28726
28748
|
for (const dependency of dependenciesOf(ref)) includeNativeTarget(dependency);
|
|
28727
28749
|
};
|
|
28728
|
-
for (const { ref, module: module3 } of builtTargets)
|
|
28750
|
+
for (const { ref, module: module3 } of builtTargets.slice(0, -1))
|
|
28729
28751
|
if (options.nativeModules?.some(
|
|
28730
28752
|
(name3) => name3 === module3.moduleName || name3 === module3.name
|
|
28731
28753
|
))
|
|
@@ -29393,7 +29415,7 @@ var init_swift_standin_digest = __esm({
|
|
|
29393
29415
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
29394
29416
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
29395
29417
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
29396
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
29418
|
+
STANDIN_SOURCE_DIGEST = true ? "318c5e93a7c7c8e4ce1dbf748ec63c84273728043e6bafd140c6563890d717d0" : standinSourceDigest();
|
|
29397
29419
|
}
|
|
29398
29420
|
});
|
|
29399
29421
|
|
|
@@ -31063,7 +31085,10 @@ function nativeSwiftSlice(standin, moduleRoot, generator, configured, artifact)
|
|
|
31063
31085
|
`${standin.module}: configured binary behavior cannot replace a compiled native slice`
|
|
31064
31086
|
);
|
|
31065
31087
|
const distribution = swiftDistributionAt(moduleRoot);
|
|
31066
|
-
if (!distribution)
|
|
31088
|
+
if (!distribution)
|
|
31089
|
+
throw new Error(
|
|
31090
|
+
`${standin.module}'s native Swift slice needs a compiled distribution; a source checkout names one with ${SWIFT_PRIVATE_DISTRIBUTION_ENV}`
|
|
31091
|
+
);
|
|
31067
31092
|
const entry = nativeSwiftSliceEntry(distribution, generator);
|
|
31068
31093
|
const directory2 = fetchNativeEntry("slice", entry.name, entry.key) ?? privateSentrySlice(entry, moduleRoot);
|
|
31069
31094
|
if (!directory2)
|
|
@@ -31981,10 +32006,10 @@ function binaryHeaderSearchPaths(binary2, root, declaredFrameworks) {
|
|
|
31981
32006
|
const name3 = import_node_path70.default.basename(framework, ".framework");
|
|
31982
32007
|
if (!declaredFrameworks) continue;
|
|
31983
32008
|
const imports2 = declaredFrameworks.imports.get(name3);
|
|
31984
|
-
const swift = imports2 && swiftModuleInterface(declaredFrameworks.moduleRoot, name3);
|
|
32009
|
+
const swift = !REACH_STAGED_FRAMEWORKS.has(name3) && imports2 && swiftModuleInterface(declaredFrameworks.moduleRoot, name3);
|
|
31985
32010
|
const compiled = declaredFrameworks.compiledImports.get(name3);
|
|
31986
32011
|
if (swift) declared.set(framework, { ...swift, imports: imports2, sdkHeader: null });
|
|
31987
|
-
else if (compiled && REACH_STAGED_FRAMEWORKS.has(name3)) {
|
|
32012
|
+
else if ((compiled || imports2) && REACH_STAGED_FRAMEWORKS.has(name3)) {
|
|
31988
32013
|
const sdkHeader = import_node_path70.default.join(
|
|
31989
32014
|
swiftSharedSdkRoot(
|
|
31990
32015
|
declaredFrameworks.moduleRoot,
|
|
@@ -31996,7 +32021,7 @@ function binaryHeaderSearchPaths(binary2, root, declaredFrameworks) {
|
|
|
31996
32021
|
declared.set(framework, {
|
|
31997
32022
|
declared: null,
|
|
31998
32023
|
header: null,
|
|
31999
|
-
imports: compiled,
|
|
32024
|
+
imports: compiled ?? /* @__PURE__ */ new Set(),
|
|
32000
32025
|
sdkHeader: import_node_fs73.default.readFileSync(sdkHeader, "utf8")
|
|
32001
32026
|
});
|
|
32002
32027
|
}
|
|
@@ -50094,6 +50119,7 @@ function readExpoDiscovery(key2) {
|
|
|
50094
50119
|
for (const [directory2, expected] of Object.entries(parsed.frameworks)) {
|
|
50095
50120
|
if (frameworkDigest(directory2) !== expected) return void 0;
|
|
50096
50121
|
}
|
|
50122
|
+
saveFileHashes();
|
|
50097
50123
|
} catch {
|
|
50098
50124
|
return void 0;
|
|
50099
50125
|
}
|
|
@@ -50148,6 +50174,55 @@ function readExpoDiscovery(key2) {
|
|
|
50148
50174
|
}
|
|
50149
50175
|
}
|
|
50150
50176
|
var sourceLocationLine = /^#sourceLocation\(file: "(.*)", line: 1\)$/;
|
|
50177
|
+
var fileHashes = /* @__PURE__ */ new Map();
|
|
50178
|
+
var fileHashesLoaded = false;
|
|
50179
|
+
var fileHashesChanged = false;
|
|
50180
|
+
function fileHashesPath() {
|
|
50181
|
+
return import_node_path58.default.join(sharedDir(), "framework-file-hashes.json");
|
|
50182
|
+
}
|
|
50183
|
+
function stampedFileHash(file) {
|
|
50184
|
+
if (!fileHashesLoaded) {
|
|
50185
|
+
fileHashesLoaded = true;
|
|
50186
|
+
try {
|
|
50187
|
+
const saved = JSON.parse(import_node_fs60.default.readFileSync(fileHashesPath(), "utf8"));
|
|
50188
|
+
if (isRecord(saved)) {
|
|
50189
|
+
for (const [entry, value] of Object.entries(saved))
|
|
50190
|
+
if (Array.isArray(value) && typeof value[0] === "string" && typeof value[1] === "string")
|
|
50191
|
+
fileHashes.set(entry, { stamp: value[0], checksum: value[1] });
|
|
50192
|
+
}
|
|
50193
|
+
} catch {
|
|
50194
|
+
fileHashes.clear();
|
|
50195
|
+
}
|
|
50196
|
+
}
|
|
50197
|
+
const stat = import_node_fs60.default.statSync(file, { bigint: true });
|
|
50198
|
+
const stamp = [stat.dev, stat.ino, stat.size, stat.mtimeNs, stat.ctimeNs].join(":");
|
|
50199
|
+
const cached2 = fileHashes.get(file);
|
|
50200
|
+
if (cached2?.stamp === stamp) return cached2.checksum;
|
|
50201
|
+
const checksum = (0, import_node_crypto28.createHash)("sha256").update(import_node_fs60.default.readFileSync(file)).digest("hex");
|
|
50202
|
+
fileHashes.set(file, { stamp, checksum });
|
|
50203
|
+
fileHashesChanged = true;
|
|
50204
|
+
return checksum;
|
|
50205
|
+
}
|
|
50206
|
+
function saveFileHashes() {
|
|
50207
|
+
if (!fileHashesChanged) return;
|
|
50208
|
+
fileHashesChanged = false;
|
|
50209
|
+
const target = fileHashesPath();
|
|
50210
|
+
const temporary = `${target}.${process.pid}.${(0, import_node_crypto28.randomUUID)()}.tmp`;
|
|
50211
|
+
try {
|
|
50212
|
+
import_node_fs60.default.mkdirSync(import_node_path58.default.dirname(target), { recursive: true });
|
|
50213
|
+
import_node_fs60.default.writeFileSync(
|
|
50214
|
+
temporary,
|
|
50215
|
+
JSON.stringify(
|
|
50216
|
+
Object.fromEntries(
|
|
50217
|
+
[...fileHashes].filter(([entry]) => import_node_fs60.default.existsSync(entry)).map(([entry, { stamp, checksum }]) => [entry, [stamp, checksum]])
|
|
50218
|
+
)
|
|
50219
|
+
)
|
|
50220
|
+
);
|
|
50221
|
+
import_node_fs60.default.renameSync(temporary, target);
|
|
50222
|
+
} catch {
|
|
50223
|
+
import_node_fs60.default.rmSync(temporary, { force: true });
|
|
50224
|
+
}
|
|
50225
|
+
}
|
|
50151
50226
|
function treeDigest(directory2, signal) {
|
|
50152
50227
|
const entries = /* @__PURE__ */ new Map();
|
|
50153
50228
|
const seen = /* @__PURE__ */ new Set();
|
|
@@ -50164,10 +50239,7 @@ function treeDigest(directory2, signal) {
|
|
|
50164
50239
|
} else if (child.isDirectory()) {
|
|
50165
50240
|
walk3(file);
|
|
50166
50241
|
} else if (child.isFile()) {
|
|
50167
|
-
entries.set(
|
|
50168
|
-
relative3,
|
|
50169
|
-
`file\0${(0, import_node_crypto28.createHash)("sha256").update(import_node_fs60.default.readFileSync(file)).digest("hex")}`
|
|
50170
|
-
);
|
|
50242
|
+
entries.set(relative3, `file\0${stampedFileHash(file)}`);
|
|
50171
50243
|
}
|
|
50172
50244
|
}
|
|
50173
50245
|
};
|
|
@@ -50391,6 +50463,7 @@ function writeExpoDiscovery(options) {
|
|
|
50391
50463
|
);
|
|
50392
50464
|
import_node_fs60.default.renameSync(tmp, import_node_path58.default.join(dir, `${options.key}.json`));
|
|
50393
50465
|
expireDiscovery(dir, import_node_path58.default.join(dir, `${options.key}.json`));
|
|
50466
|
+
saveFileHashes();
|
|
50394
50467
|
return rewritten.units;
|
|
50395
50468
|
} catch (error) {
|
|
50396
50469
|
if (options.signal?.aborted) throw error;
|
|
@@ -50489,7 +50562,7 @@ init_swift_native_pin();
|
|
|
50489
50562
|
init_xcode_project();
|
|
50490
50563
|
var EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
50491
50564
|
function expoNativeCompilerDigestValue() {
|
|
50492
|
-
return true ? "
|
|
50565
|
+
return true ? "3c8bd65a3c749594ba3fad51bc9caeee0a5bf0ac9e8c6e569e513ec366ee6554" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
50493
50566
|
}
|
|
50494
50567
|
var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
50495
50568
|
function readSources(value) {
|
|
@@ -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;
|