peachsim 0.1.2296 → 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 +1226 -1070
- 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 +129 -33
- 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 +213 -57
- package/dist-lib/host/fetch-proxy-handler.cjs +8 -6
- 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 +2392 -4522
- 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 +14 -2
- 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 +4537 -6668
- 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 +81 -85
- 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 +215 -59
- 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 +35 -9
- package/dist-lib/vite.cjs +8 -6
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/engine/scene-table.d.ts +10 -8
- package/dist-types/packages/peach-engine/src/engine/scroll-platform.d.ts +0 -1
- package/dist-types/packages/peach-engine/src/render-worker/nativeAnimMirrorContract.d.ts +2 -1
- package/dist-types/packages/peach-engine/src/render-worker/worker-input-runtime.d.ts +2 -1
- package/dist-types/packages/peach-engine/src/settings/device-spec-bus.d.ts +5 -0
- 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/README.md +1 -1
- package/kotlin/sdk.tar.gz +0 -0
- package/kotlin/toolchain.json +5 -1
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXAction.h +34 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXAnswerCallAction.h +20 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXBase.h +20 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXCall.h +28 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXCallAction.h +23 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXCallController.h +53 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXCallDirectory.h +16 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXCallDirectoryExtensionContext.h +86 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXCallDirectoryManager.h +29 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXCallDirectoryProvider.h +21 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXCallObserver.h +34 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXCallUpdate.h +43 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXEndCallAction.h +20 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXError.h +66 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXHandle.h +31 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXPlayDTMFCallAction.h +33 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXProvider.h +127 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXProviderConfiguration.h +42 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXSetGroupCallAction.h +27 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXSetHeldCallAction.h +23 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXSetMutedCallAction.h +23 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXSetTranslatingCallAction.h +40 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXStartCallAction.h +33 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXTransaction.h +34 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CallKit.apinotes +36 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CallKit.h +35 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Modules/module.modulemap +6 -0
- package/sdk/ios/System/Library/Frameworks/React.framework/Headers/React.h +14 -0
- package/src/expo-autolinking.ts +1 -1
- package/src/expo-discovery-cache.ts +65 -4
- package/src/expo-swift-host.ts +5 -5
- package/src/kotlin-toolchain.ts +16 -1
- package/src/kotlinSdkContract.ts +2 -1
- package/src/metro-plugin.ts +1 -4
- package/src/native-swift-slices.ts +9 -2
- package/src/nitro-adapter.lock.json +284 -284
- package/src/nitro-compile.ts +69 -4
- package/src/nitro-superset.lock.json +4 -4
- package/src/one-sdk/source.ts +2 -1
- package/src/prepared-native-inventory.ts +8 -2
- package/src/react-native-autolinking.ts +28 -9
- package/src/swift-coverage/xcode-packages.ts +2 -1
- package/src/swift-distribution.lock.json +11 -11
- package/src/swift-host.ts +3 -1
- package/src/swift-standins.ts +6 -3
- package/src/swift-wasm-prune.ts +29 -0
- package/src/turbo-bundle.ts +14 -6
- package/src/turbo-codegen-intake.ts +3 -2
- package/src/turbo-runtime.lock.json +22 -22
- package/src/turbo-source.ts +2 -4
- 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 __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;
|
|
@@ -2475,7 +2475,7 @@ function isValidRuntimeVersion(value) {
|
|
|
2475
2475
|
}
|
|
2476
2476
|
|
|
2477
2477
|
// runtime-companion.json
|
|
2478
|
-
var runtime_companion_default = { abi: 1, sha256: "
|
|
2478
|
+
var runtime_companion_default = { abi: 1, sha256: "2d222761043905cd744125bbf673c568fc842d35d058bf6975d86a828f7090e6", file: "node/cli-2d222761043905cd744125bbf673c568fc842d35d058bf6975d86a828f7090e6.cjs" };
|
|
2479
2479
|
|
|
2480
2480
|
// src/answeredNativePackages.ts
|
|
2481
2481
|
var import_node_async_hooks = require("node:async_hooks");
|
|
@@ -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;
|
|
@@ -1861,11 +1861,10 @@ function autolinkerJson(command, output2) {
|
|
|
1861
1861
|
);
|
|
1862
1862
|
}
|
|
1863
1863
|
}
|
|
1864
|
-
async function cliAdvertises(cli, args, token, appRoot
|
|
1864
|
+
async function cliAdvertises(cli, args, token, appRoot) {
|
|
1865
1865
|
const started = Date.now();
|
|
1866
|
-
const { stdout, stderr } = await run3(
|
|
1866
|
+
const { stdout, stderr } = await run3(process.execPath, [cli, ...args], {
|
|
1867
1867
|
cwd: appRoot,
|
|
1868
|
-
signal,
|
|
1869
1868
|
timeout: CLI_TIMEOUT_MS,
|
|
1870
1869
|
maxBuffer: 1 * 1024 * 1024,
|
|
1871
1870
|
env: { ...process.env, [PEACH_FORKED_SCRIPT_ENV]: "1" }
|
|
@@ -1886,7 +1885,23 @@ function declaresDependency(appRoot, name3) {
|
|
|
1886
1885
|
});
|
|
1887
1886
|
}
|
|
1888
1887
|
async function reactNativeAutolinkingConfig(appRoot, platform, signal) {
|
|
1889
|
-
|
|
1888
|
+
signal?.throwIfAborted();
|
|
1889
|
+
const root = import_node_fs10.default.realpathSync(appRoot);
|
|
1890
|
+
const key2 = `${platform}:${root}`;
|
|
1891
|
+
let shared = inFlight.get(key2);
|
|
1892
|
+
if (!shared) {
|
|
1893
|
+
shared = readAutolinkingConfig(root, platform).finally(() => inFlight.delete(key2));
|
|
1894
|
+
inFlight.set(key2, shared);
|
|
1895
|
+
}
|
|
1896
|
+
if (!signal) return shared;
|
|
1897
|
+
return Promise.race([
|
|
1898
|
+
shared,
|
|
1899
|
+
new Promise(
|
|
1900
|
+
(_, reject) => signal.addEventListener("abort", () => reject(signal.reason), { once: true })
|
|
1901
|
+
)
|
|
1902
|
+
]);
|
|
1903
|
+
}
|
|
1904
|
+
async function readAutolinkingConfig(appRoot, platform) {
|
|
1890
1905
|
const appRequire = (0, import_node_module.createRequire)(import_node_path9.default.join(appRoot, "package.json"));
|
|
1891
1906
|
const expoManifest2 = appRequire.resolve.paths("expo")?.map((directory2) => import_node_path9.default.join(directory2, "expo/package.json")).find((manifest) => import_node_fs10.default.existsSync(manifest));
|
|
1892
1907
|
const expoRequire = expoManifest2 ? (0, import_node_module.createRequire)(import_node_fs10.default.realpathSync(expoManifest2)) : appRequire;
|
|
@@ -1896,7 +1911,7 @@ async function reactNativeAutolinkingConfig(appRoot, platform, signal) {
|
|
|
1896
1911
|
const expoAutolinker = asksExpo ? [appRequire, expoRequire].flatMap((req) => req.resolve.paths("expo-modules-autolinking") ?? []).map((directory2) => import_node_path9.default.join(directory2, "expo-modules-autolinking/package.json")).find((manifest) => import_node_fs10.default.existsSync(manifest)) : void 0;
|
|
1897
1912
|
if (expoAutolinker) {
|
|
1898
1913
|
const cli2 = import_node_path9.default.join(import_node_path9.default.dirname(expoAutolinker), "bin/expo-modules-autolinking.js");
|
|
1899
|
-
if (await cliAdvertises(cli2, ["--help"], "react-native-config", appRoot
|
|
1914
|
+
if (await cliAdvertises(cli2, ["--help"], "react-native-config", appRoot)) {
|
|
1900
1915
|
const args = [
|
|
1901
1916
|
cli2,
|
|
1902
1917
|
"react-native-config",
|
|
@@ -1908,13 +1923,12 @@ async function reactNativeAutolinkingConfig(appRoot, platform, signal) {
|
|
|
1908
1923
|
];
|
|
1909
1924
|
return autolinkerJson(
|
|
1910
1925
|
"expo-modules-autolinking react-native-config",
|
|
1911
|
-
await run3(
|
|
1926
|
+
await run3(process.execPath, args, {
|
|
1912
1927
|
timeout: CLI_TIMEOUT_MS,
|
|
1913
1928
|
maxBuffer: 8 * 1024 * 1024,
|
|
1914
1929
|
env: { ...process.env, [PEACH_FORKED_SCRIPT_ENV]: "1" },
|
|
1915
1930
|
// expo configuration resolves its project from cwd.
|
|
1916
|
-
cwd: appRoot
|
|
1917
|
-
signal
|
|
1931
|
+
cwd: appRoot
|
|
1918
1932
|
})
|
|
1919
1933
|
);
|
|
1920
1934
|
}
|
|
@@ -1946,16 +1960,15 @@ async function reactNativeAutolinkingConfig(appRoot, platform, signal) {
|
|
|
1946
1960
|
const configArgs = configMajor > 14 || configMajor === 14 && (configVersion[2] === void 0 || Number(configVersion[2]) >= 6) ? ["config", "--platform", platform] : ["config"];
|
|
1947
1961
|
return autolinkerJson(
|
|
1948
1962
|
`react-native ${configArgs.join(" ")}`,
|
|
1949
|
-
await run3(
|
|
1963
|
+
await run3(process.execPath, [cliPath, ...configArgs], {
|
|
1950
1964
|
cwd: appRoot,
|
|
1951
|
-
signal,
|
|
1952
1965
|
timeout: CLI_TIMEOUT_MS,
|
|
1953
1966
|
maxBuffer: 16 * 1024 * 1024,
|
|
1954
1967
|
env: { ...process.env, [PEACH_FORKED_SCRIPT_ENV]: "1", NO_COLOR: "1" }
|
|
1955
1968
|
})
|
|
1956
1969
|
);
|
|
1957
1970
|
}
|
|
1958
|
-
var import_node_child_process6, import_node_fs10, import_node_module, import_node_path9, import_node_util3, run3, CLI_TIMEOUT_MS;
|
|
1971
|
+
var import_node_child_process6, import_node_fs10, import_node_module, import_node_path9, import_node_util3, run3, CLI_TIMEOUT_MS, inFlight;
|
|
1959
1972
|
var init_react_native_autolinking = __esm({
|
|
1960
1973
|
"src/react-native-autolinking.ts"() {
|
|
1961
1974
|
"use strict";
|
|
@@ -1968,6 +1981,7 @@ var init_react_native_autolinking = __esm({
|
|
|
1968
1981
|
init_is_record();
|
|
1969
1982
|
run3 = (0, import_node_util3.promisify)(import_node_child_process6.execFile);
|
|
1970
1983
|
CLI_TIMEOUT_MS = 12e4;
|
|
1984
|
+
inFlight = /* @__PURE__ */ new Map();
|
|
1971
1985
|
}
|
|
1972
1986
|
});
|
|
1973
1987
|
|
|
@@ -5115,7 +5129,7 @@ var swiftCoverageProvenance;
|
|
|
5115
5129
|
var init_provenance = __esm({
|
|
5116
5130
|
"src/swift-coverage/provenance.ts"() {
|
|
5117
5131
|
"use strict";
|
|
5118
|
-
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":"
|
|
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, ".."));
|
|
5119
5133
|
}
|
|
5120
5134
|
});
|
|
5121
5135
|
|
|
@@ -13467,6 +13481,28 @@ function parseWasmObjectBytes(file, buf, isDist, symbolFlagOffsets) {
|
|
|
13467
13481
|
dataRelocList.push({ ...r, segIdx: lo, offInSeg, ownerSymIdx });
|
|
13468
13482
|
}
|
|
13469
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
|
+
}
|
|
13470
13506
|
const typePrefixesInObj = /* @__PURE__ */ new Set();
|
|
13471
13507
|
for (let i = 0; i < symKind.length; i++) {
|
|
13472
13508
|
if ((symFlags[i] & 16) === 0 && symNames[i].startsWith("$s") && symNames[i].endsWith("Mn")) {
|
|
@@ -25202,7 +25238,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
|
|
|
25202
25238
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
25203
25239
|
MULTI_MANIFEST_VERSION = 68;
|
|
25204
25240
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
25205
|
-
compilerSourceDigest = true ? "
|
|
25241
|
+
compilerSourceDigest = true ? "0dc8ec5771fbb3c2f4e287a53570e9f15b27a2c933eb41530f414a37408c01d5" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
25206
25242
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
25207
25243
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
25208
25244
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -28711,7 +28747,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
28711
28747
|
nativeTargets.add(ref);
|
|
28712
28748
|
for (const dependency of dependenciesOf(ref)) includeNativeTarget(dependency);
|
|
28713
28749
|
};
|
|
28714
|
-
for (const { ref, module: module3 } of builtTargets)
|
|
28750
|
+
for (const { ref, module: module3 } of builtTargets.slice(0, -1))
|
|
28715
28751
|
if (options.nativeModules?.some(
|
|
28716
28752
|
(name3) => name3 === module3.moduleName || name3 === module3.name
|
|
28717
28753
|
))
|
|
@@ -29379,7 +29415,7 @@ var init_swift_standin_digest = __esm({
|
|
|
29379
29415
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
29380
29416
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
29381
29417
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
29382
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
29418
|
+
STANDIN_SOURCE_DIGEST = true ? "318c5e93a7c7c8e4ce1dbf748ec63c84273728043e6bafd140c6563890d717d0" : standinSourceDigest();
|
|
29383
29419
|
}
|
|
29384
29420
|
});
|
|
29385
29421
|
|
|
@@ -31049,7 +31085,10 @@ function nativeSwiftSlice(standin, moduleRoot, generator, configured, artifact)
|
|
|
31049
31085
|
`${standin.module}: configured binary behavior cannot replace a compiled native slice`
|
|
31050
31086
|
);
|
|
31051
31087
|
const distribution = swiftDistributionAt(moduleRoot);
|
|
31052
|
-
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
|
+
);
|
|
31053
31092
|
const entry = nativeSwiftSliceEntry(distribution, generator);
|
|
31054
31093
|
const directory2 = fetchNativeEntry("slice", entry.name, entry.key) ?? privateSentrySlice(entry, moduleRoot);
|
|
31055
31094
|
if (!directory2)
|
|
@@ -31967,10 +32006,10 @@ function binaryHeaderSearchPaths(binary2, root, declaredFrameworks) {
|
|
|
31967
32006
|
const name3 = import_node_path70.default.basename(framework, ".framework");
|
|
31968
32007
|
if (!declaredFrameworks) continue;
|
|
31969
32008
|
const imports2 = declaredFrameworks.imports.get(name3);
|
|
31970
|
-
const swift = imports2 && swiftModuleInterface(declaredFrameworks.moduleRoot, name3);
|
|
32009
|
+
const swift = !REACH_STAGED_FRAMEWORKS.has(name3) && imports2 && swiftModuleInterface(declaredFrameworks.moduleRoot, name3);
|
|
31971
32010
|
const compiled = declaredFrameworks.compiledImports.get(name3);
|
|
31972
32011
|
if (swift) declared.set(framework, { ...swift, imports: imports2, sdkHeader: null });
|
|
31973
|
-
else if (compiled && REACH_STAGED_FRAMEWORKS.has(name3)) {
|
|
32012
|
+
else if ((compiled || imports2) && REACH_STAGED_FRAMEWORKS.has(name3)) {
|
|
31974
32013
|
const sdkHeader = import_node_path70.default.join(
|
|
31975
32014
|
swiftSharedSdkRoot(
|
|
31976
32015
|
declaredFrameworks.moduleRoot,
|
|
@@ -31982,7 +32021,7 @@ function binaryHeaderSearchPaths(binary2, root, declaredFrameworks) {
|
|
|
31982
32021
|
declared.set(framework, {
|
|
31983
32022
|
declared: null,
|
|
31984
32023
|
header: null,
|
|
31985
|
-
imports: compiled,
|
|
32024
|
+
imports: compiled ?? /* @__PURE__ */ new Set(),
|
|
31986
32025
|
sdkHeader: import_node_fs73.default.readFileSync(sdkHeader, "utf8")
|
|
31987
32026
|
});
|
|
31988
32027
|
}
|
|
@@ -38807,6 +38846,7 @@ async function buildXcodeLayout(root) {
|
|
|
38807
38846
|
path: target.remote ? import_node_path78.default.posix.join(XCODE_PACKAGES_DIR, posix) : posix,
|
|
38808
38847
|
exclude: target.exclude ?? [],
|
|
38809
38848
|
defines: [
|
|
38849
|
+
"Xcode",
|
|
38810
38850
|
...packageConfiguration === "debug" ? ["DEBUG"] : [],
|
|
38811
38851
|
...target.packageDefines.filter(
|
|
38812
38852
|
(define) => define.configuration === null || define.configuration === packageConfiguration
|
|
@@ -42203,7 +42243,7 @@ async function runInstalledTurboCodegen(appRoot, outDir, signal) {
|
|
|
42203
42243
|
const manifest = JSON.parse(import_node_fs83.default.readFileSync(manifestPath, "utf8"));
|
|
42204
42244
|
if (!isRecord(manifest) || typeof manifest.version !== "string")
|
|
42205
42245
|
throw new Error(`${manifestPath}: no version`);
|
|
42206
|
-
const env = { ...process.env };
|
|
42246
|
+
const env = { ...process.env, [PEACH_FORKED_SCRIPT_ENV]: "1" };
|
|
42207
42247
|
delete env.RCT_SCRIPT_OUTPUT_DIR;
|
|
42208
42248
|
const app = import_node_fs83.default.realpathSync(appRoot);
|
|
42209
42249
|
const out = realTarget(outDir);
|
|
@@ -42218,7 +42258,7 @@ async function runInstalledTurboCodegen(appRoot, outDir, signal) {
|
|
|
42218
42258
|
JSON.stringify(await iosAutolinkingConfig(appRoot, signal))
|
|
42219
42259
|
);
|
|
42220
42260
|
await run6(
|
|
42221
|
-
|
|
42261
|
+
process.execPath,
|
|
42222
42262
|
[
|
|
42223
42263
|
import_node_path80.default.join(import_node_path80.default.dirname(manifestPath), "scripts/generate-codegen-artifacts.js"),
|
|
42224
42264
|
"-p",
|
|
@@ -42247,6 +42287,7 @@ var init_turbo_codegen_intake = __esm({
|
|
|
42247
42287
|
import_node_module7 = require("node:module");
|
|
42248
42288
|
import_node_path80 = __toESM(require("node:path"), 1);
|
|
42249
42289
|
import_node_util14 = require("node:util");
|
|
42290
|
+
init_forked_script_contract();
|
|
42250
42291
|
init_is_record();
|
|
42251
42292
|
init_nitro_source();
|
|
42252
42293
|
init_podspec_sources();
|
|
@@ -42869,7 +42910,7 @@ async function collectTurboSources(options) {
|
|
|
42869
42910
|
const providerTarget = (name3) => `TurboPackage_${sha2564(name3).slice(0, 16)}`;
|
|
42870
42911
|
const folly = readFollyConfig(reactNative.root);
|
|
42871
42912
|
const defines = [
|
|
42872
|
-
"NDEBUG",
|
|
42913
|
+
options.configuration === "Debug" ? "DEBUG=1" : "NDEBUG",
|
|
42873
42914
|
"RCT_NEW_ARCH_ENABLED=1",
|
|
42874
42915
|
"RCT_REMOVE_LEGACY_ARCH=1",
|
|
42875
42916
|
...folly.defines
|
|
@@ -45050,7 +45091,7 @@ var init_react_native_core = __esm({
|
|
|
45050
45091
|
init_swift_distribution();
|
|
45051
45092
|
init_swift_package();
|
|
45052
45093
|
init_swiftContract();
|
|
45053
|
-
recipe = true ? "
|
|
45094
|
+
recipe = true ? "f30840269a1f4be9434de5fb0adcd21490990ef2b55e4f3e6c159fcb6752a29d" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
|
|
45054
45095
|
strings4 = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
|
|
45055
45096
|
building = /* @__PURE__ */ new Map();
|
|
45056
45097
|
}
|
|
@@ -49056,6 +49097,7 @@ var import_node_path53 = __toESM(require("node:path"), 1);
|
|
|
49056
49097
|
var import_promises5 = require("node:timers/promises");
|
|
49057
49098
|
var import_node_util10 = require("node:util");
|
|
49058
49099
|
init_expo_autolinking();
|
|
49100
|
+
init_forked_script_contract();
|
|
49059
49101
|
init_is_record();
|
|
49060
49102
|
init_nitro_source();
|
|
49061
49103
|
async function preparedNativeInventory(app, selected, signal) {
|
|
@@ -49068,9 +49110,14 @@ async function preparedNativeInventory(app, selected, signal) {
|
|
|
49068
49110
|
});
|
|
49069
49111
|
const cli = import_node_path53.default.join(import_node_path53.default.dirname(expo), "bin/expo-modules-autolinking.js");
|
|
49070
49112
|
const searched = await (0, import_node_util10.promisify)(import_node_child_process32.execFile)(
|
|
49071
|
-
|
|
49113
|
+
process.execPath,
|
|
49072
49114
|
[cli, "search", ...autolinkerAppleFlags(expo, app), "--json"],
|
|
49073
|
-
{
|
|
49115
|
+
{
|
|
49116
|
+
cwd: app,
|
|
49117
|
+
signal,
|
|
49118
|
+
maxBuffer: 8 * 1024 * 1024,
|
|
49119
|
+
env: { ...process.env, [PEACH_FORKED_SCRIPT_ENV]: "1" }
|
|
49120
|
+
}
|
|
49074
49121
|
);
|
|
49075
49122
|
const search = JSON.parse(searched.stdout);
|
|
49076
49123
|
if (!isRecord(search)) throw new Error(`${app}: invalid Expo autolinking search`);
|
|
@@ -50072,6 +50119,7 @@ function readExpoDiscovery(key2) {
|
|
|
50072
50119
|
for (const [directory2, expected] of Object.entries(parsed.frameworks)) {
|
|
50073
50120
|
if (frameworkDigest(directory2) !== expected) return void 0;
|
|
50074
50121
|
}
|
|
50122
|
+
saveFileHashes();
|
|
50075
50123
|
} catch {
|
|
50076
50124
|
return void 0;
|
|
50077
50125
|
}
|
|
@@ -50126,6 +50174,55 @@ function readExpoDiscovery(key2) {
|
|
|
50126
50174
|
}
|
|
50127
50175
|
}
|
|
50128
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
|
+
}
|
|
50129
50226
|
function treeDigest(directory2, signal) {
|
|
50130
50227
|
const entries = /* @__PURE__ */ new Map();
|
|
50131
50228
|
const seen = /* @__PURE__ */ new Set();
|
|
@@ -50142,10 +50239,7 @@ function treeDigest(directory2, signal) {
|
|
|
50142
50239
|
} else if (child.isDirectory()) {
|
|
50143
50240
|
walk3(file);
|
|
50144
50241
|
} else if (child.isFile()) {
|
|
50145
|
-
entries.set(
|
|
50146
|
-
relative3,
|
|
50147
|
-
`file\0${(0, import_node_crypto28.createHash)("sha256").update(import_node_fs60.default.readFileSync(file)).digest("hex")}`
|
|
50148
|
-
);
|
|
50242
|
+
entries.set(relative3, `file\0${stampedFileHash(file)}`);
|
|
50149
50243
|
}
|
|
50150
50244
|
}
|
|
50151
50245
|
};
|
|
@@ -50369,6 +50463,7 @@ function writeExpoDiscovery(options) {
|
|
|
50369
50463
|
);
|
|
50370
50464
|
import_node_fs60.default.renameSync(tmp, import_node_path58.default.join(dir, `${options.key}.json`));
|
|
50371
50465
|
expireDiscovery(dir, import_node_path58.default.join(dir, `${options.key}.json`));
|
|
50466
|
+
saveFileHashes();
|
|
50372
50467
|
return rewritten.units;
|
|
50373
50468
|
} catch (error) {
|
|
50374
50469
|
if (options.signal?.aborted) throw error;
|
|
@@ -50467,7 +50562,7 @@ init_swift_native_pin();
|
|
|
50467
50562
|
init_xcode_project();
|
|
50468
50563
|
var EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
50469
50564
|
function expoNativeCompilerDigestValue() {
|
|
50470
|
-
return true ? "
|
|
50565
|
+
return true ? "3c8bd65a3c749594ba3fad51bc9caeee0a5bf0ac9e8c6e569e513ec366ee6554" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
50471
50566
|
}
|
|
50472
50567
|
var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
50473
50568
|
function readSources(value) {
|
|
@@ -52114,7 +52209,7 @@ async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspa
|
|
|
52114
52209
|
const childStart = performance.timeOrigin + performance.now();
|
|
52115
52210
|
const [searched, resolvedModules] = await Promise.allSettled(
|
|
52116
52211
|
["search", "resolve"].map(
|
|
52117
|
-
(command) => run7(
|
|
52212
|
+
(command) => run7(process.execPath, [cli, command, ...flags, "--json"], {
|
|
52118
52213
|
timeout: 12e4,
|
|
52119
52214
|
maxBuffer: 8 * 1024 * 1024,
|
|
52120
52215
|
env: scriptEnv,
|
|
@@ -52817,8 +52912,9 @@ function expoEntry(units, oneSDK = false) {
|
|
|
52817
52912
|
([file, source]) => file.endsWith(".swift") && /\bView\s*\(|\bExpoView\b|\bUIViewRepresentable\b|\bExpoSwiftUI\b/.test(source)
|
|
52818
52913
|
)
|
|
52819
52914
|
);
|
|
52820
|
-
const view = oneSDK ? '@ViewBuilder func view(props: JSON) -> some View {\n if props["oneSDKHost"] != nil { OneSDKUIKitHost(props: props) } else { PeachExpoNativeView(props: props) }\n }' : hasViews ? "func view(props: JSON) -> PeachExpoNativeView { PeachExpoNativeView(props: props) }" : "func view(props: JSON) -> EmptyView { EmptyView() }";
|
|
52915
|
+
const view = oneSDK ? '@ViewBuilder func view(props: PeachJSON.JSON) -> some View {\n if props["oneSDKHost"] != nil { OneSDKUIKitHost(props: props) } else { PeachExpoNativeView(props: props) }\n }' : hasViews ? "func view(props: PeachJSON.JSON) -> PeachExpoNativeView { PeachExpoNativeView(props: props) }" : "func view(props: PeachJSON.JSON) -> EmptyView { EmptyView() }";
|
|
52821
52916
|
return `import SwiftUI
|
|
52917
|
+
import PeachJSON
|
|
52822
52918
|
internal import ExpoModulesCore
|
|
52823
52919
|
${bridgeModules.length ? "import React\n" : ""}${oneSDK ? "import One\nimport OneSDKBindings\n" : ""}${namespaces.map((namespace) => `import ${namespace}`).join("\n")}
|
|
52824
52920
|
|
|
@@ -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/home-paths.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;
|