peachsim 0.1.2595 → 0.1.2596
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 +18 -13
- 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-J5DSQG5R.mjs → acorn-WGTQK4JN.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-AEI4FOZK.mjs → chunk-3C2YVQZH.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-G35VGABO.mjs → chunk-4MMPS5YL.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-YYAPBU4L.mjs → chunk-4PMXT2UO.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-3Z2POHJV.mjs → chunk-4UUWP6NP.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-BCLZPP3O.mjs → chunk-5NZPSLS4.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-POM7QBEW.mjs → chunk-BAEOHCN5.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-NZEHZIHZ.mjs → chunk-BNXCKF2B.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-JVVPCJEO.mjs → chunk-C3C5OJG4.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-ESKLJRT5.mjs → chunk-DY6PUVXF.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-MTGZYNXH.mjs → chunk-FDMS7FWE.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-ZSJEHQ3R.mjs → chunk-HZPXGVY4.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-D4XFTOV2.mjs → chunk-IGMABYTC.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-5U76J6OF.mjs → chunk-ISZE675P.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-VZY2J2YJ.mjs → chunk-LZF4BVEY.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-NCMIX32U.mjs → chunk-QEGUUPRI.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-U4X644Y4.mjs → chunk-SPKD6UYK.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-FHFNRCCX.mjs → chunk-SYCOZ2CT.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-GCOZNVG7.mjs → chunk-TILPABC4.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-D6RI7LMX.mjs → chunk-TNZG7SFG.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-LLO2FLAP.mjs → chunk-UCIOSXXU.mjs} +17 -14
- package/dist-lib/esm-chunks/{chunk-CDGSSOLF.mjs → chunk-WPX7HLFR.mjs} +14 -12
- package/dist-lib/esm-chunks/{chunk-RYCGXYYL.mjs → chunk-ZVBBDMPW.mjs} +1 -1
- package/dist-lib/esm-chunks/{metro-layout-parser-ZHPHHXG3.mjs → metro-layout-parser-QNM3HYV7.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-UXU6DFC3.mjs → swift-package-prebuilt-BXXQB7Q2.mjs} +10 -10
- package/dist-lib/esm-chunks/{swift-sdk-app-module-25XPGJ4P.mjs → swift-sdk-app-module-FKL3X2ZC.mjs} +14 -14
- package/dist-lib/esm-chunks/{swift-sdk-image-7JKGAHEW.mjs → swift-sdk-image-CCVWDFHB.mjs} +14 -14
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-KG5I2NUP.mjs → swift-sdk-image-producer-OTMZVBDN.mjs} +4 -4
- package/dist-lib/expo-swift-bundle.cjs +17 -12
- 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 +55 -16
- package/dist-lib/host/fetch-proxy-handler.cjs +4 -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 +2 -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 +81 -81
- package/dist-lib/public-origins-lib.json +69 -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 +55 -16
- package/dist-lib/swift-compile.cjs +15 -10
- 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/package.json +1 -1
- package/src/one-native-controls-package.ts +32 -1
- package/src/swift-guest-link.ts +4 -3
- package/src/swift-sdk-image.ts +11 -8
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2596 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_AUTOLINK_LINKER,
|
|
4
4
|
SWIFT_CACHE_HOLD_MARKER,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
windowAdmission,
|
|
22
22
|
withSwiftRootLock,
|
|
23
23
|
writeSwiftAutolinkLinker
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-3C2YVQZH.mjs";
|
|
25
25
|
import {
|
|
26
26
|
SWIFT_BINARY_TREES_DIR,
|
|
27
27
|
SWIFT_NATIVE_INPUT_ROOT,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
isSwiftResourcePath,
|
|
37
37
|
isSwiftSourceLinkGraph,
|
|
38
38
|
swiftProjectFilesProblems
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-ZVBBDMPW.mjs";
|
|
40
40
|
import {
|
|
41
41
|
OBJC_RESOURCE_ACCESSOR_BODY,
|
|
42
42
|
OBJC_RESOURCE_ACCESSOR_HEADER,
|
|
@@ -60,16 +60,16 @@ import {
|
|
|
60
60
|
swiftPackagePartition,
|
|
61
61
|
swiftTargetModuleName,
|
|
62
62
|
withoutGlogModuleMap
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-DY6PUVXF.mjs";
|
|
64
64
|
import {
|
|
65
65
|
rnxPublicBrand
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-IGMABYTC.mjs";
|
|
67
67
|
import {
|
|
68
68
|
isRecord
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-TILPABC4.mjs";
|
|
70
70
|
import {
|
|
71
71
|
__publicField
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-BAEOHCN5.mjs";
|
|
73
73
|
|
|
74
74
|
// src/swift-compile.ts
|
|
75
75
|
import {
|
|
@@ -12671,7 +12671,10 @@ function linkGuestImages(options) {
|
|
|
12671
12671
|
}
|
|
12672
12672
|
const members = archives.get(artifact.path);
|
|
12673
12673
|
if (!members) continue;
|
|
12674
|
-
const
|
|
12674
|
+
const listing = execFileSync7(llvmAr, ["t", artifact.path], {
|
|
12675
|
+
encoding: "utf8"
|
|
12676
|
+
}).trimEnd();
|
|
12677
|
+
const listed = listing ? listing.split("\n") : [];
|
|
12675
12678
|
if (listed.length !== members.length || new Set(listed).size !== listed.length || members.some(
|
|
12676
12679
|
(member, i) => listed[i] !== member.name || path20.basename(member.name) !== member.name
|
|
12677
12680
|
))
|
|
@@ -14412,7 +14415,7 @@ async function compileGuestLink(options) {
|
|
|
14412
14415
|
};
|
|
14413
14416
|
const sdk = options.sdkImage;
|
|
14414
14417
|
const sdkCallers = sdk?.sdkInterface.guestCallers;
|
|
14415
|
-
const sdkObjects = sdk ? (await import("./swift-sdk-image-
|
|
14418
|
+
const sdkObjects = sdk ? (await import("./swift-sdk-image-CCVWDFHB.mjs")).readSwiftSdkManifestIndex(sdk).guestObjects : void 0;
|
|
14416
14419
|
if (sdk && (!sdkCallers || !sdkObjects))
|
|
14417
14420
|
throw new Error("the SDK image has no guest link manifest");
|
|
14418
14421
|
const result = linkPrunedGuestImages({
|
|
@@ -14706,7 +14709,7 @@ async function compileGuestLink(options) {
|
|
|
14706
14709
|
linkSwiftAppModule,
|
|
14707
14710
|
readSwiftSdkUsage,
|
|
14708
14711
|
swiftSdkProjectionSpans
|
|
14709
|
-
} = await import("./swift-sdk-app-module-
|
|
14712
|
+
} = await import("./swift-sdk-app-module-FKL3X2ZC.mjs");
|
|
14710
14713
|
const project = options.project;
|
|
14711
14714
|
const work = project ? mkdtempSync2(path24.join(directory, "app-module-")) : path24.join(directory, "app-module");
|
|
14712
14715
|
if (project) chownSync(work, project.uid, project.gid);
|
|
@@ -17385,7 +17388,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
|
|
|
17385
17388
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
17386
17389
|
var MULTI_MANIFEST_VERSION = 76;
|
|
17387
17390
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
17388
|
-
var compilerSourceDigest = true ? "
|
|
17391
|
+
var compilerSourceDigest = true ? "84e8740a8ff00df2947e9a04dd004746185926dfa020e1e4c11e79eb39d1e566" : swiftCompilerSourceDigest(import.meta.dirname);
|
|
17389
17392
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
17390
17393
|
return swiftCompileInputHash(input, release).update(swiftModuleDigest(moduleRoot)).digest("hex");
|
|
17391
17394
|
}
|
|
@@ -22092,7 +22095,7 @@ async function compileSwiftProjectOnce(sources, options) {
|
|
|
22092
22095
|
const distribution = swiftDistributionAt(moduleRoot);
|
|
22093
22096
|
const mirrorDistribution = options.linkOnly || options.project ? null : distribution;
|
|
22094
22097
|
if (distribution) refreshSwiftCacheHold(moduleRoot);
|
|
22095
|
-
const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-
|
|
22098
|
+
const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-BXXQB7Q2.mjs")).useSwiftPackagePrebuilts(
|
|
22096
22099
|
sources,
|
|
22097
22100
|
moduleRoot,
|
|
22098
22101
|
options.toolchainBin
|
|
@@ -22106,7 +22109,7 @@ async function compileSwiftProjectOnce(sources, options) {
|
|
|
22106
22109
|
multi: compileTargets(input).length > 0
|
|
22107
22110
|
};
|
|
22108
22111
|
const sdkModule = options.sdkModule && !options.linkOnly;
|
|
22109
|
-
const sdkImage = sdkModule ? await (await import("./swift-sdk-image-
|
|
22112
|
+
const sdkImage = sdkModule ? await (await import("./swift-sdk-image-CCVWDFHB.mjs")).buildSwiftSdkImage(
|
|
22110
22113
|
moduleRoot,
|
|
22111
22114
|
!!guestGraph,
|
|
22112
22115
|
distribution ? [] : linkedFrameworkTargets(moduleRoot, input).imports,
|
|
@@ -22788,7 +22791,7 @@ ${cap}` : "";
|
|
|
22788
22791
|
if (sdkImage && binding)
|
|
22789
22792
|
sdkAsset = { key: sdkImage.key, sha256: sdkImage.sha256, binding };
|
|
22790
22793
|
} else if (sdkImage) {
|
|
22791
|
-
const { buildSwiftAppModule } = await import("./swift-sdk-app-module-
|
|
22794
|
+
const { buildSwiftAppModule } = await import("./swift-sdk-app-module-FKL3X2ZC.mjs");
|
|
22792
22795
|
const binding = await buildSwiftAppModule({
|
|
22793
22796
|
buildRoot: root,
|
|
22794
22797
|
toolchainBin: options.toolchainBin,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2596 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
swiftModuleToolchain
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-C3C5OJG4.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-UCIOSXXU.mjs";
|
|
35
35
|
import {
|
|
36
36
|
SWIFT_WASM_TRIPLE,
|
|
37
37
|
sourceSwiftCheckout,
|
|
38
38
|
swiftCacheDir,
|
|
39
39
|
withSwiftRootLock
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-3C2YVQZH.mjs";
|
|
41
41
|
|
|
42
42
|
// src/swift-sdk-image.ts
|
|
43
43
|
import { execFile } from "node:child_process";
|
|
@@ -186,24 +186,26 @@ function setBoundedCache(cache, key, value) {
|
|
|
186
186
|
return value;
|
|
187
187
|
}
|
|
188
188
|
function cached(directory, key) {
|
|
189
|
-
const sdkInterfacePath = path.join(directory, INTERFACE_FILE);
|
|
190
|
-
const image = path.join(directory, IMAGE_FILE);
|
|
191
189
|
const address = path.join(directory, IMAGE_DIGEST);
|
|
192
|
-
if (!existsSync(
|
|
190
|
+
if (!existsSync(path.join(directory, IMAGE_FILE)) || !existsSync(address) || !existsSync(path.join(directory, INTERFACE_FILE)) || !existsSync(path.join(directory, MANIFEST_FILE)) || !existsSync(path.join(directory, MANIFEST_DATA_FILE)))
|
|
193
191
|
return void 0;
|
|
194
|
-
|
|
192
|
+
return sdkImageAt(directory, key, readFileSync(address, "utf8"));
|
|
193
|
+
}
|
|
194
|
+
function sdkImageAt(directory, key, sha256) {
|
|
195
195
|
const cacheKey = `${directory}\0${sha256}`;
|
|
196
196
|
let loadedInterface;
|
|
197
197
|
return {
|
|
198
198
|
key,
|
|
199
199
|
directory,
|
|
200
|
-
image,
|
|
200
|
+
image: path.join(directory, IMAGE_FILE),
|
|
201
201
|
sha256,
|
|
202
202
|
get sdkInterface() {
|
|
203
203
|
if (loadedInterface) return loadedInterface;
|
|
204
204
|
const memo = cachedSdkInterfaces.get(cacheKey);
|
|
205
205
|
if (memo) return loadedInterface = memo;
|
|
206
|
-
const parsed = JSON.parse(
|
|
206
|
+
const parsed = JSON.parse(
|
|
207
|
+
readFileSync(path.join(directory, INTERFACE_FILE), "utf8")
|
|
208
|
+
);
|
|
207
209
|
return loadedInterface = setBoundedCache(cachedSdkInterfaces, cacheKey, parsed);
|
|
208
210
|
}
|
|
209
211
|
};
|
|
@@ -215,7 +217,7 @@ async function buildSwiftSdkImage(moduleRoot, scopedLookups = false, frameworkIm
|
|
|
215
217
|
const existing = cached(directory, key);
|
|
216
218
|
if (existing) return existing;
|
|
217
219
|
if (!options?.producer && !swiftDistributionAt(moduleRoot) && path.resolve(moduleRoot) === sourceSwiftCheckout() && process.platform === "linux" && process.env.TM_SESSION) {
|
|
218
|
-
const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-
|
|
220
|
+
const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-OTMZVBDN.mjs");
|
|
219
221
|
await produceSwiftSdkImage({
|
|
220
222
|
moduleRoot,
|
|
221
223
|
key,
|
|
@@ -256,7 +258,7 @@ async function buildSwiftSdkImage(moduleRoot, scopedLookups = false, frameworkIm
|
|
|
256
258
|
throw new Error(`invalid published Swift SDK image ${key}`);
|
|
257
259
|
rmSync(directory, { recursive: true, force: true });
|
|
258
260
|
renameSync(stage, directory);
|
|
259
|
-
return
|
|
261
|
+
return sdkImageAt(directory, key, image.sha256);
|
|
260
262
|
} finally {
|
|
261
263
|
rmSync(stage, { recursive: true, force: true });
|
|
262
264
|
}
|
package/dist-lib/esm-chunks/{metro-layout-parser-ZHPHHXG3.mjs → metro-layout-parser-QNM3HYV7.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
2
|
-
import "./chunk-
|
|
1
|
+
/*! peach v0.1.2596 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "./chunk-BAEOHCN5.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-WGTQK4JN.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.2596 | (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-UCIOSXXU.mjs";
|
|
10
|
+
import "./chunk-3C2YVQZH.mjs";
|
|
11
11
|
import {
|
|
12
12
|
SWIFT_REMOTE_PACKAGES_DIR
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ZVBBDMPW.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-DY6PUVXF.mjs";
|
|
17
|
+
import "./chunk-4UUWP6NP.mjs";
|
|
18
|
+
import "./chunk-IGMABYTC.mjs";
|
|
19
|
+
import "./chunk-4PMXT2UO.mjs";
|
|
20
|
+
import "./chunk-TILPABC4.mjs";
|
|
21
|
+
import "./chunk-BAEOHCN5.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-25XPGJ4P.mjs → swift-sdk-app-module-FKL3X2ZC.mjs}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2596 | (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-WPX7HLFR.mjs";
|
|
9
|
+
import "./chunk-C3C5OJG4.mjs";
|
|
10
|
+
import "./chunk-TNZG7SFG.mjs";
|
|
11
|
+
import "./chunk-ISZE675P.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-UCIOSXXU.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-3C2YVQZH.mjs";
|
|
43
|
+
import "./chunk-ZVBBDMPW.mjs";
|
|
44
|
+
import "./chunk-DY6PUVXF.mjs";
|
|
45
|
+
import "./chunk-4UUWP6NP.mjs";
|
|
46
|
+
import "./chunk-IGMABYTC.mjs";
|
|
47
|
+
import "./chunk-4PMXT2UO.mjs";
|
|
48
|
+
import "./chunk-TILPABC4.mjs";
|
|
49
|
+
import "./chunk-BAEOHCN5.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.2596 | (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-WPX7HLFR.mjs";
|
|
19
|
+
import "./chunk-C3C5OJG4.mjs";
|
|
20
|
+
import "./chunk-TNZG7SFG.mjs";
|
|
21
|
+
import "./chunk-ISZE675P.mjs";
|
|
22
|
+
import "./chunk-UCIOSXXU.mjs";
|
|
23
|
+
import "./chunk-3C2YVQZH.mjs";
|
|
24
|
+
import "./chunk-ZVBBDMPW.mjs";
|
|
25
|
+
import "./chunk-DY6PUVXF.mjs";
|
|
26
|
+
import "./chunk-4UUWP6NP.mjs";
|
|
27
|
+
import "./chunk-IGMABYTC.mjs";
|
|
28
|
+
import "./chunk-4PMXT2UO.mjs";
|
|
29
|
+
import "./chunk-TILPABC4.mjs";
|
|
30
|
+
import "./chunk-BAEOHCN5.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.2596 | (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-3C2YVQZH.mjs";
|
|
7
7
|
import {
|
|
8
8
|
isRecord
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-TILPABC4.mjs";
|
|
10
|
+
import "./chunk-BAEOHCN5.mjs";
|
|
11
11
|
|
|
12
12
|
// src/swift-sdk-image-producer.ts
|
|
13
13
|
import { execFile, execFileSync } from "node:child_process";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2596 | (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;
|
|
@@ -26249,13 +26249,13 @@ var init_swift_standin_digest = __esm({
|
|
|
26249
26249
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
26250
26250
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
26251
26251
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
26252
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
26252
|
+
STANDIN_SOURCE_DIGEST = true ? "1c18ee984fb850e9cae4edbd880543482bce4e531c8c17dab14608646edfe47d" : standinSourceDigest();
|
|
26253
26253
|
}
|
|
26254
26254
|
});
|
|
26255
26255
|
|
|
26256
26256
|
// src/expo-native-compiler-digest.ts
|
|
26257
26257
|
function expoNativeCompilerDigestValue() {
|
|
26258
|
-
return true ? "
|
|
26258
|
+
return true ? "56c5386e790e97ea00592b0a6a272d29e6c69ed548741daedd6e7ce9c3bcfca1" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
26259
26259
|
}
|
|
26260
26260
|
var import_node_crypto17;
|
|
26261
26261
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -38943,7 +38943,10 @@ function linkGuestImages(options2) {
|
|
|
38943
38943
|
}
|
|
38944
38944
|
const members2 = archives.get(artifact.path);
|
|
38945
38945
|
if (!members2) continue;
|
|
38946
|
-
const
|
|
38946
|
+
const listing = (0, import_node_child_process25.execFileSync)(llvmAr, ["t", artifact.path], {
|
|
38947
|
+
encoding: "utf8"
|
|
38948
|
+
}).trimEnd();
|
|
38949
|
+
const listed = listing ? listing.split("\n") : [];
|
|
38947
38950
|
if (listed.length !== members2.length || new Set(listed).size !== listed.length || members2.some(
|
|
38948
38951
|
(member, i) => listed[i] !== member.name || import_node_path47.default.basename(member.name) !== member.name
|
|
38949
38952
|
))
|
|
@@ -43258,24 +43261,26 @@ function setBoundedCache(cache, key2, value) {
|
|
|
43258
43261
|
return value;
|
|
43259
43262
|
}
|
|
43260
43263
|
function cached(directory2, key2) {
|
|
43261
|
-
const sdkInterfacePath = import_node_path56.default.join(directory2, INTERFACE_FILE);
|
|
43262
|
-
const image = import_node_path56.default.join(directory2, IMAGE_FILE);
|
|
43263
43264
|
const address = import_node_path56.default.join(directory2, IMAGE_DIGEST);
|
|
43264
|
-
if (!(0, import_node_fs58.existsSync)(
|
|
43265
|
+
if (!(0, import_node_fs58.existsSync)(import_node_path56.default.join(directory2, IMAGE_FILE)) || !(0, import_node_fs58.existsSync)(address) || !(0, import_node_fs58.existsSync)(import_node_path56.default.join(directory2, INTERFACE_FILE)) || !(0, import_node_fs58.existsSync)(import_node_path56.default.join(directory2, MANIFEST_FILE)) || !(0, import_node_fs58.existsSync)(import_node_path56.default.join(directory2, MANIFEST_DATA_FILE)))
|
|
43265
43266
|
return void 0;
|
|
43266
|
-
|
|
43267
|
+
return sdkImageAt(directory2, key2, (0, import_node_fs58.readFileSync)(address, "utf8"));
|
|
43268
|
+
}
|
|
43269
|
+
function sdkImageAt(directory2, key2, sha2565) {
|
|
43267
43270
|
const cacheKey = `${directory2}\0${sha2565}`;
|
|
43268
43271
|
let loadedInterface;
|
|
43269
43272
|
return {
|
|
43270
43273
|
key: key2,
|
|
43271
43274
|
directory: directory2,
|
|
43272
|
-
image,
|
|
43275
|
+
image: import_node_path56.default.join(directory2, IMAGE_FILE),
|
|
43273
43276
|
sha256: sha2565,
|
|
43274
43277
|
get sdkInterface() {
|
|
43275
43278
|
if (loadedInterface) return loadedInterface;
|
|
43276
43279
|
const memo2 = cachedSdkInterfaces.get(cacheKey);
|
|
43277
43280
|
if (memo2) return loadedInterface = memo2;
|
|
43278
|
-
const parsed2 = JSON.parse(
|
|
43281
|
+
const parsed2 = JSON.parse(
|
|
43282
|
+
(0, import_node_fs58.readFileSync)(import_node_path56.default.join(directory2, INTERFACE_FILE), "utf8")
|
|
43283
|
+
);
|
|
43279
43284
|
return loadedInterface = setBoundedCache(cachedSdkInterfaces, cacheKey, parsed2);
|
|
43280
43285
|
}
|
|
43281
43286
|
};
|
|
@@ -43328,7 +43333,7 @@ async function buildSwiftSdkImage(moduleRoot, scopedLookups = false, frameworkIm
|
|
|
43328
43333
|
throw new Error(`invalid published Swift SDK image ${key2}`);
|
|
43329
43334
|
(0, import_node_fs58.rmSync)(directory2, { recursive: true, force: true });
|
|
43330
43335
|
(0, import_node_fs58.renameSync)(stage, directory2);
|
|
43331
|
-
return
|
|
43336
|
+
return sdkImageAt(directory2, key2, image.sha256);
|
|
43332
43337
|
} finally {
|
|
43333
43338
|
(0, import_node_fs58.rmSync)(stage, { recursive: true, force: true });
|
|
43334
43339
|
}
|
|
@@ -53748,7 +53753,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
53748
53753
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
53749
53754
|
MULTI_MANIFEST_VERSION = 76;
|
|
53750
53755
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
53751
|
-
compilerSourceDigest = true ? "
|
|
53756
|
+
compilerSourceDigest = true ? "84e8740a8ff00df2947e9a04dd004746185926dfa020e1e4c11e79eb39d1e566" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
53752
53757
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
53753
53758
|
MODULE_MAP_RESPONSE_FILE_RUN = 16;
|
|
53754
53759
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2596 | (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,19 +1,19 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2596 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isSwiftResourcePath
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-ZVBBDMPW.mjs";
|
|
5
5
|
import {
|
|
6
6
|
isNativeAppIdentity
|
|
7
|
-
} from "./esm-chunks/chunk-
|
|
8
|
-
import "./esm-chunks/chunk-
|
|
7
|
+
} from "./esm-chunks/chunk-SYCOZ2CT.mjs";
|
|
8
|
+
import "./esm-chunks/chunk-4UUWP6NP.mjs";
|
|
9
9
|
import {
|
|
10
10
|
insertBundleGlobalFooter,
|
|
11
11
|
readBundleGlobalFooter
|
|
12
|
-
} from "./esm-chunks/chunk-
|
|
12
|
+
} from "./esm-chunks/chunk-LZF4BVEY.mjs";
|
|
13
13
|
import {
|
|
14
14
|
isRecord
|
|
15
|
-
} from "./esm-chunks/chunk-
|
|
16
|
-
import "./esm-chunks/chunk-
|
|
15
|
+
} from "./esm-chunks/chunk-TILPABC4.mjs";
|
|
16
|
+
import "./esm-chunks/chunk-BAEOHCN5.mjs";
|
|
17
17
|
|
|
18
18
|
// src/expoSwiftContract.ts
|
|
19
19
|
function strings(value) {
|
package/dist-lib/home-paths.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2596 | (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;
|