peachsim 0.1.2742 → 0.1.2744
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 +2 -2
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +5 -5
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +3 -3
- package/dist-lib/bundle-channel.cjs +137 -119
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +3 -3
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +3 -3
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +2 -2
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +7 -7
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +5 -5
- package/dist-lib/detox/index.cjs +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/esm-chunks/{acorn-I6YLE7RH.mjs → acorn-3G2P6SLD.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-YQSNOLNM.mjs → chunk-2XVKKP7C.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-RC3JQV7D.mjs → chunk-3N3NWKOV.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-GMFZTGVJ.mjs → chunk-3R76QB7G.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-OXFGIZC4.mjs → chunk-4BSH2PJJ.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-VWRLBFID.mjs → chunk-4J7M5ABU.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-QDTQYGJB.mjs → chunk-4SL6WT5R.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-CFPPESX7.mjs → chunk-5EMHE44C.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-4CNYVYQW.mjs → chunk-6HF6522F.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-MHRTZ6I7.mjs → chunk-7PZCYBRZ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-FKC5RBXR.mjs → chunk-CWTZZ5PW.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-Y4Q3W36I.mjs → chunk-EP64ATYX.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-PLXC42XF.mjs → chunk-ESGH55PU.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-NWGCI4JC.mjs → chunk-FZCF4XKV.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-VH5KY2GM.mjs → chunk-MHWKZ233.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-IVVVYJKG.mjs → chunk-MK5GDI4J.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-6LMI5DE3.mjs → chunk-NA3WRJON.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-MXADGMSE.mjs → chunk-OYGAP4IB.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-U262IRGM.mjs → chunk-Q3AUIPF2.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-2SC45KUK.mjs → chunk-QNMAUXAH.mjs} +145 -127
- package/dist-lib/esm-chunks/{chunk-G44GUBAL.mjs → chunk-SI55AJTD.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-HJBL2ND3.mjs → chunk-U6INDDV4.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-GPVGYC45.mjs → chunk-V6QXWGYS.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-ZRA35GYC.mjs → chunk-XRGF7PWG.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-6QTRZNLH.mjs → chunk-YPT6XQJX.mjs} +1 -1
- package/dist-lib/esm-chunks/{metro-layout-parser-QGTUKU6T.mjs → metro-layout-parser-IISMSHQ6.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-M2IXDM7B.mjs → swift-package-prebuilt-VA4DWCFB.mjs} +12 -12
- package/dist-lib/esm-chunks/{swift-sdk-app-module-4KYBNEBW.mjs → swift-sdk-app-module-3UUKIQI6.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-Z37PPINV.mjs → swift-sdk-image-XJURAHAQ.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-7KFCU6Y6.mjs → swift-sdk-image-producer-HF3NTKWX.mjs} +5 -5
- package/dist-lib/expo-swift-bundle.cjs +137 -119
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +7 -7
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +160 -143
- package/dist-lib/host/fetch-proxy-handler.cjs +5 -5
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +2 -2
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +3 -3
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +3 -3
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +4 -4
- package/dist-lib/native-app-identity-project.cjs +1 -1
- package/dist-lib/native-app-identity-project.mjs +15 -15
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +6 -6
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +3 -3
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +2 -2
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +3 -3
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +85 -85
- package/dist-lib/public-origins-lib.json +64 -64
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +2 -2
- 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 +8 -8
- package/dist-lib/skills.cjs +160 -143
- package/dist-lib/swift-compile.cjs +133 -115
- package/dist-lib/swift-compile.mjs +12 -12
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +3 -3
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +6 -6
- package/dist-lib/swift-svg-raster.cjs +1 -1
- package/dist-lib/swift-svg-raster.mjs +2 -2
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
- package/dist-lib/vendor/acorn.cjs +1 -1
- package/dist-lib/vendor/magic-string.cjs +1 -1
- package/dist-lib/vendor/stream-json.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
- package/dist-lib/vendor/sucrase.cjs +1 -1
- package/dist-lib/vendor/terser.cjs +1 -1
- package/dist-lib/vendor/valibot.cjs +1 -1
- package/dist-lib/vendor/ws.cjs +1 -1
- package/dist-lib/vendor/zod.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +3 -3
- package/dist-types/packages/peach-engine/src/engine/native-font-dataContract.d.ts +1 -0
- package/dist-types/packages/peach-kit/src/ui/hosting-safe-area.d.ts +17 -1
- package/package.json +1 -1
- package/src/one-direct-host-source.ts +23 -24
- package/src/swift-compile.ts +171 -152
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2744 | (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;
|
|
@@ -6177,7 +6177,7 @@ var init_swift_objc_sdk_tree = __esm({
|
|
|
6177
6177
|
|
|
6178
6178
|
// src/swift-compiler-digest.ts
|
|
6179
6179
|
function swiftArchiveCompilerDigestValue() {
|
|
6180
|
-
return true ? "
|
|
6180
|
+
return true ? "ef102649bb803fa4a669fab0435e2270e6dc7dc45669a03a377d6951f7daa35f" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname, "archive");
|
|
6181
6181
|
}
|
|
6182
6182
|
var import_node_crypto10, import_node_fs25, import_node_path25, SWIFT_DIGEST_SOURCES, LINKED_IMAGE_SOURCES, SWIFT_ARCHIVE_DIGEST_SOURCES;
|
|
6183
6183
|
var init_swift_compiler_digest = __esm({
|
|
@@ -6328,7 +6328,7 @@ var init_swift_standin_digest = __esm({
|
|
|
6328
6328
|
|
|
6329
6329
|
// src/expo-native-compiler-digest.ts
|
|
6330
6330
|
function expoNativeCompilerDigestValue() {
|
|
6331
|
-
return true ? "
|
|
6331
|
+
return true ? "32128bd460028ed060190bfde6d7773aef3938f8c132b90073f8f8fb3daabe41" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
6332
6332
|
}
|
|
6333
6333
|
var import_node_crypto12;
|
|
6334
6334
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -50383,7 +50383,7 @@ function findTargetForFile(file, byDir, predicate) {
|
|
|
50383
50383
|
}
|
|
50384
50384
|
return void 0;
|
|
50385
50385
|
}
|
|
50386
|
-
function compiledSwiftSources(files2, targets, overlayFrameworks, headers
|
|
50386
|
+
function compiledSwiftSources(files2, targets, overlayFrameworks, headers) {
|
|
50387
50387
|
const ordered = [...targets].sort((a, b) => b.path.length - a.path.length);
|
|
50388
50388
|
const byDir = indexTargetsByDirectory(ordered);
|
|
50389
50389
|
const excludeSets = /* @__PURE__ */ new Map();
|
|
@@ -50409,7 +50409,7 @@ function compiledSwiftSources(files2, targets, overlayFrameworks, headers, nativ
|
|
|
50409
50409
|
const { onWasm, withoutWasm } = swiftTargetArchitectures(targets, swiftSources, headers);
|
|
50410
50410
|
return new Map(
|
|
50411
50411
|
[...owners].map(([file, { source, owner }]) => {
|
|
50412
|
-
if (
|
|
50412
|
+
if (import_node_path84.default.posix.basename(file) === "OneNativeSource.generated.swift")
|
|
50413
50413
|
return [file, source];
|
|
50414
50414
|
const manifest = /(?:^|\/)Package(?:@swift-[\d.]+)?\.swift$/.test(file);
|
|
50415
50415
|
if (manifest && (!owner || /^Package(?:@swift-[\d.]+)?\.swift$/.test(file)))
|
|
@@ -51934,8 +51934,7 @@ module ${moduleName2}.Swift {
|
|
|
51934
51934
|
([file]) => /\.(?:h|hh|hpp)$/.test(file)
|
|
51935
51935
|
);
|
|
51936
51936
|
return headerFiles3.filter(([file]) => file.startsWith(`${directory2}/`)).map(([, contents2]) => contents2);
|
|
51937
|
-
}
|
|
51938
|
-
input.oneModule
|
|
51937
|
+
}
|
|
51939
51938
|
);
|
|
51940
51939
|
const libraryEntryFiles = /* @__PURE__ */ new Map();
|
|
51941
51940
|
for (const target of [...targets]) {
|
|
@@ -53188,9 +53187,10 @@ function removeCaseCollidingModuleArtifacts(modulesDir, keep) {
|
|
|
53188
53187
|
(0, import_node_fs82.rmSync)(import_node_path84.default.join(modulesDir, name3), { recursive: true, force: true });
|
|
53189
53188
|
}
|
|
53190
53189
|
}
|
|
53191
|
-
function readFrameworkProductsReceipt(scratch2, receiptKey) {
|
|
53190
|
+
function readFrameworkProductsReceipt(scratch2, receiptKey, planChangedAt = 0n) {
|
|
53192
53191
|
const receiptFile2 = import_node_path84.default.join(scratch2, "products-ready", `${receiptKey}.json`);
|
|
53193
|
-
|
|
53192
|
+
const receiptStat = (0, import_node_fs82.statSync)(receiptFile2, { bigint: true, throwIfNoEntry: false });
|
|
53193
|
+
if (!receiptStat || receiptStat.mtimeNs < planChangedAt) return null;
|
|
53194
53194
|
let parsed2;
|
|
53195
53195
|
try {
|
|
53196
53196
|
parsed2 = v6.parse(
|
|
@@ -53314,117 +53314,136 @@ async function buildFrameworkProducts(scratch2, args, allowWrite) {
|
|
|
53314
53314
|
const unoptimized = args.input.unoptimized === true;
|
|
53315
53315
|
const sdkOptions = swiftCompileSdkOptions(args.moduleRoot, args.toolchainBin);
|
|
53316
53316
|
const selectorOptions = swiftObjCSelectorOptions(args.moduleRoot);
|
|
53317
|
-
const
|
|
53317
|
+
const receiptKeyFor = (products) => (0, import_node_crypto50.createHash)("sha256").update(
|
|
53318
53318
|
JSON.stringify([
|
|
53319
53319
|
"framework-products/v2",
|
|
53320
53320
|
args.frameworkKey,
|
|
53321
53321
|
unoptimized,
|
|
53322
53322
|
args.sdk,
|
|
53323
53323
|
args.toolchainBin,
|
|
53324
|
-
[...
|
|
53324
|
+
[...products].sort(),
|
|
53325
53325
|
darwinRecordsMinimum(),
|
|
53326
53326
|
args.plugins,
|
|
53327
53327
|
sdkOptions,
|
|
53328
53328
|
selectorOptions
|
|
53329
53329
|
])
|
|
53330
53330
|
).digest("hex").slice(0, 32);
|
|
53331
|
+
const receiptKey = receiptKeyFor(linkedTargets.products);
|
|
53331
53332
|
const ready = readFrameworkProductsReceipt(scratch2, receiptKey);
|
|
53332
53333
|
if (ready) return ready;
|
|
53333
53334
|
if (!allowWrite) return;
|
|
53334
53335
|
const linkRoot = import_node_path84.default.join(scratch2, "link");
|
|
53335
|
-
|
|
53336
|
-
const
|
|
53337
|
-
(0, import_node_fs82.
|
|
53338
|
-
|
|
53339
|
-
|
|
53340
|
-
|
|
53341
|
-
const
|
|
53336
|
+
const manifest = import_node_path84.default.join(linkRoot, "Package.swift");
|
|
53337
|
+
const manifestStat = (0, import_node_fs82.statSync)(manifest, { bigint: true, throwIfNoEntry: false });
|
|
53338
|
+
const planStat = (0, import_node_fs82.statSync)(import_node_path84.default.join(scratch2, "release.yaml"), {
|
|
53339
|
+
bigint: true,
|
|
53340
|
+
throwIfNoEntry: false
|
|
53341
|
+
});
|
|
53342
|
+
const builtProducts = manifestStat && planStat ? [
|
|
53343
|
+
...(0, import_node_fs82.readFileSync)(manifest, "utf8").matchAll(
|
|
53344
|
+
/^\s*\.product\(name: "([^"]+)", package:/gm
|
|
53345
|
+
)
|
|
53346
|
+
].map((match) => match[1]) : [];
|
|
53347
|
+
const reusePlan = manifestStat && planStat && linkedTargets.products.every((product) => builtProducts.includes(product)) && readFrameworkProductsReceipt(
|
|
53342
53348
|
scratch2,
|
|
53343
|
-
|
|
53344
|
-
|
|
53345
|
-
|
|
53346
|
-
|
|
53347
|
-
|
|
53348
|
-
|
|
53349
|
-
|
|
53350
|
-
|
|
53351
|
-
|
|
53352
|
-
|
|
53353
|
-
|
|
53354
|
-
"native",
|
|
53355
|
-
"-j",
|
|
53356
|
-
String(targetJobs),
|
|
53357
|
-
"--package-path",
|
|
53358
|
-
linkRoot,
|
|
53359
|
-
"--scratch-path",
|
|
53349
|
+
receiptKeyFor(builtProducts),
|
|
53350
|
+
manifestStat.ctimeNs > planStat.ctimeNs ? manifestStat.ctimeNs : planStat.ctimeNs
|
|
53351
|
+
);
|
|
53352
|
+
if (!reusePlan) {
|
|
53353
|
+
writeFrameworkLinkPackage(linkRoot, args.moduleRoot, linkedTargets.products);
|
|
53354
|
+
const frameworkTmp = import_node_path84.default.join(scratch2, "peach-compiler-tmp");
|
|
53355
|
+
(0, import_node_fs82.mkdirSync)(frameworkTmp, { recursive: true });
|
|
53356
|
+
const jobs = swiftCompilerJobs();
|
|
53357
|
+
const targetJobs = jobs >= 4 ? 2 : 1;
|
|
53358
|
+
const driverJobs = Math.max(1, Math.floor(jobs / targetJobs));
|
|
53359
|
+
const cache = unoptimized ? null : prepareFrameworkCompileCache(
|
|
53360
53360
|
scratch2,
|
|
53361
|
-
|
|
53362
|
-
|
|
53363
|
-
|
|
53364
|
-
|
|
53365
|
-
|
|
53366
|
-
|
|
53367
|
-
|
|
53368
|
-
|
|
53369
|
-
|
|
53370
|
-
|
|
53371
|
-
|
|
53372
|
-
|
|
53373
|
-
|
|
53374
|
-
|
|
53375
|
-
|
|
53376
|
-
|
|
53377
|
-
|
|
53378
|
-
|
|
53379
|
-
|
|
53380
|
-
|
|
53381
|
-
|
|
53382
|
-
|
|
53383
|
-
|
|
53384
|
-
|
|
53385
|
-
|
|
53386
|
-
|
|
53387
|
-
|
|
53388
|
-
"-g0",
|
|
53389
|
-
"-Xcxx",
|
|
53390
|
-
"-g0",
|
|
53391
|
-
"-Xswiftc",
|
|
53392
|
-
"-num-threads",
|
|
53393
|
-
"-Xswiftc",
|
|
53394
|
-
"1",
|
|
53395
|
-
...swiftReproducibleBuildFlags([
|
|
53396
|
-
[import_node_path84.default.dirname(args.toolchainBin), "toolchain"],
|
|
53397
|
-
[args.moduleRoot, "framework"],
|
|
53398
|
-
[scratch2, "framework-scratch"]
|
|
53399
|
-
]),
|
|
53400
|
-
...args.plugins.libraries.flatMap((plugin) => [
|
|
53361
|
+
args.moduleRoot,
|
|
53362
|
+
args.toolchainBin,
|
|
53363
|
+
sdkOptions,
|
|
53364
|
+
linkedTargets.products
|
|
53365
|
+
);
|
|
53366
|
+
await runCompiler(
|
|
53367
|
+
args.swift,
|
|
53368
|
+
[
|
|
53369
|
+
"build",
|
|
53370
|
+
...swiftPackageCacheOptions(),
|
|
53371
|
+
"--build-system",
|
|
53372
|
+
"native",
|
|
53373
|
+
"-j",
|
|
53374
|
+
String(targetJobs),
|
|
53375
|
+
"--package-path",
|
|
53376
|
+
linkRoot,
|
|
53377
|
+
"--scratch-path",
|
|
53378
|
+
scratch2,
|
|
53379
|
+
"--target",
|
|
53380
|
+
FRAMEWORK_LINK_TARGET,
|
|
53381
|
+
...sdkOptions,
|
|
53382
|
+
...selectorOptions,
|
|
53383
|
+
"--swift-sdk",
|
|
53384
|
+
args.sdk,
|
|
53385
|
+
"-c",
|
|
53386
|
+
"release",
|
|
53387
|
+
...cache ? ["-Xswiftc", "-driver-use-frontend-path", "-Xswiftc", cache.wrapper] : [],
|
|
53401
53388
|
"-Xswiftc",
|
|
53402
|
-
"-
|
|
53389
|
+
unoptimized ? "-Onone" : "-Osize",
|
|
53403
53390
|
"-Xswiftc",
|
|
53404
|
-
|
|
53405
|
-
|
|
53406
|
-
|
|
53391
|
+
"-no-whole-module-optimization",
|
|
53392
|
+
// optimized batches can move specialized definitions between object files.
|
|
53393
|
+
...unoptimized ? ["-Xswiftc", "-incremental"] : [],
|
|
53407
53394
|
"-Xswiftc",
|
|
53408
|
-
"-
|
|
53395
|
+
"-enable-batch-mode",
|
|
53396
|
+
// each batch repeats the same framework diagnostics.
|
|
53397
|
+
...unoptimized ? [] : ["-Xswiftc", "-suppress-warnings"],
|
|
53409
53398
|
"-Xswiftc",
|
|
53410
|
-
|
|
53411
|
-
|
|
53412
|
-
|
|
53413
|
-
|
|
53414
|
-
|
|
53415
|
-
|
|
53416
|
-
|
|
53417
|
-
|
|
53418
|
-
|
|
53419
|
-
|
|
53420
|
-
|
|
53421
|
-
|
|
53422
|
-
|
|
53423
|
-
|
|
53424
|
-
|
|
53425
|
-
|
|
53426
|
-
|
|
53427
|
-
|
|
53399
|
+
"-j",
|
|
53400
|
+
"-Xswiftc",
|
|
53401
|
+
String(driverJobs),
|
|
53402
|
+
// the release link strips all debug info, so none is generated.
|
|
53403
|
+
"-Xswiftc",
|
|
53404
|
+
"-gnone",
|
|
53405
|
+
"-Xcc",
|
|
53406
|
+
"-g0",
|
|
53407
|
+
"-Xcxx",
|
|
53408
|
+
"-g0",
|
|
53409
|
+
"-Xswiftc",
|
|
53410
|
+
"-num-threads",
|
|
53411
|
+
"-Xswiftc",
|
|
53412
|
+
"1",
|
|
53413
|
+
...swiftReproducibleBuildFlags([
|
|
53414
|
+
[import_node_path84.default.dirname(args.toolchainBin), "toolchain"],
|
|
53415
|
+
[args.moduleRoot, "framework"],
|
|
53416
|
+
[scratch2, "framework-scratch"]
|
|
53417
|
+
]),
|
|
53418
|
+
...args.plugins.libraries.flatMap((plugin) => [
|
|
53419
|
+
"-Xswiftc",
|
|
53420
|
+
"-load-plugin-library",
|
|
53421
|
+
"-Xswiftc",
|
|
53422
|
+
plugin
|
|
53423
|
+
]),
|
|
53424
|
+
...args.plugins.executables.flatMap((plugin) => [
|
|
53425
|
+
"-Xswiftc",
|
|
53426
|
+
"-load-plugin-executable",
|
|
53427
|
+
"-Xswiftc",
|
|
53428
|
+
`${plugin}#ExpoModulesMacros`
|
|
53429
|
+
])
|
|
53430
|
+
],
|
|
53431
|
+
// swiftpm hashes TMPDIR into its plan; keep one stable compiler scratch inside the locked slot.
|
|
53432
|
+
// the framework build's warnings alone pass the default 1 MiB cap, which kills
|
|
53433
|
+
// the build one step from the end.
|
|
53434
|
+
{
|
|
53435
|
+
...args.buildOptions,
|
|
53436
|
+
temporaryDirectory: frameworkTmp,
|
|
53437
|
+
maxBuffer: 64 * 1024 * 1024
|
|
53438
|
+
},
|
|
53439
|
+
SWIFTPM_PROGRESS,
|
|
53440
|
+
SWIFTPM_NOISE
|
|
53441
|
+
).catch((error) => {
|
|
53442
|
+
throw new Error(outputOf(error), { cause: error });
|
|
53443
|
+
}).finally(() => {
|
|
53444
|
+
if (cache) reportFrameworkCompileCacheStats(scratch2, cache.statsFile);
|
|
53445
|
+
});
|
|
53446
|
+
}
|
|
53428
53447
|
const release = import_node_path84.default.join(scratch2, WASM_TRIPLE, "release");
|
|
53429
53448
|
const linked = frameworkLinkClosure(scratch2, linkedTargets.targets);
|
|
53430
53449
|
const objects = linked.objects;
|
|
@@ -53581,17 +53600,7 @@ function swiftFrameworkSlotKey(slot) {
|
|
|
53581
53600
|
function swiftFrameworkSlotRelease(slot) {
|
|
53582
53601
|
return swiftFrameworkSlotRecord(slot, SWIFT_FRAMEWORK_SLOT_RELEASE);
|
|
53583
53602
|
}
|
|
53584
|
-
function
|
|
53585
|
-
try {
|
|
53586
|
-
return (0, import_node_fs82.readdirSync)(import_node_path84.default.join(slot, "products-ready")).some(
|
|
53587
|
-
(entry) => entry.endsWith(".json")
|
|
53588
|
-
);
|
|
53589
|
-
} catch (error) {
|
|
53590
|
-
if (vanished(error)) return false;
|
|
53591
|
-
throw error;
|
|
53592
|
-
}
|
|
53593
|
-
}
|
|
53594
|
-
async function withSwiftFrameworkSlot(frameworkKey, release, moduleRoot, signal, work, unoptimized = false) {
|
|
53603
|
+
async function withSwiftFrameworkSlot(frameworkKey, release, moduleRoot, signal, work, unoptimized, linkOnly) {
|
|
53595
53604
|
const slotCount = swiftFrameworkSlotCount(unoptimized);
|
|
53596
53605
|
const slotsDir = swiftFrameworksDir(unoptimized);
|
|
53597
53606
|
const slots = Array.from({ length: slotCount }, (_, index) => {
|
|
@@ -53608,8 +53617,12 @@ async function withSwiftFrameworkSlot(frameworkKey, release, moduleRoot, signal,
|
|
|
53608
53617
|
throw error;
|
|
53609
53618
|
}
|
|
53610
53619
|
};
|
|
53611
|
-
const
|
|
53612
|
-
const
|
|
53620
|
+
const handoffFile = (slot) => import_node_path84.default.join(slot, SWIFT_FRAMEWORK_SLOT_HANDOFF);
|
|
53621
|
+
const hasPendingForeignHandoff = (slot, now) => {
|
|
53622
|
+
const stamp = (0, import_node_fs82.statSync)(handoffFile(slot), { throwIfNoEntry: false });
|
|
53623
|
+
return stamp !== void 0 && !own2(slot) && now - stamp.mtimeMs < SWIFT_FRAMEWORK_HANDOFF_MS;
|
|
53624
|
+
};
|
|
53625
|
+
const trySlot = (slot, mode, logSelection, allowPendingHandoff = true) => {
|
|
53613
53626
|
return withSwiftRootLock(
|
|
53614
53627
|
slot,
|
|
53615
53628
|
async (lease) => {
|
|
@@ -53617,7 +53630,7 @@ async function withSwiftFrameworkSlot(frameworkKey, release, moduleRoot, signal,
|
|
|
53617
53630
|
if (mode !== "restage" && !matches) return;
|
|
53618
53631
|
const allowWrite = mode !== "reuse";
|
|
53619
53632
|
if (allowWrite && await hasLiveSwiftRootReaders(slot, signal)) return;
|
|
53620
|
-
if (mode === "restage" && !matches && !
|
|
53633
|
+
if (mode === "restage" && !matches && !allowPendingHandoff && hasPendingForeignHandoff(slot, Date.now()))
|
|
53621
53634
|
return;
|
|
53622
53635
|
if (!matches) logSelection?.();
|
|
53623
53636
|
if (mode === "extend")
|
|
@@ -53631,6 +53644,8 @@ async function withSwiftFrameworkSlot(frameworkKey, release, moduleRoot, signal,
|
|
|
53631
53644
|
`[swift-framework-cache] ${import_node_path84.default.basename(slot)} hit=products release=${release}`
|
|
53632
53645
|
);
|
|
53633
53646
|
const now = /* @__PURE__ */ new Date();
|
|
53647
|
+
if (linkOnly) (0, import_node_fs82.writeFileSync)(handoffFile(slot), "");
|
|
53648
|
+
else (0, import_node_fs82.rmSync)(handoffFile(slot), { force: true });
|
|
53634
53649
|
(0, import_node_fs82.utimesSync)(slot, now, now);
|
|
53635
53650
|
return { value };
|
|
53636
53651
|
},
|
|
@@ -53684,8 +53699,8 @@ async function withSwiftFrameworkSlot(frameworkKey, release, moduleRoot, signal,
|
|
|
53684
53699
|
return { slot, index, tier: 3, changes: Infinity, own: false, mtimeMs };
|
|
53685
53700
|
const changes = changedInputsFor(slot, slotKey);
|
|
53686
53701
|
const isOwn = own2(slot);
|
|
53687
|
-
const
|
|
53688
|
-
return { slot, index, tier
|
|
53702
|
+
const tier = hasPendingForeignHandoff(slot, now) ? 2 : 0;
|
|
53703
|
+
return { slot, index, tier, changes, own: isOwn, mtimeMs };
|
|
53689
53704
|
}).sort((left, right) => {
|
|
53690
53705
|
if (left.tier !== right.tier) return left.tier - right.tier;
|
|
53691
53706
|
if (left.tier === 0)
|
|
@@ -53811,6 +53826,7 @@ function stageFrameworkSource(moduleRoot, slot, frameworkKey, release) {
|
|
|
53811
53826
|
if (hadKey !== frameworkKey) {
|
|
53812
53827
|
(0, import_node_fs82.rmSync)(import_node_path84.default.join(slot, SWIFT_FRAMEWORK_SLOT_KEY), { force: true });
|
|
53813
53828
|
(0, import_node_fs82.rmSync)(import_node_path84.default.join(slot, SWIFT_FRAMEWORK_SLOT_RELEASE), { force: true });
|
|
53829
|
+
(0, import_node_fs82.rmSync)(import_node_path84.default.join(slot, SWIFT_FRAMEWORK_SLOT_HANDOFF), { force: true });
|
|
53814
53830
|
(0, import_node_fs82.rmSync)(import_node_path84.default.join(slot, "products-ready"), { recursive: true, force: true });
|
|
53815
53831
|
(0, import_node_fs82.rmSync)(import_node_path84.default.join(slot, "products-lib"), { recursive: true, force: true });
|
|
53816
53832
|
(0, import_node_fs82.rmSync)(import_node_path84.default.join(slot, "lib"), { recursive: true, force: true });
|
|
@@ -54162,7 +54178,8 @@ ${compatShape}` : "";
|
|
|
54162
54178
|
moduleRoot,
|
|
54163
54179
|
budget.signal,
|
|
54164
54180
|
prepareFrameworks,
|
|
54165
|
-
unoptimized
|
|
54181
|
+
unoptimized,
|
|
54182
|
+
options2.linkOnly === true
|
|
54166
54183
|
);
|
|
54167
54184
|
if (!frameworks)
|
|
54168
54185
|
throw new Error("Swift distribution did not provide its frameworks");
|
|
@@ -54729,7 +54746,7 @@ ${compatShape}` : "";
|
|
|
54729
54746
|
options2.signal
|
|
54730
54747
|
);
|
|
54731
54748
|
}
|
|
54732
|
-
var import_node_child_process43, import_node_crypto50, import_node_fs82, import_node_os19, import_node_path84, import_promises12, v6, WASM_TRIPLE, SWIFTPM_PROGRESS, SWIFTPM_NOISE, SWIFT_COMPILER_ENV_KEYS, SYSTEM_MODULE_LIBRARIES, SYSTEM_MODULE_IMPORT, lastPartition, OPTIONAL_FRAMEWORK_DEPENDENCIES, OPTIONAL_FRAMEWORKS, availableModules, sdkOverlayFrameworks, DISTRIBUTION_CLANG_MODULES, CLANG_DISTRIBUTION_MODULES, ONE_PRODUCT, GAME_FAMILY, gameProducts, gameProduct, GAME_REACH, ONE_IMPLICIT_FLAGS, executableLinkFlags, darwinRecordsRegion, REACTOR_FLAG, MULTI_MANIFEST_VERSION, SWIFT_HEADER_PRODUCTS_TARGET, compilerSourceDigest, nativeCxxCompilerFlags, MODULE_MAP_RESPONSE_FILE_RUN, cFlagArray, cxxFlagArray, SWIFTPM_DEFAULT_IOS_DEPLOYMENT_TARGET, OS_IOS, ARCH_ARM64, NOT_ON_IOS, DELEGATE_CLASS, ARM64_MACRO, WASM_MACRO, ARCH_WASM32, C_WORDS, archEnvironments, CORE_FOUNDATION_GEOMETRY_TYPES, CORE_FOUNDATION_GRAPHICS_TYPES, CORE_FOUNDATION_HANDLE_IMPORTS, cPredefineTable, cPredefineCache, HIDDEN_UNITS, FIRST_WINS_PAIRS, LAST_WINS_PAIRS, VALUE_FLAGS, LIBXML_REFERENCE, LIBXML_SOURCE, ROOT_LOCKS, host, rootLocks, SHARED_ARTIFACT_BUDGET_BYTES, SHARED_ARTIFACT_GRACE_MS, RETIRED_PREFIX, retainedArtifacts, FRAMEWORK_LINK_TARGET, frameworkProductsReceiptSchema, SWIFT_LINK_STAMP, SWIFT_HOST_COMPILER_WRAPPER, SWIFT_FRAMEWORK_SLOTS, SWIFT_FRAMEWORK_UNOPTIMIZED_SLOTS, SWIFT_FRAMEWORK_SLOT_KEY, SWIFT_FRAMEWORK_SLOT_ORIGIN, SWIFT_FRAMEWORK_SLOT_RELEASE, SWIFT_BUILD_ROOT_SLOTS, SWIFT_BUILD_ROOT_SHAPE,
|
|
54749
|
+
var import_node_child_process43, import_node_crypto50, import_node_fs82, import_node_os19, import_node_path84, import_promises12, v6, WASM_TRIPLE, SWIFTPM_PROGRESS, SWIFTPM_NOISE, SWIFT_COMPILER_ENV_KEYS, SYSTEM_MODULE_LIBRARIES, SYSTEM_MODULE_IMPORT, lastPartition, OPTIONAL_FRAMEWORK_DEPENDENCIES, OPTIONAL_FRAMEWORKS, availableModules, sdkOverlayFrameworks, DISTRIBUTION_CLANG_MODULES, CLANG_DISTRIBUTION_MODULES, ONE_PRODUCT, GAME_FAMILY, gameProducts, gameProduct, GAME_REACH, ONE_IMPLICIT_FLAGS, executableLinkFlags, darwinRecordsRegion, REACTOR_FLAG, MULTI_MANIFEST_VERSION, SWIFT_HEADER_PRODUCTS_TARGET, compilerSourceDigest, nativeCxxCompilerFlags, MODULE_MAP_RESPONSE_FILE_RUN, cFlagArray, cxxFlagArray, SWIFTPM_DEFAULT_IOS_DEPLOYMENT_TARGET, OS_IOS, ARCH_ARM64, NOT_ON_IOS, DELEGATE_CLASS, ARM64_MACRO, WASM_MACRO, ARCH_WASM32, C_WORDS, archEnvironments, CORE_FOUNDATION_GEOMETRY_TYPES, CORE_FOUNDATION_GRAPHICS_TYPES, CORE_FOUNDATION_HANDLE_IMPORTS, cPredefineTable, cPredefineCache, HIDDEN_UNITS, FIRST_WINS_PAIRS, LAST_WINS_PAIRS, VALUE_FLAGS, LIBXML_REFERENCE, LIBXML_SOURCE, ROOT_LOCKS, host, rootLocks, SHARED_ARTIFACT_BUDGET_BYTES, SHARED_ARTIFACT_GRACE_MS, RETIRED_PREFIX, retainedArtifacts, FRAMEWORK_LINK_TARGET, frameworkProductsReceiptSchema, SWIFT_LINK_STAMP, SWIFT_HOST_COMPILER_WRAPPER, SWIFT_FRAMEWORK_SLOTS, SWIFT_FRAMEWORK_UNOPTIMIZED_SLOTS, SWIFT_FRAMEWORK_SLOT_KEY, SWIFT_FRAMEWORK_SLOT_ORIGIN, SWIFT_FRAMEWORK_SLOT_RELEASE, SWIFT_FRAMEWORK_SLOT_HANDOFF, SWIFT_BUILD_ROOT_SLOTS, SWIFT_BUILD_ROOT_SHAPE, SWIFT_FRAMEWORK_HANDOFF_MS;
|
|
54733
54750
|
var init_swift_compile = __esm({
|
|
54734
54751
|
"src/swift-compile.ts"() {
|
|
54735
54752
|
"use strict";
|
|
@@ -54963,7 +54980,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
54963
54980
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
54964
54981
|
MULTI_MANIFEST_VERSION = 76;
|
|
54965
54982
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
54966
|
-
compilerSourceDigest = true ? "
|
|
54983
|
+
compilerSourceDigest = true ? "9e43b96f22759d18028120bf151aaa3545b4a68d9cb280a87e81051893e9eb50" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
54967
54984
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
54968
54985
|
MODULE_MAP_RESPONSE_FILE_RUN = 16;
|
|
54969
54986
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
@@ -55069,9 +55086,10 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
55069
55086
|
SWIFT_FRAMEWORK_SLOT_KEY = ".peach-framework-key";
|
|
55070
55087
|
SWIFT_FRAMEWORK_SLOT_ORIGIN = ".peach-framework-origin";
|
|
55071
55088
|
SWIFT_FRAMEWORK_SLOT_RELEASE = ".peach-framework-release";
|
|
55089
|
+
SWIFT_FRAMEWORK_SLOT_HANDOFF = ".peach-framework-handoff";
|
|
55072
55090
|
SWIFT_BUILD_ROOT_SLOTS = 4;
|
|
55073
55091
|
SWIFT_BUILD_ROOT_SHAPE = ".peach-build-shape";
|
|
55074
|
-
|
|
55092
|
+
SWIFT_FRAMEWORK_HANDOFF_MS = 15 * 60 * 1e3;
|
|
55075
55093
|
}
|
|
55076
55094
|
});
|
|
55077
55095
|
|
|
@@ -120383,19 +120401,10 @@ public final class PeachOneDirectStage: NSObject {
|
|
|
120383
120401
|
}
|
|
120384
120402
|
}
|
|
120385
120403
|
|
|
120386
|
-
@objc public func attachHostView(_ view: UIView, frame: CGRect) {
|
|
120387
|
-
if view.superview !== stageView {
|
|
120388
|
-
view.removeFromSuperview()
|
|
120389
|
-
stageView.addSubview(view)
|
|
120390
|
-
}
|
|
120391
|
-
if view.frame != frame {
|
|
120392
|
-
view.frame = frame
|
|
120393
|
-
}
|
|
120394
|
-
}
|
|
120395
|
-
|
|
120396
120404
|
@objc public func detachHostView(_ view: UIView) {
|
|
120405
|
+
let wasDirectHost = view._peachReactContentHost != nil
|
|
120397
120406
|
view._peachReactContentHost = nil
|
|
120398
|
-
if
|
|
120407
|
+
if wasDirectHost {
|
|
120399
120408
|
view.removeFromSuperview()
|
|
120400
120409
|
}
|
|
120401
120410
|
}
|
|
@@ -122240,6 +122249,7 @@ struct DirectContainerRecord {
|
|
|
122240
122249
|
BOOL composed = NO;
|
|
122241
122250
|
peach_node hostContentNode = 0;
|
|
122242
122251
|
CGRect frame = CGRectZero;
|
|
122252
|
+
__weak UIView* hostParent = nil;
|
|
122243
122253
|
};
|
|
122244
122254
|
|
|
122245
122255
|
std::unordered_map<peach_node, DirectContainerRecord> gRecords;
|
|
@@ -122247,6 +122257,16 @@ std::unordered_map<peach_node, UIView*> gContentViews;
|
|
|
122247
122257
|
std::unordered_map<peach_node, UIView*> gTriggerViews;
|
|
122248
122258
|
peach_node gInPlaceTriggerNode = 0;
|
|
122249
122259
|
|
|
122260
|
+
UIView* contentViewForNode(peach_node node) {
|
|
122261
|
+
auto& slot = gContentViews[node];
|
|
122262
|
+
if (!slot) {
|
|
122263
|
+
slot = [[UIView alloc] initWithFrame:CGRectZero];
|
|
122264
|
+
slot.backgroundColor = UIColor.clearColor;
|
|
122265
|
+
[PeachOneDirectStage.shared tagContentView:slot node:node];
|
|
122266
|
+
}
|
|
122267
|
+
return slot;
|
|
122268
|
+
}
|
|
122269
|
+
|
|
122250
122270
|
NSString* nsStringFromBytes(const char* ptr, uint32_t len) {
|
|
122251
122271
|
if (!ptr || !len) return @"";
|
|
122252
122272
|
return [[NSString alloc] initWithBytes:ptr length:len encoding:NSUTF8StringEncoding] ?: @"";
|
|
@@ -122348,6 +122368,7 @@ id<PeachContainer> makeContainer(NSString* kind, peach_node node, NSDictionary*
|
|
|
122348
122368
|
it->second.hostView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, it->second.frame.size.width, it->second.frame.size.height)];
|
|
122349
122369
|
}
|
|
122350
122370
|
UIView* hostView = it->second.hostView;
|
|
122371
|
+
it->second.hostParent = nil;
|
|
122351
122372
|
[PeachOneDirectStage.shared detachHostView:hostView];
|
|
122352
122373
|
return hostView;
|
|
122353
122374
|
}
|
|
@@ -122361,13 +122382,7 @@ id<PeachContainer> makeContainer(NSString* kind, peach_node node, NSDictionary*
|
|
|
122361
122382
|
}
|
|
122362
122383
|
return trigger;
|
|
122363
122384
|
}
|
|
122364
|
-
|
|
122365
|
-
if (!slot) {
|
|
122366
|
-
slot = [[UIView alloc] initWithFrame:CGRectZero];
|
|
122367
|
-
slot.backgroundColor = UIColor.clearColor;
|
|
122368
|
-
[PeachOneDirectStage.shared tagContentView:slot node:node];
|
|
122369
|
-
}
|
|
122370
|
-
return slot;
|
|
122385
|
+
return contentViewForNode(node);
|
|
122371
122386
|
}
|
|
122372
122387
|
|
|
122373
122388
|
- (CGSize)layoutSizeForNode:(peach_node)node {
|
|
@@ -122544,13 +122559,16 @@ void peach_one_container_mount(uint32_t targetLo, uint32_t targetHi, uint32_t pa
|
|
|
122544
122559
|
record.hostView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, w, h)];
|
|
122545
122560
|
record.hostView.backgroundColor = UIColor.clearColor;
|
|
122546
122561
|
}
|
|
122547
|
-
UIView*
|
|
122548
|
-
if (
|
|
122562
|
+
UIView* currentParent = record.hostView.superview;
|
|
122563
|
+
if (!currentParent || currentParent == record.hostParent) {
|
|
122564
|
+
UIView* parent = hostContentNode ? contentViewForNode(hostContentNode) : PeachOneDirectStage.shared.stageView;
|
|
122565
|
+
record.hostParent = parent;
|
|
122549
122566
|
[PeachOneDirectStage.shared tagHostView:record.hostView
|
|
122550
122567
|
node:node
|
|
122551
122568
|
hostContentNode:hostContentNode];
|
|
122552
|
-
[
|
|
122553
|
-
|
|
122569
|
+
if (currentParent != parent) [parent addSubview:record.hostView];
|
|
122570
|
+
const CGRect next = CGRectMake(0, 0, w, h);
|
|
122571
|
+
if (!CGRectEqualToRect(record.hostView.frame, next)) record.hostView.frame = next;
|
|
122554
122572
|
} else {
|
|
122555
122573
|
CGRect current = record.hostView.frame;
|
|
122556
122574
|
current.size = CGSizeMake(w, h);
|
|
@@ -122584,8 +122602,7 @@ void peach_one_container_mount(uint32_t targetLo, uint32_t targetHi, uint32_t pa
|
|
|
122584
122602
|
|
|
122585
122603
|
// bounds-only update after layout (never re-runs mountIn on PeachSwiftUI)
|
|
122586
122604
|
if (!record.composed && record.hostView) {
|
|
122587
|
-
|
|
122588
|
-
if (record.hostView.superview == stageView) {
|
|
122605
|
+
if (record.hostParent && record.hostView.superview == record.hostParent) {
|
|
122589
122606
|
const CGRect next = CGRectMake(0, 0, w, h);
|
|
122590
122607
|
if (!CGRectEqualToRect(record.hostView.frame, next)) {
|
|
122591
122608
|
record.hostView.frame = next;
|
|
@@ -130176,7 +130193,7 @@ var init_nitro_superset = __esm({
|
|
|
130176
130193
|
init_nitroContract();
|
|
130177
130194
|
init_swift_standin_digest();
|
|
130178
130195
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
130179
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
130196
|
+
NITRO_COMPILER_DIGEST = true ? "bbe658f7e2c352f47d2e139b1ee4adb8b1944071676dd2de1401c6f637eaf9f6" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
130180
130197
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
130181
130198
|
nitroSupersetKey = (inputs2) => nativeEntryKey({ ...inputs2, compiler: NITRO_COMPILER_DIGEST });
|
|
130182
130199
|
published3 = /* @__PURE__ */ new Map();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2744 | (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;
|
|
@@ -1061,7 +1061,7 @@ var init_swift_standin_digest = __esm({
|
|
|
1061
1061
|
|
|
1062
1062
|
// src/expo-native-compiler-digest.ts
|
|
1063
1063
|
function expoNativeCompilerDigestValue() {
|
|
1064
|
-
return true ? "
|
|
1064
|
+
return true ? "32128bd460028ed060190bfde6d7773aef3938f8c132b90073f8f8fb3daabe41" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
1065
1065
|
}
|
|
1066
1066
|
var import_node_crypto6;
|
|
1067
1067
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -6014,7 +6014,7 @@ var init_xcode_header_search = __esm({
|
|
|
6014
6014
|
});
|
|
6015
6015
|
|
|
6016
6016
|
// src/swift-compile.ts
|
|
6017
|
-
var import_node_child_process35, import_node_crypto40, import_node_fs63, import_node_os14, import_node_path65, import_promises9, v6, OPTIONAL_FRAMEWORK_DEPENDENCIES, OPTIONAL_FRAMEWORKS, compilerSourceDigest, NOT_ON_IOS, C_WORDS, CORE_FOUNDATION_HANDLE_IMPORTS, ROOT_LOCKS, host, rootLocks, SHARED_ARTIFACT_BUDGET_BYTES, frameworkProductsReceiptSchema,
|
|
6017
|
+
var import_node_child_process35, import_node_crypto40, import_node_fs63, import_node_os14, import_node_path65, import_promises9, v6, OPTIONAL_FRAMEWORK_DEPENDENCIES, OPTIONAL_FRAMEWORKS, compilerSourceDigest, NOT_ON_IOS, C_WORDS, CORE_FOUNDATION_HANDLE_IMPORTS, ROOT_LOCKS, host, rootLocks, SHARED_ARTIFACT_BUDGET_BYTES, frameworkProductsReceiptSchema, SWIFT_FRAMEWORK_HANDOFF_MS;
|
|
6018
6018
|
var init_swift_compile = __esm({
|
|
6019
6019
|
"src/swift-compile.ts"() {
|
|
6020
6020
|
"use strict";
|
|
@@ -6130,7 +6130,7 @@ var init_swift_compile = __esm({
|
|
|
6130
6130
|
ExpoModulesCore: []
|
|
6131
6131
|
};
|
|
6132
6132
|
OPTIONAL_FRAMEWORKS = new Set(Object.keys(OPTIONAL_FRAMEWORK_DEPENDENCIES));
|
|
6133
|
-
compilerSourceDigest = true ? "
|
|
6133
|
+
compilerSourceDigest = true ? "9e43b96f22759d18028120bf151aaa3545b4a68d9cb280a87e81051893e9eb50" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
6134
6134
|
NOT_ON_IOS = new RegExp(
|
|
6135
6135
|
`\\b(?:os\\(\\s*WASI\\s*\\)|canImport\\(\\s*(?:${[...NON_IOS_MODULES].join("|")})\\s*\\))`,
|
|
6136
6136
|
"g"
|
|
@@ -6175,7 +6175,7 @@ var init_swift_compile = __esm({
|
|
|
6175
6175
|
objcHeaders: v6.array(v6.tuple([v6.string(), v6.string()])),
|
|
6176
6176
|
archived: v6.array(v6.tuple([v6.string(), v6.string()]))
|
|
6177
6177
|
});
|
|
6178
|
-
|
|
6178
|
+
SWIFT_FRAMEWORK_HANDOFF_MS = 15 * 60 * 1e3;
|
|
6179
6179
|
}
|
|
6180
6180
|
});
|
|
6181
6181
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2744 | (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,5 +1,5 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
2
|
-
import "../esm-chunks/chunk-
|
|
1
|
+
/*! peach v0.1.2744 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "../esm-chunks/chunk-YPT6XQJX.mjs";
|
|
3
3
|
|
|
4
4
|
// src/host/fetch-proxy-overrides.ts
|
|
5
5
|
var FETCH_PROXY_NATIVE_USER_AGENT_HEADER = "x-sootsim-native-user-agent";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2744 | (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.2744 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2744 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/kotlin-host.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2744 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/menu.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2744 | (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/menu.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2744 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
rnxPublicBrand
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
5
|
-
import "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-5EMHE44C.mjs";
|
|
5
|
+
import "./esm-chunks/chunk-YPT6XQJX.mjs";
|
|
6
6
|
|
|
7
7
|
// src/menuContract.ts
|
|
8
8
|
var SOOTSIM_ENGINE_EVENT_NAME = "sootsim:engine-event";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2744 | (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,8 +1,8 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2744 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isRecord
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
5
|
-
import "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-3N3NWKOV.mjs";
|
|
5
|
+
import "./esm-chunks/chunk-YPT6XQJX.mjs";
|
|
6
6
|
|
|
7
7
|
// src/metro-fingerprint-registry.ts
|
|
8
8
|
var RNX_METRO_FINGERPRINT_SCHEMA_VERSION = 2;
|