peachsim 0.1.2399 → 0.1.2401
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/README.md +2 -2
- package/cli/bin.ts +1 -1
- package/cli/catalog/content.ts +520 -0
- package/cli/catalog/index.ts +4 -0
- package/cli/catalog/meta.ts +3881 -0
- package/cli/catalog/renderers.ts +659 -0
- package/cli/catalog/routes.ts +237 -0
- package/cli/catalog/types.ts +96 -0
- package/cli/commands/inspect.ts +3 -3
- package/cli/commands/record.ts +1 -1
- package/cli/dev-build-freshness.ts +1 -0
- package/cli/help-core.ts +6 -6
- package/cli/hidden-runtime-alias.ts +1 -1
- package/cli/outbound-endpoints.ts +5 -0
- package/cli/parse-args.ts +1 -1
- 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 +53 -46
- 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 +51 -44
- 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 +53 -46
- package/dist-lib/host/fetch-proxy-handler.cjs +44 -41
- 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 +48 -45
- 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 +53 -50
- package/dist-lib/native-app-identity-project.cjs +22 -19
- package/dist-lib/native-app-identity-project.mjs +4 -3
- 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 +59 -59
- 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 +68 -61
- package/dist-lib/swift-compile.cjs +28 -30
- package/dist-lib/swift-compile.mjs +24 -26
- 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 +29 -31
- package/dist-lib/vite.cjs +39 -36
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/capture/browserAccessibilityContract.d.ts +1 -0
- package/dist-types/packages/peach-globals/src/webViewBridgeContract.d.ts +2 -0
- package/kotlin/sdk.tar.gz +0 -0
- package/kotlin/toolchain.json +2 -2
- package/package.json +1 -3
- package/runtime-companion.json +1 -1
- package/sdk/ios/System/Library/Frameworks/GameplayKit.framework/Headers/GKState.h +78 -0
- package/sdk/ios/System/Library/Frameworks/GameplayKit.framework/Headers/GKStateMachine.h +69 -0
- package/sdk/ios/System/Library/Frameworks/GameplayKit.framework/Headers/GameplayKit.apinotes +269 -0
- package/sdk/ios/System/Library/Frameworks/GameplayKit.framework/Headers/GameplayKit.h +15 -0
- package/sdk/ios/System/Library/Frameworks/GameplayKit.framework/Headers/GameplayKitBase.h +38 -0
- package/sdk/ios/System/Library/Frameworks/GameplayKit.framework/Modules/module.modulemap +6 -0
- package/src/expo-swift-host.ts +30 -22
- package/src/wasm-optimize.ts +23 -24
- package/src/worklets-babel.ts +2 -6
- package/cli/registry.ts +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2401 | (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;
|
|
@@ -32556,7 +32556,7 @@ var init_wasm_narrow_boundary = __esm({
|
|
|
32556
32556
|
async function runWasmOpt(file, output2, optimize, skipPasses, binary2) {
|
|
32557
32557
|
const admittedCores = windowAdmission()?.cores ?? Number(process.env.TM_EXEC_CPU_CORES);
|
|
32558
32558
|
const requestedCores = Number(process.env.BINARYEN_CORES);
|
|
32559
|
-
const environment = { ...process.env
|
|
32559
|
+
const environment = { ...process.env };
|
|
32560
32560
|
if (Number.isInteger(admittedCores) && admittedCores > 0)
|
|
32561
32561
|
environment.BINARYEN_CORES = String(
|
|
32562
32562
|
Number.isInteger(requestedCores) && requestedCores > 0 ? Math.min(admittedCores, requestedCores) : admittedCores
|
|
@@ -32570,7 +32570,7 @@ async function runWasmOpt(file, output2, optimize, skipPasses, binary2) {
|
|
|
32570
32570
|
const thunks = `${output2}.thunks.wat`;
|
|
32571
32571
|
(0, import_node_fs50.writeFileSync)(guest, narrowed.module);
|
|
32572
32572
|
(0, import_node_fs50.writeFileSync)(thunks, narrowed.thunks);
|
|
32573
|
-
await (
|
|
32573
|
+
await runBinaryen(
|
|
32574
32574
|
(0, import_node_path49.join)((0, import_node_path49.dirname)(binary2), "wasm-merge"),
|
|
32575
32575
|
[
|
|
32576
32576
|
...features,
|
|
@@ -32588,39 +32588,39 @@ async function runWasmOpt(file, output2, optimize, skipPasses, binary2) {
|
|
|
32588
32588
|
(0, import_node_fs50.rmSync)(guest);
|
|
32589
32589
|
(0, import_node_fs50.rmSync)(thunks);
|
|
32590
32590
|
}
|
|
32591
|
-
|
|
32592
|
-
|
|
32593
|
-
|
|
32594
|
-
|
|
32595
|
-
|
|
32596
|
-
|
|
32597
|
-
|
|
32598
|
-
|
|
32599
|
-
|
|
32600
|
-
|
|
32601
|
-
|
|
32602
|
-
|
|
32603
|
-
|
|
32604
|
-
|
|
32605
|
-
|
|
32606
|
-
|
|
32591
|
+
try {
|
|
32592
|
+
await runBinaryen(
|
|
32593
|
+
binary2,
|
|
32594
|
+
[
|
|
32595
|
+
...LOWERING,
|
|
32596
|
+
...optimize ? ["-Oz"] : [],
|
|
32597
|
+
...names,
|
|
32598
|
+
...skipPasses.flatMap((pass) => ["--skip-pass", pass]),
|
|
32599
|
+
...features,
|
|
32600
|
+
narrowed ? merged : file,
|
|
32601
|
+
"-o",
|
|
32602
|
+
output2
|
|
32603
|
+
],
|
|
32604
|
+
{ env: environment, maxBuffer: Infinity }
|
|
32605
|
+
);
|
|
32606
|
+
} finally {
|
|
32607
|
+
if (narrowed) (0, import_node_fs50.rmSync)(merged);
|
|
32608
|
+
}
|
|
32607
32609
|
}
|
|
32608
32610
|
async function installWasmOpt() {
|
|
32609
|
-
if (import_wasm_opt.BINARYEN_VERSION !== PINNED_BINARYEN_VERSION)
|
|
32610
|
-
throw new Error("the Binaryen release pins must match the wasm-opt package");
|
|
32611
32611
|
const platform2 = `${process.platform}-${process.arch}`;
|
|
32612
32612
|
const release = BINARYEN_RELEASES.get(platform2);
|
|
32613
32613
|
if (!release) throw new Error(`no pinned Binaryen release for ${platform2}`);
|
|
32614
|
-
const destDir = (0, import_node_path49.join)(rnxHomeDir(), "tools", "binaryen",
|
|
32614
|
+
const destDir = (0, import_node_path49.join)(rnxHomeDir(), "tools", "binaryen", BINARYEN_VERSION, platform2);
|
|
32615
32615
|
const binary2 = (0, import_node_path49.join)(destDir, "bin", "wasm-opt");
|
|
32616
32616
|
if (!(0, import_node_fs50.existsSync)(binary2))
|
|
32617
32617
|
await installVerifiedTarball({
|
|
32618
|
-
url: `https://github.com/WebAssembly/binaryen/releases/download/version_${
|
|
32618
|
+
url: `https://github.com/WebAssembly/binaryen/releases/download/version_${BINARYEN_VERSION}/binaryen-version_${BINARYEN_VERSION}-${release.asset}.tar.gz`,
|
|
32619
32619
|
digest: { algorithm: "sha256", encoding: "hex", value: release.sha256 },
|
|
32620
32620
|
destDir,
|
|
32621
32621
|
installedMarker: "bin/wasm-opt",
|
|
32622
32622
|
stripComponents: 1,
|
|
32623
|
-
label: `Binaryen ${
|
|
32623
|
+
label: `Binaryen ${BINARYEN_VERSION}`
|
|
32624
32624
|
});
|
|
32625
32625
|
return binary2;
|
|
32626
32626
|
}
|
|
@@ -32633,7 +32633,7 @@ async function lowerWasm(file, output2, options) {
|
|
|
32633
32633
|
await installWasmOpt()
|
|
32634
32634
|
);
|
|
32635
32635
|
}
|
|
32636
|
-
var import_node_child_process26, import_node_fs50, import_node_path49, import_node_util5,
|
|
32636
|
+
var import_node_child_process26, import_node_fs50, import_node_path49, import_node_util5, FEATURES, KEEP_WASM_NAMES, LOWERING, BINARYEN_VERSION, runBinaryen, WASM_LOWER_IDENTITY, BINARYEN_RELEASES;
|
|
32637
32637
|
var init_wasm_optimize = __esm({
|
|
32638
32638
|
"src/wasm-optimize.ts"() {
|
|
32639
32639
|
"use strict";
|
|
@@ -32642,7 +32642,6 @@ var init_wasm_optimize = __esm({
|
|
|
32642
32642
|
import_node_path49 = require("node:path");
|
|
32643
32643
|
import_node_util5 = require("node:util");
|
|
32644
32644
|
init_src();
|
|
32645
|
-
import_wasm_opt = require("wasm-opt");
|
|
32646
32645
|
init_admitted_mac_build();
|
|
32647
32646
|
init_home_paths();
|
|
32648
32647
|
init_wasm_narrow_boundary();
|
|
@@ -32661,8 +32660,9 @@ var init_wasm_optimize = __esm({
|
|
|
32661
32660
|
];
|
|
32662
32661
|
KEEP_WASM_NAMES = process.env.PEACH_SWIFT_NAMES === "1";
|
|
32663
32662
|
LOWERING = ["--memory64-lowering", "--table64-lowering"];
|
|
32664
|
-
|
|
32665
|
-
|
|
32663
|
+
BINARYEN_VERSION = "132";
|
|
32664
|
+
runBinaryen = (0, import_node_util5.promisify)(import_node_child_process26.execFile);
|
|
32665
|
+
WASM_LOWER_IDENTITY = `binaryen ${BINARYEN_VERSION} narrow ${LOWERING.join(" ")} ${FEATURES.join(",")} unoptimized-names`;
|
|
32666
32666
|
BINARYEN_RELEASES = /* @__PURE__ */ new Map([
|
|
32667
32667
|
[
|
|
32668
32668
|
"linux-x64",
|
|
@@ -39226,7 +39226,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
|
|
|
39226
39226
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
39227
39227
|
MULTI_MANIFEST_VERSION = 69;
|
|
39228
39228
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
39229
|
-
compilerSourceDigest = true ? "
|
|
39229
|
+
compilerSourceDigest = true ? "e9903c7ebf2ae396a07925e2a04b37ce38e5f1731c5bc94f6f0e83a9d6bc2cbf" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
39230
39230
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
39231
39231
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
39232
39232
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -43815,7 +43815,7 @@ var init_swift_standin_digest = __esm({
|
|
|
43815
43815
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
43816
43816
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
43817
43817
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
43818
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
43818
|
+
STANDIN_SOURCE_DIGEST = true ? "452e58b6d6a9ad1b373b2d6df2ddb32802505c8bd43da19f49858f006a4f0464" : standinSourceDigest();
|
|
43819
43819
|
}
|
|
43820
43820
|
});
|
|
43821
43821
|
|
|
@@ -61733,7 +61733,7 @@ var init_nitro_superset = __esm({
|
|
|
61733
61733
|
init_nitroContract();
|
|
61734
61734
|
init_swift_standin_digest();
|
|
61735
61735
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
61736
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
61736
|
+
NITRO_COMPILER_DIGEST = true ? "0ee082c55c7987b7a437615cb187f9688fc9c6f93887dab00cf2566a462c1b27" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
61737
61737
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
61738
61738
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
61739
61739
|
published2 = /* @__PURE__ */ new Map();
|
|
@@ -61754,7 +61754,7 @@ var init_nitro_superset = __esm({
|
|
|
61754
61754
|
var runtime_companion_default;
|
|
61755
61755
|
var init_runtime_companion = __esm({
|
|
61756
61756
|
"runtime-companion.json"() {
|
|
61757
|
-
runtime_companion_default = { abi: 1, sha256: "
|
|
61757
|
+
runtime_companion_default = { abi: 1, sha256: "658636e3bce6510e61148e4524fbf697d8e84481cb366d81dd9c8f439b654c85", file: "node/cli-658636e3bce6510e61148e4524fbf697d8e84481cb366d81dd9c8f439b654c85.cjs" };
|
|
61758
61758
|
}
|
|
61759
61759
|
});
|
|
61760
61760
|
|
|
@@ -71848,7 +71848,7 @@ init_swift_native_pin();
|
|
|
71848
71848
|
init_xcode_project();
|
|
71849
71849
|
var EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
71850
71850
|
function expoNativeCompilerDigestValue() {
|
|
71851
|
-
return true ? "
|
|
71851
|
+
return true ? "a9ec5c8c45c8fd26c4fc913361bf75fe125d800f96d12f8b2a0662dba43eaa08" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
71852
71852
|
}
|
|
71853
71853
|
var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
71854
71854
|
function readSources(value) {
|
|
@@ -72964,10 +72964,7 @@ function cloneNativeTarget(target) {
|
|
|
72964
72964
|
sourceDirectories: { ...target.sourceDirectories }
|
|
72965
72965
|
};
|
|
72966
72966
|
}
|
|
72967
|
-
function podSupportsIOS(
|
|
72968
|
-
if (!isRecord(pod) || typeof pod.podName !== "string" || typeof pod.podspecDir !== "string")
|
|
72969
|
-
throw new Error("invalid Expo autolinking pod");
|
|
72970
|
-
const base2 = import_node_path97.default.join(pod.podspecDir, pod.podName);
|
|
72967
|
+
function podSupportsIOS(base2) {
|
|
72971
72968
|
if (import_node_fs98.default.existsSync(`${base2}.podspec.json`)) {
|
|
72972
72969
|
const platforms2 = JSON.parse(
|
|
72973
72970
|
import_node_fs98.default.readFileSync(`${base2}.podspec.json`, "utf8")
|
|
@@ -73725,8 +73722,16 @@ async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspa
|
|
|
73725
73722
|
);
|
|
73726
73723
|
const namespaces = resolution && typeof resolution === "object" ? Reflect.get(resolution, "swiftModuleNames") : null;
|
|
73727
73724
|
const modules = resolution && typeof resolution === "object" ? Reflect.get(resolution, "modules") : null;
|
|
73728
|
-
const
|
|
73729
|
-
|
|
73725
|
+
const resolvedPods = resolution && typeof resolution === "object" ? Reflect.get(resolution, "pods") : null;
|
|
73726
|
+
const pods = Array.isArray(resolvedPods) ? resolvedPods.map((pod) => {
|
|
73727
|
+
if (!isRecord(pod) || typeof pod.podName !== "string" || typeof pod.podspecDir !== "string")
|
|
73728
|
+
throw new Error("invalid Expo autolinking pod");
|
|
73729
|
+
return {
|
|
73730
|
+
base: import_node_path97.default.join(pod.podspecDir, pod.podName),
|
|
73731
|
+
namespace: pod.podName.replace(/[^a-zA-Z0-9]/g, "_")
|
|
73732
|
+
};
|
|
73733
|
+
}) : [];
|
|
73734
|
+
if (pods.length > 0 && !pods.some((pod) => podSupportsIOS(pod.base))) {
|
|
73730
73735
|
report(`${packageName} was not linked: no pod supports iOS`);
|
|
73731
73736
|
continue;
|
|
73732
73737
|
}
|
|
@@ -73736,7 +73741,7 @@ async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspa
|
|
|
73736
73741
|
};
|
|
73737
73742
|
const subscriberNames = delegateNames("appDelegateSubscribers");
|
|
73738
73743
|
const handlerNames = delegateNames("reactDelegateHandlers");
|
|
73739
|
-
const deferredToWorkspace = prepareNative && !installedWorkspace &&
|
|
73744
|
+
const deferredToWorkspace = prepareNative && !installedWorkspace && pods.length > 0;
|
|
73740
73745
|
const dependencyOnly = answered || (!Array.isArray(modules) || modules.length === 0) && subscriberNames.length === 0 && handlerNames.length === 0;
|
|
73741
73746
|
if (dependencyOnly) {
|
|
73742
73747
|
if (installed || prepareNative || metadataOnly || !Array.isArray(namespaces)) {
|
|
@@ -73930,15 +73935,16 @@ async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspa
|
|
|
73930
73935
|
if (surface) files2[`Sources/${namespace}/PeachObjCSurface.swift`] = surface;
|
|
73931
73936
|
}
|
|
73932
73937
|
}
|
|
73933
|
-
const
|
|
73934
|
-
const
|
|
73938
|
+
const pod = pods.length === 1 ? pods[0] : pods.find((pod2) => pod2.namespace === namespace);
|
|
73939
|
+
const podspec = pod ? `${pod.base}.podspec` : null;
|
|
73940
|
+
const podspecText = podspec && import_node_fs98.default.existsSync(podspec) ? import_node_fs98.default.readFileSync(resolveSource(podspec), "utf8") : null;
|
|
73935
73941
|
const usesReact = Boolean(
|
|
73936
73942
|
!installed && podspecText && /\bdependency[\s(]+['"](?:React-(?!Core['"/])[\w-]+|ReactCommon|ReactCodegen|ExpoModulesWorklets|ExpoModulesJSI)(?:\/[^'"]*)?['"]/.test(
|
|
73937
73943
|
podspecText.replace(/^[ \t]*#[^\n]*/gm, "")
|
|
73938
73944
|
)
|
|
73939
73945
|
);
|
|
73940
73946
|
const absentFrameworks = [];
|
|
73941
|
-
if (podspecText && !installed) {
|
|
73947
|
+
if (podspec && podspecText && !installed) {
|
|
73942
73948
|
const declared = [
|
|
73943
73949
|
...podspecText.matchAll(
|
|
73944
73950
|
/\bvendored_frameworks\s*=\s*(\[[^\]]*\]|'[^'\n]*'|"[^"\n]*")/g
|
|
@@ -73949,13 +73955,14 @@ async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspa
|
|
|
73949
73955
|
)
|
|
73950
73956
|
);
|
|
73951
73957
|
for (const entry2 of declared) {
|
|
73952
|
-
const
|
|
73958
|
+
const declaredPath = import_node_path97.default.resolve(import_node_path97.default.dirname(podspec), entry2);
|
|
73959
|
+
const base2 = import_node_path97.default.dirname(declaredPath);
|
|
73953
73960
|
const name3 = new RegExp(
|
|
73954
73961
|
`^${import_node_path97.default.basename(entry2).replace(/[.+^${}()|[\]\\]/g, "\\$&").replaceAll("*", "[^/]*")}$`
|
|
73955
73962
|
);
|
|
73956
73963
|
const found = import_node_fs98.default.existsSync(base2) ? import_node_fs98.default.readdirSync(base2).filter((child) => name3.test(child)) : [];
|
|
73957
73964
|
if (found.length === 0)
|
|
73958
|
-
absentFrameworks.push(import_node_path97.default.relative(appRoot,
|
|
73965
|
+
absentFrameworks.push(import_node_path97.default.relative(appRoot, declaredPath));
|
|
73959
73966
|
for (const child of found) frameworks.add(resolveSource(import_node_path97.default.join(base2, child)));
|
|
73960
73967
|
}
|
|
73961
73968
|
}
|
|
@@ -74002,7 +74009,7 @@ async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspa
|
|
|
74002
74009
|
owners.set(className2, classOwners);
|
|
74003
74010
|
const configured = module2.registration !== null && configuredExpoSwiftModule(closure, module2.name, module2.nativeName, appConfig);
|
|
74004
74011
|
if (configured && !module2.subscriber && !module2.handler) continue;
|
|
74005
|
-
if (
|
|
74012
|
+
if (pods.length > 0) needsNativeWorkspace = true;
|
|
74006
74013
|
const unit2 = {
|
|
74007
74014
|
namespace,
|
|
74008
74015
|
moduleId: `${namespace}.${module2.name}`,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2401 | (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;
|
|
@@ -294,7 +294,7 @@ var STANDIN_SOURCE_DIGEST;
|
|
|
294
294
|
var init_swift_standin_digest = __esm({
|
|
295
295
|
"src/swift-standin-digest.ts"() {
|
|
296
296
|
"use strict";
|
|
297
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
297
|
+
STANDIN_SOURCE_DIGEST = true ? "452e58b6d6a9ad1b373b2d6df2ddb32802505c8bd43da19f49858f006a4f0464" : standinSourceDigest();
|
|
298
298
|
}
|
|
299
299
|
});
|
|
300
300
|
|
|
@@ -2893,12 +2893,13 @@ var init_wasm_narrow_boundary = __esm({
|
|
|
2893
2893
|
});
|
|
2894
2894
|
|
|
2895
2895
|
// src/wasm-optimize.ts
|
|
2896
|
-
var
|
|
2896
|
+
var import_node_child_process, import_node_util, FEATURES, KEEP_WASM_NAMES, LOWERING, BINARYEN_VERSION, runBinaryen, WASM_LOWER_IDENTITY;
|
|
2897
2897
|
var init_wasm_optimize = __esm({
|
|
2898
2898
|
"src/wasm-optimize.ts"() {
|
|
2899
2899
|
"use strict";
|
|
2900
|
+
import_node_child_process = require("node:child_process");
|
|
2901
|
+
import_node_util = require("node:util");
|
|
2900
2902
|
init_src();
|
|
2901
|
-
import_wasm_opt = require("wasm-opt");
|
|
2902
2903
|
init_admitted_mac_build();
|
|
2903
2904
|
init_home_paths();
|
|
2904
2905
|
init_wasm_narrow_boundary();
|
|
@@ -2917,7 +2918,9 @@ var init_wasm_optimize = __esm({
|
|
|
2917
2918
|
];
|
|
2918
2919
|
KEEP_WASM_NAMES = process.env.PEACH_SWIFT_NAMES === "1";
|
|
2919
2920
|
LOWERING = ["--memory64-lowering", "--table64-lowering"];
|
|
2920
|
-
|
|
2921
|
+
BINARYEN_VERSION = "132";
|
|
2922
|
+
runBinaryen = (0, import_node_util.promisify)(import_node_child_process.execFile);
|
|
2923
|
+
WASM_LOWER_IDENTITY = `binaryen ${BINARYEN_VERSION} narrow ${LOWERING.join(" ")} ${FEATURES.join(",")} unoptimized-names`;
|
|
2921
2924
|
}
|
|
2922
2925
|
});
|
|
2923
2926
|
|
|
@@ -2956,19 +2959,19 @@ var init_icuData = __esm({
|
|
|
2956
2959
|
});
|
|
2957
2960
|
|
|
2958
2961
|
// src/swift-icu.ts
|
|
2959
|
-
var
|
|
2962
|
+
var import_node_child_process2, import_node_util2, import_node_zlib, run, deflate, compressBrotli, inflateGzip;
|
|
2960
2963
|
var init_swift_icu = __esm({
|
|
2961
2964
|
"src/swift-icu.ts"() {
|
|
2962
2965
|
"use strict";
|
|
2963
|
-
|
|
2964
|
-
|
|
2966
|
+
import_node_child_process2 = require("node:child_process");
|
|
2967
|
+
import_node_util2 = require("node:util");
|
|
2965
2968
|
import_node_zlib = require("node:zlib");
|
|
2966
2969
|
init_icuData();
|
|
2967
2970
|
init_swift_toolchain();
|
|
2968
|
-
run = (0,
|
|
2969
|
-
deflate = (0,
|
|
2970
|
-
compressBrotli = (0,
|
|
2971
|
-
inflateGzip = (0,
|
|
2971
|
+
run = (0, import_node_util2.promisify)(import_node_child_process2.execFile);
|
|
2972
|
+
deflate = (0, import_node_util2.promisify)(import_node_zlib.gzip);
|
|
2973
|
+
compressBrotli = (0, import_node_util2.promisify)(import_node_zlib.brotliCompress);
|
|
2974
|
+
inflateGzip = (0, import_node_util2.promisify)(import_node_zlib.gunzip);
|
|
2972
2975
|
}
|
|
2973
2976
|
});
|
|
2974
2977
|
|
|
@@ -3137,7 +3140,7 @@ var init_swift_compile = __esm({
|
|
|
3137
3140
|
FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
3138
3141
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
3139
3142
|
).join("");
|
|
3140
|
-
compilerSourceDigest = true ? "
|
|
3143
|
+
compilerSourceDigest = true ? "e9903c7ebf2ae396a07925e2a04b37ce38e5f1731c5bc94f6f0e83a9d6bc2cbf" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
3141
3144
|
C_WORDS = new Set(
|
|
3142
3145
|
"auto bool break case char const continue default do double else enum extern false float for goto if inline int long register restrict return short signed sizeof static struct switch true typedef union unsigned void volatile while YES NO NULL nil Nil id self super instancetype".split(
|
|
3143
3146
|
" "
|
|
@@ -3338,13 +3341,13 @@ var init_swift_distribution = __esm({
|
|
|
3338
3341
|
});
|
|
3339
3342
|
|
|
3340
3343
|
// src/swift-package-manifest.ts
|
|
3341
|
-
var
|
|
3344
|
+
var import_node_child_process3, import_node_path4, import_node_util3, cacheDir3, execFileAsync;
|
|
3342
3345
|
var init_swift_package_manifest = __esm({
|
|
3343
3346
|
"src/swift-package-manifest.ts"() {
|
|
3344
3347
|
"use strict";
|
|
3345
|
-
|
|
3348
|
+
import_node_child_process3 = require("node:child_process");
|
|
3346
3349
|
import_node_path4 = __toESM(require("node:path"), 1);
|
|
3347
|
-
|
|
3350
|
+
import_node_util3 = require("node:util");
|
|
3348
3351
|
init_git_repo_env();
|
|
3349
3352
|
init_home_paths();
|
|
3350
3353
|
init_swift_distribution();
|
|
@@ -3352,7 +3355,7 @@ var init_swift_package_manifest = __esm({
|
|
|
3352
3355
|
init_swift_package();
|
|
3353
3356
|
init_swift_toolchain();
|
|
3354
3357
|
cacheDir3 = import_node_path4.default.join(cacheDir(), "swift-manifests");
|
|
3355
|
-
execFileAsync = (0,
|
|
3358
|
+
execFileAsync = (0, import_node_util3.promisify)(import_node_child_process3.execFile);
|
|
3356
3359
|
}
|
|
3357
3360
|
});
|
|
3358
3361
|
|
|
@@ -3500,15 +3503,15 @@ var init_podspec_sources = __esm({
|
|
|
3500
3503
|
});
|
|
3501
3504
|
|
|
3502
3505
|
// src/kotlin-toolchain.ts
|
|
3503
|
-
var
|
|
3506
|
+
var import_node_child_process4, import_node_util4, run2;
|
|
3504
3507
|
var init_kotlin_toolchain = __esm({
|
|
3505
3508
|
"src/kotlin-toolchain.ts"() {
|
|
3506
3509
|
"use strict";
|
|
3507
|
-
|
|
3508
|
-
|
|
3510
|
+
import_node_child_process4 = require("node:child_process");
|
|
3511
|
+
import_node_util4 = require("node:util");
|
|
3509
3512
|
init_home_paths();
|
|
3510
3513
|
init_is_record();
|
|
3511
|
-
run2 = (0,
|
|
3514
|
+
run2 = (0, import_node_util4.promisify)(import_node_child_process4.execFile);
|
|
3512
3515
|
}
|
|
3513
3516
|
});
|
|
3514
3517
|
|
|
@@ -3539,18 +3542,18 @@ var init_swift_submit = __esm({
|
|
|
3539
3542
|
});
|
|
3540
3543
|
|
|
3541
3544
|
// src/nitro-dependencies.ts
|
|
3542
|
-
var
|
|
3545
|
+
var import_node_child_process5, import_node_util5, run3, DOUBLE_CONVERSION_WASM64_BACKPORT, RN_SHARED_DEPENDENCIES, RN_FMT_11_DEPENDENCIES, RN_FAST_FLOAT_6_DEPENDENCIES, RN_FMT_12_DEPENDENCIES;
|
|
3543
3546
|
var init_nitro_dependencies = __esm({
|
|
3544
3547
|
"src/nitro-dependencies.ts"() {
|
|
3545
3548
|
"use strict";
|
|
3546
|
-
|
|
3547
|
-
|
|
3549
|
+
import_node_child_process5 = require("node:child_process");
|
|
3550
|
+
import_node_util5 = require("node:util");
|
|
3548
3551
|
init_home_paths();
|
|
3549
3552
|
init_is_record();
|
|
3550
3553
|
init_kotlin_toolchain();
|
|
3551
3554
|
init_swift_source_file();
|
|
3552
3555
|
init_swift_submit();
|
|
3553
|
-
run3 = (0,
|
|
3556
|
+
run3 = (0, import_node_util5.promisify)(import_node_child_process5.execFile);
|
|
3554
3557
|
DOUBLE_CONVERSION_WASM64_BACKPORT = {
|
|
3555
3558
|
upstreamCommit: "8857767d5b2f5a035321e3712e8cd0008840ba6b",
|
|
3556
3559
|
originalSha256: "b495b11f7b61693486894f747add5b454894b8b3ca41aa1610d370ba16407ab7",
|
|
@@ -3796,12 +3799,12 @@ var init_swift_shipped_binaries = __esm({
|
|
|
3796
3799
|
});
|
|
3797
3800
|
|
|
3798
3801
|
// src/swift-packages.ts
|
|
3799
|
-
var
|
|
3802
|
+
var import_node_child_process6, import_node_util6, execFileAsync2;
|
|
3800
3803
|
var init_swift_packages = __esm({
|
|
3801
3804
|
"src/swift-packages.ts"() {
|
|
3802
3805
|
"use strict";
|
|
3803
|
-
|
|
3804
|
-
|
|
3806
|
+
import_node_child_process6 = require("node:child_process");
|
|
3807
|
+
import_node_util6 = require("node:util");
|
|
3805
3808
|
init_git_repo_env();
|
|
3806
3809
|
init_home_paths();
|
|
3807
3810
|
init_native_git();
|
|
@@ -3811,7 +3814,7 @@ var init_swift_packages = __esm({
|
|
|
3811
3814
|
init_swift_package();
|
|
3812
3815
|
init_swift_package_manifest();
|
|
3813
3816
|
init_swift_shipped_binaries();
|
|
3814
|
-
execFileAsync2 = (0,
|
|
3817
|
+
execFileAsync2 = (0, import_node_util6.promisify)(import_node_child_process6.execFile);
|
|
3815
3818
|
}
|
|
3816
3819
|
});
|
|
3817
3820
|
|
|
@@ -4080,27 +4083,27 @@ var init_installed_native_libraries = __esm({
|
|
|
4080
4083
|
});
|
|
4081
4084
|
|
|
4082
4085
|
// src/turbo-codegen-intake.ts
|
|
4083
|
-
var
|
|
4086
|
+
var import_node_child_process7, import_node_util7, run4;
|
|
4084
4087
|
var init_turbo_codegen_intake = __esm({
|
|
4085
4088
|
"src/turbo-codegen-intake.ts"() {
|
|
4086
4089
|
"use strict";
|
|
4087
|
-
|
|
4088
|
-
|
|
4090
|
+
import_node_child_process7 = require("node:child_process");
|
|
4091
|
+
import_node_util7 = require("node:util");
|
|
4089
4092
|
init_forked_script_contract();
|
|
4090
4093
|
init_is_record();
|
|
4091
4094
|
init_nitro_source();
|
|
4092
4095
|
init_podspec_sources();
|
|
4093
|
-
run4 = (0,
|
|
4096
|
+
run4 = (0, import_node_util7.promisify)(import_node_child_process7.execFile);
|
|
4094
4097
|
}
|
|
4095
4098
|
});
|
|
4096
4099
|
|
|
4097
4100
|
// src/turbo-source.ts
|
|
4098
|
-
var
|
|
4101
|
+
var import_node_child_process8, import_node_util8, execFileAsync3;
|
|
4099
4102
|
var init_turbo_source = __esm({
|
|
4100
4103
|
"src/turbo-source.ts"() {
|
|
4101
4104
|
"use strict";
|
|
4102
|
-
|
|
4103
|
-
|
|
4105
|
+
import_node_child_process8 = require("node:child_process");
|
|
4106
|
+
import_node_util8 = require("node:util");
|
|
4104
4107
|
init_home_paths();
|
|
4105
4108
|
init_installed_native_libraries();
|
|
4106
4109
|
init_answeredNativePackages();
|
|
@@ -4113,7 +4116,7 @@ var init_turbo_source = __esm({
|
|
|
4113
4116
|
init_swiftContract();
|
|
4114
4117
|
init_turbo_codegen_intake();
|
|
4115
4118
|
init_xcode_project();
|
|
4116
|
-
execFileAsync3 = (0,
|
|
4119
|
+
execFileAsync3 = (0, import_node_util8.promisify)(import_node_child_process8.execFile);
|
|
4117
4120
|
}
|
|
4118
4121
|
});
|
|
4119
4122
|
|
|
@@ -6684,8 +6687,8 @@ var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
|
6684
6687
|
|
|
6685
6688
|
// src/expo-swift-host.ts
|
|
6686
6689
|
var import_node_async_hooks3 = require("node:async_hooks");
|
|
6687
|
-
var
|
|
6688
|
-
var
|
|
6690
|
+
var import_node_child_process9 = require("node:child_process");
|
|
6691
|
+
var import_node_util9 = require("node:util");
|
|
6689
6692
|
init_answeredNativePackages();
|
|
6690
6693
|
|
|
6691
6694
|
// src/app-config.ts
|
|
@@ -6998,7 +7001,7 @@ init_swift_standins();
|
|
|
6998
7001
|
init_swift_submit();
|
|
6999
7002
|
init_swift_toolchain();
|
|
7000
7003
|
init_turbo_source();
|
|
7001
|
-
var run5 = (0,
|
|
7004
|
+
var run5 = (0, import_node_util9.promisify)(import_node_child_process9.execFile);
|
|
7002
7005
|
var scriptEnv = { ...process.env, [PEACH_FORKED_SCRIPT_ENV]: "1" };
|
|
7003
7006
|
var traceStore = new import_node_async_hooks3.AsyncLocalStorage();
|
|
7004
7007
|
var openPreparations = new NativePreparationReceipts();
|
|
@@ -11155,7 +11158,7 @@ var import_node_path10 = require("node:path");
|
|
|
11155
11158
|
init_src();
|
|
11156
11159
|
|
|
11157
11160
|
// runtime-companion.json
|
|
11158
|
-
var runtime_companion_default = { abi: 1, sha256: "
|
|
11161
|
+
var runtime_companion_default = { abi: 1, sha256: "658636e3bce6510e61148e4524fbf697d8e84481cb366d81dd9c8f439b654c85", file: "node/cli-658636e3bce6510e61148e4524fbf697d8e84481cb366d81dd9c8f439b654c85.cjs" };
|
|
11159
11162
|
|
|
11160
11163
|
// src/cli-runtime.ts
|
|
11161
11164
|
init_answeredNativePackages();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2401 | (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.2401 | (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.2401 | (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;
|