peachsim 0.1.2586 → 0.1.2588
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 +61 -46
- 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-GZX7I72N.mjs → acorn-DG2TVZRD.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-QLIN4J63.mjs → chunk-4GOTTBDL.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-3ALM6MH3.mjs → chunk-4PNMHEJB.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-D5OLUE6H.mjs → chunk-AGQHPM6E.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-2S4GFU4A.mjs → chunk-ASL4MACC.mjs} +63 -54
- package/dist-lib/esm-chunks/{chunk-GNXDPMSC.mjs → chunk-BAU3IFLL.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-STMHEKS3.mjs → chunk-BGCADZA2.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-AMT7A6SA.mjs → chunk-BSPFA6V2.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-2NQ653MF.mjs → chunk-C7MHFZIA.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-YZPTYPTS.mjs → chunk-CJ6UJWGD.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-23ODQDFW.mjs → chunk-ELSAXANF.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-4N3K677S.mjs → chunk-GIS6FXRN.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-PVMVYEUD.mjs → chunk-JE7EWYAV.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-MFHGRKID.mjs → chunk-LW5F24Y7.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-6QSC5ORF.mjs → chunk-NSNT4FFS.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-JDUEJO43.mjs → chunk-OLEYCMVV.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-TOCNIZDB.mjs → chunk-PL3OUSN3.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-JDNZ4KFU.mjs → chunk-QRKZ3NSY.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-A4PYBOII.mjs → chunk-SDGYG4FM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-CXT46CM5.mjs → chunk-UFXK4UQL.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-OIURNWXD.mjs → chunk-V2PI4V6K.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-T3LXU4SX.mjs → chunk-WZHOX3BM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-RPOSNOAS.mjs → chunk-YHJXN2S6.mjs} +5 -5
- package/dist-lib/esm-chunks/{metro-layout-parser-4VKBSVGW.mjs → metro-layout-parser-VWCTMFOO.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-6MW2RHLS.mjs → swift-package-prebuilt-W7FEW6PS.mjs} +10 -10
- package/dist-lib/esm-chunks/{swift-sdk-app-module-BDRIO5G5.mjs → swift-sdk-app-module-J4KH7G35.mjs} +14 -14
- package/dist-lib/esm-chunks/{swift-sdk-image-S5O2DK3W.mjs → swift-sdk-image-MUWMBAKB.mjs} +14 -14
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-FFLEV6OE.mjs → swift-sdk-image-producer-BLO2DZ2C.mjs} +4 -4
- package/dist-lib/expo-swift-bundle.cjs +60 -45
- 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 +219 -120
- package/dist-lib/host/fetch-proxy-handler.cjs +12 -4
- 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 +10 -2
- package/dist-lib/native-app-identity-project.mjs +16 -16
- 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 +82 -81
- package/dist-lib/public-origins-lib.json +76 -69
- 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 +219 -120
- package/dist-lib/swift-compile.cjs +58 -43
- package/dist-lib/swift-compile.mjs +10 -10
- 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/@xmldom/xmldom.cjs +1 -1
- package/dist-lib/vendor/acorn.cjs +1 -1
- package/dist-lib/vendor/bplist-parser.cjs +1 -1
- package/dist-lib/vendor/ignore.cjs +1 -1
- package/dist-lib/vendor/magic-string.cjs +1 -1
- package/dist-lib/vendor/plist.cjs +1 -1
- package/dist-lib/vendor/smol-toml.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/kotlin/sdk.tar.gz +0 -0
- package/package.json +1 -1
- package/src/one-native-controls-package.ts +119 -76
- package/src/swift-compile.ts +2 -44
- package/src/swift-source-closure.ts +59 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2588 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_AUTOLINK_LINKER,
|
|
4
4
|
SWIFT_CACHE_HOLD_MARKER,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
windowAdmission,
|
|
19
19
|
withSwiftRootLock,
|
|
20
20
|
writeSwiftAutolinkLinker
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-ELSAXANF.mjs";
|
|
22
22
|
import {
|
|
23
23
|
SWIFT_BINARY_TREES_DIR,
|
|
24
24
|
SWIFT_NATIVE_INPUT_ROOT,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
isSwiftResourcePath,
|
|
34
34
|
isSwiftSourceLinkGraph,
|
|
35
35
|
swiftProjectFilesProblems
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-UFXK4UQL.mjs";
|
|
37
37
|
import {
|
|
38
38
|
OBJC_RESOURCE_ACCESSOR_BODY,
|
|
39
39
|
OBJC_RESOURCE_ACCESSOR_HEADER,
|
|
@@ -57,16 +57,16 @@ import {
|
|
|
57
57
|
swiftPackagePartition,
|
|
58
58
|
swiftTargetModuleName,
|
|
59
59
|
withoutGlogModuleMap
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-WZHOX3BM.mjs";
|
|
61
61
|
import {
|
|
62
62
|
rnxPublicBrand
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-BAU3IFLL.mjs";
|
|
64
64
|
import {
|
|
65
65
|
isRecord
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-NSNT4FFS.mjs";
|
|
67
67
|
import {
|
|
68
68
|
__publicField
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-C7MHFZIA.mjs";
|
|
70
70
|
|
|
71
71
|
// src/swift-compile.ts
|
|
72
72
|
import {
|
|
@@ -13486,7 +13486,7 @@ async function compileGuestLink(options) {
|
|
|
13486
13486
|
};
|
|
13487
13487
|
const sdk = options.sdkImage;
|
|
13488
13488
|
const sdkCallers = sdk?.sdkInterface.guestCallers;
|
|
13489
|
-
const sdkObjects = sdk ? (await import("./swift-sdk-image-
|
|
13489
|
+
const sdkObjects = sdk ? (await import("./swift-sdk-image-MUWMBAKB.mjs")).readSwiftSdkManifestIndex(sdk).guestObjects : void 0;
|
|
13490
13490
|
if (sdk && (!sdkCallers || !sdkObjects))
|
|
13491
13491
|
throw new Error("the SDK image has no guest link manifest");
|
|
13492
13492
|
const result = linkPrunedGuestImages({
|
|
@@ -13773,7 +13773,7 @@ async function compileGuestLink(options) {
|
|
|
13773
13773
|
finishSwiftAppModule,
|
|
13774
13774
|
linkSwiftAppModule,
|
|
13775
13775
|
readSwiftSdkUsage
|
|
13776
|
-
} = await import("./swift-sdk-app-module-
|
|
13776
|
+
} = await import("./swift-sdk-app-module-J4KH7G35.mjs");
|
|
13777
13777
|
const project = options.project;
|
|
13778
13778
|
const work = project ? mkdtempSync2(path24.join(directory, "app-module-")) : path24.join(directory, "app-module");
|
|
13779
13779
|
if (project) chownSync(work, project.uid, project.gid);
|
|
@@ -14895,6 +14895,55 @@ function swiftReproducibleBuildFlags(roots) {
|
|
|
14895
14895
|
]);
|
|
14896
14896
|
}
|
|
14897
14897
|
|
|
14898
|
+
// src/swift-source-closure.ts
|
|
14899
|
+
function collectSwiftSourceClosure(files, roots, swiftCodeMask2, extensionMembersOnly) {
|
|
14900
|
+
const sources = /* @__PURE__ */ new Map();
|
|
14901
|
+
const owners = /* @__PURE__ */ new Map();
|
|
14902
|
+
for (const [file, source] of Object.entries(files)) {
|
|
14903
|
+
if (!file.endsWith(".swift")) continue;
|
|
14904
|
+
const code = swiftCodeMask2(source);
|
|
14905
|
+
const references = new Set(code.match(/[A-Za-z_]\w*/g) ?? []);
|
|
14906
|
+
const pattern = /[{}]|\b(class|struct|enum|protocol|actor|typealias|func|var|let|extension)\s+([A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*)|\b(?:init|subscript)(?=\s*[?(])/g;
|
|
14907
|
+
let depth = 0;
|
|
14908
|
+
let memberExtension;
|
|
14909
|
+
for (const match of code.matchAll(pattern)) {
|
|
14910
|
+
if (match[0] === "{") {
|
|
14911
|
+
depth++;
|
|
14912
|
+
continue;
|
|
14913
|
+
}
|
|
14914
|
+
if (match[0] === "}") {
|
|
14915
|
+
if (--depth === 0) memberExtension = void 0;
|
|
14916
|
+
continue;
|
|
14917
|
+
}
|
|
14918
|
+
if (depth !== 0 && !(depth === 1 && memberExtension)) continue;
|
|
14919
|
+
const name = match[2]?.split(".").pop() ?? memberExtension;
|
|
14920
|
+
if (!name) continue;
|
|
14921
|
+
if (match[1] === "extension" && extensionMembersOnly?.has(name) && /^\s*\{/.test(code.slice(match.index + match[0].length))) {
|
|
14922
|
+
memberExtension = name;
|
|
14923
|
+
continue;
|
|
14924
|
+
}
|
|
14925
|
+
const set = owners.get(name) ?? /* @__PURE__ */ new Set();
|
|
14926
|
+
set.add(file);
|
|
14927
|
+
owners.set(name, set);
|
|
14928
|
+
}
|
|
14929
|
+
sources.set(file, references);
|
|
14930
|
+
}
|
|
14931
|
+
const included = /* @__PURE__ */ new Set();
|
|
14932
|
+
const pending = [...roots];
|
|
14933
|
+
const seen = /* @__PURE__ */ new Set();
|
|
14934
|
+
while (pending.length) {
|
|
14935
|
+
const name = pending.pop();
|
|
14936
|
+
if (seen.has(name)) continue;
|
|
14937
|
+
seen.add(name);
|
|
14938
|
+
for (const file of owners.get(name) ?? []) {
|
|
14939
|
+
if (included.has(file)) continue;
|
|
14940
|
+
included.add(file);
|
|
14941
|
+
for (const reference of sources.get(file)) pending.push(reference);
|
|
14942
|
+
}
|
|
14943
|
+
}
|
|
14944
|
+
return Object.fromEntries(Object.entries(files).filter(([file]) => included.has(file)));
|
|
14945
|
+
}
|
|
14946
|
+
|
|
14898
14947
|
// src/swift-uniform-type-constants.ts
|
|
14899
14948
|
import { execFileSync as execFileSync12 } from "node:child_process";
|
|
14900
14949
|
import path30 from "node:path";
|
|
@@ -16284,7 +16333,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
|
|
|
16284
16333
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
16285
16334
|
var MULTI_MANIFEST_VERSION = 76;
|
|
16286
16335
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
16287
|
-
var compilerSourceDigest = true ? "
|
|
16336
|
+
var compilerSourceDigest = true ? "6433b1a7f6d99095c2a444c33cfbf4bc62bedbf18b40e3415e37cd83e450f0df" : swiftCompilerSourceDigest(import.meta.dirname);
|
|
16288
16337
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
16289
16338
|
return swiftCompileInputHash(input, release).update(swiftModuleDigest(moduleRoot)).digest("hex");
|
|
16290
16339
|
}
|
|
@@ -17637,47 +17686,7 @@ function swiftSourceAsIOS(source, overlayFrameworks, swiftPackage, arm64 = true)
|
|
|
17637
17686
|
return lowerAVAssetURLCluster(out + conditioned.slice(copied));
|
|
17638
17687
|
}
|
|
17639
17688
|
function swiftSourceClosure(files, roots) {
|
|
17640
|
-
|
|
17641
|
-
const owners = /* @__PURE__ */ new Map();
|
|
17642
|
-
const extensions = /* @__PURE__ */ new Map();
|
|
17643
|
-
for (const [file, source] of Object.entries(files)) {
|
|
17644
|
-
if (!file.endsWith(".swift")) continue;
|
|
17645
|
-
const code = swiftCodeMask(source);
|
|
17646
|
-
const references = new Set(code.match(/[A-Za-z_]\w*/g) ?? []);
|
|
17647
|
-
const pattern = /[{}]|\b(class|struct|enum|protocol|actor|typealias|func|var|let|extension)\s+([A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*)/g;
|
|
17648
|
-
let depth = 0;
|
|
17649
|
-
for (const match of code.matchAll(pattern)) {
|
|
17650
|
-
if (match[0] === "{") {
|
|
17651
|
-
depth++;
|
|
17652
|
-
continue;
|
|
17653
|
-
}
|
|
17654
|
-
if (match[0] === "}") {
|
|
17655
|
-
depth--;
|
|
17656
|
-
continue;
|
|
17657
|
-
}
|
|
17658
|
-
if (depth !== 0 || !match[2]) continue;
|
|
17659
|
-
const name = match[2].split(".").pop();
|
|
17660
|
-
const index = match[1] === "extension" ? extensions : owners;
|
|
17661
|
-
const set = index.get(name) ?? /* @__PURE__ */ new Set();
|
|
17662
|
-
set.add(file);
|
|
17663
|
-
index.set(name, set);
|
|
17664
|
-
}
|
|
17665
|
-
sources.set(file, references);
|
|
17666
|
-
}
|
|
17667
|
-
const included = /* @__PURE__ */ new Set();
|
|
17668
|
-
const pending = [...roots];
|
|
17669
|
-
const seen = /* @__PURE__ */ new Set();
|
|
17670
|
-
while (pending.length) {
|
|
17671
|
-
const name = pending.pop();
|
|
17672
|
-
if (seen.has(name)) continue;
|
|
17673
|
-
seen.add(name);
|
|
17674
|
-
for (const file of [...owners.get(name) ?? [], ...extensions.get(name) ?? []]) {
|
|
17675
|
-
if (included.has(file)) continue;
|
|
17676
|
-
included.add(file);
|
|
17677
|
-
for (const reference of sources.get(file)) pending.push(reference);
|
|
17678
|
-
}
|
|
17679
|
-
}
|
|
17680
|
-
return Object.fromEntries(Object.entries(files).filter(([file]) => included.has(file)));
|
|
17689
|
+
return collectSwiftSourceClosure(files, roots, swiftCodeMask);
|
|
17681
17690
|
}
|
|
17682
17691
|
function swiftApplicationEntry(file, source) {
|
|
17683
17692
|
const code = [...swiftConditionalLines(swiftCodeMask(source))].map(({ line, active }) => active === false ? " ".repeat(line.length) : line).join("\n");
|
|
@@ -20925,7 +20934,7 @@ async function compileSwiftProjectOnce(sources, options) {
|
|
|
20925
20934
|
const distribution = swiftDistributionAt(moduleRoot);
|
|
20926
20935
|
const mirrorDistribution = options.linkOnly || options.project ? null : distribution;
|
|
20927
20936
|
if (distribution) refreshSwiftCacheHold(moduleRoot);
|
|
20928
|
-
const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-
|
|
20937
|
+
const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-W7FEW6PS.mjs")).useSwiftPackagePrebuilts(
|
|
20929
20938
|
sources,
|
|
20930
20939
|
moduleRoot,
|
|
20931
20940
|
options.toolchainBin
|
|
@@ -20939,7 +20948,7 @@ async function compileSwiftProjectOnce(sources, options) {
|
|
|
20939
20948
|
multi: compileTargets(input).length > 0
|
|
20940
20949
|
};
|
|
20941
20950
|
const sdkModule = options.sdkModule && !options.linkOnly;
|
|
20942
|
-
const sdkImage = sdkModule ? await (await import("./swift-sdk-image-
|
|
20951
|
+
const sdkImage = sdkModule ? await (await import("./swift-sdk-image-MUWMBAKB.mjs")).buildSwiftSdkImage(
|
|
20943
20952
|
moduleRoot,
|
|
20944
20953
|
!!guestGraph,
|
|
20945
20954
|
distribution ? [] : linkedFrameworkTargets(moduleRoot, input).imports,
|
|
@@ -21596,7 +21605,7 @@ ${cap}` : "";
|
|
|
21596
21605
|
if (sdkImage && binding)
|
|
21597
21606
|
sdkAsset = { key: sdkImage.key, sha256: sdkImage.sha256, binding };
|
|
21598
21607
|
} else if (sdkImage) {
|
|
21599
|
-
const { buildSwiftAppModule } = await import("./swift-sdk-app-module-
|
|
21608
|
+
const { buildSwiftAppModule } = await import("./swift-sdk-app-module-J4KH7G35.mjs");
|
|
21600
21609
|
const binding = await buildSwiftAppModule({
|
|
21601
21610
|
buildRoot: root,
|
|
21602
21611
|
toolchainBin: options.toolchainBin,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2588 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
var __create = Object.create;
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2588 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
LAUNCH_METADATA_KEYS,
|
|
4
4
|
LAUNCH_METADATA_KEYS_PATH
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BSPFA6V2.mjs";
|
|
6
6
|
import {
|
|
7
7
|
parseSwiftDistributionLock,
|
|
8
8
|
readActiveRuntime,
|
|
9
9
|
runtimeDir,
|
|
10
10
|
swiftDistributionAt,
|
|
11
11
|
swiftModuleSdk
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ASL4MACC.mjs";
|
|
13
13
|
import {
|
|
14
14
|
SWIFT_WASM_TRIPLE,
|
|
15
15
|
registerSwiftHostCompiler,
|
|
16
16
|
swiftCompiler,
|
|
17
17
|
swiftToolchain
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ELSAXANF.mjs";
|
|
19
19
|
import {
|
|
20
20
|
isRecord
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-NSNT4FFS.mjs";
|
|
22
22
|
|
|
23
23
|
// src/swift-distribution.ts
|
|
24
24
|
import fs2 from "node:fs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2588 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SIM_LONG_PRESS_MAX_MS
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-OLEYCMVV.mjs";
|
|
5
5
|
import {
|
|
6
6
|
isRecord
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-NSNT4FFS.mjs";
|
|
8
8
|
|
|
9
9
|
// ../peach-globals/src/globalsContract.ts
|
|
10
10
|
var LEGACY_ALIAS_MARKER = Symbol.for("sootsim.legacy-aliases-installed");
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2588 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isSwiftImageVariants
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PL3OUSN3.mjs";
|
|
5
5
|
import {
|
|
6
6
|
findBundleFooter
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4PNMHEJB.mjs";
|
|
8
8
|
import {
|
|
9
9
|
isRecord
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NSNT4FFS.mjs";
|
|
11
11
|
|
|
12
12
|
// src/android-string-value.ts
|
|
13
13
|
function compileAndroidStringValue(text, where) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2588 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
swiftModuleToolchain
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-GIS6FXRN.mjs";
|
|
5
5
|
import {
|
|
6
6
|
DARWIN_RECORDS_PREFIX,
|
|
7
7
|
KEEP_WASM_NAMES,
|
|
@@ -31,13 +31,13 @@ import {
|
|
|
31
31
|
swiftSdkPaths,
|
|
32
32
|
unslottedFunctions,
|
|
33
33
|
wasmSections
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-ASL4MACC.mjs";
|
|
35
35
|
import {
|
|
36
36
|
SWIFT_WASM_TRIPLE,
|
|
37
37
|
sourceSwiftCheckout,
|
|
38
38
|
swiftCacheDir,
|
|
39
39
|
withSwiftRootLock
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-ELSAXANF.mjs";
|
|
41
41
|
|
|
42
42
|
// src/swift-sdk-image.ts
|
|
43
43
|
import { execFile } from "node:child_process";
|
|
@@ -192,7 +192,7 @@ async function buildSwiftSdkImage(moduleRoot, scopedLookups = false, frameworkIm
|
|
|
192
192
|
const existing = cached(directory, key);
|
|
193
193
|
if (existing) return existing;
|
|
194
194
|
if (!options?.producer && !swiftDistributionAt(moduleRoot) && path.resolve(moduleRoot) === sourceSwiftCheckout() && process.platform === "linux" && process.env.TM_SESSION) {
|
|
195
|
-
const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-
|
|
195
|
+
const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-BLO2DZ2C.mjs");
|
|
196
196
|
await produceSwiftSdkImage({
|
|
197
197
|
moduleRoot,
|
|
198
198
|
key,
|
package/dist-lib/esm-chunks/{metro-layout-parser-4VKBSVGW.mjs → metro-layout-parser-VWCTMFOO.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
2
|
-
import "./chunk-
|
|
1
|
+
/*! peach v0.1.2588 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "./chunk-C7MHFZIA.mjs";
|
|
3
3
|
|
|
4
4
|
// src/metro-layout-parser.ts
|
|
5
5
|
var whitespace = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/y;
|
|
@@ -8,7 +8,7 @@ var lineBreak = /[\r\n\u2028\u2029]/;
|
|
|
8
8
|
var metroLayoutParser;
|
|
9
9
|
async function loadMetroLayoutParser() {
|
|
10
10
|
if (metroLayoutParser) return metroLayoutParser;
|
|
11
|
-
const { Parser } = await import("./acorn-
|
|
11
|
+
const { Parser } = await import("./acorn-DG2TVZRD.mjs");
|
|
12
12
|
metroLayoutParser = Parser.extend(
|
|
13
13
|
(Base) => {
|
|
14
14
|
const parseFunctionBody = Reflect.get(Base.prototype, "parseFunctionBody");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2588 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
compileTargets,
|
|
4
4
|
fetchNativeEntry,
|
|
@@ -6,19 +6,19 @@ import {
|
|
|
6
6
|
swiftAvailableModules,
|
|
7
7
|
swiftDistributionAt,
|
|
8
8
|
swiftImportNames
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-ASL4MACC.mjs";
|
|
10
|
+
import "./chunk-ELSAXANF.mjs";
|
|
11
11
|
import {
|
|
12
12
|
SWIFT_REMOTE_PACKAGES_DIR
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-UFXK4UQL.mjs";
|
|
14
14
|
import {
|
|
15
15
|
manifestCalls
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-WZHOX3BM.mjs";
|
|
17
|
+
import "./chunk-PL3OUSN3.mjs";
|
|
18
|
+
import "./chunk-BAU3IFLL.mjs";
|
|
19
|
+
import "./chunk-SDGYG4FM.mjs";
|
|
20
|
+
import "./chunk-NSNT4FFS.mjs";
|
|
21
|
+
import "./chunk-C7MHFZIA.mjs";
|
|
22
22
|
|
|
23
23
|
// src/swift-package-prebuilt.ts
|
|
24
24
|
import { createHash } from "node:crypto";
|
package/dist-lib/esm-chunks/{swift-sdk-app-module-BDRIO5G5.mjs → swift-sdk-app-module-J4KH7G35.mjs}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2588 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
4
4
|
SWIFT_SDK_APP_TABLE_BASE,
|
|
5
5
|
SWIFT_SDK_MEMORY_BASE,
|
|
6
6
|
SWIFT_SDK_PIECE_FIELDS,
|
|
7
7
|
readSwiftSdkManifest
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-YHJXN2S6.mjs";
|
|
9
|
+
import "./chunk-GIS6FXRN.mjs";
|
|
10
|
+
import "./chunk-BSPFA6V2.mjs";
|
|
11
|
+
import "./chunk-BGCADZA2.mjs";
|
|
12
12
|
import {
|
|
13
13
|
ADDEND_RELOCATIONS,
|
|
14
14
|
KEEP_WASM_NAMES,
|
|
@@ -36,17 +36,17 @@ import {
|
|
|
36
36
|
wasmReader,
|
|
37
37
|
wasmSections,
|
|
38
38
|
writeWasmCustomSection
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-ASL4MACC.mjs";
|
|
40
40
|
import {
|
|
41
41
|
SWIFT_WASM_TRIPLE
|
|
42
|
-
} from "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
42
|
+
} from "./chunk-ELSAXANF.mjs";
|
|
43
|
+
import "./chunk-UFXK4UQL.mjs";
|
|
44
|
+
import "./chunk-WZHOX3BM.mjs";
|
|
45
|
+
import "./chunk-PL3OUSN3.mjs";
|
|
46
|
+
import "./chunk-BAU3IFLL.mjs";
|
|
47
|
+
import "./chunk-SDGYG4FM.mjs";
|
|
48
|
+
import "./chunk-NSNT4FFS.mjs";
|
|
49
|
+
import "./chunk-C7MHFZIA.mjs";
|
|
50
50
|
|
|
51
51
|
// src/swift-sdk-app-module.ts
|
|
52
52
|
import { execFile } from "node:child_process";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2588 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
4
4
|
SWIFT_SDK_APP_TABLE_BASE,
|
|
@@ -15,19 +15,19 @@ import {
|
|
|
15
15
|
swiftSdkImageFile,
|
|
16
16
|
swiftSdkImageKey,
|
|
17
17
|
swiftSdkImageProducts
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-YHJXN2S6.mjs";
|
|
19
|
+
import "./chunk-GIS6FXRN.mjs";
|
|
20
|
+
import "./chunk-BSPFA6V2.mjs";
|
|
21
|
+
import "./chunk-BGCADZA2.mjs";
|
|
22
|
+
import "./chunk-ASL4MACC.mjs";
|
|
23
|
+
import "./chunk-ELSAXANF.mjs";
|
|
24
|
+
import "./chunk-UFXK4UQL.mjs";
|
|
25
|
+
import "./chunk-WZHOX3BM.mjs";
|
|
26
|
+
import "./chunk-PL3OUSN3.mjs";
|
|
27
|
+
import "./chunk-BAU3IFLL.mjs";
|
|
28
|
+
import "./chunk-SDGYG4FM.mjs";
|
|
29
|
+
import "./chunk-NSNT4FFS.mjs";
|
|
30
|
+
import "./chunk-C7MHFZIA.mjs";
|
|
31
31
|
export {
|
|
32
32
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
33
33
|
SWIFT_SDK_APP_TABLE_BASE,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2588 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
swiftCacheDir,
|
|
4
4
|
windowAdmission,
|
|
5
5
|
withSwiftRootLock
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ELSAXANF.mjs";
|
|
7
7
|
import {
|
|
8
8
|
isRecord
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-NSNT4FFS.mjs";
|
|
10
|
+
import "./chunk-C7MHFZIA.mjs";
|
|
11
11
|
|
|
12
12
|
// src/swift-sdk-image-producer.ts
|
|
13
13
|
import { execFile, execFileSync } from "node:child_process";
|