peachsim 0.1.783 → 0.1.785
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/control.ts +3 -1
- package/cli/outbound-endpoints.ts +2 -6
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/agent-identity.cjs +1 -1
- package/dist-lib/agent-sessions.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 +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cli-constants.cjs +1 -1
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +1 -1
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +1 -1
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +1 -1
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/detox/index.cjs +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +41 -10
- package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- 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/jump-to-source-babel.cjs +1 -1
- package/dist-lib/jump-to-source-native.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +1 -1
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +1 -1
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +1 -1
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/render-mode.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 +1 -1
- package/dist-lib/skills.cjs +42 -11
- package/dist-lib/swift-compile.cjs +1 -1
- package/dist-lib/swift-compile.mjs +1 -1
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +1 -1
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +1 -1
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +41 -10
- package/dist-lib/vite.cjs +1 -1
- package/package.json +1 -1
- package/src/swift-binary-modules.ts +5 -2
- package/src/swift-package-manifest.ts +3 -0
- package/src/swift-packages.ts +3 -0
- package/src/swift-standin-emit.ts +10 -2
- package/src/swift-standins.ts +32 -5
package/cli/commands/control.ts
CHANGED
|
@@ -208,6 +208,9 @@ export async function ensureBridgeForOpen(
|
|
|
208
208
|
): Promise<number> {
|
|
209
209
|
const lock = readDaemonLockfile()
|
|
210
210
|
assertExplicitBridgeLock(preferredPort, explicitPort, lock)
|
|
211
|
+
// a bridge that is already running (`peach serve`, the daemon) serves the
|
|
212
|
+
// active runtime but never installs one, so open installs it either way.
|
|
213
|
+
await ensureRuntimeForOpen()
|
|
211
214
|
const preferredWorld = worldForBridgePort(preferredPort)
|
|
212
215
|
// a closed port refuses at once, so this window only matters when something
|
|
213
216
|
// listens: a live bridge on a loaded machine can take longer than 250 ms to
|
|
@@ -237,7 +240,6 @@ export async function ensureBridgeForOpen(
|
|
|
237
240
|
)
|
|
238
241
|
}
|
|
239
242
|
|
|
240
|
-
await ensureRuntimeForOpen()
|
|
241
243
|
const child = spawnSootsim(['serve', '--quiet', '--port', String(preferredPort)])
|
|
242
244
|
if (resources) {
|
|
243
245
|
resources.bridge = child
|
|
@@ -449,7 +449,7 @@ export const DECLARED_OUTBOUND_CALLS: Record<string, OutboundCallDeclaration> =
|
|
|
449
449
|
},
|
|
450
450
|
'packages/peach-engine/src/engine/emoji-metrics-font-loader.ts :: fetch :: attemptedBundledUrl':
|
|
451
451
|
{ category: 'same_origin_runtime', count: 1 },
|
|
452
|
-
'packages/peach-engine/src/engine/language-font-
|
|
452
|
+
'packages/peach-engine/src/engine/language-font-resource.ts :: fetch :: url': {
|
|
453
453
|
category: 'same_origin_runtime',
|
|
454
454
|
count: 1,
|
|
455
455
|
},
|
|
@@ -466,7 +466,7 @@ export const DECLARED_OUTBOUND_CALLS: Record<string, OutboundCallDeclaration> =
|
|
|
466
466
|
category: 'same_origin_runtime',
|
|
467
467
|
count: 2,
|
|
468
468
|
},
|
|
469
|
-
'packages/peach-engine/src/ExternalApp.tsx :: fetch ::
|
|
469
|
+
'packages/peach-engine/src/ExternalApp.tsx :: fetch :: buildBrowserAssetProxyUrl(devServerUrl)':
|
|
470
470
|
{ category: 'guest_app_network', count: 1 },
|
|
471
471
|
'packages/peach-engine/src/ExternalApp.tsx :: fetch :: requestUrl': {
|
|
472
472
|
category: 'guest_app_network',
|
|
@@ -727,10 +727,6 @@ export const DECLARED_OUTBOUND_CALLS: Record<string, OutboundCallDeclaration> =
|
|
|
727
727
|
{ category: 'local_development', count: 1 },
|
|
728
728
|
'packages/peach-engine/src/engine/inspect-source-chain.ts :: fetch :: `${origin}/symbolicate`':
|
|
729
729
|
{ category: 'local_development', count: 1 },
|
|
730
|
-
'packages/peach-engine/src/engine/ios-cascade.ts :: fetch :: url': {
|
|
731
|
-
category: 'same_origin_runtime',
|
|
732
|
-
count: 1,
|
|
733
|
-
},
|
|
734
730
|
'packages/peach-engine/src/engine/text-hyphenation-en-us.ts :: xml-http-request :: <none>':
|
|
735
731
|
{ category: 'same_origin_runtime', count: 1 },
|
|
736
732
|
'packages/peach-engine/src/expo-swift-modules.tsx :: fetch :: address': {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/beta.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/beta.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/cloud.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/cloud.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
4
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
package/dist-lib/config.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/detox/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/home-paths.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -13311,7 +13311,7 @@ async function swiftBinaryModules(binary2) {
|
|
|
13311
13311
|
if (!binary2.url) return frameworkModules(localEntries(binary2.dir));
|
|
13312
13312
|
const cached3 = import_node_path13.default.join(
|
|
13313
13313
|
cacheDir2,
|
|
13314
|
-
`${(0, import_node_crypto5.createHash)("sha256").update(binary2.url).digest("hex").slice(0, 32)}.json`
|
|
13314
|
+
`${(0, import_node_crypto5.createHash)("sha256").update(`${binary2.url}\0${binary2.checksum ?? ""}`).digest("hex").slice(0, 32)}.json`
|
|
13315
13315
|
);
|
|
13316
13316
|
if (import_node_fs13.default.existsSync(cached3)) {
|
|
13317
13317
|
const value = JSON.parse(import_node_fs13.default.readFileSync(cached3, "utf8"));
|
|
@@ -13508,7 +13508,8 @@ function swiftPackageManifest(dir) {
|
|
|
13508
13508
|
languageMode,
|
|
13509
13509
|
mainActorIsolation,
|
|
13510
13510
|
declaresResources: array(target.resources).length > 0,
|
|
13511
|
-
url: string(target.url) ?? null
|
|
13511
|
+
url: string(target.url) ?? null,
|
|
13512
|
+
checksum: string(target.checksum) ?? null
|
|
13512
13513
|
});
|
|
13513
13514
|
}
|
|
13514
13515
|
const manifest = { dir, products, targets, packages };
|
|
@@ -13712,6 +13713,7 @@ function resolveSwiftPackages(options) {
|
|
|
13712
13713
|
target: name2,
|
|
13713
13714
|
source: pkg.source,
|
|
13714
13715
|
url: target.url,
|
|
13716
|
+
checksum: target.checksum,
|
|
13715
13717
|
dir: target.dir,
|
|
13716
13718
|
reached: false
|
|
13717
13719
|
});
|
|
@@ -13763,7 +13765,7 @@ var import_node_os7 = __toESM(require("node:os"), 1);
|
|
|
13763
13765
|
var import_node_path16 = __toESM(require("node:path"), 1);
|
|
13764
13766
|
|
|
13765
13767
|
// src/swift-standin-emit.ts
|
|
13766
|
-
var STANDIN_EMIT_VERSION = "
|
|
13768
|
+
var STANDIN_EMIT_VERSION = "3";
|
|
13767
13769
|
var TYPE_KINDS = /* @__PURE__ */ new Set([
|
|
13768
13770
|
"swift.class",
|
|
13769
13771
|
"swift.struct",
|
|
@@ -14110,6 +14112,11 @@ function emitSwiftStandin(graphs, options) {
|
|
|
14110
14112
|
`${indent}${shape.attrs}${open ? "open" : "public"} class ${shape.name}${shape.generics}${list2.length ? `: ${list2.join(", ")}` : ""}${selfConforming(shape.where)} {`
|
|
14111
14113
|
);
|
|
14112
14114
|
const members = membersOf(id);
|
|
14115
|
+
const extra = options.behavior?.get(path24)?.members;
|
|
14116
|
+
if (extra) {
|
|
14117
|
+
used.add(path24);
|
|
14118
|
+
emit(`${inner}${extra}`);
|
|
14119
|
+
}
|
|
14113
14120
|
for (const member of members)
|
|
14114
14121
|
emitMember(member, inner, {
|
|
14115
14122
|
openOwner: open,
|
|
@@ -14156,7 +14163,8 @@ function emitSwiftStandin(graphs, options) {
|
|
|
14156
14163
|
continue;
|
|
14157
14164
|
if (hasDefault.has(member.identifier.precise)) continue;
|
|
14158
14165
|
if (isObjC(member) && / async\b/.test(text(member))) continue;
|
|
14159
|
-
if (met(member) || member.kind.identifier === "swift.associatedtype")
|
|
14166
|
+
if (met(member) || member.kind.identifier === "swift.associatedtype")
|
|
14167
|
+
continue;
|
|
14160
14168
|
have.add(witnessKey(member));
|
|
14161
14169
|
have.add(sideLeaf(member));
|
|
14162
14170
|
emitWitness(member, inner, path24);
|
|
@@ -14525,7 +14533,10 @@ function locateXcframework(tree) {
|
|
|
14525
14533
|
function xcframework(binary2) {
|
|
14526
14534
|
if (!binary2.url && !binary2.dir.endsWith(".zip"))
|
|
14527
14535
|
return { dir: binary2.dir, digest: treeDigest(binary2.dir) };
|
|
14528
|
-
|
|
14536
|
+
if (binary2.url && (!binary2.checksum || !/^[a-f0-9]{64}$/i.test(binary2.checksum)))
|
|
14537
|
+
throw new Error("remote binary archive requires its Package.swift SHA-256 checksum");
|
|
14538
|
+
const expected = binary2.checksum?.toLowerCase();
|
|
14539
|
+
const dir = import_node_path16.default.join(cacheDir4, "archives", key(binary2.url ? expected : binary2.dir));
|
|
14529
14540
|
const archive = import_node_path16.default.join(dir, "archive.zip");
|
|
14530
14541
|
const fingerprint = import_node_path16.default.join(dir, ".fingerprint");
|
|
14531
14542
|
const stored = (() => {
|
|
@@ -14555,13 +14566,20 @@ function xcframework(binary2) {
|
|
|
14555
14566
|
return { dir: found2, digest: sha2 };
|
|
14556
14567
|
}
|
|
14557
14568
|
if (stored && import_node_fs16.default.existsSync(archive)) {
|
|
14569
|
+
const sha2 = (0, import_node_crypto7.createHash)("sha256").update(import_node_fs16.default.readFileSync(archive)).digest("hex");
|
|
14570
|
+
if (sha2 !== expected)
|
|
14571
|
+
throw new Error(`archive checksum ${sha2} is not the declared checksum ${expected}`);
|
|
14558
14572
|
const found2 = locateXcframework(import_node_path16.default.join(dir, "tree"));
|
|
14559
|
-
if (found2) return { dir: found2, digest:
|
|
14573
|
+
if (found2) return { dir: found2, digest: sha2 };
|
|
14560
14574
|
}
|
|
14561
14575
|
import_node_fs16.default.rmSync(dir, { recursive: true, force: true });
|
|
14562
14576
|
import_node_fs16.default.mkdirSync(import_node_path16.default.join(dir, "tree"), { recursive: true });
|
|
14563
14577
|
exec("curl", ["-fsSL", "--retry", "2", "-o", archive, binary2.url]);
|
|
14564
14578
|
const sha = (0, import_node_crypto7.createHash)("sha256").update(import_node_fs16.default.readFileSync(archive)).digest("hex");
|
|
14579
|
+
if (sha !== expected) {
|
|
14580
|
+
import_node_fs16.default.rmSync(dir, { recursive: true, force: true });
|
|
14581
|
+
throw new Error(`archive checksum ${sha} is not the declared checksum ${expected}`);
|
|
14582
|
+
}
|
|
14565
14583
|
exec("unzip", ["-q", archive, "-d", import_node_path16.default.join(dir, "tree")]);
|
|
14566
14584
|
import_node_fs16.default.writeFileSync(fingerprint, JSON.stringify({ sha }));
|
|
14567
14585
|
const found = locateXcframework(import_node_path16.default.join(dir, "tree"));
|
|
@@ -14818,7 +14836,13 @@ function splitDeclarators(statement, names) {
|
|
|
14818
14836
|
throw new Error(
|
|
14819
14837
|
`${names[0]} has an unexpected grouped declaration in ${JSON.stringify(statement.trim().slice(0, 80))}`
|
|
14820
14838
|
);
|
|
14821
|
-
let end =
|
|
14839
|
+
let end = -1;
|
|
14840
|
+
for (let at = 0; at < chunks[0].length; at++) {
|
|
14841
|
+
if (chunks[0].startsWith(names[0], at) && !identChar(chunks[0][at - 1]) && !identChar(chunks[0][at + names[0].length])) {
|
|
14842
|
+
end = at;
|
|
14843
|
+
break;
|
|
14844
|
+
}
|
|
14845
|
+
}
|
|
14822
14846
|
if (end < 0) throw new Error(`${names[0]} names no declarator in its own declaration`);
|
|
14823
14847
|
for (; ; ) {
|
|
14824
14848
|
while (end > 0 && /[\s*]/.test(chunks[0][end - 1])) end--;
|
|
@@ -14962,7 +14986,7 @@ var built = /* @__PURE__ */ new Map();
|
|
|
14962
14986
|
function standinGenerationInputs(binaries, toolchain) {
|
|
14963
14987
|
const { moduleRoot, toolchainBin, release } = toolchain;
|
|
14964
14988
|
const parts = [
|
|
14965
|
-
"standin/
|
|
14989
|
+
"standin/v3",
|
|
14966
14990
|
toolchainBin,
|
|
14967
14991
|
release,
|
|
14968
14992
|
swiftModuleSdk(moduleRoot).wasmSdkId,
|
|
@@ -14977,10 +15001,17 @@ function standinGenerationInputs(binaries, toolchain) {
|
|
|
14977
15001
|
binary2.target,
|
|
14978
15002
|
binary2.source,
|
|
14979
15003
|
binary2.url ?? "",
|
|
15004
|
+
binary2.checksum ?? "",
|
|
14980
15005
|
xcframework(binary2).digest
|
|
14981
15006
|
);
|
|
14982
15007
|
} catch {
|
|
14983
|
-
parts.push(
|
|
15008
|
+
parts.push(
|
|
15009
|
+
binary2.target,
|
|
15010
|
+
binary2.source,
|
|
15011
|
+
binary2.url ?? "",
|
|
15012
|
+
binary2.checksum ?? "",
|
|
15013
|
+
"unreadable"
|
|
15014
|
+
);
|
|
14984
15015
|
}
|
|
14985
15016
|
}
|
|
14986
15017
|
return (0, import_node_crypto7.createHash)("sha256").update(parts.join("\0")).digest("hex");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/kotlin-host.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/menu.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/menu.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/metro.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/plist.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/plist.mjs
CHANGED
package/dist-lib/profiles.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/render-mode.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/sdk.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/sdk.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.785 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
4
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|