peachsim 0.1.2482 → 0.1.2484
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 +45 -7
- 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 +2 -2
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/esm-chunks/{acorn-3RG2YV22.mjs → acorn-VZ4IQET3.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-ZXAHJ6YC.mjs → chunk-BA5NJRIG.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-DYN7524Z.mjs → chunk-D2H3CXT4.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-GVLSR652.mjs → chunk-DV5QZMZ7.mjs} +12 -12
- package/dist-lib/esm-chunks/{chunk-WC3CBCQF.mjs → chunk-ECIPNJSX.mjs} +1 -1
- package/dist-lib/esm-chunks/chunk-EVMRWILP.mjs +12 -0
- package/dist-lib/esm-chunks/{chunk-WPW4V4XH.mjs → chunk-FDPRY4CN.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-CEQOCRNV.mjs → chunk-FFVJT7RC.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-Z2NSDMD7.mjs → chunk-GFF2SLKG.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-WJCPHHTA.mjs → chunk-JLW2EFT3.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-YSTOPLNH.mjs → chunk-M62H2SWC.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-V7WDCR3N.mjs → chunk-NCSXFFTM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-YC2PEM6U.mjs → chunk-O5RWDK2D.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-MDEXPYPS.mjs → chunk-OBXZJKQH.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-5VLHG64M.mjs → chunk-OXO24DVH.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-RUKQSGNO.mjs → chunk-PZN3Y4IV.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-FKS6QFGF.mjs → chunk-UTK3GEHI.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-7I4VWI2V.mjs → chunk-VNUV63TQ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-D5LOEF4I.mjs → chunk-WTZUQBWT.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-YOKV3RRM.mjs → chunk-XC45VBYA.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-JNQJMRSO.mjs → chunk-YUP63CDU.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-DJKPHL72.mjs → chunk-ZWIJ2PMG.mjs} +1 -1
- package/dist-lib/esm-chunks/{metro-layout-parser-OPFP36W3.mjs → metro-layout-parser-SO5ZDLZF.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-S7ECXF7I.mjs → swift-package-prebuilt-6WWOILSP.mjs} +10 -10
- package/dist-lib/esm-chunks/{swift-sdk-app-module-7WOLAFJ6.mjs → swift-sdk-app-module-4VA6AUNX.mjs} +13 -13
- package/dist-lib/esm-chunks/{swift-sdk-image-WDWMRJ76.mjs → swift-sdk-image-CAWUZ4GE.mjs} +13 -13
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-ZXAKVKXN.mjs → swift-sdk-image-producer-MQEVNQBZ.mjs} +4 -4
- package/dist-lib/expo-swift-bundle.cjs +43 -5
- package/dist-lib/expo-swift-metadata.cjs +2 -2
- package/dist-lib/expo-swift-metadata.mjs +7 -7
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +52 -11
- package/dist-lib/host/fetch-proxy-handler.cjs +13 -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 +2 -2
- 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 +79 -79
- package/dist-lib/public-origins-lib.json +74 -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 +7 -7
- package/dist-lib/skills.cjs +52 -11
- package/dist-lib/swift-compile.cjs +1 -1
- 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 +5 -5
- 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/dist-types/packages/peach-engine/core-abi/value/kernel-client.d.ts +0 -1
- package/dist-types/packages/peach-engine/core-abi/value/kernelContract.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/components/native-ui/context-menu-types.d.ts +50 -0
- package/dist-types/packages/peach-engine/src/engine/animationGraphContract.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/canvaskit/core.d.ts +9 -2
- package/dist-types/packages/peach-engine/src/engine/canvaskit/gpu.d.ts +1 -2
- package/dist-types/packages/peach-engine/src/engine/canvaskit/path.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/canvaskit/picture.d.ts +2 -2
- package/dist-types/packages/peach-engine/src/engine/canvaskit/surface.d.ts +4 -6
- package/dist-types/packages/peach-engine/src/engine/canvaskit/text.d.ts +12 -16
- package/dist-types/packages/peach-engine/src/engine/native-font-policy.d.ts +20 -11
- package/dist-types/packages/peach-engine/src/engine/native-frame-policy.d.ts +12 -1
- package/dist-types/packages/peach-engine/src/engine/native-handles.d.ts +7 -0
- package/dist-types/packages/peach-engine/src/engine/native-layout.d.ts +0 -4
- package/dist-types/packages/peach-engine/src/engine/native-memory.d.ts +2 -1
- package/dist-types/packages/peach-engine/src/engine/native-menu.d.ts +2 -2
- package/dist-types/packages/peach-engine/src/engine/native-style-store.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/native-value.d.ts +8 -2
- package/dist-types/packages/peach-engine/src/engine/scene-native-binding.d.ts +3 -2
- package/dist-types/packages/peach-engine/src/engine/system-animation.d.ts +48 -0
- package/dist-types/packages/peach-engine/src/render-worker/animated-drive-output.d.ts +0 -2
- package/dist-types/packages/peach-engine/src/render-worker/compositor-runtime/native-layer-backings.d.ts +9 -0
- package/dist-types/packages/peach-engine/src/render-worker/compositor-runtime/presentation-book-host.d.ts +17 -35
- package/dist-types/packages/peach-engine/src/render-worker/native-hot-ops.d.ts +29 -31
- package/dist-types/packages/peach-engine/src/render-worker/native-shell-runtime.d.ts +2 -3
- package/dist-types/packages/peach-engine/src/render-worker/nativeAnimMirrorContract.d.ts +0 -5
- package/dist-types/packages/peach-engine/vendor/canvaskit-services.d.mts +9 -4
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/src/assetCatalogContract.ts +8 -0
- package/src/guest-bundle.ts +8 -3
- package/src/swift-host.ts +3 -0
- package/dist-lib/esm-chunks/chunk-NFRYA23T.mjs +0 -12
- package/dist-types/packages/peach-engine/src/components/native-ui/menu-platter-styles.d.ts +0 -70
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2484 | (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-NCSXFFTM.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-DV5QZMZ7.mjs";
|
|
13
13
|
import {
|
|
14
14
|
SWIFT_WASM_TRIPLE,
|
|
15
15
|
registerSwiftHostCompiler,
|
|
16
16
|
swiftCompiler,
|
|
17
17
|
swiftToolchain
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-WTZUQBWT.mjs";
|
|
19
19
|
import {
|
|
20
20
|
isRecord
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-GFF2SLKG.mjs";
|
|
22
22
|
|
|
23
23
|
// src/swift-distribution.ts
|
|
24
24
|
import fs2 from "node:fs";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2484 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isSwiftImageVariants
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-EVMRWILP.mjs";
|
|
5
5
|
import {
|
|
6
6
|
findBundleFooter
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZWIJ2PMG.mjs";
|
|
8
8
|
import {
|
|
9
9
|
isRecord
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-GFF2SLKG.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.2484 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
swiftModuleToolchain
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-OXO24DVH.mjs";
|
|
5
5
|
import {
|
|
6
6
|
DARWIN_RECORDS_PREFIX,
|
|
7
7
|
KEEP_WASM_NAMES,
|
|
@@ -30,13 +30,13 @@ import {
|
|
|
30
30
|
swiftSdkPaths,
|
|
31
31
|
unslottedFunctions,
|
|
32
32
|
wasmSections
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-DV5QZMZ7.mjs";
|
|
34
34
|
import {
|
|
35
35
|
SWIFT_WASM_TRIPLE,
|
|
36
36
|
sourceSwiftCheckout,
|
|
37
37
|
swiftCacheDir,
|
|
38
38
|
withSwiftRootLock
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-WTZUQBWT.mjs";
|
|
40
40
|
|
|
41
41
|
// src/swift-sdk-image.ts
|
|
42
42
|
import { execFile } from "node:child_process";
|
|
@@ -191,7 +191,7 @@ async function buildSwiftSdkImage(moduleRoot, scopedLookups = false, frameworkIm
|
|
|
191
191
|
const existing = cached(directory, key);
|
|
192
192
|
if (existing) return existing;
|
|
193
193
|
if (!options?.producer && !swiftDistributionAt(moduleRoot) && path.resolve(moduleRoot) === sourceSwiftCheckout() && process.platform === "linux" && process.env.TM_SESSION) {
|
|
194
|
-
const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-
|
|
194
|
+
const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-MQEVNQBZ.mjs");
|
|
195
195
|
await produceSwiftSdkImage({
|
|
196
196
|
moduleRoot,
|
|
197
197
|
key,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2484 | (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,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2484 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
|
|
3
3
|
// ../../node_modules/acorn/dist/acorn.mjs
|
|
4
4
|
var astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 7, 9, 32, 4, 318, 1, 78, 5, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 68, 8, 2, 0, 3, 0, 2, 3, 2, 4, 2, 0, 15, 1, 83, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 7, 19, 58, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 199, 7, 137, 9, 54, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 55, 9, 266, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 10, 5350, 0, 7, 14, 11465, 27, 2343, 9, 87, 9, 39, 4, 60, 6, 26, 9, 535, 9, 470, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4178, 9, 519, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 245, 1, 2, 9, 233, 0, 3, 0, 8, 1, 6, 0, 475, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
|
package/dist-lib/esm-chunks/{metro-layout-parser-OPFP36W3.mjs → metro-layout-parser-SO5ZDLZF.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
2
|
-
import "./chunk-
|
|
1
|
+
/*! peach v0.1.2484 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "./chunk-VNUV63TQ.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-VZ4IQET3.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.2484 | (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-DV5QZMZ7.mjs";
|
|
10
|
+
import "./chunk-WTZUQBWT.mjs";
|
|
11
11
|
import {
|
|
12
12
|
SWIFT_REMOTE_PACKAGES_DIR
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-FFVJT7RC.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-D2H3CXT4.mjs";
|
|
17
|
+
import "./chunk-EVMRWILP.mjs";
|
|
18
|
+
import "./chunk-O5RWDK2D.mjs";
|
|
19
|
+
import "./chunk-ECIPNJSX.mjs";
|
|
20
|
+
import "./chunk-GFF2SLKG.mjs";
|
|
21
|
+
import "./chunk-VNUV63TQ.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-7WOLAFJ6.mjs → swift-sdk-app-module-4VA6AUNX.mjs}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2484 | (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-
|
|
8
|
+
} from "./chunk-UTK3GEHI.mjs";
|
|
9
|
+
import "./chunk-OXO24DVH.mjs";
|
|
10
|
+
import "./chunk-NCSXFFTM.mjs";
|
|
11
11
|
import {
|
|
12
12
|
ADDEND_RELOCATIONS,
|
|
13
13
|
KEEP_WASM_NAMES,
|
|
@@ -34,17 +34,17 @@ import {
|
|
|
34
34
|
wasmReader,
|
|
35
35
|
wasmSections,
|
|
36
36
|
writeWasmCustomSection
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-DV5QZMZ7.mjs";
|
|
38
38
|
import {
|
|
39
39
|
SWIFT_WASM_TRIPLE
|
|
40
|
-
} from "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
40
|
+
} from "./chunk-WTZUQBWT.mjs";
|
|
41
|
+
import "./chunk-FFVJT7RC.mjs";
|
|
42
|
+
import "./chunk-D2H3CXT4.mjs";
|
|
43
|
+
import "./chunk-EVMRWILP.mjs";
|
|
44
|
+
import "./chunk-O5RWDK2D.mjs";
|
|
45
|
+
import "./chunk-ECIPNJSX.mjs";
|
|
46
|
+
import "./chunk-GFF2SLKG.mjs";
|
|
47
|
+
import "./chunk-VNUV63TQ.mjs";
|
|
48
48
|
|
|
49
49
|
// src/swift-sdk-app-module.ts
|
|
50
50
|
import { execFile } from "node:child_process";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2484 | (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,18 +15,18 @@ 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-
|
|
18
|
+
} from "./chunk-UTK3GEHI.mjs";
|
|
19
|
+
import "./chunk-OXO24DVH.mjs";
|
|
20
|
+
import "./chunk-NCSXFFTM.mjs";
|
|
21
|
+
import "./chunk-DV5QZMZ7.mjs";
|
|
22
|
+
import "./chunk-WTZUQBWT.mjs";
|
|
23
|
+
import "./chunk-FFVJT7RC.mjs";
|
|
24
|
+
import "./chunk-D2H3CXT4.mjs";
|
|
25
|
+
import "./chunk-EVMRWILP.mjs";
|
|
26
|
+
import "./chunk-O5RWDK2D.mjs";
|
|
27
|
+
import "./chunk-ECIPNJSX.mjs";
|
|
28
|
+
import "./chunk-GFF2SLKG.mjs";
|
|
29
|
+
import "./chunk-VNUV63TQ.mjs";
|
|
30
30
|
export {
|
|
31
31
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
32
32
|
SWIFT_SDK_APP_TABLE_BASE,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2484 | (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-WTZUQBWT.mjs";
|
|
7
7
|
import {
|
|
8
8
|
isRecord
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-GFF2SLKG.mjs";
|
|
10
|
+
import "./chunk-VNUV63TQ.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.2484 | (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;
|
|
@@ -1508,7 +1508,7 @@ var init_swift_source_file = __esm({
|
|
|
1508
1508
|
// src/assetCatalogContract.ts
|
|
1509
1509
|
function isSwiftImageVariants(value) {
|
|
1510
1510
|
return Array.isArray(value) && value.length > 0 && value.every(
|
|
1511
|
-
(image) => typeof image === "object" && image !== null && typeof image.uri === "string" && typeof image.scale === "number" && Number.isFinite(image.scale) && image.scale > 0 && (image.appearance === void 0 || image.appearance === "light" || image.appearance === "dark") && (image.renderingMode === void 0 || image.renderingMode === "template" || image.renderingMode === "original")
|
|
1511
|
+
(image) => typeof image === "object" && image !== null && typeof image.uri === "string" && typeof image.scale === "number" && Number.isFinite(image.scale) && image.scale > 0 && (image.pixelSize === void 0 || typeof image.pixelSize === "object" && image.pixelSize !== null && Number.isInteger(image.pixelSize.width) && image.pixelSize.width > 0 && Number.isInteger(image.pixelSize.height) && image.pixelSize.height > 0) && (image.appearance === void 0 || image.appearance === "light" || image.appearance === "dark") && (image.renderingMode === void 0 || image.renderingMode === "template" || image.renderingMode === "original")
|
|
1512
1512
|
);
|
|
1513
1513
|
}
|
|
1514
1514
|
function sfSymbolVariantKey(variant2) {
|
|
@@ -26242,13 +26242,13 @@ var init_swift_standin_digest = __esm({
|
|
|
26242
26242
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
26243
26243
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
26244
26244
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
26245
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
26245
|
+
STANDIN_SOURCE_DIGEST = true ? "85f1e7cbeb527885fc58cf92a8723307e9e5239bfa66c1d45020f2cae6b61e3f" : standinSourceDigest();
|
|
26246
26246
|
}
|
|
26247
26247
|
});
|
|
26248
26248
|
|
|
26249
26249
|
// src/expo-native-compiler-digest.ts
|
|
26250
26250
|
function expoNativeCompilerDigestValue() {
|
|
26251
|
-
return true ? "
|
|
26251
|
+
return true ? "32d0a9928659f73413f3e6b4b61f8e26cbb7549b74e899ba21242431cae35484" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
26252
26252
|
}
|
|
26253
26253
|
var import_node_crypto17;
|
|
26254
26254
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -81579,6 +81579,41 @@ var init_nitro_adapter = __esm({
|
|
|
81579
81579
|
}
|
|
81580
81580
|
});
|
|
81581
81581
|
|
|
81582
|
+
// ../../src/ios/pngHeader.ts
|
|
81583
|
+
function readPngHeader(bytes) {
|
|
81584
|
+
if (bytes.byteLength < 26) return null;
|
|
81585
|
+
for (let i = 0; i < PNG_SIGNATURE.length; i++) {
|
|
81586
|
+
if (bytes[i] !== PNG_SIGNATURE[i]) return null;
|
|
81587
|
+
}
|
|
81588
|
+
if (bytes[12] !== 73 || bytes[13] !== 72 || bytes[14] !== 68 || bytes[15] !== 82) {
|
|
81589
|
+
return null;
|
|
81590
|
+
}
|
|
81591
|
+
const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
|
|
81592
|
+
const width = view.getUint32(16, false);
|
|
81593
|
+
const height = view.getUint32(20, false);
|
|
81594
|
+
const bitDepth = bytes[24] ?? 0;
|
|
81595
|
+
const colorType = bytes[25] ?? 0;
|
|
81596
|
+
return {
|
|
81597
|
+
width,
|
|
81598
|
+
height,
|
|
81599
|
+
bitDepth,
|
|
81600
|
+
colorType,
|
|
81601
|
+
hasAlpha: ALPHA_COLOR_TYPES.has(colorType)
|
|
81602
|
+
};
|
|
81603
|
+
}
|
|
81604
|
+
function readPngDimensions(bytes) {
|
|
81605
|
+
const h = readPngHeader(bytes);
|
|
81606
|
+
return h ? { width: h.width, height: h.height } : null;
|
|
81607
|
+
}
|
|
81608
|
+
var PNG_SIGNATURE, ALPHA_COLOR_TYPES;
|
|
81609
|
+
var init_pngHeader = __esm({
|
|
81610
|
+
"../../src/ios/pngHeader.ts"() {
|
|
81611
|
+
"use strict";
|
|
81612
|
+
PNG_SIGNATURE = [137, 80, 78, 71, 13, 10, 26, 10];
|
|
81613
|
+
ALPHA_COLOR_TYPES = /* @__PURE__ */ new Set([4, 6]);
|
|
81614
|
+
}
|
|
81615
|
+
});
|
|
81616
|
+
|
|
81582
81617
|
// ../../node_modules/svgpath/lib/path_parse.js
|
|
81583
81618
|
var require_path_parse = __commonJS({
|
|
81584
81619
|
"../../node_modules/svgpath/lib/path_parse.js"(exports2, module2) {
|
|
@@ -89082,11 +89117,13 @@ async function buildSwiftResourceTable(project, baseUrl, inputs2) {
|
|
|
89082
89117
|
imageBytes += bytes.length;
|
|
89083
89118
|
const hash = (0, import_node_crypto69.createHash)("sha256").update(bytes).digest("hex").slice(0, 16);
|
|
89084
89119
|
const bundle = table[bundlePath] ?? /* @__PURE__ */ Object.create(null);
|
|
89120
|
+
const pixelSize = ext === ".png" ? readPngDimensions(bytes) : null;
|
|
89085
89121
|
const variant2 = {
|
|
89086
89122
|
uri: `${baseUrl}${RESOURCE_PATH}${hash}${ext}`,
|
|
89087
89123
|
scale,
|
|
89088
89124
|
...appearance === void 0 ? {} : { appearance },
|
|
89089
|
-
...renderingMode ? { renderingMode } : {}
|
|
89125
|
+
...renderingMode ? { renderingMode } : {},
|
|
89126
|
+
...pixelSize?.width && pixelSize.height ? { pixelSize } : {}
|
|
89090
89127
|
};
|
|
89091
89128
|
for (const lookup2 of [name3, ...fileNames ?? []]) {
|
|
89092
89129
|
const variants = bundle[lookup2] ??= [];
|
|
@@ -90185,6 +90222,7 @@ var init_swift_host = __esm({
|
|
|
90185
90222
|
import_node_fs116 = __toESM(require("node:fs"), 1);
|
|
90186
90223
|
import_node_os24 = __toESM(require("node:os"), 1);
|
|
90187
90224
|
import_node_path116 = __toESM(require("node:path"), 1);
|
|
90225
|
+
init_pngHeader();
|
|
90188
90226
|
init_nativeDyldTableContract();
|
|
90189
90227
|
init_nativeSdkBindingContract();
|
|
90190
90228
|
init_bundleAssets();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2484 | (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;
|
|
@@ -88,7 +88,7 @@ function isRecord(value) {
|
|
|
88
88
|
// src/assetCatalogContract.ts
|
|
89
89
|
function isSwiftImageVariants(value) {
|
|
90
90
|
return Array.isArray(value) && value.length > 0 && value.every(
|
|
91
|
-
(image) => typeof image === "object" && image !== null && typeof image.uri === "string" && typeof image.scale === "number" && Number.isFinite(image.scale) && image.scale > 0 && (image.appearance === void 0 || image.appearance === "light" || image.appearance === "dark") && (image.renderingMode === void 0 || image.renderingMode === "template" || image.renderingMode === "original")
|
|
91
|
+
(image) => typeof image === "object" && image !== null && typeof image.uri === "string" && typeof image.scale === "number" && Number.isFinite(image.scale) && image.scale > 0 && (image.pixelSize === void 0 || typeof image.pixelSize === "object" && image.pixelSize !== null && Number.isInteger(image.pixelSize.width) && image.pixelSize.width > 0 && Number.isInteger(image.pixelSize.height) && image.pixelSize.height > 0) && (image.appearance === void 0 || image.appearance === "light" || image.appearance === "dark") && (image.renderingMode === void 0 || image.renderingMode === "template" || image.renderingMode === "original")
|
|
92
92
|
);
|
|
93
93
|
}
|
|
94
94
|
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2484 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isSwiftResourcePath
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-FFVJT7RC.mjs";
|
|
5
5
|
import {
|
|
6
6
|
isNativeAppIdentity
|
|
7
|
-
} from "./esm-chunks/chunk-
|
|
8
|
-
import "./esm-chunks/chunk-
|
|
7
|
+
} from "./esm-chunks/chunk-PZN3Y4IV.mjs";
|
|
8
|
+
import "./esm-chunks/chunk-EVMRWILP.mjs";
|
|
9
9
|
import {
|
|
10
10
|
insertBundleGlobalFooter,
|
|
11
11
|
readBundleGlobalFooter
|
|
12
|
-
} from "./esm-chunks/chunk-
|
|
12
|
+
} from "./esm-chunks/chunk-ZWIJ2PMG.mjs";
|
|
13
13
|
import {
|
|
14
14
|
isRecord
|
|
15
|
-
} from "./esm-chunks/chunk-
|
|
16
|
-
import "./esm-chunks/chunk-
|
|
15
|
+
} from "./esm-chunks/chunk-GFF2SLKG.mjs";
|
|
16
|
+
import "./esm-chunks/chunk-VNUV63TQ.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.2484 | (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.2484 | (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;
|
|
@@ -2058,7 +2058,7 @@ var init_runtime_assets = __esm({
|
|
|
2058
2058
|
var runtime_companion_default;
|
|
2059
2059
|
var init_runtime_companion = __esm({
|
|
2060
2060
|
"runtime-companion.json"() {
|
|
2061
|
-
runtime_companion_default = { abi: 1, sha256: "
|
|
2061
|
+
runtime_companion_default = { abi: 1, sha256: "52d5639be9b962c90080d21e62b581aa123fc58787ee61c9a63066702cd1795b", file: "node/cli-52d5639be9b962c90080d21e62b581aa123fc58787ee61c9a63066702cd1795b.cjs" };
|
|
2062
2062
|
}
|
|
2063
2063
|
});
|
|
2064
2064
|
|
|
@@ -2520,7 +2520,7 @@ var init_is_record = __esm({
|
|
|
2520
2520
|
// src/assetCatalogContract.ts
|
|
2521
2521
|
function isSwiftImageVariants(value) {
|
|
2522
2522
|
return Array.isArray(value) && value.length > 0 && value.every(
|
|
2523
|
-
(image) => typeof image === "object" && image !== null && typeof image.uri === "string" && typeof image.scale === "number" && Number.isFinite(image.scale) && image.scale > 0 && (image.appearance === void 0 || image.appearance === "light" || image.appearance === "dark") && (image.renderingMode === void 0 || image.renderingMode === "template" || image.renderingMode === "original")
|
|
2523
|
+
(image) => typeof image === "object" && image !== null && typeof image.uri === "string" && typeof image.scale === "number" && Number.isFinite(image.scale) && image.scale > 0 && (image.pixelSize === void 0 || typeof image.pixelSize === "object" && image.pixelSize !== null && Number.isInteger(image.pixelSize.width) && image.pixelSize.width > 0 && Number.isInteger(image.pixelSize.height) && image.pixelSize.height > 0) && (image.appearance === void 0 || image.appearance === "light" || image.appearance === "dark") && (image.renderingMode === void 0 || image.renderingMode === "template" || image.renderingMode === "original")
|
|
2524
2524
|
);
|
|
2525
2525
|
}
|
|
2526
2526
|
function sfSymbolVariantKey(variant2) {
|
|
@@ -5656,13 +5656,13 @@ var init_swift_standin_digest = __esm({
|
|
|
5656
5656
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
5657
5657
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
5658
5658
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
5659
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
5659
|
+
STANDIN_SOURCE_DIGEST = true ? "85f1e7cbeb527885fc58cf92a8723307e9e5239bfa66c1d45020f2cae6b61e3f" : standinSourceDigest();
|
|
5660
5660
|
}
|
|
5661
5661
|
});
|
|
5662
5662
|
|
|
5663
5663
|
// src/expo-native-compiler-digest.ts
|
|
5664
5664
|
function expoNativeCompilerDigestValue() {
|
|
5665
|
-
return true ? "
|
|
5665
|
+
return true ? "32d0a9928659f73413f3e6b4b61f8e26cbb7549b74e899ba21242431cae35484" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
5666
5666
|
}
|
|
5667
5667
|
var import_node_crypto11;
|
|
5668
5668
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -87615,6 +87615,41 @@ var init_nitro_adapter = __esm({
|
|
|
87615
87615
|
}
|
|
87616
87616
|
});
|
|
87617
87617
|
|
|
87618
|
+
// ../../src/ios/pngHeader.ts
|
|
87619
|
+
function readPngHeader(bytes) {
|
|
87620
|
+
if (bytes.byteLength < 26) return null;
|
|
87621
|
+
for (let i = 0; i < PNG_SIGNATURE.length; i++) {
|
|
87622
|
+
if (bytes[i] !== PNG_SIGNATURE[i]) return null;
|
|
87623
|
+
}
|
|
87624
|
+
if (bytes[12] !== 73 || bytes[13] !== 72 || bytes[14] !== 68 || bytes[15] !== 82) {
|
|
87625
|
+
return null;
|
|
87626
|
+
}
|
|
87627
|
+
const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
|
|
87628
|
+
const width = view.getUint32(16, false);
|
|
87629
|
+
const height = view.getUint32(20, false);
|
|
87630
|
+
const bitDepth = bytes[24] ?? 0;
|
|
87631
|
+
const colorType = bytes[25] ?? 0;
|
|
87632
|
+
return {
|
|
87633
|
+
width,
|
|
87634
|
+
height,
|
|
87635
|
+
bitDepth,
|
|
87636
|
+
colorType,
|
|
87637
|
+
hasAlpha: ALPHA_COLOR_TYPES.has(colorType)
|
|
87638
|
+
};
|
|
87639
|
+
}
|
|
87640
|
+
function readPngDimensions(bytes) {
|
|
87641
|
+
const h = readPngHeader(bytes);
|
|
87642
|
+
return h ? { width: h.width, height: h.height } : null;
|
|
87643
|
+
}
|
|
87644
|
+
var PNG_SIGNATURE, ALPHA_COLOR_TYPES;
|
|
87645
|
+
var init_pngHeader = __esm({
|
|
87646
|
+
"../../src/ios/pngHeader.ts"() {
|
|
87647
|
+
"use strict";
|
|
87648
|
+
PNG_SIGNATURE = [137, 80, 78, 71, 13, 10, 26, 10];
|
|
87649
|
+
ALPHA_COLOR_TYPES = /* @__PURE__ */ new Set([4, 6]);
|
|
87650
|
+
}
|
|
87651
|
+
});
|
|
87652
|
+
|
|
87618
87653
|
// ../../node_modules/svgpath/lib/path_parse.js
|
|
87619
87654
|
var require_path_parse = __commonJS({
|
|
87620
87655
|
"../../node_modules/svgpath/lib/path_parse.js"(exports2, module2) {
|
|
@@ -95268,6 +95303,9 @@ var init_metro_runtime_source = __esm({
|
|
|
95268
95303
|
});
|
|
95269
95304
|
|
|
95270
95305
|
// src/guest-bundle.ts
|
|
95306
|
+
function productionNativeGuestSource(source) {
|
|
95307
|
+
return source.startsWith(productionPrelude) ? source : productionPrelude + source;
|
|
95308
|
+
}
|
|
95271
95309
|
function swiftGuestBundle(packageName2) {
|
|
95272
95310
|
return guestBundle(
|
|
95273
95311
|
"peachsim/swift",
|
|
@@ -95302,8 +95340,7 @@ ${registration}`,
|
|
|
95302
95340
|
return serializeGuestBundle(modules, { "react-native": import_package.default.version });
|
|
95303
95341
|
}
|
|
95304
95342
|
function serializeGuestBundle(modules, versions, footer = "") {
|
|
95305
|
-
const
|
|
95306
|
-
`var __DEV__=false;`,
|
|
95343
|
+
const source = [
|
|
95307
95344
|
`var __METRO_GLOBAL_PREFIX__='';`,
|
|
95308
95345
|
`(function(global){${METRO_REQUIRE_POLYFILL}})(globalThis);`,
|
|
95309
95346
|
...modules.map(
|
|
@@ -95314,7 +95351,7 @@ ${module2.code}
|
|
|
95314
95351
|
"__r(0);"
|
|
95315
95352
|
].join("\n");
|
|
95316
95353
|
return appendRNXMetroModuleIdentityFooter(
|
|
95317
|
-
insertPackageVersionsFooter(
|
|
95354
|
+
insertPackageVersionsFooter(productionNativeGuestSource(source) + footer, versions),
|
|
95318
95355
|
{
|
|
95319
95356
|
version: RNX_METRO_MODULE_IDENTITY_VERSION,
|
|
95320
95357
|
identitySource: "contrast-bundler",
|
|
@@ -95325,7 +95362,7 @@ ${module2.code}
|
|
|
95325
95362
|
}
|
|
95326
95363
|
);
|
|
95327
95364
|
}
|
|
95328
|
-
var import_package;
|
|
95365
|
+
var import_package, productionPrelude;
|
|
95329
95366
|
var init_guest_bundle = __esm({
|
|
95330
95367
|
"src/guest-bundle.ts"() {
|
|
95331
95368
|
"use strict";
|
|
@@ -95333,6 +95370,7 @@ var init_guest_bundle = __esm({
|
|
|
95333
95370
|
import_package = __toESM(require("react-native/package.json"), 1);
|
|
95334
95371
|
init_metro_production_bundle();
|
|
95335
95372
|
init_metro_runtime_source();
|
|
95373
|
+
productionPrelude = "var __DEV__=false;\n";
|
|
95336
95374
|
}
|
|
95337
95375
|
});
|
|
95338
95376
|
|
|
@@ -98282,11 +98320,13 @@ async function buildSwiftResourceTable(project2, baseUrl, inputs2) {
|
|
|
98282
98320
|
imageBytes += bytes.length;
|
|
98283
98321
|
const hash = (0, import_node_crypto78.createHash)("sha256").update(bytes).digest("hex").slice(0, 16);
|
|
98284
98322
|
const bundle = table[bundlePath] ?? /* @__PURE__ */ Object.create(null);
|
|
98323
|
+
const pixelSize = ext === ".png" ? readPngDimensions(bytes) : null;
|
|
98285
98324
|
const variant2 = {
|
|
98286
98325
|
uri: `${baseUrl}${RESOURCE_PATH}${hash}${ext}`,
|
|
98287
98326
|
scale,
|
|
98288
98327
|
...appearance === void 0 ? {} : { appearance },
|
|
98289
|
-
...renderingMode ? { renderingMode } : {}
|
|
98328
|
+
...renderingMode ? { renderingMode } : {},
|
|
98329
|
+
...pixelSize?.width && pixelSize.height ? { pixelSize } : {}
|
|
98290
98330
|
};
|
|
98291
98331
|
for (const lookup4 of [name3, ...fileNames ?? []]) {
|
|
98292
98332
|
const variants = bundle[lookup4] ??= [];
|
|
@@ -99802,6 +99842,7 @@ var init_swift_host = __esm({
|
|
|
99802
99842
|
import_node_fs132 = __toESM(require("node:fs"), 1);
|
|
99803
99843
|
import_node_os27 = __toESM(require("node:os"), 1);
|
|
99804
99844
|
import_node_path132 = __toESM(require("node:path"), 1);
|
|
99845
|
+
init_pngHeader();
|
|
99805
99846
|
init_nativeDyldTableContract();
|
|
99806
99847
|
init_nativeSdkBindingContract();
|
|
99807
99848
|
init_bundleAssets();
|
|
@@ -116805,7 +116846,7 @@ var init_nitro_superset = __esm({
|
|
|
116805
116846
|
init_nitroContract();
|
|
116806
116847
|
init_swift_standin_digest();
|
|
116807
116848
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
116808
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
116849
|
+
NITRO_COMPILER_DIGEST = true ? "b0c420cd284cebdbc1131ebcbd442b5e7e67c7636e380761381d183362fd120b" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
116809
116850
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
116810
116851
|
nitroSupersetKey = (inputs2) => nativeEntryKey({ ...inputs2, compiler: NITRO_COMPILER_DIGEST });
|
|
116811
116852
|
published3 = /* @__PURE__ */ new Map();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2484 | (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;
|
|
@@ -989,13 +989,13 @@ var init_swift_standin_digest = __esm({
|
|
|
989
989
|
import_node_crypto5 = require("node:crypto");
|
|
990
990
|
import_node_fs11 = require("node:fs");
|
|
991
991
|
import_node_path12 = __toESM(require("node:path"), 1);
|
|
992
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
992
|
+
STANDIN_SOURCE_DIGEST = true ? "85f1e7cbeb527885fc58cf92a8723307e9e5239bfa66c1d45020f2cae6b61e3f" : standinSourceDigest();
|
|
993
993
|
}
|
|
994
994
|
});
|
|
995
995
|
|
|
996
996
|
// src/expo-native-compiler-digest.ts
|
|
997
997
|
function expoNativeCompilerDigestValue() {
|
|
998
|
-
return true ? "
|
|
998
|
+
return true ? "32d0a9928659f73413f3e6b4b61f8e26cbb7549b74e899ba21242431cae35484" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
999
999
|
}
|
|
1000
1000
|
var import_node_crypto6;
|
|
1001
1001
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -1312,7 +1312,7 @@ var init_swift_source_file = __esm({
|
|
|
1312
1312
|
// src/assetCatalogContract.ts
|
|
1313
1313
|
function isSwiftImageVariants(value) {
|
|
1314
1314
|
return Array.isArray(value) && value.length > 0 && value.every(
|
|
1315
|
-
(image) => typeof image === "object" && image !== null && typeof image.uri === "string" && typeof image.scale === "number" && Number.isFinite(image.scale) && image.scale > 0 && (image.appearance === void 0 || image.appearance === "light" || image.appearance === "dark") && (image.renderingMode === void 0 || image.renderingMode === "template" || image.renderingMode === "original")
|
|
1315
|
+
(image) => typeof image === "object" && image !== null && typeof image.uri === "string" && typeof image.scale === "number" && Number.isFinite(image.scale) && image.scale > 0 && (image.pixelSize === void 0 || typeof image.pixelSize === "object" && image.pixelSize !== null && Number.isInteger(image.pixelSize.width) && image.pixelSize.width > 0 && Number.isInteger(image.pixelSize.height) && image.pixelSize.height > 0) && (image.appearance === void 0 || image.appearance === "light" || image.appearance === "dark") && (image.renderingMode === void 0 || image.renderingMode === "template" || image.renderingMode === "original")
|
|
1316
1316
|
);
|
|
1317
1317
|
}
|
|
1318
1318
|
var init_assetCatalogContract = __esm({
|
|
@@ -16257,6 +16257,13 @@ var init_swift_clang_type_ownership = __esm({
|
|
|
16257
16257
|
}
|
|
16258
16258
|
});
|
|
16259
16259
|
|
|
16260
|
+
// ../../src/ios/pngHeader.ts
|
|
16261
|
+
var init_pngHeader = __esm({
|
|
16262
|
+
"../../src/ios/pngHeader.ts"() {
|
|
16263
|
+
"use strict";
|
|
16264
|
+
}
|
|
16265
|
+
});
|
|
16266
|
+
|
|
16260
16267
|
// ../peach-kit/src/nativeSdkBindingContract.ts
|
|
16261
16268
|
var init_nativeSdkBindingContract = __esm({
|
|
16262
16269
|
"../peach-kit/src/nativeSdkBindingContract.ts"() {
|
|
@@ -19486,6 +19493,7 @@ var init_swift_host = __esm({
|
|
|
19486
19493
|
import_node_fs113 = __toESM(require("node:fs"), 1);
|
|
19487
19494
|
import_node_os24 = __toESM(require("node:os"), 1);
|
|
19488
19495
|
import_node_path115 = __toESM(require("node:path"), 1);
|
|
19496
|
+
init_pngHeader();
|
|
19489
19497
|
init_nativeDyldTableContract();
|
|
19490
19498
|
init_nativeSdkBindingContract();
|
|
19491
19499
|
init_bundleAssets();
|
|
@@ -23608,7 +23616,7 @@ var init_dev_server_package_versions = __esm({
|
|
|
23608
23616
|
var runtime_companion_default;
|
|
23609
23617
|
var init_runtime_companion = __esm({
|
|
23610
23618
|
"runtime-companion.json"() {
|
|
23611
|
-
runtime_companion_default = { abi: 1, sha256: "
|
|
23619
|
+
runtime_companion_default = { abi: 1, sha256: "52d5639be9b962c90080d21e62b581aa123fc58787ee61c9a63066702cd1795b", file: "node/cli-52d5639be9b962c90080d21e62b581aa123fc58787ee61c9a63066702cd1795b.cjs" };
|
|
23612
23620
|
}
|
|
23613
23621
|
});
|
|
23614
23622
|
|