peachsim 0.1.2298 → 0.1.2300
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/cli/commands/serve.ts +12 -3
- 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 +196 -49
- 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 +2 -2
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +167 -41
- 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 +184 -57
- package/dist-lib/host/fetch-proxy-handler.cjs +5 -9
- 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 +61 -31
- 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 +60 -30
- package/dist-lib/native-app-identity-project.cjs +44 -23
- package/dist-lib/native-app-identity-project.mjs +44 -23
- 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 +213 -74
- package/dist-lib/swift-compile.cjs +49 -3
- package/dist-lib/swift-compile.mjs +49 -3
- 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 +105 -35
- package/dist-lib/vite.cjs +11 -10
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-compat/src/stubs/native-seams/react-native-gesture-handler.d.ts +3 -0
- package/dist-types/packages/peach-engine/src/render-worker/gesture-arbitration-native.d.ts +124 -0
- 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 +25 -13
- package/kotlin/sdk.tar.gz +0 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/src/bundle-channel.mjs +4 -3
- package/src/cli-runtime.ts +6 -0
- package/src/expo-discovery-cache.ts +65 -4
- package/src/native-firebase-config.ts +14 -0
- package/src/native-swift-slices.ts +9 -2
- package/src/swift-compile.ts +28 -1
- package/src/swift-standins.ts +6 -3
- package/src/swift-wasm-prune.ts +29 -0
- package/src/vite-plugin-one.ts +3 -3
- package/src/xcode-project.ts +46 -23
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2300 | (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;
|
|
@@ -14189,7 +14189,7 @@ var swiftCoverageProvenance;
|
|
|
14189
14189
|
var init_provenance = __esm({
|
|
14190
14190
|
"src/swift-coverage/provenance.ts"() {
|
|
14191
14191
|
"use strict";
|
|
14192
|
-
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":"
|
|
14192
|
+
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":"96a57d4b999e75658683d635d3522d6c7ae30b4c8bc38a8114af353bce5162ff","xcode-target-members.ts":"2f25aaf5a3aa34395983c75935491c06bd68554c47ff1cb06b49c79499c03db0","xcode-json-project.ts":"41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6","openstep-plist.ts":"74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3"}') : swiftCoverageSourceDigests((0, import_node_path.join)(__sootsim_import_meta_dirname, ".."));
|
|
14193
14193
|
}
|
|
14194
14194
|
});
|
|
14195
14195
|
|
|
@@ -19723,8 +19723,8 @@ function developerDirs() {
|
|
|
19723
19723
|
}
|
|
19724
19724
|
return found;
|
|
19725
19725
|
}
|
|
19726
|
-
function readNativeSdk(
|
|
19727
|
-
const env = { ...process.env, DEVELOPER_DIR:
|
|
19726
|
+
function readNativeSdk(developerDir2) {
|
|
19727
|
+
const env = { ...process.env, DEVELOPER_DIR: developerDir2 };
|
|
19728
19728
|
const xcrun = (args) => (
|
|
19729
19729
|
// runner-toolchain-platform: darwin
|
|
19730
19730
|
(0, import_node_child_process16.execFileSync)("xcrun", args, {
|
|
@@ -19763,19 +19763,19 @@ function nativeGraphMismatches(read) {
|
|
|
19763
19763
|
function pinnedNativeSdk() {
|
|
19764
19764
|
if (resolvedPinnedSdk) return resolvedPinnedSdk;
|
|
19765
19765
|
let mismatches;
|
|
19766
|
-
for (const
|
|
19766
|
+
for (const developerDir2 of developerDirs()) {
|
|
19767
19767
|
let read;
|
|
19768
19768
|
try {
|
|
19769
|
-
read = readNativeSdk(
|
|
19769
|
+
read = readNativeSdk(developerDir2);
|
|
19770
19770
|
} catch {
|
|
19771
19771
|
continue;
|
|
19772
19772
|
}
|
|
19773
19773
|
if (read.sdk !== NATIVE_GRAPH_SDK_VERSION) continue;
|
|
19774
19774
|
const differ = nativeGraphMismatches(read);
|
|
19775
19775
|
if (differ.length === 0) {
|
|
19776
|
-
process.env.DEVELOPER_DIR =
|
|
19776
|
+
process.env.DEVELOPER_DIR = developerDir2;
|
|
19777
19777
|
resolvedPinnedSdk = {
|
|
19778
|
-
developerDir,
|
|
19778
|
+
developerDir: developerDir2,
|
|
19779
19779
|
sdkPath: read.sdkPath,
|
|
19780
19780
|
compiler: read.compiler
|
|
19781
19781
|
};
|
|
@@ -22541,6 +22541,28 @@ function parseWasmObjectBytes(file, buf, isDist, symbolFlagOffsets) {
|
|
|
22541
22541
|
dataRelocList.push({ ...r, segIdx: lo, offInSeg, ownerSymIdx });
|
|
22542
22542
|
}
|
|
22543
22543
|
}
|
|
22544
|
+
const relocatedWords = /* @__PURE__ */ new Map();
|
|
22545
|
+
for (const r of dataRelocList) {
|
|
22546
|
+
let words2 = relocatedWords.get(r.segIdx);
|
|
22547
|
+
if (!words2) relocatedWords.set(r.segIdx, words2 = /* @__PURE__ */ new Set());
|
|
22548
|
+
words2.add(r.offInSeg);
|
|
22549
|
+
}
|
|
22550
|
+
for (const [segIdx, tops] of segTopSyms) {
|
|
22551
|
+
const starts = new Map(tops.map((top) => [top.off, top.symIdx]));
|
|
22552
|
+
const relocated = relocatedWords.get(segIdx);
|
|
22553
|
+
const payload = dataStart + sPayloadStarts[segIdx];
|
|
22554
|
+
const view = new DataView(buf.buffer, buf.byteOffset + payload);
|
|
22555
|
+
for (const top of tops) {
|
|
22556
|
+
for (let at = top.off; at + 4 <= top.end; at += 4) {
|
|
22557
|
+
if (relocated?.has(at)) continue;
|
|
22558
|
+
const target = starts.get(at + (view.getInt32(at, true) & ~3));
|
|
22559
|
+
if (target === void 0 || target === top.symIdx) continue;
|
|
22560
|
+
let list2 = symDataRelocs.get(top.symIdx);
|
|
22561
|
+
if (!list2) symDataRelocs.set(top.symIdx, list2 = []);
|
|
22562
|
+
list2.push(target);
|
|
22563
|
+
}
|
|
22564
|
+
}
|
|
22565
|
+
}
|
|
22544
22566
|
const typePrefixesInObj = /* @__PURE__ */ new Set();
|
|
22545
22567
|
for (let i = 0; i < symKind.length; i++) {
|
|
22546
22568
|
if ((symFlags[i] & 16) === 0 && symNames[i].startsWith("$s") && symNames[i].endsWith("Mn")) {
|
|
@@ -33823,6 +33845,28 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
33823
33845
|
(0, import_node_fs52.rmSync)(linked, { force: true });
|
|
33824
33846
|
report("compiling and linking Swift modules");
|
|
33825
33847
|
const frameworkInterfaces = /* @__PURE__ */ new Map();
|
|
33848
|
+
const nativeDeclarations = /* @__PURE__ */ new Map();
|
|
33849
|
+
for (const [file, contents] of Object.entries(input.files)) {
|
|
33850
|
+
if (!file.endsWith(".modulemap")) continue;
|
|
33851
|
+
const name3 = moduleMapName(contents);
|
|
33852
|
+
const umbrella = /\bumbrella\s+header\s+"([^"]+)"/.exec(contents)?.[1];
|
|
33853
|
+
if (!name3 || !umbrella) continue;
|
|
33854
|
+
const header = input.files[import_node_path50.default.posix.join(import_node_path50.default.posix.dirname(file), umbrella)];
|
|
33855
|
+
if (header === void 0) continue;
|
|
33856
|
+
const included = new Set(
|
|
33857
|
+
[
|
|
33858
|
+
...header.matchAll(/^\s*#\s*(?:import|include)\s*[<"]([^">]+)[">]/gm)
|
|
33859
|
+
].map((match) => import_node_path50.default.posix.basename(match[1]))
|
|
33860
|
+
);
|
|
33861
|
+
const declarations = nativeDeclarations.get(name3) ?? /* @__PURE__ */ new Set();
|
|
33862
|
+
for (const declaration of swiftInterfaceDeclarations(header))
|
|
33863
|
+
declarations.add(declaration);
|
|
33864
|
+
for (const [candidate, source] of Object.entries(input.files))
|
|
33865
|
+
if (included.has(import_node_path50.default.posix.basename(candidate)))
|
|
33866
|
+
for (const declaration of swiftInterfaceDeclarations(source))
|
|
33867
|
+
declarations.add(declaration);
|
|
33868
|
+
nativeDeclarations.set(name3, declarations);
|
|
33869
|
+
}
|
|
33826
33870
|
const frameworkInterface = (name3) => {
|
|
33827
33871
|
if (frameworkInterfaces.has(name3)) return frameworkInterfaces.get(name3);
|
|
33828
33872
|
const source = distribution ? import_node_path50.default.join(frameworkRoot, "modules", `${name3}-Swift.h`) : import_node_path50.default.join(
|
|
@@ -33850,10 +33894,12 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
33850
33894
|
))
|
|
33851
33895
|
declared.add(name4);
|
|
33852
33896
|
}
|
|
33897
|
+
for (const declaration of nativeDeclarations.get(name3) ?? [])
|
|
33898
|
+
declared.add(declaration);
|
|
33853
33899
|
const own = withoutSwiftDeclarations(
|
|
33854
33900
|
clangInterfaceHeader((0, import_node_fs52.readFileSync)(source, "utf8")),
|
|
33855
33901
|
declared,
|
|
33856
|
-
`#import <${name3}/${name3}.h>`
|
|
33902
|
+
nativeDeclarations.has(name3) ? `@import ${name3};` : `#import <${name3}/${name3}.h>`
|
|
33857
33903
|
);
|
|
33858
33904
|
const owners = sdkObjCDeclarationOwners(import_node_path50.default.dirname(import_node_path50.default.dirname(headers)));
|
|
33859
33905
|
const foreign = /* @__PURE__ */ new Map();
|
|
@@ -34301,7 +34347,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
|
|
|
34301
34347
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
34302
34348
|
MULTI_MANIFEST_VERSION = 68;
|
|
34303
34349
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
34304
|
-
compilerSourceDigest = true ? "
|
|
34350
|
+
compilerSourceDigest = true ? "3c645ce8a5442f60dce1735912506ad6fa5d09cb92da26cff3950c374b371e2b" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
34305
34351
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
34306
34352
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
34307
34353
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -36684,6 +36730,16 @@ function loadProject(xcodeproj) {
|
|
|
36684
36730
|
loaded.set(projectFile, { digest: digest3, project: result });
|
|
36685
36731
|
return result;
|
|
36686
36732
|
}
|
|
36733
|
+
function selectedDeveloperDir() {
|
|
36734
|
+
developerDir ??= process.platform === "darwin" ? (
|
|
36735
|
+
// runner-toolchain-platform: darwin
|
|
36736
|
+
(0, import_node_child_process31.execFileSync)("xcode-select", ["-p"], {
|
|
36737
|
+
encoding: "utf8",
|
|
36738
|
+
stdio: ["ignore", "pipe", "pipe"]
|
|
36739
|
+
}).trim()
|
|
36740
|
+
) : "";
|
|
36741
|
+
return developerDir;
|
|
36742
|
+
}
|
|
36687
36743
|
function defaultConfiguration(project2) {
|
|
36688
36744
|
const configList = project2.object(str(project2.project.buildConfigurationList));
|
|
36689
36745
|
const names = list(configList?.buildConfigurations).flatMap(
|
|
@@ -36750,15 +36806,8 @@ function targetSettings(ref, configuration, builtins, options = {}, overrides =
|
|
|
36750
36806
|
resolving2.delete(marker);
|
|
36751
36807
|
return value;
|
|
36752
36808
|
};
|
|
36753
|
-
let developerDir;
|
|
36754
36809
|
const derivedSettings = {
|
|
36755
|
-
DEVELOPER_DIR: () => options.environment?.DEVELOPER_DIR ?? process.env.DEVELOPER_DIR ?? (
|
|
36756
|
-
// runner-toolchain-platform: darwin
|
|
36757
|
-
(0, import_node_child_process31.execFileSync)("xcode-select", ["-p"], {
|
|
36758
|
-
encoding: "utf8",
|
|
36759
|
-
stdio: ["ignore", "pipe", "pipe"]
|
|
36760
|
-
}).trim()
|
|
36761
|
-
) : ""),
|
|
36810
|
+
DEVELOPER_DIR: () => options.environment?.DEVELOPER_DIR ?? process.env.DEVELOPER_DIR ?? selectedDeveloperDir(),
|
|
36762
36811
|
PRODUCT_NAME: () => get("TARGET_NAME"),
|
|
36763
36812
|
PRODUCT_MODULE_NAME: () => applyOperator(get("PRODUCT_NAME"), "c99extidentifier"),
|
|
36764
36813
|
EXECUTABLE_NAME: () => get("PRODUCT_NAME"),
|
|
@@ -37672,7 +37721,16 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
37672
37721
|
order.push(ref);
|
|
37673
37722
|
};
|
|
37674
37723
|
visit3(app);
|
|
37675
|
-
const
|
|
37724
|
+
const headerPhases = /* @__PURE__ */ new Map();
|
|
37725
|
+
const headerPhase = (ref) => {
|
|
37726
|
+
const key2 = `${ref.project.xcodeproj}\0${ref.id}`;
|
|
37727
|
+
const cached3 = headerPhases.get(key2);
|
|
37728
|
+
if (cached3) return cached3;
|
|
37729
|
+
const files2 = readHeaderPhase(ref);
|
|
37730
|
+
headerPhases.set(key2, files2);
|
|
37731
|
+
return files2;
|
|
37732
|
+
};
|
|
37733
|
+
const readHeaderPhase = (ref) => list(ref.target.buildPhases).flatMap((phaseId) => {
|
|
37676
37734
|
const phase = ref.project.object(phaseId);
|
|
37677
37735
|
if (phase?.isa !== "PBXHeadersBuildPhase") return [];
|
|
37678
37736
|
return list(phase.files).flatMap((id) => {
|
|
@@ -37689,6 +37747,23 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
37689
37747
|
];
|
|
37690
37748
|
});
|
|
37691
37749
|
});
|
|
37750
|
+
const projectNonFrameworkHeaders = /* @__PURE__ */ new Map();
|
|
37751
|
+
const nonFrameworkHeadersOf = (project2) => {
|
|
37752
|
+
const cached3 = projectNonFrameworkHeaders.get(project2);
|
|
37753
|
+
if (cached3) return cached3;
|
|
37754
|
+
const headers = /* @__PURE__ */ new Map();
|
|
37755
|
+
for (const other of projectTargets(project2)) {
|
|
37756
|
+
if (FRAMEWORK_PRODUCTS.has(str(other.target.productType) ?? "")) continue;
|
|
37757
|
+
const otherProduct = productName(other);
|
|
37758
|
+
for (const { file, visibility } of headerPhase(other)) {
|
|
37759
|
+
if (visibility === "Project") continue;
|
|
37760
|
+
const key2 = `${otherProduct}/${import_node_path55.default.basename(file)}`;
|
|
37761
|
+
if (!headers.has(key2)) headers.set(key2, file);
|
|
37762
|
+
}
|
|
37763
|
+
}
|
|
37764
|
+
projectNonFrameworkHeaders.set(project2, headers);
|
|
37765
|
+
return headers;
|
|
37766
|
+
};
|
|
37692
37767
|
const productNames = /* @__PURE__ */ new Map();
|
|
37693
37768
|
const productName = (ref) => {
|
|
37694
37769
|
const key2 = `${ref.project.xcodeproj}\0${ref.id}`;
|
|
@@ -37921,16 +37996,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
37921
37996
|
const qualified3 = `${product}/${name4}`;
|
|
37922
37997
|
if (!ownHeaders.has(qualified3)) ownHeaders.set(qualified3, file);
|
|
37923
37998
|
}
|
|
37924
|
-
const nonFrameworkHeaders =
|
|
37925
|
-
for (const other of projectTargets(ref.project)) {
|
|
37926
|
-
if (FRAMEWORK_PRODUCTS.has(str(other.target.productType) ?? "")) continue;
|
|
37927
|
-
const otherProduct = productName(other);
|
|
37928
|
-
for (const { file, visibility } of headerPhase(other)) {
|
|
37929
|
-
if (visibility === "Project") continue;
|
|
37930
|
-
const key2 = `${otherProduct}/${import_node_path55.default.basename(file)}`;
|
|
37931
|
-
if (!nonFrameworkHeaders.has(key2)) nonFrameworkHeaders.set(key2, file);
|
|
37932
|
-
}
|
|
37933
|
-
}
|
|
37999
|
+
const nonFrameworkHeaders = nonFrameworkHeadersOf(ref.project);
|
|
37934
38000
|
const wrapper = import_node_path55.default.join(settings2("BUILT_PRODUCTS_DIR"), `${product}.framework`);
|
|
37935
38001
|
const moduleMap = (settings2("DEFINES_MODULE") === "YES" || !framework) && settings2("MODULEMAP_FILE") ? absolute(settings2("MODULEMAP_FILE")) : null;
|
|
37936
38002
|
const frameworkUmbrella = !compatibility && framework && members2.sources.length > 0 && moduleMap ? import_node_path55.default.join(import_node_path55.default.dirname(moduleMap), `${moduleName2}-umbrella.h`) : null;
|
|
@@ -38152,7 +38218,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
38152
38218
|
nativeTargets.add(ref);
|
|
38153
38219
|
for (const dependency of dependenciesOf(ref)) includeNativeTarget(dependency);
|
|
38154
38220
|
};
|
|
38155
|
-
for (const { ref, module: module3 } of builtTargets)
|
|
38221
|
+
for (const { ref, module: module3 } of builtTargets.slice(0, -1))
|
|
38156
38222
|
if (options.nativeModules?.some(
|
|
38157
38223
|
(name3) => name3 === module3.moduleName || name3 === module3.name
|
|
38158
38224
|
))
|
|
@@ -38629,7 +38695,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
38629
38695
|
cocoapods
|
|
38630
38696
|
};
|
|
38631
38697
|
}
|
|
38632
|
-
var import_node_child_process31, import_node_crypto25, import_node_fs56, import_node_path55, import_plist2, XCODE_DEFAULT_IOS_DEPLOYMENT_TARGET, runScriptTimeoutMs, CXX_STANDARD_ALIASES, PRE_CXX20_STANDARDS, APPLICATION, RESOURCE_BUNDLE, PRODUCT_MACH_O_TYPES, FRAMEWORK_PRODUCTS, HEADER_FILE, MODULE_PRODUCTS, CONDITIONS, isDirectory, loaded, preparedSourcePhases, isPodsProject, targetRefs, NativeAppTargetSelectionError, workspaceResolvedFile, SwiftPackageResolutionRequired;
|
|
38698
|
+
var import_node_child_process31, import_node_crypto25, import_node_fs56, import_node_path55, import_plist2, XCODE_DEFAULT_IOS_DEPLOYMENT_TARGET, runScriptTimeoutMs, CXX_STANDARD_ALIASES, PRE_CXX20_STANDARDS, APPLICATION, RESOURCE_BUNDLE, PRODUCT_MACH_O_TYPES, FRAMEWORK_PRODUCTS, HEADER_FILE, MODULE_PRODUCTS, CONDITIONS, isDirectory, loaded, developerDir, preparedSourcePhases, isPodsProject, targetRefs, NativeAppTargetSelectionError, workspaceResolvedFile, SwiftPackageResolutionRequired;
|
|
38633
38699
|
var init_xcode_project = __esm({
|
|
38634
38700
|
"src/xcode-project.ts"() {
|
|
38635
38701
|
"use strict";
|
|
@@ -38822,7 +38888,7 @@ var init_swift_standin_digest = __esm({
|
|
|
38822
38888
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
38823
38889
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
38824
38890
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
38825
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
38891
|
+
STANDIN_SOURCE_DIGEST = true ? "8a800a5151c426f07ff690c34df9a6d538c005318051ef52635fc568c44736f6" : standinSourceDigest();
|
|
38826
38892
|
}
|
|
38827
38893
|
});
|
|
38828
38894
|
|
|
@@ -40560,7 +40626,10 @@ function nativeSwiftSlice(standin, moduleRoot, generator, configured, artifact)
|
|
|
40560
40626
|
`${standin.module}: configured binary behavior cannot replace a compiled native slice`
|
|
40561
40627
|
);
|
|
40562
40628
|
const distribution = swiftDistributionAt(moduleRoot);
|
|
40563
|
-
if (!distribution)
|
|
40629
|
+
if (!distribution)
|
|
40630
|
+
throw new Error(
|
|
40631
|
+
`${standin.module}'s native Swift slice needs a compiled distribution; a source checkout names one with ${SWIFT_PRIVATE_DISTRIBUTION_ENV}`
|
|
40632
|
+
);
|
|
40564
40633
|
const entry = nativeSwiftSliceEntry(distribution, generator);
|
|
40565
40634
|
const directory2 = fetchNativeEntry("slice", entry.name, entry.key) ?? privateSentrySlice(entry, moduleRoot);
|
|
40566
40635
|
if (!directory2)
|
|
@@ -41478,10 +41547,10 @@ function binaryHeaderSearchPaths(binary2, root, declaredFrameworks) {
|
|
|
41478
41547
|
const name3 = import_node_path75.default.basename(framework, ".framework");
|
|
41479
41548
|
if (!declaredFrameworks) continue;
|
|
41480
41549
|
const imports2 = declaredFrameworks.imports.get(name3);
|
|
41481
|
-
const swift = imports2 && swiftModuleInterface(declaredFrameworks.moduleRoot, name3);
|
|
41550
|
+
const swift = !REACH_STAGED_FRAMEWORKS.has(name3) && imports2 && swiftModuleInterface(declaredFrameworks.moduleRoot, name3);
|
|
41482
41551
|
const compiled = declaredFrameworks.compiledImports.get(name3);
|
|
41483
41552
|
if (swift) declared.set(framework, { ...swift, imports: imports2, sdkHeader: null });
|
|
41484
|
-
else if (compiled && REACH_STAGED_FRAMEWORKS.has(name3)) {
|
|
41553
|
+
else if ((compiled || imports2) && REACH_STAGED_FRAMEWORKS.has(name3)) {
|
|
41485
41554
|
const sdkHeader = import_node_path75.default.join(
|
|
41486
41555
|
swiftSharedSdkRoot(
|
|
41487
41556
|
declaredFrameworks.moduleRoot,
|
|
@@ -41493,7 +41562,7 @@ function binaryHeaderSearchPaths(binary2, root, declaredFrameworks) {
|
|
|
41493
41562
|
declared.set(framework, {
|
|
41494
41563
|
declared: null,
|
|
41495
41564
|
header: null,
|
|
41496
|
-
imports: compiled,
|
|
41565
|
+
imports: compiled ?? /* @__PURE__ */ new Set(),
|
|
41497
41566
|
sdkHeader: import_node_fs77.default.readFileSync(sdkHeader, "utf8")
|
|
41498
41567
|
});
|
|
41499
41568
|
}
|
|
@@ -55764,7 +55833,7 @@ var init_nitro_superset = __esm({
|
|
|
55764
55833
|
init_nitroContract();
|
|
55765
55834
|
init_swift_standin_digest();
|
|
55766
55835
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
55767
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
55836
|
+
NITRO_COMPILER_DIGEST = true ? "9393367a8c7442a5ce3f6e81f9ff408f0afdbf5eeadaeed359561a348a6b1818" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
55768
55837
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
55769
55838
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
55770
55839
|
published2 = /* @__PURE__ */ new Map();
|
|
@@ -55785,7 +55854,7 @@ var init_nitro_superset = __esm({
|
|
|
55785
55854
|
var runtime_companion_default;
|
|
55786
55855
|
var init_runtime_companion = __esm({
|
|
55787
55856
|
"runtime-companion.json"() {
|
|
55788
|
-
runtime_companion_default = { abi: 1, sha256: "
|
|
55857
|
+
runtime_companion_default = { abi: 1, sha256: "60900a3af6e6213c855e6682baa0ebdb6a6865510e4e3a51a24d4c584b3fdec2", file: "node/cli-60900a3af6e6213c855e6682baa0ebdb6a6865510e4e3a51a24d4c584b3fdec2.cjs" };
|
|
55789
55858
|
}
|
|
55790
55859
|
});
|
|
55791
55860
|
|
|
@@ -55796,6 +55865,7 @@ __export(cli_runtime_exports, {
|
|
|
55796
55865
|
cliCompanionPath: () => cliCompanionPath,
|
|
55797
55866
|
ensureCliCompanion: () => ensureCliCompanion,
|
|
55798
55867
|
getCliRuntime: () => getCliRuntime,
|
|
55868
|
+
loadCliRuntime: () => loadCliRuntime,
|
|
55799
55869
|
verifyCliCompanion: () => verifyCliCompanion
|
|
55800
55870
|
});
|
|
55801
55871
|
function cliCompanionPath() {
|
|
@@ -55843,6 +55913,10 @@ async function ensureCliCompanion(root) {
|
|
|
55843
55913
|
(0, import_node_fs103.rmSync)(staged, { force: true });
|
|
55844
55914
|
}
|
|
55845
55915
|
}
|
|
55916
|
+
async function loadCliRuntime() {
|
|
55917
|
+
if (!loaded2) await ensureCliCompanion(peachRuntimeRoot());
|
|
55918
|
+
return getCliRuntime();
|
|
55919
|
+
}
|
|
55846
55920
|
function getCliRuntime() {
|
|
55847
55921
|
if (loaded2) return loaded2.runtime;
|
|
55848
55922
|
const root = peachRuntimeRoot();
|
|
@@ -60488,7 +60562,7 @@ function readDescriptorObject(text6, start, end, pairSpans) {
|
|
|
60488
60562
|
const strings7 = {};
|
|
60489
60563
|
let scales;
|
|
60490
60564
|
let fileUris;
|
|
60491
|
-
let
|
|
60565
|
+
let fileHashes2;
|
|
60492
60566
|
let cursor = start + 1;
|
|
60493
60567
|
let braceDepth = 1;
|
|
60494
60568
|
let bracketDepth = 0;
|
|
@@ -60535,7 +60609,7 @@ function readDescriptorObject(text6, start, end, pairSpans) {
|
|
|
60535
60609
|
const value = readStringArray(text6, valueStart, end - 1);
|
|
60536
60610
|
if (!value) return null;
|
|
60537
60611
|
if (key2 === "fileUris") fileUris = value.values;
|
|
60538
|
-
else
|
|
60612
|
+
else fileHashes2 = value.values;
|
|
60539
60613
|
pairSpans?.embedded.push({ start: pairStart, end: value.end });
|
|
60540
60614
|
cursor = value.end;
|
|
60541
60615
|
canStartRegex = false;
|
|
@@ -60587,7 +60661,7 @@ function readDescriptorObject(text6, start, end, pairSpans) {
|
|
|
60587
60661
|
};
|
|
60588
60662
|
if (descriptor.scales.length === 0) descriptor.scales = [1];
|
|
60589
60663
|
if (fileUris) descriptor.fileUris = fileUris;
|
|
60590
|
-
if (
|
|
60664
|
+
if (fileHashes2) descriptor.fileHashes = fileHashes2;
|
|
60591
60665
|
return descriptor;
|
|
60592
60666
|
}
|
|
60593
60667
|
function* iterateAssetDescriptorSites(bundle) {
|
|
@@ -61006,7 +61080,7 @@ async function embedMetroAssetFiles(bundle, read) {
|
|
|
61006
61080
|
continue;
|
|
61007
61081
|
}
|
|
61008
61082
|
const fileUris = [];
|
|
61009
|
-
const
|
|
61083
|
+
const fileHashes2 = [];
|
|
61010
61084
|
const loaded3 = /* @__PURE__ */ new Map();
|
|
61011
61085
|
for (let index = 0; index < site.descriptor.scales.length; index++) {
|
|
61012
61086
|
const scale = site.descriptor.scales[index];
|
|
@@ -61029,7 +61103,7 @@ async function embedMetroAssetFiles(bundle, read) {
|
|
|
61029
61103
|
const file = loaded3.get(scale);
|
|
61030
61104
|
if (!file) continue;
|
|
61031
61105
|
fileUris.push(metroAssetDataUri(site.descriptor.type, file));
|
|
61032
|
-
|
|
61106
|
+
fileHashes2.push(await sha256HexBytes(file));
|
|
61033
61107
|
variants++;
|
|
61034
61108
|
bytes += file.byteLength;
|
|
61035
61109
|
descriptorBytes += file.byteLength;
|
|
@@ -61038,7 +61112,7 @@ async function embedMetroAssetFiles(bundle, read) {
|
|
|
61038
61112
|
asset: `${site.descriptor.httpServerLocation}/${site.descriptor.name}.${site.descriptor.type}`,
|
|
61039
61113
|
bytes: descriptorBytes
|
|
61040
61114
|
});
|
|
61041
|
-
embedded.set(key2, { fileUris, fileHashes, scales });
|
|
61115
|
+
embedded.set(key2, { fileUris, fileHashes: fileHashes2, scales });
|
|
61042
61116
|
}
|
|
61043
61117
|
const parts = [];
|
|
61044
61118
|
let cursor = 0;
|
|
@@ -61825,7 +61899,7 @@ function placeMetroDescriptor(listing, descriptor) {
|
|
|
61825
61899
|
if (perScale.length === 0 || perScale.some((options) => options.length === 0)) {
|
|
61826
61900
|
return { files: files2, ambiguous, verified: false, mismatched: false };
|
|
61827
61901
|
}
|
|
61828
|
-
const
|
|
61902
|
+
const fileHashes2 = !descriptor.fileUris && descriptor.fileHashes?.length === descriptor.scales.length ? descriptor.fileHashes : null;
|
|
61829
61903
|
for (const combination of placementCombinations(perScale)) {
|
|
61830
61904
|
let bytes;
|
|
61831
61905
|
try {
|
|
@@ -61835,10 +61909,10 @@ function placeMetroDescriptor(listing, descriptor) {
|
|
|
61835
61909
|
} catch {
|
|
61836
61910
|
continue;
|
|
61837
61911
|
}
|
|
61838
|
-
const identical =
|
|
61912
|
+
const identical = fileHashes2 ? bytes.every((file, index) => {
|
|
61839
61913
|
const digest3 = (0, import_node_crypto66.createHash)("md5").update(file).digest("hex");
|
|
61840
61914
|
return descriptor.scales.some(
|
|
61841
|
-
(scale, declared) => scale === scales[index] &&
|
|
61915
|
+
(scale, declared) => scale === scales[index] && fileHashes2[declared] === digest3
|
|
61842
61916
|
);
|
|
61843
61917
|
}) : scales.length === descriptor.scales.length && metroDescriptorHash(bytes) === descriptor.hash;
|
|
61844
61918
|
if (!identical) continue;
|
|
@@ -61849,7 +61923,7 @@ function placeMetroDescriptor(listing, descriptor) {
|
|
|
61849
61923
|
});
|
|
61850
61924
|
return { files: chosen, ambiguous: [], verified: true, mismatched: false };
|
|
61851
61925
|
}
|
|
61852
|
-
if (!
|
|
61926
|
+
if (!fileHashes2 && scales.length !== descriptor.scales.length) {
|
|
61853
61927
|
return { files: files2, ambiguous, verified: false, mismatched: false };
|
|
61854
61928
|
}
|
|
61855
61929
|
return { files: files2, ambiguous, verified: false, mismatched: true };
|
|
@@ -63964,6 +64038,15 @@ const result = JSON.stringify(getConfig(root, { skipSDKVersionRequirement: true
|
|
|
63964
64038
|
if (Buffer.byteLength(result) > 1024 * 1024) throw new Error('Expo native configuration exceeds 1 MiB.');
|
|
63965
64039
|
writeFileSync(process.argv[2], result, { mode: 0o600 });`;
|
|
63966
64040
|
function hasExpoConfig(projectRoot) {
|
|
64041
|
+
const packagePath = import_node_path56.default.join(projectRoot, "package.json");
|
|
64042
|
+
const manifest = import_node_fs57.default.existsSync(packagePath) ? JSON.parse(import_node_fs57.default.readFileSync(packagePath, "utf8")) : null;
|
|
64043
|
+
if (isRecord(manifest)) {
|
|
64044
|
+
const dependencies = [manifest.dependencies, manifest.devDependencies].filter(
|
|
64045
|
+
isRecord
|
|
64046
|
+
);
|
|
64047
|
+
if (dependencies.some((deps) => "one" in deps) && !dependencies.some((deps) => "expo" in deps))
|
|
64048
|
+
return false;
|
|
64049
|
+
}
|
|
63967
64050
|
const appJsonPath = import_node_path56.default.join(projectRoot, "app.json");
|
|
63968
64051
|
const appJson = import_node_fs57.default.existsSync(appJsonPath) ? JSON.parse(import_node_fs57.default.readFileSync(appJsonPath, "utf8")) : null;
|
|
63969
64052
|
const staticExpo = isRecord(appJson) && (isRecord(appJson.expo) || [appJson.ios, appJson.android].some(
|
|
@@ -65092,6 +65175,7 @@ function readExpoDiscovery(key2) {
|
|
|
65092
65175
|
for (const [directory2, expected] of Object.entries(parsed.frameworks)) {
|
|
65093
65176
|
if (frameworkDigest(directory2) !== expected) return void 0;
|
|
65094
65177
|
}
|
|
65178
|
+
saveFileHashes();
|
|
65095
65179
|
} catch {
|
|
65096
65180
|
return void 0;
|
|
65097
65181
|
}
|
|
@@ -65146,6 +65230,55 @@ function readExpoDiscovery(key2) {
|
|
|
65146
65230
|
}
|
|
65147
65231
|
}
|
|
65148
65232
|
var sourceLocationLine = /^#sourceLocation\(file: "(.*)", line: 1\)$/;
|
|
65233
|
+
var fileHashes = /* @__PURE__ */ new Map();
|
|
65234
|
+
var fileHashesLoaded = false;
|
|
65235
|
+
var fileHashesChanged = false;
|
|
65236
|
+
function fileHashesPath() {
|
|
65237
|
+
return import_node_path63.default.join(sharedDir(), "framework-file-hashes.json");
|
|
65238
|
+
}
|
|
65239
|
+
function stampedFileHash(file) {
|
|
65240
|
+
if (!fileHashesLoaded) {
|
|
65241
|
+
fileHashesLoaded = true;
|
|
65242
|
+
try {
|
|
65243
|
+
const saved = JSON.parse(import_node_fs64.default.readFileSync(fileHashesPath(), "utf8"));
|
|
65244
|
+
if (isRecord(saved)) {
|
|
65245
|
+
for (const [entry, value] of Object.entries(saved))
|
|
65246
|
+
if (Array.isArray(value) && typeof value[0] === "string" && typeof value[1] === "string")
|
|
65247
|
+
fileHashes.set(entry, { stamp: value[0], checksum: value[1] });
|
|
65248
|
+
}
|
|
65249
|
+
} catch {
|
|
65250
|
+
fileHashes.clear();
|
|
65251
|
+
}
|
|
65252
|
+
}
|
|
65253
|
+
const stat2 = import_node_fs64.default.statSync(file, { bigint: true });
|
|
65254
|
+
const stamp = [stat2.dev, stat2.ino, stat2.size, stat2.mtimeNs, stat2.ctimeNs].join(":");
|
|
65255
|
+
const cached3 = fileHashes.get(file);
|
|
65256
|
+
if (cached3?.stamp === stamp) return cached3.checksum;
|
|
65257
|
+
const checksum = (0, import_node_crypto31.createHash)("sha256").update(import_node_fs64.default.readFileSync(file)).digest("hex");
|
|
65258
|
+
fileHashes.set(file, { stamp, checksum });
|
|
65259
|
+
fileHashesChanged = true;
|
|
65260
|
+
return checksum;
|
|
65261
|
+
}
|
|
65262
|
+
function saveFileHashes() {
|
|
65263
|
+
if (!fileHashesChanged) return;
|
|
65264
|
+
fileHashesChanged = false;
|
|
65265
|
+
const target = fileHashesPath();
|
|
65266
|
+
const temporary = `${target}.${process.pid}.${(0, import_node_crypto31.randomUUID)()}.tmp`;
|
|
65267
|
+
try {
|
|
65268
|
+
import_node_fs64.default.mkdirSync(import_node_path63.default.dirname(target), { recursive: true });
|
|
65269
|
+
import_node_fs64.default.writeFileSync(
|
|
65270
|
+
temporary,
|
|
65271
|
+
JSON.stringify(
|
|
65272
|
+
Object.fromEntries(
|
|
65273
|
+
[...fileHashes].filter(([entry]) => import_node_fs64.default.existsSync(entry)).map(([entry, { stamp, checksum }]) => [entry, [stamp, checksum]])
|
|
65274
|
+
)
|
|
65275
|
+
)
|
|
65276
|
+
);
|
|
65277
|
+
import_node_fs64.default.renameSync(temporary, target);
|
|
65278
|
+
} catch {
|
|
65279
|
+
import_node_fs64.default.rmSync(temporary, { force: true });
|
|
65280
|
+
}
|
|
65281
|
+
}
|
|
65149
65282
|
function treeDigest(directory2, signal) {
|
|
65150
65283
|
const entries = /* @__PURE__ */ new Map();
|
|
65151
65284
|
const seen = /* @__PURE__ */ new Set();
|
|
@@ -65162,10 +65295,7 @@ function treeDigest(directory2, signal) {
|
|
|
65162
65295
|
} else if (child.isDirectory()) {
|
|
65163
65296
|
walk3(file);
|
|
65164
65297
|
} else if (child.isFile()) {
|
|
65165
|
-
entries.set(
|
|
65166
|
-
relative4,
|
|
65167
|
-
`file\0${(0, import_node_crypto31.createHash)("sha256").update(import_node_fs64.default.readFileSync(file)).digest("hex")}`
|
|
65168
|
-
);
|
|
65298
|
+
entries.set(relative4, `file\0${stampedFileHash(file)}`);
|
|
65169
65299
|
}
|
|
65170
65300
|
}
|
|
65171
65301
|
};
|
|
@@ -65389,6 +65519,7 @@ function writeExpoDiscovery(options) {
|
|
|
65389
65519
|
);
|
|
65390
65520
|
import_node_fs64.default.renameSync(tmp, import_node_path63.default.join(dir, `${options.key}.json`));
|
|
65391
65521
|
expireDiscovery(dir, import_node_path63.default.join(dir, `${options.key}.json`));
|
|
65522
|
+
saveFileHashes();
|
|
65392
65523
|
return rewritten.units;
|
|
65393
65524
|
} catch (error) {
|
|
65394
65525
|
if (options.signal?.aborted) throw error;
|
|
@@ -65451,7 +65582,7 @@ init_swift_native_pin();
|
|
|
65451
65582
|
init_xcode_project();
|
|
65452
65583
|
var EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
65453
65584
|
function expoNativeCompilerDigestValue() {
|
|
65454
|
-
return true ? "
|
|
65585
|
+
return true ? "14d88f98100ab2aa1697716b744e5a82c52ac4b234218a17662b547201295088" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
65455
65586
|
}
|
|
65456
65587
|
var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
65457
65588
|
function readSources(value) {
|
|
@@ -75436,7 +75567,6 @@ var NATIVE_RUNTIME_PACKAGE_NAMES = [
|
|
|
75436
75567
|
|
|
75437
75568
|
// ../peach-globals/src/guest-modules/lazy-stub-patterns.ts
|
|
75438
75569
|
var LAZY_STUB_PATTERNS = [
|
|
75439
|
-
"@10play/tentap-editor",
|
|
75440
75570
|
"@adobe/react-native-aepcore",
|
|
75441
75571
|
"@azesmway/react-native-unity",
|
|
75442
75572
|
"@azzapp/react-native-skia-video",
|
|
@@ -75509,8 +75639,6 @@ var LAZY_STUB_PATTERNS = [
|
|
|
75509
75639
|
"react-native-agora",
|
|
75510
75640
|
"react-native-android-location-enabler",
|
|
75511
75641
|
"react-native-animateable-text",
|
|
75512
|
-
"react-native-app-clip",
|
|
75513
|
-
"react-native-avoid-softinput",
|
|
75514
75642
|
"react-native-azure-auth",
|
|
75515
75643
|
"react-native-bare-kit",
|
|
75516
75644
|
"react-native-bluetooth-classic",
|
|
@@ -75525,7 +75653,6 @@ var LAZY_STUB_PATTERNS = [
|
|
|
75525
75653
|
"react-native-extra-dimensions-android",
|
|
75526
75654
|
"react-native-fast-opencv",
|
|
75527
75655
|
"react-native-fast-shadow",
|
|
75528
|
-
"react-native-fast-squircle",
|
|
75529
75656
|
"react-native-fast-tflite",
|
|
75530
75657
|
"react-native-file-viewer-turbo",
|
|
75531
75658
|
"react-native-floating-label-input",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2300 | (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;
|
|
@@ -255,7 +255,7 @@ var STANDIN_SOURCE_DIGEST;
|
|
|
255
255
|
var init_swift_standin_digest = __esm({
|
|
256
256
|
"src/swift-standin-digest.ts"() {
|
|
257
257
|
"use strict";
|
|
258
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
258
|
+
STANDIN_SOURCE_DIGEST = true ? "8a800a5151c426f07ff690c34df9a6d538c005318051ef52635fc568c44736f6" : standinSourceDigest();
|
|
259
259
|
}
|
|
260
260
|
});
|
|
261
261
|
|
|
@@ -1829,7 +1829,7 @@ var swiftCoverageProvenance;
|
|
|
1829
1829
|
var init_provenance = __esm({
|
|
1830
1830
|
"src/swift-coverage/provenance.ts"() {
|
|
1831
1831
|
"use strict";
|
|
1832
|
-
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":"
|
|
1832
|
+
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":"96a57d4b999e75658683d635d3522d6c7ae30b4c8bc38a8114af353bce5162ff","xcode-target-members.ts":"2f25aaf5a3aa34395983c75935491c06bd68554c47ff1cb06b49c79499c03db0","xcode-json-project.ts":"41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6","openstep-plist.ts":"74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3"}') : swiftCoverageSourceDigests((0, import_node_path.join)(__sootsim_import_meta_dirname, ".."));
|
|
1833
1833
|
}
|
|
1834
1834
|
});
|
|
1835
1835
|
|
|
@@ -3029,7 +3029,7 @@ var init_swift_compile = __esm({
|
|
|
3029
3029
|
FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
3030
3030
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
3031
3031
|
).join("");
|
|
3032
|
-
compilerSourceDigest = true ? "
|
|
3032
|
+
compilerSourceDigest = true ? "3c645ce8a5442f60dce1735912506ad6fa5d09cb92da26cff3950c374b371e2b" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
3033
3033
|
CORE_FOUNDATION_HANDLE_IMPORTS = [
|
|
3034
3034
|
"CFAllocator",
|
|
3035
3035
|
"CFArray",
|
|
@@ -8669,7 +8669,6 @@ var NATIVE_RUNTIME_PACKAGE_NAMES = [
|
|
|
8669
8669
|
|
|
8670
8670
|
// ../peach-globals/src/guest-modules/lazy-stub-patterns.ts
|
|
8671
8671
|
var LAZY_STUB_PATTERNS = [
|
|
8672
|
-
"@10play/tentap-editor",
|
|
8673
8672
|
"@adobe/react-native-aepcore",
|
|
8674
8673
|
"@azesmway/react-native-unity",
|
|
8675
8674
|
"@azzapp/react-native-skia-video",
|
|
@@ -8742,8 +8741,6 @@ var LAZY_STUB_PATTERNS = [
|
|
|
8742
8741
|
"react-native-agora",
|
|
8743
8742
|
"react-native-android-location-enabler",
|
|
8744
8743
|
"react-native-animateable-text",
|
|
8745
|
-
"react-native-app-clip",
|
|
8746
|
-
"react-native-avoid-softinput",
|
|
8747
8744
|
"react-native-azure-auth",
|
|
8748
8745
|
"react-native-bare-kit",
|
|
8749
8746
|
"react-native-bluetooth-classic",
|
|
@@ -8758,7 +8755,6 @@ var LAZY_STUB_PATTERNS = [
|
|
|
8758
8755
|
"react-native-extra-dimensions-android",
|
|
8759
8756
|
"react-native-fast-opencv",
|
|
8760
8757
|
"react-native-fast-shadow",
|
|
8761
|
-
"react-native-fast-squircle",
|
|
8762
8758
|
"react-native-fast-tflite",
|
|
8763
8759
|
"react-native-file-viewer-turbo",
|
|
8764
8760
|
"react-native-floating-label-input",
|
|
@@ -10920,7 +10916,7 @@ var import_node_path8 = require("node:path");
|
|
|
10920
10916
|
init_src();
|
|
10921
10917
|
|
|
10922
10918
|
// runtime-companion.json
|
|
10923
|
-
var runtime_companion_default = { abi: 1, sha256: "
|
|
10919
|
+
var runtime_companion_default = { abi: 1, sha256: "60900a3af6e6213c855e6682baa0ebdb6a6865510e4e3a51a24d4c584b3fdec2", file: "node/cli-60900a3af6e6213c855e6682baa0ebdb6a6865510e4e3a51a24d4c584b3fdec2.cjs" };
|
|
10924
10920
|
|
|
10925
10921
|
// src/cli-runtime.ts
|
|
10926
10922
|
init_answeredNativePackages();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2300 | (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.2300 | (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.2300 | (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;
|