peachsim 0.1.2567 → 0.1.2568
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/cli/commands/login.ts +25 -3
- 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 +6 -6
- 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-T7YHKKTA.mjs → acorn-NBSUHIIK.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-MLNLWTQ4.mjs → chunk-3WYC2MFA.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-TO5CGUCB.mjs → chunk-46H2UWDM.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-KIVEUIH6.mjs → chunk-6PQHZAWR.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-KFYRPGA7.mjs → chunk-AGZH4PRD.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-CQF6QBF4.mjs → chunk-CJZPW57C.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-SWXK4DCF.mjs → chunk-D4IOJBAQ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-WFHGM56W.mjs → chunk-DDE6A6ID.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-S4ILTSHU.mjs → chunk-E2GCX6VF.mjs} +13 -13
- package/dist-lib/esm-chunks/{chunk-4WB5MYZK.mjs → chunk-FSGWSAEC.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-JQ6UZ3VQ.mjs → chunk-GOI7ZDIK.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-3IGU77CU.mjs → chunk-KDHU7QSN.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-IUZV2QFS.mjs → chunk-KF2EXOW6.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-MHBGSDCW.mjs → chunk-LMZUXCDJ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-XBACEBHO.mjs → chunk-OTSQ5IK6.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-RKIDRF75.mjs → chunk-QMXXFOOH.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-YUCUQLXS.mjs → chunk-R7N6XMYT.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-D7JZ6LCH.mjs → chunk-RJL2J4FZ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-YOYB5CUH.mjs → chunk-SFKTIJY6.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-FRSQ7MNU.mjs → chunk-VADUFN2P.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-ZT5X25PU.mjs → chunk-WVVN6VKY.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-HPTFLXNS.mjs → chunk-XJTY4I2K.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-EYNUEBZS.mjs → chunk-YAO74TBM.mjs} +1 -1
- package/dist-lib/esm-chunks/{metro-layout-parser-HKVS23KL.mjs → metro-layout-parser-PMITIC6E.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-IXPE5QKE.mjs → swift-package-prebuilt-3XQZC6HL.mjs} +10 -10
- package/dist-lib/esm-chunks/{swift-sdk-app-module-MFYSYZV7.mjs → swift-sdk-app-module-XWVIQQE6.mjs} +14 -14
- package/dist-lib/esm-chunks/{swift-sdk-image-ELK3I3RE.mjs → swift-sdk-image-TYPSLB2K.mjs} +14 -14
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-5PGLTLYT.mjs → swift-sdk-image-producer-TXBWSQQU.mjs} +4 -4
- package/dist-lib/expo-swift-bundle.cjs +5 -5
- 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 +24 -42
- package/dist-lib/host/fetch-proxy-handler.cjs +5 -5
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +2 -2
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +3 -3
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +3 -3
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +4 -4
- package/dist-lib/native-app-identity-project.cjs +3 -3
- package/dist-lib/native-app-identity-project.mjs +17 -17
- 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 +43 -46
- package/dist-lib/swift-compile.cjs +2 -2
- 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 +8 -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-source.ts +22 -46
- package/src/swift-toolchain.ts +6 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2568 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isSwiftImageVariants
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-R7N6XMYT.mjs";
|
|
5
5
|
import {
|
|
6
6
|
findBundleFooter
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LMZUXCDJ.mjs";
|
|
8
8
|
import {
|
|
9
9
|
isRecord
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-D4IOJBAQ.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.2568 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
swiftModuleToolchain
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CJZPW57C.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-E2GCX6VF.mjs";
|
|
35
35
|
import {
|
|
36
36
|
SWIFT_WASM_TRIPLE,
|
|
37
37
|
sourceSwiftCheckout,
|
|
38
38
|
swiftCacheDir,
|
|
39
39
|
withSwiftRootLock
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-3WYC2MFA.mjs";
|
|
41
41
|
|
|
42
42
|
// src/swift-sdk-image.ts
|
|
43
43
|
import { execFile } from "node:child_process";
|
|
@@ -192,7 +192,7 @@ async function buildSwiftSdkImage(moduleRoot, scopedLookups = false, frameworkIm
|
|
|
192
192
|
const existing = cached(directory, key);
|
|
193
193
|
if (existing) return existing;
|
|
194
194
|
if (!options?.producer && !swiftDistributionAt(moduleRoot) && path.resolve(moduleRoot) === sourceSwiftCheckout() && process.platform === "linux" && process.env.TM_SESSION) {
|
|
195
|
-
const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-
|
|
195
|
+
const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-TXBWSQQU.mjs");
|
|
196
196
|
await produceSwiftSdkImage({
|
|
197
197
|
moduleRoot,
|
|
198
198
|
key,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2568 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SIM_LONG_PRESS_MAX_MS
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-6PQHZAWR.mjs";
|
|
5
5
|
import {
|
|
6
6
|
isRecord
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-D4IOJBAQ.mjs";
|
|
8
8
|
|
|
9
9
|
// ../peach-globals/src/globalsContract.ts
|
|
10
10
|
var LEGACY_ALIAS_MARKER = Symbol.for("sootsim.legacy-aliases-installed");
|
package/dist-lib/esm-chunks/{metro-layout-parser-HKVS23KL.mjs → metro-layout-parser-PMITIC6E.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
2
|
-
import "./chunk-
|
|
1
|
+
/*! peach v0.1.2568 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "./chunk-KDHU7QSN.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-NBSUHIIK.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.2568 | (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-E2GCX6VF.mjs";
|
|
10
|
+
import "./chunk-3WYC2MFA.mjs";
|
|
11
11
|
import {
|
|
12
12
|
SWIFT_REMOTE_PACKAGES_DIR
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-XJTY4I2K.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-RJL2J4FZ.mjs";
|
|
17
|
+
import "./chunk-R7N6XMYT.mjs";
|
|
18
|
+
import "./chunk-VADUFN2P.mjs";
|
|
19
|
+
import "./chunk-FSGWSAEC.mjs";
|
|
20
|
+
import "./chunk-D4IOJBAQ.mjs";
|
|
21
|
+
import "./chunk-KDHU7QSN.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-MFYSYZV7.mjs → swift-sdk-app-module-XWVIQQE6.mjs}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2568 | (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-QMXXFOOH.mjs";
|
|
9
|
+
import "./chunk-CJZPW57C.mjs";
|
|
10
|
+
import "./chunk-AGZH4PRD.mjs";
|
|
11
|
+
import "./chunk-DDE6A6ID.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-E2GCX6VF.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-3WYC2MFA.mjs";
|
|
43
|
+
import "./chunk-XJTY4I2K.mjs";
|
|
44
|
+
import "./chunk-RJL2J4FZ.mjs";
|
|
45
|
+
import "./chunk-R7N6XMYT.mjs";
|
|
46
|
+
import "./chunk-VADUFN2P.mjs";
|
|
47
|
+
import "./chunk-FSGWSAEC.mjs";
|
|
48
|
+
import "./chunk-D4IOJBAQ.mjs";
|
|
49
|
+
import "./chunk-KDHU7QSN.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.2568 | (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-QMXXFOOH.mjs";
|
|
19
|
+
import "./chunk-CJZPW57C.mjs";
|
|
20
|
+
import "./chunk-AGZH4PRD.mjs";
|
|
21
|
+
import "./chunk-DDE6A6ID.mjs";
|
|
22
|
+
import "./chunk-E2GCX6VF.mjs";
|
|
23
|
+
import "./chunk-3WYC2MFA.mjs";
|
|
24
|
+
import "./chunk-XJTY4I2K.mjs";
|
|
25
|
+
import "./chunk-RJL2J4FZ.mjs";
|
|
26
|
+
import "./chunk-R7N6XMYT.mjs";
|
|
27
|
+
import "./chunk-VADUFN2P.mjs";
|
|
28
|
+
import "./chunk-FSGWSAEC.mjs";
|
|
29
|
+
import "./chunk-D4IOJBAQ.mjs";
|
|
30
|
+
import "./chunk-KDHU7QSN.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.2568 | (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-3WYC2MFA.mjs";
|
|
7
7
|
import {
|
|
8
8
|
isRecord
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-D4IOJBAQ.mjs";
|
|
10
|
+
import "./chunk-KDHU7QSN.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.2568 | (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;
|
|
@@ -26243,13 +26243,13 @@ var init_swift_standin_digest = __esm({
|
|
|
26243
26243
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
26244
26244
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
26245
26245
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
26246
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
26246
|
+
STANDIN_SOURCE_DIGEST = true ? "cf234a652a7b678aaa3eed2f106640dd60ccd73d01acf2293db0cd7b8c6c28ef" : standinSourceDigest();
|
|
26247
26247
|
}
|
|
26248
26248
|
});
|
|
26249
26249
|
|
|
26250
26250
|
// src/expo-native-compiler-digest.ts
|
|
26251
26251
|
function expoNativeCompilerDigestValue() {
|
|
26252
|
-
return true ? "
|
|
26252
|
+
return true ? "fbf410aad481c60f5bfade2371ed1989fb28df32e42e7a6b6b69c12cfd520e36" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
26253
26253
|
}
|
|
26254
26254
|
var import_node_crypto17;
|
|
26255
26255
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -52329,7 +52329,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
52329
52329
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
52330
52330
|
MULTI_MANIFEST_VERSION = 76;
|
|
52331
52331
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
52332
|
-
compilerSourceDigest = true ? "
|
|
52332
|
+
compilerSourceDigest = true ? "83489e203dbf7ea0274a38746fe8fb675705f5913daa900e2b93795c3b198764" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
52333
52333
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
52334
52334
|
MODULE_MAP_RESPONSE_FILE_RUN = 16;
|
|
52335
52335
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
@@ -64887,7 +64887,7 @@ var init_provenance = __esm({
|
|
|
64887
64887
|
import_node_crypto48 = require("node:crypto");
|
|
64888
64888
|
import_node_fs82 = require("node:fs");
|
|
64889
64889
|
import_node_path82 = require("node:path");
|
|
64890
|
-
swiftCoverageProvenance = true ? JSON.parse('{"swift-coverage/indexdump.ts":"0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412","swift-coverage/indexing.ts":"633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272","swift-coverage/types.ts":"bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1","swift-coverage/source.ts":"c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee","swift-coverage/package.ts":"1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b","swift-coverage/xcode.ts":"d6a3228567a46c6d5280895383093889d9b868958a117881061bdd74729a225f","swift-coverage/xcode-assets.ts":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"5c83f56357d880243ab485b260d23abd0094583ffa2287dac6e9e7eb18c3673d","swift-coverage/xcode-strings.ts":"facdbeb9de6bb12da4ab4954553edfaadd0e486f1181443138be70c3d8396236","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"c64b677c93e48d61c71b371d887e9db8506c32ef968ed50d9468de1f67fe5d8d","swift-package.ts":"05c6cf101fbc944f6684a70db0a9c5aede846b2f0482a6b4a5a0abed737d4658","swift-source-file.ts":"8becce5e73b76a61d9d202c1ecfb39b1238e9bbf0e77841f1c51c98fa9ac7bd3","swift-toolchain.ts":"
|
|
64890
|
+
swiftCoverageProvenance = true ? JSON.parse('{"swift-coverage/indexdump.ts":"0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412","swift-coverage/indexing.ts":"633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272","swift-coverage/types.ts":"bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1","swift-coverage/source.ts":"c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee","swift-coverage/package.ts":"1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b","swift-coverage/xcode.ts":"d6a3228567a46c6d5280895383093889d9b868958a117881061bdd74729a225f","swift-coverage/xcode-assets.ts":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"5c83f56357d880243ab485b260d23abd0094583ffa2287dac6e9e7eb18c3673d","swift-coverage/xcode-strings.ts":"facdbeb9de6bb12da4ab4954553edfaadd0e486f1181443138be70c3d8396236","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"c64b677c93e48d61c71b371d887e9db8506c32ef968ed50d9468de1f67fe5d8d","swift-package.ts":"05c6cf101fbc944f6684a70db0a9c5aede846b2f0482a6b4a5a0abed737d4658","swift-source-file.ts":"8becce5e73b76a61d9d202c1ecfb39b1238e9bbf0e77841f1c51c98fa9ac7bd3","swift-toolchain.ts":"7834aed270abe62cad02cd386c39511e3cd6385a4cd6f9cd6b2e73f0668d6411","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"c72b724fc497e4cf603c355f86eb3c07c929ad299758cffbc6ff88ed241654c6","xcode-project.ts":"81f36daeda9ac5c81a5631fdcab42fb12d09a74705915b8861f404d0db2e01c5","xcode-target-members.ts":"96f6a9f5567a4fbd9806252229b35b9a451a112b20f70f8c20189ffd428815fd","xcode-json-project.ts":"41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6","openstep-plist.ts":"da11f86885ef1e25979ad989f332195c113c4b7a43f108e8d36646973430b81b"}') : swiftCoverageSourceDigests((0, import_node_path82.join)(__sootsim_import_meta_dirname, ".."));
|
|
64891
64891
|
}
|
|
64892
64892
|
});
|
|
64893
64893
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2568 | (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.2568 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isSwiftResourcePath
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-XJTY4I2K.mjs";
|
|
5
5
|
import {
|
|
6
6
|
isNativeAppIdentity
|
|
7
|
-
} from "./esm-chunks/chunk-
|
|
8
|
-
import "./esm-chunks/chunk-
|
|
7
|
+
} from "./esm-chunks/chunk-OTSQ5IK6.mjs";
|
|
8
|
+
import "./esm-chunks/chunk-R7N6XMYT.mjs";
|
|
9
9
|
import {
|
|
10
10
|
insertBundleGlobalFooter,
|
|
11
11
|
readBundleGlobalFooter
|
|
12
|
-
} from "./esm-chunks/chunk-
|
|
12
|
+
} from "./esm-chunks/chunk-LMZUXCDJ.mjs";
|
|
13
13
|
import {
|
|
14
14
|
isRecord
|
|
15
|
-
} from "./esm-chunks/chunk-
|
|
16
|
-
import "./esm-chunks/chunk-
|
|
15
|
+
} from "./esm-chunks/chunk-D4IOJBAQ.mjs";
|
|
16
|
+
import "./esm-chunks/chunk-KDHU7QSN.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.2568 | (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.2568 | (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;
|
|
@@ -5716,13 +5716,13 @@ var init_swift_standin_digest = __esm({
|
|
|
5716
5716
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
5717
5717
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
5718
5718
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
5719
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
5719
|
+
STANDIN_SOURCE_DIGEST = true ? "cf234a652a7b678aaa3eed2f106640dd60ccd73d01acf2293db0cd7b8c6c28ef" : standinSourceDigest();
|
|
5720
5720
|
}
|
|
5721
5721
|
});
|
|
5722
5722
|
|
|
5723
5723
|
// src/expo-native-compiler-digest.ts
|
|
5724
5724
|
function expoNativeCompilerDigestValue() {
|
|
5725
|
-
return true ? "
|
|
5725
|
+
return true ? "fbf410aad481c60f5bfade2371ed1989fb28df32e42e7a6b6b69c12cfd520e36" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
5726
5726
|
}
|
|
5727
5727
|
var import_node_crypto11;
|
|
5728
5728
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -13152,6 +13152,11 @@ function privateSwiftDistributionRoot() {
|
|
|
13152
13152
|
const root = process.env[SWIFT_PRIVATE_DISTRIBUTION_ENV]?.trim();
|
|
13153
13153
|
return root ? import_node_path33.default.resolve(root) : null;
|
|
13154
13154
|
}
|
|
13155
|
+
function localSwiftModuleRoot() {
|
|
13156
|
+
if (privateSwiftDistributionRoot()) return void 0;
|
|
13157
|
+
const root = import_node_path33.default.resolve(peachsimPackageRoot(), "../sootsim-swift");
|
|
13158
|
+
return import_node_fs35.default.existsSync(import_node_path33.default.join(root, "toolchain.json")) ? root : void 0;
|
|
13159
|
+
}
|
|
13155
13160
|
function privateSwiftCompilerRelease() {
|
|
13156
13161
|
return process.env.PEACH_SWIFT_PRIVATE_COMPILER_RELEASE?.trim() || null;
|
|
13157
13162
|
}
|
|
@@ -58079,7 +58084,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
58079
58084
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
58080
58085
|
MULTI_MANIFEST_VERSION = 76;
|
|
58081
58086
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
58082
|
-
compilerSourceDigest = true ? "
|
|
58087
|
+
compilerSourceDigest = true ? "83489e203dbf7ea0274a38746fe8fb675705f5913daa900e2b93795c3b198764" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
58083
58088
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
58084
58089
|
MODULE_MAP_RESPONSE_FILE_RUN = 16;
|
|
58085
58090
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
@@ -70708,7 +70713,7 @@ var init_provenance = __esm({
|
|
|
70708
70713
|
import_node_crypto53 = require("node:crypto");
|
|
70709
70714
|
import_node_fs93 = require("node:fs");
|
|
70710
70715
|
import_node_path95 = require("node:path");
|
|
70711
|
-
swiftCoverageProvenance = true ? JSON.parse('{"swift-coverage/indexdump.ts":"0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412","swift-coverage/indexing.ts":"633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272","swift-coverage/types.ts":"bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1","swift-coverage/source.ts":"c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee","swift-coverage/package.ts":"1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b","swift-coverage/xcode.ts":"d6a3228567a46c6d5280895383093889d9b868958a117881061bdd74729a225f","swift-coverage/xcode-assets.ts":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"5c83f56357d880243ab485b260d23abd0094583ffa2287dac6e9e7eb18c3673d","swift-coverage/xcode-strings.ts":"facdbeb9de6bb12da4ab4954553edfaadd0e486f1181443138be70c3d8396236","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"c64b677c93e48d61c71b371d887e9db8506c32ef968ed50d9468de1f67fe5d8d","swift-package.ts":"05c6cf101fbc944f6684a70db0a9c5aede846b2f0482a6b4a5a0abed737d4658","swift-source-file.ts":"8becce5e73b76a61d9d202c1ecfb39b1238e9bbf0e77841f1c51c98fa9ac7bd3","swift-toolchain.ts":"
|
|
70716
|
+
swiftCoverageProvenance = true ? JSON.parse('{"swift-coverage/indexdump.ts":"0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412","swift-coverage/indexing.ts":"633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272","swift-coverage/types.ts":"bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1","swift-coverage/source.ts":"c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee","swift-coverage/package.ts":"1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b","swift-coverage/xcode.ts":"d6a3228567a46c6d5280895383093889d9b868958a117881061bdd74729a225f","swift-coverage/xcode-assets.ts":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"5c83f56357d880243ab485b260d23abd0094583ffa2287dac6e9e7eb18c3673d","swift-coverage/xcode-strings.ts":"facdbeb9de6bb12da4ab4954553edfaadd0e486f1181443138be70c3d8396236","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"c64b677c93e48d61c71b371d887e9db8506c32ef968ed50d9468de1f67fe5d8d","swift-package.ts":"05c6cf101fbc944f6684a70db0a9c5aede846b2f0482a6b4a5a0abed737d4658","swift-source-file.ts":"8becce5e73b76a61d9d202c1ecfb39b1238e9bbf0e77841f1c51c98fa9ac7bd3","swift-toolchain.ts":"7834aed270abe62cad02cd386c39511e3cd6385a4cd6f9cd6b2e73f0668d6411","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"c72b724fc497e4cf603c355f86eb3c07c929ad299758cffbc6ff88ed241654c6","xcode-project.ts":"81f36daeda9ac5c81a5631fdcab42fb12d09a74705915b8861f404d0db2e01c5","xcode-target-members.ts":"96f6a9f5567a4fbd9806252229b35b9a451a112b20f70f8c20189ffd428815fd","xcode-json-project.ts":"41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6","openstep-plist.ts":"da11f86885ef1e25979ad989f332195c113c4b7a43f108e8d36646973430b81b"}') : swiftCoverageSourceDigests((0, import_node_path95.join)(__sootsim_import_meta_dirname, ".."));
|
|
70712
70717
|
}
|
|
70713
70718
|
});
|
|
70714
70719
|
|
|
@@ -116393,18 +116398,11 @@ __export(one_native_source_exports, {
|
|
|
116393
116398
|
handleOneNativeSourceRequest: () => handleOneNativeSourceRequest,
|
|
116394
116399
|
handleOneNativeSourceUpgrade: () => handleOneNativeSourceUpgrade
|
|
116395
116400
|
});
|
|
116396
|
-
function
|
|
116397
|
-
if (privateSwiftDistributionRoot()) return void 0;
|
|
116398
|
-
const root = import_node_path160.default.resolve(
|
|
116399
|
-
import_node_path160.default.dirname((0, import_node_url9.fileURLToPath)(__sootsim_import_meta_url)),
|
|
116400
|
-
"../../sootsim-swift"
|
|
116401
|
-
);
|
|
116402
|
-
return import_node_fs160.default.existsSync(import_node_path160.default.join(root, "toolchain.json")) ? root : void 0;
|
|
116403
|
-
}
|
|
116404
|
-
function appFor(url, origin) {
|
|
116401
|
+
function appFor(url, origin, allowRootless) {
|
|
116405
116402
|
const requested = url.searchParams.get("root");
|
|
116406
|
-
if (
|
|
116407
|
-
|
|
116403
|
+
if (requested === null ? !allowRootless : !import_node_path160.default.isAbsolute(requested) || !import_node_fs160.default.existsSync(requested))
|
|
116404
|
+
return null;
|
|
116405
|
+
const root = requested === null ? "" : import_node_fs160.default.realpathSync(requested);
|
|
116408
116406
|
let app = apps.get(root);
|
|
116409
116407
|
if (!app) {
|
|
116410
116408
|
app = {
|
|
@@ -116415,6 +116413,8 @@ function appFor(url, origin) {
|
|
|
116415
116413
|
active: /* @__PURE__ */ new Map()
|
|
116416
116414
|
};
|
|
116417
116415
|
apps.set(root, app);
|
|
116416
|
+
} else if (!root) {
|
|
116417
|
+
app.origin = origin;
|
|
116418
116418
|
}
|
|
116419
116419
|
return app;
|
|
116420
116420
|
}
|
|
@@ -116440,14 +116440,14 @@ async function swiftPackages2(root) {
|
|
|
116440
116440
|
async function packageMetadata(app, packageName2) {
|
|
116441
116441
|
const builtinControls = packageName2 === ONE_NATIVE_CONTROLS_PACKAGE ? await oneNativeControlsPackage(app.root || void 0) : null;
|
|
116442
116442
|
const widget = !builtinControls && packageName2 === ONE_WIDGET_PACKAGE ? await oneWidgetPackage(app.root) : null;
|
|
116443
|
-
if (!builtinControls
|
|
116443
|
+
if (!builtinControls) app.packages ??= await swiftPackages2(app.root);
|
|
116444
116444
|
if (widget && app.packages?.has(packageName2))
|
|
116445
116445
|
throw new Error(
|
|
116446
116446
|
`swift package ${packageName2} conflicts with One's generated widget extension`
|
|
116447
116447
|
);
|
|
116448
116448
|
const packagePath = builtinControls?.packagePath ?? widget?.packagePath ?? app.packages?.get(packageName2);
|
|
116449
116449
|
if (!packagePath) throw new Error(`swift package ${packageName2} was not found`);
|
|
116450
|
-
const moduleRoot =
|
|
116450
|
+
const moduleRoot = localSwiftModuleRoot();
|
|
116451
116451
|
const built2 = await swiftPackageMetadata(
|
|
116452
116452
|
packagePath,
|
|
116453
116453
|
packageName2,
|
|
@@ -116513,24 +116513,9 @@ async function handleOneNativeSourceRequest(req, res) {
|
|
|
116513
116513
|
}
|
|
116514
116514
|
res.setHeader("access-control-allow-origin", req.headers.origin ?? "*");
|
|
116515
116515
|
res.setHeader("vary", "origin");
|
|
116516
|
-
const
|
|
116516
|
+
const packageName2 = isSwift ? decodeURIComponent(url.pathname.slice(SWIFT_PACKAGE_PATH.length)) : null;
|
|
116517
116517
|
const origin = req.headers.host ? `http://${req.headers.host}` : null;
|
|
116518
|
-
const app = origin &&
|
|
116519
|
-
let shared = apps.get("");
|
|
116520
|
-
if (!shared) {
|
|
116521
|
-
shared = {
|
|
116522
|
-
root: "",
|
|
116523
|
-
origin,
|
|
116524
|
-
sockets: new import_ws2.WebSocketServer({ noServer: true }),
|
|
116525
|
-
watched: /* @__PURE__ */ new Set(),
|
|
116526
|
-
active: /* @__PURE__ */ new Map()
|
|
116527
|
-
};
|
|
116528
|
-
apps.set("", shared);
|
|
116529
|
-
} else {
|
|
116530
|
-
shared.origin = origin;
|
|
116531
|
-
}
|
|
116532
|
-
return shared;
|
|
116533
|
-
})() : null));
|
|
116518
|
+
const app = origin && appFor(url, origin, packageName2 === ONE_NATIVE_CONTROLS_PACKAGE);
|
|
116534
116519
|
if (!app) {
|
|
116535
116520
|
res.writeHead(400);
|
|
116536
116521
|
res.end("missing absolute app root");
|
|
@@ -116551,10 +116536,7 @@ async function handleOneNativeSourceRequest(req, res) {
|
|
|
116551
116536
|
res.end(JSON.stringify(widget));
|
|
116552
116537
|
return true;
|
|
116553
116538
|
}
|
|
116554
|
-
if (
|
|
116555
|
-
const packageName2 = decodeURIComponent(
|
|
116556
|
-
url.pathname.slice(SWIFT_PACKAGE_PATH.length)
|
|
116557
|
-
);
|
|
116539
|
+
if (packageName2 !== null) {
|
|
116558
116540
|
const metadata = await packageMetadata(app, packageName2);
|
|
116559
116541
|
const body = JSON.stringify(metadata);
|
|
116560
116542
|
const acceptsBrotli = req.headers["accept-encoding"]?.split(",").some((value) => {
|
|
@@ -116593,8 +116575,8 @@ async function handleOneNativeSourceRequest(req, res) {
|
|
|
116593
116575
|
function handleOneNativeSourceUpgrade(req, socket, head) {
|
|
116594
116576
|
const url = new URL(req.url ?? "/", "http://localhost");
|
|
116595
116577
|
if (url.pathname !== SWIFT_HMR_PATH) return false;
|
|
116596
|
-
const app = req.headers.host ? appFor(url, `http://${req.headers.host}
|
|
116597
|
-
if (!app
|
|
116578
|
+
const app = req.headers.host && loopbackClient(req) ? appFor(url, `http://${req.headers.host}`, true) : null;
|
|
116579
|
+
if (!app) {
|
|
116598
116580
|
socket.destroy();
|
|
116599
116581
|
return true;
|
|
116600
116582
|
}
|
|
@@ -118061,7 +118043,7 @@ var init_nitro_superset = __esm({
|
|
|
118061
118043
|
init_nitroContract();
|
|
118062
118044
|
init_swift_standin_digest();
|
|
118063
118045
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
118064
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
118046
|
+
NITRO_COMPILER_DIGEST = true ? "d53685e2a805f4ca7fa8bc398364bdb593c09e5c6a6ecb8c8d9c12e6cca38b2d" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
118065
118047
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
118066
118048
|
nitroSupersetKey = (inputs2) => nativeEntryKey({ ...inputs2, compiler: NITRO_COMPILER_DIGEST });
|
|
118067
118049
|
published3 = /* @__PURE__ */ new Map();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2568 | (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 ? "cf234a652a7b678aaa3eed2f106640dd60ccd73d01acf2293db0cd7b8c6c28ef" : 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 ? "fbf410aad481c60f5bfade2371ed1989fb28df32e42e7a6b6b69c12cfd520e36" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
999
999
|
}
|
|
1000
1000
|
var import_node_crypto6;
|
|
1001
1001
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -9694,7 +9694,7 @@ var init_swift_compile = __esm({
|
|
|
9694
9694
|
};
|
|
9695
9695
|
OPTIONAL_FRAMEWORKS = new Set(Object.keys(OPTIONAL_FRAMEWORK_DEPENDENCIES));
|
|
9696
9696
|
NON_IOS_MODULES = /* @__PURE__ */ new Set(["FoundationNetworking", "WASILibc"]);
|
|
9697
|
-
compilerSourceDigest = true ? "
|
|
9697
|
+
compilerSourceDigest = true ? "83489e203dbf7ea0274a38746fe8fb675705f5913daa900e2b93795c3b198764" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
9698
9698
|
NOT_ON_IOS = new RegExp(
|
|
9699
9699
|
`\\b(?:os\\(\\s*WASI\\s*\\)|canImport\\(\\s*(?:${[...NON_IOS_MODULES].join("|")})\\s*\\))`,
|
|
9700
9700
|
"g"
|
|
@@ -14037,7 +14037,7 @@ var init_provenance = __esm({
|
|
|
14037
14037
|
import_node_crypto44 = require("node:crypto");
|
|
14038
14038
|
import_node_fs78 = require("node:fs");
|
|
14039
14039
|
import_node_path80 = require("node:path");
|
|
14040
|
-
swiftCoverageProvenance = true ? JSON.parse('{"swift-coverage/indexdump.ts":"0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412","swift-coverage/indexing.ts":"633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272","swift-coverage/types.ts":"bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1","swift-coverage/source.ts":"c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee","swift-coverage/package.ts":"1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b","swift-coverage/xcode.ts":"d6a3228567a46c6d5280895383093889d9b868958a117881061bdd74729a225f","swift-coverage/xcode-assets.ts":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"5c83f56357d880243ab485b260d23abd0094583ffa2287dac6e9e7eb18c3673d","swift-coverage/xcode-strings.ts":"facdbeb9de6bb12da4ab4954553edfaadd0e486f1181443138be70c3d8396236","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"c64b677c93e48d61c71b371d887e9db8506c32ef968ed50d9468de1f67fe5d8d","swift-package.ts":"05c6cf101fbc944f6684a70db0a9c5aede846b2f0482a6b4a5a0abed737d4658","swift-source-file.ts":"8becce5e73b76a61d9d202c1ecfb39b1238e9bbf0e77841f1c51c98fa9ac7bd3","swift-toolchain.ts":"
|
|
14040
|
+
swiftCoverageProvenance = true ? JSON.parse('{"swift-coverage/indexdump.ts":"0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412","swift-coverage/indexing.ts":"633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272","swift-coverage/types.ts":"bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1","swift-coverage/source.ts":"c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee","swift-coverage/package.ts":"1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b","swift-coverage/xcode.ts":"d6a3228567a46c6d5280895383093889d9b868958a117881061bdd74729a225f","swift-coverage/xcode-assets.ts":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"5c83f56357d880243ab485b260d23abd0094583ffa2287dac6e9e7eb18c3673d","swift-coverage/xcode-strings.ts":"facdbeb9de6bb12da4ab4954553edfaadd0e486f1181443138be70c3d8396236","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"c64b677c93e48d61c71b371d887e9db8506c32ef968ed50d9468de1f67fe5d8d","swift-package.ts":"05c6cf101fbc944f6684a70db0a9c5aede846b2f0482a6b4a5a0abed737d4658","swift-source-file.ts":"8becce5e73b76a61d9d202c1ecfb39b1238e9bbf0e77841f1c51c98fa9ac7bd3","swift-toolchain.ts":"7834aed270abe62cad02cd386c39511e3cd6385a4cd6f9cd6b2e73f0668d6411","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"c72b724fc497e4cf603c355f86eb3c07c929ad299758cffbc6ff88ed241654c6","xcode-project.ts":"81f36daeda9ac5c81a5631fdcab42fb12d09a74705915b8861f404d0db2e01c5","xcode-target-members.ts":"96f6a9f5567a4fbd9806252229b35b9a451a112b20f70f8c20189ffd428815fd","xcode-json-project.ts":"41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6","openstep-plist.ts":"da11f86885ef1e25979ad989f332195c113c4b7a43f108e8d36646973430b81b"}') : swiftCoverageSourceDigests((0, import_node_path80.join)(__sootsim_import_meta_dirname, ".."));
|
|
14041
14041
|
}
|
|
14042
14042
|
});
|
|
14043
14043
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2568 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
2
|
-
import "../esm-chunks/chunk-
|
|
1
|
+
/*! peach v0.1.2568 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "../esm-chunks/chunk-KDHU7QSN.mjs";
|
|
3
3
|
|
|
4
4
|
// src/host/fetch-proxy-overrides.ts
|
|
5
5
|
var FETCH_PROXY_NATIVE_USER_AGENT_HEADER = "x-sootsim-native-user-agent";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2568 | (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.2568 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2568 | (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;
|