peachsim 0.1.2482 → 0.1.2483
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-5IUVEQ5U.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-DYN7524Z.mjs → chunk-3XA33ML6.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-ZXAHJ6YC.mjs → chunk-3Y4O3MOM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-7I4VWI2V.mjs → chunk-4LW6LZ6Z.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-V7WDCR3N.mjs → chunk-4PY2AMHM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-D5LOEF4I.mjs → chunk-74BYI5ME.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-YSTOPLNH.mjs → chunk-DMZ7YRB2.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-CEQOCRNV.mjs → chunk-DV6RVJXG.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-YC2PEM6U.mjs → chunk-HHIU36JR.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-JNQJMRSO.mjs → chunk-HK2PVWZR.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-MDEXPYPS.mjs → chunk-HPATKEHW.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-YOKV3RRM.mjs → chunk-IGRHCKP6.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-DJKPHL72.mjs → chunk-JNWWQ6IK.mjs} +1 -1
- package/dist-lib/esm-chunks/chunk-KK3WVSF7.mjs +12 -0
- package/dist-lib/esm-chunks/{chunk-WPW4V4XH.mjs → chunk-M4YWLFJD.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-Z2NSDMD7.mjs → chunk-NWAG7YWU.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-GVLSR652.mjs → chunk-NZ4SCX34.mjs} +12 -12
- package/dist-lib/esm-chunks/{chunk-RUKQSGNO.mjs → chunk-QQJEXO33.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-FKS6QFGF.mjs → chunk-REMZIJ6Q.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-WJCPHHTA.mjs → chunk-UCAXXDBC.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-WC3CBCQF.mjs → chunk-UETKYQXI.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-5VLHG64M.mjs → chunk-UTFTGMVS.mjs} +5 -5
- package/dist-lib/esm-chunks/{metro-layout-parser-OPFP36W3.mjs → metro-layout-parser-ONZA2XYW.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-S7ECXF7I.mjs → swift-package-prebuilt-W7ES3LDK.mjs} +10 -10
- package/dist-lib/esm-chunks/{swift-sdk-app-module-7WOLAFJ6.mjs → swift-sdk-app-module-XYSH4J23.mjs} +13 -13
- package/dist-lib/esm-chunks/{swift-sdk-image-WDWMRJ76.mjs → swift-sdk-image-KNCQQOMT.mjs} +13 -13
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-ZXAKVKXN.mjs → swift-sdk-image-producer-DC6U6VUF.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/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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2483 | (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-74BYI5ME.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-DV6RVJXG.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-3XA33ML6.mjs";
|
|
61
61
|
import {
|
|
62
62
|
rnxPublicBrand
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-HHIU36JR.mjs";
|
|
64
64
|
import {
|
|
65
65
|
isRecord
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-NWAG7YWU.mjs";
|
|
67
67
|
import {
|
|
68
68
|
__publicField
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-4LW6LZ6Z.mjs";
|
|
70
70
|
|
|
71
71
|
// src/swift-compile.ts
|
|
72
72
|
import {
|
|
@@ -13383,7 +13383,7 @@ async function compileGuestLink(options) {
|
|
|
13383
13383
|
};
|
|
13384
13384
|
const sdk = options.sdkImage;
|
|
13385
13385
|
const sdkCallers = sdk?.sdkInterface.guestCallers;
|
|
13386
|
-
const sdkObjects = sdk ? (await import("./swift-sdk-image-
|
|
13386
|
+
const sdkObjects = sdk ? (await import("./swift-sdk-image-KNCQQOMT.mjs")).readSwiftSdkManifestIndex(sdk).guestObjects : void 0;
|
|
13387
13387
|
if (sdk && (!sdkCallers || !sdkObjects))
|
|
13388
13388
|
throw new Error("the SDK image has no guest link manifest");
|
|
13389
13389
|
const result = linkPrunedGuestImages({
|
|
@@ -13670,7 +13670,7 @@ async function compileGuestLink(options) {
|
|
|
13670
13670
|
finishSwiftAppModule,
|
|
13671
13671
|
linkSwiftAppModule,
|
|
13672
13672
|
readSwiftSdkUsage
|
|
13673
|
-
} = await import("./swift-sdk-app-module-
|
|
13673
|
+
} = await import("./swift-sdk-app-module-XYSH4J23.mjs");
|
|
13674
13674
|
const project = options.project;
|
|
13675
13675
|
const work = project ? mkdtempSync2(path24.join(directory, "app-module-")) : path24.join(directory, "app-module");
|
|
13676
13676
|
if (project) chownSync(work, project.uid, project.gid);
|
|
@@ -20727,7 +20727,7 @@ async function compileSwiftProjectOnce(sources, options) {
|
|
|
20727
20727
|
const distribution = swiftDistributionAt(moduleRoot);
|
|
20728
20728
|
const mirrorDistribution = options.linkOnly || options.project ? null : distribution;
|
|
20729
20729
|
if (distribution) refreshSwiftCacheHold(moduleRoot);
|
|
20730
|
-
const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-
|
|
20730
|
+
const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-W7ES3LDK.mjs")).useSwiftPackagePrebuilts(
|
|
20731
20731
|
sources,
|
|
20732
20732
|
moduleRoot,
|
|
20733
20733
|
options.toolchainBin
|
|
@@ -20741,7 +20741,7 @@ async function compileSwiftProjectOnce(sources, options) {
|
|
|
20741
20741
|
multi: compileTargets(input).length > 0
|
|
20742
20742
|
};
|
|
20743
20743
|
const sdkModule = options.sdkModule && !options.linkOnly;
|
|
20744
|
-
const sdkImage = sdkModule ? await (await import("./swift-sdk-image-
|
|
20744
|
+
const sdkImage = sdkModule ? await (await import("./swift-sdk-image-KNCQQOMT.mjs")).buildSwiftSdkImage(
|
|
20745
20745
|
moduleRoot,
|
|
20746
20746
|
!!guestGraph,
|
|
20747
20747
|
distribution ? [] : linkedFrameworkTargets(moduleRoot, input).imports,
|
|
@@ -21366,7 +21366,7 @@ sdk module ${sdkImage.key}`).digest("hex") : sourceHash;
|
|
|
21366
21366
|
if (sdkImage && binding)
|
|
21367
21367
|
sdkAsset = { key: sdkImage.key, sha256: sdkImage.sha256, binding };
|
|
21368
21368
|
} else if (sdkImage) {
|
|
21369
|
-
const { buildSwiftAppModule } = await import("./swift-sdk-app-module-
|
|
21369
|
+
const { buildSwiftAppModule } = await import("./swift-sdk-app-module-XYSH4J23.mjs");
|
|
21370
21370
|
const binding = await buildSwiftAppModule({
|
|
21371
21371
|
buildRoot: root,
|
|
21372
21372
|
toolchainBin: options.toolchainBin,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2483 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isSwiftImageVariants
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KK3WVSF7.mjs";
|
|
5
5
|
import {
|
|
6
6
|
findBundleFooter
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-JNWWQ6IK.mjs";
|
|
8
8
|
import {
|
|
9
9
|
isRecord
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NWAG7YWU.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.2483 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
swiftModuleToolchain
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UTFTGMVS.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-NZ4SCX34.mjs";
|
|
34
34
|
import {
|
|
35
35
|
SWIFT_WASM_TRIPLE,
|
|
36
36
|
sourceSwiftCheckout,
|
|
37
37
|
swiftCacheDir,
|
|
38
38
|
withSwiftRootLock
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-74BYI5ME.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-DC6U6VUF.mjs");
|
|
195
195
|
await produceSwiftSdkImage({
|
|
196
196
|
moduleRoot,
|
|
197
197
|
key,
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2483 | (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-4PY2AMHM.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-NZ4SCX34.mjs";
|
|
13
13
|
import {
|
|
14
14
|
SWIFT_WASM_TRIPLE,
|
|
15
15
|
registerSwiftHostCompiler,
|
|
16
16
|
swiftCompiler,
|
|
17
17
|
swiftToolchain
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-74BYI5ME.mjs";
|
|
19
19
|
import {
|
|
20
20
|
isRecord
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-NWAG7YWU.mjs";
|
|
22
22
|
|
|
23
23
|
// src/swift-distribution.ts
|
|
24
24
|
import fs2 from "node:fs";
|
package/dist-lib/esm-chunks/{metro-layout-parser-OPFP36W3.mjs → metro-layout-parser-ONZA2XYW.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
2
|
-
import "./chunk-
|
|
1
|
+
/*! peach v0.1.2483 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "./chunk-4LW6LZ6Z.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-5IUVEQ5U.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.2483 | (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-NZ4SCX34.mjs";
|
|
10
|
+
import "./chunk-74BYI5ME.mjs";
|
|
11
11
|
import {
|
|
12
12
|
SWIFT_REMOTE_PACKAGES_DIR
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-DV6RVJXG.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-3XA33ML6.mjs";
|
|
17
|
+
import "./chunk-KK3WVSF7.mjs";
|
|
18
|
+
import "./chunk-HHIU36JR.mjs";
|
|
19
|
+
import "./chunk-UETKYQXI.mjs";
|
|
20
|
+
import "./chunk-NWAG7YWU.mjs";
|
|
21
|
+
import "./chunk-4LW6LZ6Z.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-XYSH4J23.mjs}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2483 | (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-REMZIJ6Q.mjs";
|
|
9
|
+
import "./chunk-UTFTGMVS.mjs";
|
|
10
|
+
import "./chunk-4PY2AMHM.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-NZ4SCX34.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-74BYI5ME.mjs";
|
|
41
|
+
import "./chunk-DV6RVJXG.mjs";
|
|
42
|
+
import "./chunk-3XA33ML6.mjs";
|
|
43
|
+
import "./chunk-KK3WVSF7.mjs";
|
|
44
|
+
import "./chunk-HHIU36JR.mjs";
|
|
45
|
+
import "./chunk-UETKYQXI.mjs";
|
|
46
|
+
import "./chunk-NWAG7YWU.mjs";
|
|
47
|
+
import "./chunk-4LW6LZ6Z.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.2483 | (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-REMZIJ6Q.mjs";
|
|
19
|
+
import "./chunk-UTFTGMVS.mjs";
|
|
20
|
+
import "./chunk-4PY2AMHM.mjs";
|
|
21
|
+
import "./chunk-NZ4SCX34.mjs";
|
|
22
|
+
import "./chunk-74BYI5ME.mjs";
|
|
23
|
+
import "./chunk-DV6RVJXG.mjs";
|
|
24
|
+
import "./chunk-3XA33ML6.mjs";
|
|
25
|
+
import "./chunk-KK3WVSF7.mjs";
|
|
26
|
+
import "./chunk-HHIU36JR.mjs";
|
|
27
|
+
import "./chunk-UETKYQXI.mjs";
|
|
28
|
+
import "./chunk-NWAG7YWU.mjs";
|
|
29
|
+
import "./chunk-4LW6LZ6Z.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.2483 | (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-74BYI5ME.mjs";
|
|
7
7
|
import {
|
|
8
8
|
isRecord
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-NWAG7YWU.mjs";
|
|
10
|
+
import "./chunk-4LW6LZ6Z.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.2483 | (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 ? "f9671a1c1eddca137b78f44455f0e3f062609c1fae0e7694d60d1eafc2bf55d1" : 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.2483 | (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.2483 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isSwiftResourcePath
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-DV6RVJXG.mjs";
|
|
5
5
|
import {
|
|
6
6
|
isNativeAppIdentity
|
|
7
|
-
} from "./esm-chunks/chunk-
|
|
8
|
-
import "./esm-chunks/chunk-
|
|
7
|
+
} from "./esm-chunks/chunk-QQJEXO33.mjs";
|
|
8
|
+
import "./esm-chunks/chunk-KK3WVSF7.mjs";
|
|
9
9
|
import {
|
|
10
10
|
insertBundleGlobalFooter,
|
|
11
11
|
readBundleGlobalFooter
|
|
12
|
-
} from "./esm-chunks/chunk-
|
|
12
|
+
} from "./esm-chunks/chunk-JNWWQ6IK.mjs";
|
|
13
13
|
import {
|
|
14
14
|
isRecord
|
|
15
|
-
} from "./esm-chunks/chunk-
|
|
16
|
-
import "./esm-chunks/chunk-
|
|
15
|
+
} from "./esm-chunks/chunk-NWAG7YWU.mjs";
|
|
16
|
+
import "./esm-chunks/chunk-4LW6LZ6Z.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.2483 | (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.2483 | (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: "9dda127e78522f05b54bc95961690c19bc971c4c3cbc27d560808da72d9642f1", file: "node/cli-9dda127e78522f05b54bc95961690c19bc971c4c3cbc27d560808da72d9642f1.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 ? "f9671a1c1eddca137b78f44455f0e3f062609c1fae0e7694d60d1eafc2bf55d1" : 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();
|