peachsim 0.1.2591 → 0.1.2592
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 +3872 -3531
- 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-EMX4WZ72.mjs → acorn-67PU73QE.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-UYJXLDCG.mjs → chunk-5FTHILIE.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-JHXDM3YU.mjs → chunk-6DB5FR7S.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-EGKH2L6J.mjs → chunk-CF3MTPMY.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-MC6NMYWY.mjs → chunk-D4LYKRRB.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-QBMFX3J2.mjs → chunk-DFF5XZ5M.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-Q4NA6PUR.mjs → chunk-EHRSWFTD.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-4QHHRGO4.mjs → chunk-EITX573K.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-J676B57D.mjs → chunk-EWHA6X3Z.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-AKKHSVJ4.mjs → chunk-FYXXFYML.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-ILWFGZWW.mjs → chunk-GQ3EO2UV.mjs} +107 -6
- package/dist-lib/esm-chunks/{chunk-VD27WNCT.mjs → chunk-GY6TE4B4.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-NX23AMX4.mjs → chunk-KDI5YYQ6.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-VYZ5DC3M.mjs → chunk-L5T3HBPO.mjs} +792 -514
- package/dist-lib/esm-chunks/{chunk-7627LKJK.mjs → chunk-M4QLI2SY.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-UIVXVMS5.mjs → chunk-PITO2NI2.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-SOAYP72T.mjs → chunk-QSFWBVUO.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-TFG4LZ5T.mjs → chunk-R3WTQB5J.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-ZL5N6ENT.mjs → chunk-RV4ACE6R.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-YR6DNV76.mjs → chunk-SW4PSSTF.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-VF5WVB3D.mjs → chunk-TJZPNFVF.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-VRVXRZI4.mjs → chunk-XSQH4R5E.mjs} +48 -15
- package/dist-lib/esm-chunks/{chunk-RKQZGWX2.mjs → chunk-XZ3FX3HW.mjs} +1 -1
- package/dist-lib/esm-chunks/{metro-layout-parser-ANKZARNW.mjs → metro-layout-parser-EX65MARK.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-4N5CXBOZ.mjs → swift-package-prebuilt-3BPDQVA7.mjs} +10 -10
- package/dist-lib/esm-chunks/{swift-sdk-app-module-5IUSRXYA.mjs → swift-sdk-app-module-CRX6E3TR.mjs} +14 -14
- package/dist-lib/esm-chunks/{swift-sdk-image-7T2LMQS5.mjs → swift-sdk-image-EJD5TPQH.mjs} +14 -14
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-7QJ3BF6E.mjs → swift-sdk-image-producer-QAZOSLTZ.mjs} +4 -4
- package/dist-lib/expo-swift-bundle.cjs +3243 -2905
- 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 +5669 -4904
- package/dist-lib/host/fetch-proxy-handler.cjs +310 -298
- 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 +238 -223
- 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 +73 -71
- 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 +6291 -5526
- package/dist-lib/swift-compile.cjs +1051 -696
- 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 +12 -6
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
- package/dist-lib/vendor/@xmldom/xmldom.cjs +1 -1
- package/dist-lib/vendor/acorn.cjs +1 -1
- package/dist-lib/vendor/bplist-parser.cjs +1 -1
- package/dist-lib/vendor/ignore.cjs +1 -1
- package/dist-lib/vendor/magic-string.cjs +1 -1
- package/dist-lib/vendor/plist.cjs +1 -1
- package/dist-lib/vendor/smol-toml.cjs +1 -1
- package/dist-lib/vendor/stream-json.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
- package/dist-lib/vendor/sucrase.cjs +1 -1
- package/dist-lib/vendor/terser.cjs +1 -1
- package/dist-lib/vendor/valibot.cjs +1 -1
- package/dist-lib/vendor/ws.cjs +1 -1
- package/dist-lib/vendor/zod.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +3 -3
- package/dist-types/packages/peach-engine/src/engine/native-node-queries.d.ts +1 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/src/native-bundles.ts +2 -0
- package/src/one-native-controls-package.ts +141 -31
- package/src/one-sdk/source.ts +2 -1
- package/src/oneSdkContract.ts +13 -2
- package/src/swift-compile.ts +301 -48
- package/src/swift-host.ts +88 -16
- package/src/swift-reproducible.ts +16 -2
- package/src/swift-root-lock.ts +77 -5
- package/src/swift-sdk-image.ts +53 -10
- package/src/swift-startup-split.ts +65 -27
- package/src/swift-toolchain.ts +16 -5
- package/src/wasm-lazy-split.ts +46 -40
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2592 | (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 ? "b7465e4180ef2be70330a5488deb331c0846752c0495581fcd000574c0aa480a" : 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 ? "6dd152b897024269db5b53a1f9c613429fd3fd15506a4914a77c3b2638fe2018" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
999
999
|
}
|
|
1000
1000
|
var import_node_crypto6;
|
|
1001
1001
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -4159,17 +4159,17 @@ function visit(node, visitor) {
|
|
|
4159
4159
|
} else
|
|
4160
4160
|
visit_(null, node, visitor_, Object.freeze([]));
|
|
4161
4161
|
}
|
|
4162
|
-
function visit_(key, node, visitor,
|
|
4163
|
-
const ctrl = callVisitor(key, node, visitor,
|
|
4162
|
+
function visit_(key, node, visitor, path114) {
|
|
4163
|
+
const ctrl = callVisitor(key, node, visitor, path114);
|
|
4164
4164
|
if (isNode(ctrl) || isPair(ctrl)) {
|
|
4165
|
-
replaceNode(key,
|
|
4166
|
-
return visit_(key, ctrl, visitor,
|
|
4165
|
+
replaceNode(key, path114, ctrl);
|
|
4166
|
+
return visit_(key, ctrl, visitor, path114);
|
|
4167
4167
|
}
|
|
4168
4168
|
if (typeof ctrl !== "symbol") {
|
|
4169
4169
|
if (isCollection(node)) {
|
|
4170
|
-
|
|
4170
|
+
path114 = Object.freeze(path114.concat(node));
|
|
4171
4171
|
for (let i = 0; i < node.items.length; ++i) {
|
|
4172
|
-
const ci = visit_(i, node.items[i], visitor,
|
|
4172
|
+
const ci = visit_(i, node.items[i], visitor, path114);
|
|
4173
4173
|
if (typeof ci === "number")
|
|
4174
4174
|
i = ci - 1;
|
|
4175
4175
|
else if (ci === BREAK)
|
|
@@ -4180,13 +4180,13 @@ function visit_(key, node, visitor, path113) {
|
|
|
4180
4180
|
}
|
|
4181
4181
|
}
|
|
4182
4182
|
} else if (isPair(node)) {
|
|
4183
|
-
|
|
4184
|
-
const ck = visit_("key", node.key, visitor,
|
|
4183
|
+
path114 = Object.freeze(path114.concat(node));
|
|
4184
|
+
const ck = visit_("key", node.key, visitor, path114);
|
|
4185
4185
|
if (ck === BREAK)
|
|
4186
4186
|
return BREAK;
|
|
4187
4187
|
else if (ck === REMOVE)
|
|
4188
4188
|
node.key = null;
|
|
4189
|
-
const cv = visit_("value", node.value, visitor,
|
|
4189
|
+
const cv = visit_("value", node.value, visitor, path114);
|
|
4190
4190
|
if (cv === BREAK)
|
|
4191
4191
|
return BREAK;
|
|
4192
4192
|
else if (cv === REMOVE)
|
|
@@ -4204,17 +4204,17 @@ async function visitAsync(node, visitor) {
|
|
|
4204
4204
|
} else
|
|
4205
4205
|
await visitAsync_(null, node, visitor_, Object.freeze([]));
|
|
4206
4206
|
}
|
|
4207
|
-
async function visitAsync_(key, node, visitor,
|
|
4208
|
-
const ctrl = await callVisitor(key, node, visitor,
|
|
4207
|
+
async function visitAsync_(key, node, visitor, path114) {
|
|
4208
|
+
const ctrl = await callVisitor(key, node, visitor, path114);
|
|
4209
4209
|
if (isNode(ctrl) || isPair(ctrl)) {
|
|
4210
|
-
replaceNode(key,
|
|
4211
|
-
return visitAsync_(key, ctrl, visitor,
|
|
4210
|
+
replaceNode(key, path114, ctrl);
|
|
4211
|
+
return visitAsync_(key, ctrl, visitor, path114);
|
|
4212
4212
|
}
|
|
4213
4213
|
if (typeof ctrl !== "symbol") {
|
|
4214
4214
|
if (isCollection(node)) {
|
|
4215
|
-
|
|
4215
|
+
path114 = Object.freeze(path114.concat(node));
|
|
4216
4216
|
for (let i = 0; i < node.items.length; ++i) {
|
|
4217
|
-
const ci = await visitAsync_(i, node.items[i], visitor,
|
|
4217
|
+
const ci = await visitAsync_(i, node.items[i], visitor, path114);
|
|
4218
4218
|
if (typeof ci === "number")
|
|
4219
4219
|
i = ci - 1;
|
|
4220
4220
|
else if (ci === BREAK)
|
|
@@ -4225,13 +4225,13 @@ async function visitAsync_(key, node, visitor, path113) {
|
|
|
4225
4225
|
}
|
|
4226
4226
|
}
|
|
4227
4227
|
} else if (isPair(node)) {
|
|
4228
|
-
|
|
4229
|
-
const ck = await visitAsync_("key", node.key, visitor,
|
|
4228
|
+
path114 = Object.freeze(path114.concat(node));
|
|
4229
|
+
const ck = await visitAsync_("key", node.key, visitor, path114);
|
|
4230
4230
|
if (ck === BREAK)
|
|
4231
4231
|
return BREAK;
|
|
4232
4232
|
else if (ck === REMOVE)
|
|
4233
4233
|
node.key = null;
|
|
4234
|
-
const cv = await visitAsync_("value", node.value, visitor,
|
|
4234
|
+
const cv = await visitAsync_("value", node.value, visitor, path114);
|
|
4235
4235
|
if (cv === BREAK)
|
|
4236
4236
|
return BREAK;
|
|
4237
4237
|
else if (cv === REMOVE)
|
|
@@ -4258,23 +4258,23 @@ function initVisitor(visitor) {
|
|
|
4258
4258
|
}
|
|
4259
4259
|
return visitor;
|
|
4260
4260
|
}
|
|
4261
|
-
function callVisitor(key, node, visitor,
|
|
4261
|
+
function callVisitor(key, node, visitor, path114) {
|
|
4262
4262
|
if (typeof visitor === "function")
|
|
4263
|
-
return visitor(key, node,
|
|
4263
|
+
return visitor(key, node, path114);
|
|
4264
4264
|
if (isMap(node))
|
|
4265
|
-
return visitor.Map?.(key, node,
|
|
4265
|
+
return visitor.Map?.(key, node, path114);
|
|
4266
4266
|
if (isSeq(node))
|
|
4267
|
-
return visitor.Seq?.(key, node,
|
|
4267
|
+
return visitor.Seq?.(key, node, path114);
|
|
4268
4268
|
if (isPair(node))
|
|
4269
|
-
return visitor.Pair?.(key, node,
|
|
4269
|
+
return visitor.Pair?.(key, node, path114);
|
|
4270
4270
|
if (isScalar(node))
|
|
4271
|
-
return visitor.Scalar?.(key, node,
|
|
4271
|
+
return visitor.Scalar?.(key, node, path114);
|
|
4272
4272
|
if (isAlias(node))
|
|
4273
|
-
return visitor.Alias?.(key, node,
|
|
4273
|
+
return visitor.Alias?.(key, node, path114);
|
|
4274
4274
|
return void 0;
|
|
4275
4275
|
}
|
|
4276
|
-
function replaceNode(key,
|
|
4277
|
-
const parent =
|
|
4276
|
+
function replaceNode(key, path114, node) {
|
|
4277
|
+
const parent = path114[path114.length - 1];
|
|
4278
4278
|
if (isCollection(parent)) {
|
|
4279
4279
|
parent.items[key] = node;
|
|
4280
4280
|
} else if (isPair(parent)) {
|
|
@@ -4825,10 +4825,10 @@ var init_createNode = __esm({
|
|
|
4825
4825
|
});
|
|
4826
4826
|
|
|
4827
4827
|
// ../../node_modules/yaml/browser/dist/nodes/Collection.js
|
|
4828
|
-
function collectionFromPath(schema4,
|
|
4828
|
+
function collectionFromPath(schema4, path114, value) {
|
|
4829
4829
|
let v10 = value;
|
|
4830
|
-
for (let i =
|
|
4831
|
-
const k =
|
|
4830
|
+
for (let i = path114.length - 1; i >= 0; --i) {
|
|
4831
|
+
const k = path114[i];
|
|
4832
4832
|
if (typeof k === "number" && Number.isInteger(k) && k >= 0) {
|
|
4833
4833
|
const a = [];
|
|
4834
4834
|
a[k] = v10;
|
|
@@ -4853,7 +4853,7 @@ var init_Collection = __esm({
|
|
|
4853
4853
|
init_createNode();
|
|
4854
4854
|
init_identity();
|
|
4855
4855
|
init_Node();
|
|
4856
|
-
isEmptyPath = (
|
|
4856
|
+
isEmptyPath = (path114) => path114 == null || typeof path114 === "object" && !!path114[Symbol.iterator]().next().done;
|
|
4857
4857
|
Collection = class extends NodeBase {
|
|
4858
4858
|
constructor(type, schema4) {
|
|
4859
4859
|
super(type);
|
|
@@ -4883,11 +4883,11 @@ var init_Collection = __esm({
|
|
|
4883
4883
|
* be a Pair instance or a `{ key, value }` object, which may not have a key
|
|
4884
4884
|
* that already exists in the map.
|
|
4885
4885
|
*/
|
|
4886
|
-
addIn(
|
|
4887
|
-
if (isEmptyPath(
|
|
4886
|
+
addIn(path114, value) {
|
|
4887
|
+
if (isEmptyPath(path114))
|
|
4888
4888
|
this.add(value);
|
|
4889
4889
|
else {
|
|
4890
|
-
const [key, ...rest] =
|
|
4890
|
+
const [key, ...rest] = path114;
|
|
4891
4891
|
const node = this.get(key, true);
|
|
4892
4892
|
if (isCollection(node))
|
|
4893
4893
|
node.addIn(rest, value);
|
|
@@ -4901,8 +4901,8 @@ var init_Collection = __esm({
|
|
|
4901
4901
|
* Removes a value from the collection.
|
|
4902
4902
|
* @returns `true` if the item was found and removed.
|
|
4903
4903
|
*/
|
|
4904
|
-
deleteIn(
|
|
4905
|
-
const [key, ...rest] =
|
|
4904
|
+
deleteIn(path114) {
|
|
4905
|
+
const [key, ...rest] = path114;
|
|
4906
4906
|
if (rest.length === 0)
|
|
4907
4907
|
return this.delete(key);
|
|
4908
4908
|
const node = this.get(key, true);
|
|
@@ -4916,8 +4916,8 @@ var init_Collection = __esm({
|
|
|
4916
4916
|
* scalar values from their surrounding node; to disable set `keepScalar` to
|
|
4917
4917
|
* `true` (collections are always returned intact).
|
|
4918
4918
|
*/
|
|
4919
|
-
getIn(
|
|
4920
|
-
const [key, ...rest] =
|
|
4919
|
+
getIn(path114, keepScalar) {
|
|
4920
|
+
const [key, ...rest] = path114;
|
|
4921
4921
|
const node = this.get(key, true);
|
|
4922
4922
|
if (rest.length === 0)
|
|
4923
4923
|
return !keepScalar && isScalar(node) ? node.value : node;
|
|
@@ -4935,8 +4935,8 @@ var init_Collection = __esm({
|
|
|
4935
4935
|
/**
|
|
4936
4936
|
* Checks if the collection includes a value with the key `key`.
|
|
4937
4937
|
*/
|
|
4938
|
-
hasIn(
|
|
4939
|
-
const [key, ...rest] =
|
|
4938
|
+
hasIn(path114) {
|
|
4939
|
+
const [key, ...rest] = path114;
|
|
4940
4940
|
if (rest.length === 0)
|
|
4941
4941
|
return this.has(key);
|
|
4942
4942
|
const node = this.get(key, true);
|
|
@@ -4946,8 +4946,8 @@ var init_Collection = __esm({
|
|
|
4946
4946
|
* Sets a value in this collection. For `!!set`, `value` needs to be a
|
|
4947
4947
|
* boolean to add/remove the item from the set.
|
|
4948
4948
|
*/
|
|
4949
|
-
setIn(
|
|
4950
|
-
const [key, ...rest] =
|
|
4949
|
+
setIn(path114, value) {
|
|
4950
|
+
const [key, ...rest] = path114;
|
|
4951
4951
|
if (rest.length === 0) {
|
|
4952
4952
|
this.set(key, value);
|
|
4953
4953
|
} else {
|
|
@@ -6866,15 +6866,15 @@ function visit2(cst, visitor) {
|
|
|
6866
6866
|
cst = { start: cst.start, value: cst.value };
|
|
6867
6867
|
_visit(Object.freeze([]), cst, visitor);
|
|
6868
6868
|
}
|
|
6869
|
-
function _visit(
|
|
6870
|
-
let ctrl = visitor(item,
|
|
6869
|
+
function _visit(path114, item, visitor) {
|
|
6870
|
+
let ctrl = visitor(item, path114);
|
|
6871
6871
|
if (typeof ctrl === "symbol")
|
|
6872
6872
|
return ctrl;
|
|
6873
6873
|
for (const field of ["key", "value"]) {
|
|
6874
6874
|
const token = item[field];
|
|
6875
6875
|
if (token && "items" in token) {
|
|
6876
6876
|
for (let i = 0; i < token.items.length; ++i) {
|
|
6877
|
-
const ci = _visit(Object.freeze(
|
|
6877
|
+
const ci = _visit(Object.freeze(path114.concat([[field, i]])), token.items[i], visitor);
|
|
6878
6878
|
if (typeof ci === "number")
|
|
6879
6879
|
i = ci - 1;
|
|
6880
6880
|
else if (ci === BREAK2)
|
|
@@ -6885,10 +6885,10 @@ function _visit(path113, item, visitor) {
|
|
|
6885
6885
|
}
|
|
6886
6886
|
}
|
|
6887
6887
|
if (typeof ctrl === "function" && field === "key")
|
|
6888
|
-
ctrl = ctrl(item,
|
|
6888
|
+
ctrl = ctrl(item, path114);
|
|
6889
6889
|
}
|
|
6890
6890
|
}
|
|
6891
|
-
return typeof ctrl === "function" ? ctrl(item,
|
|
6891
|
+
return typeof ctrl === "function" ? ctrl(item, path114) : ctrl;
|
|
6892
6892
|
}
|
|
6893
6893
|
var BREAK2, SKIP2, REMOVE2;
|
|
6894
6894
|
var init_cst_visit = __esm({
|
|
@@ -6899,9 +6899,9 @@ var init_cst_visit = __esm({
|
|
|
6899
6899
|
visit2.BREAK = BREAK2;
|
|
6900
6900
|
visit2.SKIP = SKIP2;
|
|
6901
6901
|
visit2.REMOVE = REMOVE2;
|
|
6902
|
-
visit2.itemAtPath = (cst,
|
|
6902
|
+
visit2.itemAtPath = (cst, path114) => {
|
|
6903
6903
|
let item = cst;
|
|
6904
|
-
for (const [field, index] of
|
|
6904
|
+
for (const [field, index] of path114) {
|
|
6905
6905
|
const tok = item?.[field];
|
|
6906
6906
|
if (tok && "items" in tok) {
|
|
6907
6907
|
item = tok.items[index];
|
|
@@ -6910,9 +6910,9 @@ var init_cst_visit = __esm({
|
|
|
6910
6910
|
}
|
|
6911
6911
|
return item;
|
|
6912
6912
|
};
|
|
6913
|
-
visit2.parentCollection = (cst,
|
|
6914
|
-
const parent = visit2.itemAtPath(cst,
|
|
6915
|
-
const field =
|
|
6913
|
+
visit2.parentCollection = (cst, path114) => {
|
|
6914
|
+
const parent = visit2.itemAtPath(cst, path114.slice(0, -1));
|
|
6915
|
+
const field = path114[path114.length - 1][0];
|
|
6916
6916
|
const coll = parent?.[field];
|
|
6917
6917
|
if (coll && "items" in coll)
|
|
6918
6918
|
return coll;
|
|
@@ -9544,17 +9544,18 @@ var init_swift_objc_prebuilt = __esm({
|
|
|
9544
9544
|
});
|
|
9545
9545
|
|
|
9546
9546
|
// src/swift-reproducible.ts
|
|
9547
|
-
var import_node_fs58, import_node_os11;
|
|
9547
|
+
var import_node_fs58, import_node_os11, import_node_path59;
|
|
9548
9548
|
var init_swift_reproducible = __esm({
|
|
9549
9549
|
"src/swift-reproducible.ts"() {
|
|
9550
9550
|
"use strict";
|
|
9551
9551
|
import_node_fs58 = require("node:fs");
|
|
9552
9552
|
import_node_os11 = __toESM(require("node:os"), 1);
|
|
9553
|
+
import_node_path59 = __toESM(require("node:path"), 1);
|
|
9553
9554
|
}
|
|
9554
9555
|
});
|
|
9555
9556
|
|
|
9556
9557
|
// src/swift-root-lock.ts
|
|
9557
|
-
var import_node_child_process32, import_node_crypto36, import_node_fs59, import_node_os12,
|
|
9558
|
+
var import_node_child_process32, import_node_crypto36, import_node_fs59, import_node_os12, import_node_path60;
|
|
9558
9559
|
var init_swift_root_lock = __esm({
|
|
9559
9560
|
"src/swift-root-lock.ts"() {
|
|
9560
9561
|
"use strict";
|
|
@@ -9562,7 +9563,7 @@ var init_swift_root_lock = __esm({
|
|
|
9562
9563
|
import_node_crypto36 = require("node:crypto");
|
|
9563
9564
|
import_node_fs59 = require("node:fs");
|
|
9564
9565
|
import_node_os12 = require("node:os");
|
|
9565
|
-
|
|
9566
|
+
import_node_path60 = __toESM(require("node:path"), 1);
|
|
9566
9567
|
init_process_group();
|
|
9567
9568
|
init_process_table();
|
|
9568
9569
|
}
|
|
@@ -9576,12 +9577,12 @@ var init_swift_source_closure = __esm({
|
|
|
9576
9577
|
});
|
|
9577
9578
|
|
|
9578
9579
|
// src/swift-uniform-type-constants.ts
|
|
9579
|
-
var import_node_child_process33,
|
|
9580
|
+
var import_node_child_process33, import_node_path61;
|
|
9580
9581
|
var init_swift_uniform_type_constants = __esm({
|
|
9581
9582
|
"src/swift-uniform-type-constants.ts"() {
|
|
9582
9583
|
"use strict";
|
|
9583
9584
|
import_node_child_process33 = require("node:child_process");
|
|
9584
|
-
|
|
9585
|
+
import_node_path61 = __toESM(require("node:path"), 1);
|
|
9585
9586
|
init_swift_objc_runtime();
|
|
9586
9587
|
init_swift_objc_standin();
|
|
9587
9588
|
init_swiftTargetContract();
|
|
@@ -9589,19 +9590,19 @@ var init_swift_uniform_type_constants = __esm({
|
|
|
9589
9590
|
});
|
|
9590
9591
|
|
|
9591
9592
|
// src/xcode-header-search.ts
|
|
9592
|
-
var import_node_fs60,
|
|
9593
|
+
var import_node_fs60, import_node_path62;
|
|
9593
9594
|
var init_xcode_header_search = __esm({
|
|
9594
9595
|
"src/xcode-header-search.ts"() {
|
|
9595
9596
|
"use strict";
|
|
9596
9597
|
import_node_fs60 = __toESM(require("node:fs"), 1);
|
|
9597
|
-
|
|
9598
|
+
import_node_path62 = __toESM(require("node:path"), 1);
|
|
9598
9599
|
init_case_insensitive_header_overlay();
|
|
9599
9600
|
init_write_build_file();
|
|
9600
9601
|
}
|
|
9601
9602
|
});
|
|
9602
9603
|
|
|
9603
9604
|
// src/swift-compile.ts
|
|
9604
|
-
var import_node_child_process34, import_node_crypto37, import_node_fs61, import_node_os13,
|
|
9605
|
+
var import_node_child_process34, import_node_crypto37, import_node_fs61, import_node_os13, import_node_path63, v6, OPTIONAL_FRAMEWORK_DEPENDENCIES, OPTIONAL_FRAMEWORKS, NON_IOS_MODULES, compilerSourceDigest, NOT_ON_IOS, C_WORDS, CODE_MASK_CACHE_CHARS, CORE_FOUNDATION_HANDLE_IMPORTS, emptyMacroEnvironment, wasmMacroEnvironment, ROOT_LOCKS, host, rootLocks, SHARED_ARTIFACT_BUDGET_BYTES, frameworkProductsReceiptSchema;
|
|
9605
9606
|
var init_swift_compile = __esm({
|
|
9606
9607
|
"src/swift-compile.ts"() {
|
|
9607
9608
|
"use strict";
|
|
@@ -9609,7 +9610,7 @@ var init_swift_compile = __esm({
|
|
|
9609
9610
|
import_node_crypto37 = require("node:crypto");
|
|
9610
9611
|
import_node_fs61 = require("node:fs");
|
|
9611
9612
|
import_node_os13 = __toESM(require("node:os"), 1);
|
|
9612
|
-
|
|
9613
|
+
import_node_path63 = __toESM(require("node:path"), 1);
|
|
9613
9614
|
v6 = __toESM(require("peachsim/vendor/valibot"), 1);
|
|
9614
9615
|
init_admitted_mac_build();
|
|
9615
9616
|
init_is_record();
|
|
@@ -9716,7 +9717,7 @@ var init_swift_compile = __esm({
|
|
|
9716
9717
|
};
|
|
9717
9718
|
OPTIONAL_FRAMEWORKS = new Set(Object.keys(OPTIONAL_FRAMEWORK_DEPENDENCIES));
|
|
9718
9719
|
NON_IOS_MODULES = /* @__PURE__ */ new Set(["FoundationNetworking", "WASILibc"]);
|
|
9719
|
-
compilerSourceDigest = true ? "
|
|
9720
|
+
compilerSourceDigest = true ? "57c5faa7bb7758647030422e32db0f4a53fbab724723e220c14fea1e41d2391e" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
9720
9721
|
NOT_ON_IOS = new RegExp(
|
|
9721
9722
|
`\\b(?:os\\(\\s*WASI\\s*\\)|canImport\\(\\s*(?:${[...NON_IOS_MODULES].join("|")})\\s*\\))`,
|
|
9722
9723
|
"g"
|
|
@@ -9763,6 +9764,17 @@ var init_swift_compile = __esm({
|
|
|
9763
9764
|
host = globalThis;
|
|
9764
9765
|
rootLocks = host[ROOT_LOCKS] ??= /* @__PURE__ */ new Map();
|
|
9765
9766
|
SHARED_ARTIFACT_BUDGET_BYTES = 4 * 1024 ** 3;
|
|
9767
|
+
frameworkProductsReceiptSchema = v6.object({
|
|
9768
|
+
modules: v6.string(),
|
|
9769
|
+
objects: v6.array(v6.string()),
|
|
9770
|
+
lazyObjects: v6.array(v6.string()),
|
|
9771
|
+
owners: v6.array(v6.tuple([v6.string(), v6.string()])),
|
|
9772
|
+
providers: v6.array(v6.string()),
|
|
9773
|
+
link: v6.array(v6.string()),
|
|
9774
|
+
moduleMaps: v6.array(v6.string()),
|
|
9775
|
+
objcHeaders: v6.array(v6.tuple([v6.string(), v6.string()])),
|
|
9776
|
+
archived: v6.array(v6.tuple([v6.string(), v6.string()]))
|
|
9777
|
+
});
|
|
9766
9778
|
}
|
|
9767
9779
|
});
|
|
9768
9780
|
|
|
@@ -9774,13 +9786,13 @@ var init_cli_release_origin = __esm({
|
|
|
9774
9786
|
});
|
|
9775
9787
|
|
|
9776
9788
|
// cli/drivers/linux-browser-libs.ts
|
|
9777
|
-
var import_node_child_process35, import_node_fs62,
|
|
9789
|
+
var import_node_child_process35, import_node_fs62, import_node_path64;
|
|
9778
9790
|
var init_linux_browser_libs = __esm({
|
|
9779
9791
|
"cli/drivers/linux-browser-libs.ts"() {
|
|
9780
9792
|
"use strict";
|
|
9781
9793
|
import_node_child_process35 = require("node:child_process");
|
|
9782
9794
|
import_node_fs62 = require("node:fs");
|
|
9783
|
-
|
|
9795
|
+
import_node_path64 = require("node:path");
|
|
9784
9796
|
init_src();
|
|
9785
9797
|
init_home_paths();
|
|
9786
9798
|
init_is_record();
|
|
@@ -9855,13 +9867,13 @@ function parseAdapterLock(family, value) {
|
|
|
9855
9867
|
});
|
|
9856
9868
|
return { ...shared, schema: 2, archives };
|
|
9857
9869
|
}
|
|
9858
|
-
var import_node_crypto38, import_node_fs63,
|
|
9870
|
+
var import_node_crypto38, import_node_fs63, import_node_path65, ADAPTER_FAMILIES, hex64, sameHeaders;
|
|
9859
9871
|
var init_nitroAdapterContract = __esm({
|
|
9860
9872
|
"src/nitroAdapterContract.ts"() {
|
|
9861
9873
|
"use strict";
|
|
9862
9874
|
import_node_crypto38 = require("node:crypto");
|
|
9863
9875
|
import_node_fs63 = require("node:fs");
|
|
9864
|
-
|
|
9876
|
+
import_node_path65 = __toESM(require("node:path"), 1);
|
|
9865
9877
|
init_is_record();
|
|
9866
9878
|
ADAPTER_FAMILIES = {
|
|
9867
9879
|
nitro: {
|
|
@@ -9963,13 +9975,13 @@ var init_swift_native_pin = __esm({
|
|
|
9963
9975
|
});
|
|
9964
9976
|
|
|
9965
9977
|
// src/swift-distribution.ts
|
|
9966
|
-
var import_node_fs64, import_node_os14,
|
|
9978
|
+
var import_node_fs64, import_node_os14, import_node_path66;
|
|
9967
9979
|
var init_swift_distribution = __esm({
|
|
9968
9980
|
"src/swift-distribution.ts"() {
|
|
9969
9981
|
"use strict";
|
|
9970
9982
|
import_node_fs64 = __toESM(require("node:fs"), 1);
|
|
9971
9983
|
import_node_os14 = __toESM(require("node:os"), 1);
|
|
9972
|
-
|
|
9984
|
+
import_node_path66 = __toESM(require("node:path"), 1);
|
|
9973
9985
|
init_src();
|
|
9974
9986
|
init_linux_browser_libs();
|
|
9975
9987
|
init_home_paths();
|
|
@@ -9981,13 +9993,13 @@ var init_swift_distribution = __esm({
|
|
|
9981
9993
|
});
|
|
9982
9994
|
|
|
9983
9995
|
// src/pod-prepare-toolchain.ts
|
|
9984
|
-
var import_node_crypto39, import_node_fs65,
|
|
9996
|
+
var import_node_crypto39, import_node_fs65, import_node_path67, XCRUN, CLANG;
|
|
9985
9997
|
var init_pod_prepare_toolchain = __esm({
|
|
9986
9998
|
"src/pod-prepare-toolchain.ts"() {
|
|
9987
9999
|
"use strict";
|
|
9988
10000
|
import_node_crypto39 = require("node:crypto");
|
|
9989
10001
|
import_node_fs65 = __toESM(require("node:fs"), 1);
|
|
9990
|
-
|
|
10002
|
+
import_node_path67 = __toESM(require("node:path"), 1);
|
|
9991
10003
|
init_home_paths();
|
|
9992
10004
|
init_swift_compile();
|
|
9993
10005
|
init_swift_distribution();
|
|
@@ -10050,7 +10062,7 @@ exec "$compiler" --target=${SWIFT_WASM_TRIPLE} --sysroot="$PEACH_POD_SYSROOT" \\
|
|
|
10050
10062
|
});
|
|
10051
10063
|
|
|
10052
10064
|
// src/pod-sources.ts
|
|
10053
|
-
var import_node_child_process36, import_node_crypto40, import_node_fs66, import_node_os15,
|
|
10065
|
+
var import_node_child_process36, import_node_crypto40, import_node_fs66, import_node_os15, import_node_path68, COCOAPODS_VERSION, USER_AGENT, HEADER_EXTENSIONS, SOURCE_EXTENSIONS, SOURCE_FILES_PATTERN;
|
|
10054
10066
|
var init_pod_sources = __esm({
|
|
10055
10067
|
"src/pod-sources.ts"() {
|
|
10056
10068
|
"use strict";
|
|
@@ -10058,7 +10070,7 @@ var init_pod_sources = __esm({
|
|
|
10058
10070
|
import_node_crypto40 = require("node:crypto");
|
|
10059
10071
|
import_node_fs66 = __toESM(require("node:fs"), 1);
|
|
10060
10072
|
import_node_os15 = __toESM(require("node:os"), 1);
|
|
10061
|
-
|
|
10073
|
+
import_node_path68 = __toESM(require("node:path"), 1);
|
|
10062
10074
|
init_home_paths();
|
|
10063
10075
|
init_pod_prepare_toolchain();
|
|
10064
10076
|
COCOAPODS_VERSION = "1.17.0";
|
|
@@ -10091,14 +10103,14 @@ var init_pod_sources = __esm({
|
|
|
10091
10103
|
});
|
|
10092
10104
|
|
|
10093
10105
|
// src/cocoapods-trunk.ts
|
|
10094
|
-
var import_node_child_process37, import_node_crypto41, import_node_fs67,
|
|
10106
|
+
var import_node_child_process37, import_node_crypto41, import_node_fs67, import_node_path69;
|
|
10095
10107
|
var init_cocoapods_trunk = __esm({
|
|
10096
10108
|
"src/cocoapods-trunk.ts"() {
|
|
10097
10109
|
"use strict";
|
|
10098
10110
|
import_node_child_process37 = require("node:child_process");
|
|
10099
10111
|
import_node_crypto41 = require("node:crypto");
|
|
10100
10112
|
import_node_fs67 = __toESM(require("node:fs"), 1);
|
|
10101
|
-
|
|
10113
|
+
import_node_path69 = __toESM(require("node:path"), 1);
|
|
10102
10114
|
init_browser();
|
|
10103
10115
|
init_home_paths();
|
|
10104
10116
|
}
|
|
@@ -10115,12 +10127,12 @@ var init_pod_lockfile = __esm({
|
|
|
10115
10127
|
});
|
|
10116
10128
|
|
|
10117
10129
|
// src/podfile-cocoapods.ts
|
|
10118
|
-
var import_node_fs69,
|
|
10130
|
+
var import_node_fs69, import_node_path70, PODFILE, RESOLVER;
|
|
10119
10131
|
var init_podfile_cocoapods = __esm({
|
|
10120
10132
|
"src/podfile-cocoapods.ts"() {
|
|
10121
10133
|
"use strict";
|
|
10122
10134
|
import_node_fs69 = __toESM(require("node:fs"), 1);
|
|
10123
|
-
|
|
10135
|
+
import_node_path70 = __toESM(require("node:path"), 1);
|
|
10124
10136
|
init_cocoapods_trunk();
|
|
10125
10137
|
init_pod_lockfile();
|
|
10126
10138
|
init_podspec_cocoapods();
|
|
@@ -11481,11 +11493,11 @@ end
|
|
|
11481
11493
|
});
|
|
11482
11494
|
|
|
11483
11495
|
// src/pods-analysis.ts
|
|
11484
|
-
var
|
|
11496
|
+
var import_node_path71, ANALYSIS, EXPORT;
|
|
11485
11497
|
var init_pods_analysis = __esm({
|
|
11486
11498
|
"src/pods-analysis.ts"() {
|
|
11487
11499
|
"use strict";
|
|
11488
|
-
|
|
11500
|
+
import_node_path71 = __toESM(require("node:path"), 1);
|
|
11489
11501
|
init_podspec_cocoapods();
|
|
11490
11502
|
init_podspec_ruby();
|
|
11491
11503
|
init_podspec_ruby_stdlib();
|
|
@@ -12014,12 +12026,12 @@ var init_plist_bytes = __esm({
|
|
|
12014
12026
|
});
|
|
12015
12027
|
|
|
12016
12028
|
// src/pods-files.ts
|
|
12017
|
-
var import_node_fs70,
|
|
12029
|
+
var import_node_fs70, import_node_path72, HEADER_EXTENSIONS2, SOURCE_FILE_EXTENSIONS, GLOB_PATTERNS;
|
|
12018
12030
|
var init_pods_files = __esm({
|
|
12019
12031
|
"src/pods-files.ts"() {
|
|
12020
12032
|
"use strict";
|
|
12021
12033
|
import_node_fs70 = __toESM(require("node:fs"), 1);
|
|
12022
|
-
|
|
12034
|
+
import_node_path72 = __toESM(require("node:path"), 1);
|
|
12023
12035
|
init_is_record();
|
|
12024
12036
|
init_plist_bytes();
|
|
12025
12037
|
HEADER_EXTENSIONS2 = [
|
|
@@ -12055,12 +12067,12 @@ var init_pods_files = __esm({
|
|
|
12055
12067
|
});
|
|
12056
12068
|
|
|
12057
12069
|
// src/pods-targets.ts
|
|
12058
|
-
var import_node_fs71,
|
|
12070
|
+
var import_node_fs71, import_node_path73;
|
|
12059
12071
|
var init_pods_targets = __esm({
|
|
12060
12072
|
"src/pods-targets.ts"() {
|
|
12061
12073
|
"use strict";
|
|
12062
12074
|
import_node_fs71 = require("node:fs");
|
|
12063
|
-
|
|
12075
|
+
import_node_path73 = __toESM(require("node:path"), 1);
|
|
12064
12076
|
init_pods_files();
|
|
12065
12077
|
}
|
|
12066
12078
|
});
|
|
@@ -12073,23 +12085,23 @@ var init_pods_xcconfig = __esm({
|
|
|
12073
12085
|
});
|
|
12074
12086
|
|
|
12075
12087
|
// src/pods-build-settings.ts
|
|
12076
|
-
var
|
|
12088
|
+
var import_node_path74;
|
|
12077
12089
|
var init_pods_build_settings = __esm({
|
|
12078
12090
|
"src/pods-build-settings.ts"() {
|
|
12079
12091
|
"use strict";
|
|
12080
|
-
|
|
12092
|
+
import_node_path74 = __toESM(require("node:path"), 1);
|
|
12081
12093
|
init_pods_targets();
|
|
12082
12094
|
init_pods_xcconfig();
|
|
12083
12095
|
}
|
|
12084
12096
|
});
|
|
12085
12097
|
|
|
12086
12098
|
// src/pods-integration.ts
|
|
12087
|
-
var import_node_fs72,
|
|
12099
|
+
var import_node_fs72, import_node_path75;
|
|
12088
12100
|
var init_pods_integration = __esm({
|
|
12089
12101
|
"src/pods-integration.ts"() {
|
|
12090
12102
|
"use strict";
|
|
12091
12103
|
import_node_fs72 = __toESM(require("node:fs"), 1);
|
|
12092
|
-
|
|
12104
|
+
import_node_path75 = __toESM(require("node:path"), 1);
|
|
12093
12105
|
init_pods_build_settings();
|
|
12094
12106
|
init_pods_files();
|
|
12095
12107
|
init_pods_targets();
|
|
@@ -12097,12 +12109,12 @@ var init_pods_integration = __esm({
|
|
|
12097
12109
|
});
|
|
12098
12110
|
|
|
12099
12111
|
// src/pods-post-install.ts
|
|
12100
|
-
var import_node_fs73,
|
|
12112
|
+
var import_node_fs73, import_node_path76, XCODEPROJ, INSTALLER;
|
|
12101
12113
|
var init_pods_post_install = __esm({
|
|
12102
12114
|
"src/pods-post-install.ts"() {
|
|
12103
12115
|
"use strict";
|
|
12104
12116
|
import_node_fs73 = __toESM(require("node:fs"), 1);
|
|
12105
|
-
|
|
12117
|
+
import_node_path76 = __toESM(require("node:path"), 1);
|
|
12106
12118
|
init_openstep_plist();
|
|
12107
12119
|
init_pbx_table();
|
|
12108
12120
|
init_plist_bytes();
|
|
@@ -13506,12 +13518,12 @@ var init_pods_scripts = __esm({
|
|
|
13506
13518
|
});
|
|
13507
13519
|
|
|
13508
13520
|
// src/pods-project.ts
|
|
13509
|
-
var import_node_fs74,
|
|
13521
|
+
var import_node_fs74, import_node_path77, HEADERS, SOURCES;
|
|
13510
13522
|
var init_pods_project = __esm({
|
|
13511
13523
|
"src/pods-project.ts"() {
|
|
13512
13524
|
"use strict";
|
|
13513
13525
|
import_node_fs74 = __toESM(require("node:fs"), 1);
|
|
13514
|
-
|
|
13526
|
+
import_node_path77 = __toESM(require("node:path"), 1);
|
|
13515
13527
|
init_openstep_plist();
|
|
13516
13528
|
init_pbx_table();
|
|
13517
13529
|
init_pods_files();
|
|
@@ -13523,12 +13535,12 @@ var init_pods_project = __esm({
|
|
|
13523
13535
|
});
|
|
13524
13536
|
|
|
13525
13537
|
// src/pods-install.ts
|
|
13526
|
-
var import_node_fs75,
|
|
13538
|
+
var import_node_fs75, import_node_path78, COCOAPODS_VERSION2, INSTALL_INPUTS, LOCKFILE;
|
|
13527
13539
|
var init_pods_install = __esm({
|
|
13528
13540
|
"src/pods-install.ts"() {
|
|
13529
13541
|
"use strict";
|
|
13530
13542
|
import_node_fs75 = __toESM(require("node:fs"), 1);
|
|
13531
|
-
|
|
13543
|
+
import_node_path78 = __toESM(require("node:path"), 1);
|
|
13532
13544
|
init_openstep_plist();
|
|
13533
13545
|
init_pbx_table();
|
|
13534
13546
|
init_pod_graph_specifications();
|
|
@@ -13578,7 +13590,7 @@ end
|
|
|
13578
13590
|
});
|
|
13579
13591
|
|
|
13580
13592
|
// src/bazel-project.ts
|
|
13581
|
-
var import_node_child_process38, import_node_crypto42, import_node_fs76, import_node_os16,
|
|
13593
|
+
var import_node_child_process38, import_node_crypto42, import_node_fs76, import_node_os16, import_node_path79, import_plist3, PRODUCTS;
|
|
13582
13594
|
var init_bazel_project = __esm({
|
|
13583
13595
|
"src/bazel-project.ts"() {
|
|
13584
13596
|
"use strict";
|
|
@@ -13586,10 +13598,10 @@ var init_bazel_project = __esm({
|
|
|
13586
13598
|
import_node_crypto42 = require("node:crypto");
|
|
13587
13599
|
import_node_fs76 = __toESM(require("node:fs"), 1);
|
|
13588
13600
|
import_node_os16 = __toESM(require("node:os"), 1);
|
|
13589
|
-
|
|
13601
|
+
import_node_path79 = __toESM(require("node:path"), 1);
|
|
13590
13602
|
import_plist3 = __toESM(require("peachsim/vendor/plist"), 1);
|
|
13591
13603
|
init_is_record();
|
|
13592
|
-
PRODUCTS =
|
|
13604
|
+
PRODUCTS = import_node_path79.default.join(".build", "peach-bazel", "Products");
|
|
13593
13605
|
}
|
|
13594
13606
|
});
|
|
13595
13607
|
|
|
@@ -14038,38 +14050,38 @@ var init_native_app_identity = __esm({
|
|
|
14038
14050
|
});
|
|
14039
14051
|
|
|
14040
14052
|
// src/swift-binary-modules.ts
|
|
14041
|
-
var import_node_crypto43, import_node_fs77,
|
|
14053
|
+
var import_node_crypto43, import_node_fs77, import_node_path80, cacheDir2;
|
|
14042
14054
|
var init_swift_binary_modules = __esm({
|
|
14043
14055
|
"src/swift-binary-modules.ts"() {
|
|
14044
14056
|
"use strict";
|
|
14045
14057
|
import_node_crypto43 = require("node:crypto");
|
|
14046
14058
|
import_node_fs77 = __toESM(require("node:fs"), 1);
|
|
14047
|
-
|
|
14059
|
+
import_node_path80 = __toESM(require("node:path"), 1);
|
|
14048
14060
|
init_home_paths();
|
|
14049
14061
|
init_swift_package();
|
|
14050
|
-
cacheDir2 =
|
|
14062
|
+
cacheDir2 = import_node_path80.default.join(cacheDir(), "swift-binary-modules");
|
|
14051
14063
|
}
|
|
14052
14064
|
});
|
|
14053
14065
|
|
|
14054
14066
|
// src/swift-coverage/provenance.ts
|
|
14055
|
-
var import_node_crypto44, import_node_fs78,
|
|
14067
|
+
var import_node_crypto44, import_node_fs78, import_node_path81, swiftCoverageProvenance;
|
|
14056
14068
|
var init_provenance = __esm({
|
|
14057
14069
|
"src/swift-coverage/provenance.ts"() {
|
|
14058
14070
|
"use strict";
|
|
14059
14071
|
import_node_crypto44 = require("node:crypto");
|
|
14060
14072
|
import_node_fs78 = require("node:fs");
|
|
14061
|
-
|
|
14062
|
-
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":"
|
|
14073
|
+
import_node_path81 = require("node:path");
|
|
14074
|
+
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":"4f54e110f6f2f72da6d20ca6fc1a10c7dbd0cd462b7dd3959351e107c4aa7548","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_path81.join)(__sootsim_import_meta_dirname, ".."));
|
|
14063
14075
|
}
|
|
14064
14076
|
});
|
|
14065
14077
|
|
|
14066
14078
|
// src/swift-coverage/xcode-asset-symbols.ts
|
|
14067
|
-
var import_node_fs79,
|
|
14079
|
+
var import_node_fs79, import_node_path82, silentTypes, stackTypes, unprovenTypes, knownTypes, compressionTypes, renditionRules, setRules, inclusionRules, rules, swiftKeywords, nsColorConflicts, uiColorConflicts, colorConflicts, nsImageConflicts;
|
|
14068
14080
|
var init_xcode_asset_symbols = __esm({
|
|
14069
14081
|
"src/swift-coverage/xcode-asset-symbols.ts"() {
|
|
14070
14082
|
"use strict";
|
|
14071
14083
|
import_node_fs79 = require("node:fs");
|
|
14072
|
-
|
|
14084
|
+
import_node_path82 = require("node:path");
|
|
14073
14085
|
silentTypes = /* @__PURE__ */ new Set([
|
|
14074
14086
|
"appiconset",
|
|
14075
14087
|
"brandassets",
|
|
@@ -14232,13 +14244,13 @@ var init_xcode_asset_symbols = __esm({
|
|
|
14232
14244
|
});
|
|
14233
14245
|
|
|
14234
14246
|
// src/swift-coverage/xcode-assets.ts
|
|
14235
|
-
var import_node_crypto45, import_node_fs80,
|
|
14247
|
+
var import_node_crypto45, import_node_fs80, import_node_path83, unprovenAssetSettings, assetSymbolSettingKeys;
|
|
14236
14248
|
var init_xcode_assets = __esm({
|
|
14237
14249
|
"src/swift-coverage/xcode-assets.ts"() {
|
|
14238
14250
|
"use strict";
|
|
14239
14251
|
import_node_crypto45 = require("node:crypto");
|
|
14240
14252
|
import_node_fs80 = require("node:fs");
|
|
14241
|
-
|
|
14253
|
+
import_node_path83 = require("node:path");
|
|
14242
14254
|
init_provenance();
|
|
14243
14255
|
init_xcode_asset_symbols();
|
|
14244
14256
|
unprovenAssetSettings = [
|
|
@@ -14264,7 +14276,7 @@ var init_xcode_assets = __esm({
|
|
|
14264
14276
|
});
|
|
14265
14277
|
|
|
14266
14278
|
// src/swift-package-manifest.ts
|
|
14267
|
-
var import_node_child_process39, import_node_crypto46, import_node_fs81, import_node_os17,
|
|
14279
|
+
var import_node_child_process39, import_node_crypto46, import_node_fs81, import_node_os17, import_node_path84, import_node_util7, cacheDir3, execFileAsync;
|
|
14268
14280
|
var init_swift_package_manifest = __esm({
|
|
14269
14281
|
"src/swift-package-manifest.ts"() {
|
|
14270
14282
|
"use strict";
|
|
@@ -14272,7 +14284,7 @@ var init_swift_package_manifest = __esm({
|
|
|
14272
14284
|
import_node_crypto46 = require("node:crypto");
|
|
14273
14285
|
import_node_fs81 = __toESM(require("node:fs"), 1);
|
|
14274
14286
|
import_node_os17 = __toESM(require("node:os"), 1);
|
|
14275
|
-
|
|
14287
|
+
import_node_path84 = __toESM(require("node:path"), 1);
|
|
14276
14288
|
import_node_util7 = require("node:util");
|
|
14277
14289
|
init_git_repo_env();
|
|
14278
14290
|
init_home_paths();
|
|
@@ -14281,7 +14293,7 @@ var init_swift_package_manifest = __esm({
|
|
|
14281
14293
|
init_swift_native_pin();
|
|
14282
14294
|
init_swift_package();
|
|
14283
14295
|
init_swift_toolchain();
|
|
14284
|
-
cacheDir3 =
|
|
14296
|
+
cacheDir3 = import_node_path84.default.join(cacheDir(), "swift-manifests");
|
|
14285
14297
|
execFileAsync = (0, import_node_util7.promisify)(import_node_child_process39.execFile);
|
|
14286
14298
|
}
|
|
14287
14299
|
});
|
|
@@ -14581,13 +14593,13 @@ var init_source = __esm({
|
|
|
14581
14593
|
});
|
|
14582
14594
|
|
|
14583
14595
|
// src/xcode-intents.ts
|
|
14584
|
-
var import_node_crypto48, import_node_fs82,
|
|
14596
|
+
var import_node_crypto48, import_node_fs82, import_node_path85;
|
|
14585
14597
|
var init_xcode_intents = __esm({
|
|
14586
14598
|
"src/xcode-intents.ts"() {
|
|
14587
14599
|
"use strict";
|
|
14588
14600
|
import_node_crypto48 = require("node:crypto");
|
|
14589
14601
|
import_node_fs82 = __toESM(require("node:fs"), 1);
|
|
14590
|
-
|
|
14602
|
+
import_node_path85 = __toESM(require("node:path"), 1);
|
|
14591
14603
|
init_fields();
|
|
14592
14604
|
init_metadata();
|
|
14593
14605
|
init_plist_reader();
|
|
@@ -14597,11 +14609,11 @@ var init_xcode_intents = __esm({
|
|
|
14597
14609
|
});
|
|
14598
14610
|
|
|
14599
14611
|
// src/xcode-json-project.ts
|
|
14600
|
-
var
|
|
14612
|
+
var import_node_path86, import_json52;
|
|
14601
14613
|
var init_xcode_json_project = __esm({
|
|
14602
14614
|
"src/xcode-json-project.ts"() {
|
|
14603
14615
|
"use strict";
|
|
14604
|
-
|
|
14616
|
+
import_node_path86 = __toESM(require("node:path"), 1);
|
|
14605
14617
|
import_json52 = __toESM(require_lib(), 1);
|
|
14606
14618
|
}
|
|
14607
14619
|
});
|
|
@@ -14648,7 +14660,7 @@ var init_xcode_swift_features = __esm({
|
|
|
14648
14660
|
});
|
|
14649
14661
|
|
|
14650
14662
|
// src/xcode-project.ts
|
|
14651
|
-
var import_node_child_process40, import_node_crypto49, import_node_fs83, import_node_module8,
|
|
14663
|
+
var import_node_child_process40, import_node_crypto49, import_node_fs83, import_node_module8, import_node_path87, import_plist4, runScriptTimeoutMs;
|
|
14652
14664
|
var init_xcode_project = __esm({
|
|
14653
14665
|
"src/xcode-project.ts"() {
|
|
14654
14666
|
"use strict";
|
|
@@ -14656,7 +14668,7 @@ var init_xcode_project = __esm({
|
|
|
14656
14668
|
import_node_crypto49 = require("node:crypto");
|
|
14657
14669
|
import_node_fs83 = __toESM(require("node:fs"), 1);
|
|
14658
14670
|
import_node_module8 = require("node:module");
|
|
14659
|
-
|
|
14671
|
+
import_node_path87 = __toESM(require("node:path"), 1);
|
|
14660
14672
|
import_plist4 = __toESM(require("peachsim/vendor/plist"), 1);
|
|
14661
14673
|
init_bazel_project();
|
|
14662
14674
|
init_is_record();
|
|
@@ -14679,7 +14691,7 @@ var init_xcode_project = __esm({
|
|
|
14679
14691
|
});
|
|
14680
14692
|
|
|
14681
14693
|
// src/expo-native-workspace.ts
|
|
14682
|
-
var import_node_child_process41, import_node_crypto50, import_node_fs84, import_node_module9, import_node_os18,
|
|
14694
|
+
var import_node_child_process41, import_node_crypto50, import_node_fs84, import_node_module9, import_node_os18, import_node_path88, import_node_util8, ABANDONED_WORKSPACE_MS, CLONE_ENTRIES;
|
|
14683
14695
|
var init_expo_native_workspace = __esm({
|
|
14684
14696
|
"src/expo-native-workspace.ts"() {
|
|
14685
14697
|
"use strict";
|
|
@@ -14688,7 +14700,7 @@ var init_expo_native_workspace = __esm({
|
|
|
14688
14700
|
import_node_fs84 = __toESM(require("node:fs"), 1);
|
|
14689
14701
|
import_node_module9 = require("node:module");
|
|
14690
14702
|
import_node_os18 = __toESM(require("node:os"), 1);
|
|
14691
|
-
|
|
14703
|
+
import_node_path88 = __toESM(require("node:path"), 1);
|
|
14692
14704
|
import_node_util8 = require("node:util");
|
|
14693
14705
|
init_detect();
|
|
14694
14706
|
init_admitted_mac_build();
|
|
@@ -14741,13 +14753,13 @@ function run() {
|
|
|
14741
14753
|
});
|
|
14742
14754
|
|
|
14743
14755
|
// src/expo-discovery-cache.ts
|
|
14744
|
-
var import_node_crypto51, import_node_fs85,
|
|
14756
|
+
var import_node_crypto51, import_node_fs85, import_node_path89, import_node_zlib5, EXPIRY_MS, ORPHAN_TEMPORARY_MS, MISSING_TREE;
|
|
14745
14757
|
var init_expo_discovery_cache = __esm({
|
|
14746
14758
|
"src/expo-discovery-cache.ts"() {
|
|
14747
14759
|
"use strict";
|
|
14748
14760
|
import_node_crypto51 = require("node:crypto");
|
|
14749
14761
|
import_node_fs85 = __toESM(require("node:fs"), 1);
|
|
14750
|
-
|
|
14762
|
+
import_node_path89 = __toESM(require("node:path"), 1);
|
|
14751
14763
|
import_node_zlib5 = require("node:zlib");
|
|
14752
14764
|
init_expo_eager_seam_contract();
|
|
14753
14765
|
init_answeredNativePackages();
|
|
@@ -14801,13 +14813,13 @@ var init_expoSwiftContract = __esm({
|
|
|
14801
14813
|
});
|
|
14802
14814
|
|
|
14803
14815
|
// src/native-app-identity-project.ts
|
|
14804
|
-
var import_node_fs86, import_node_module10,
|
|
14816
|
+
var import_node_fs86, import_node_module10, import_node_path90;
|
|
14805
14817
|
var init_native_app_identity_project = __esm({
|
|
14806
14818
|
"src/native-app-identity-project.ts"() {
|
|
14807
14819
|
"use strict";
|
|
14808
14820
|
import_node_fs86 = __toESM(require("node:fs"), 1);
|
|
14809
14821
|
import_node_module10 = require("node:module");
|
|
14810
|
-
|
|
14822
|
+
import_node_path90 = __toESM(require("node:path"), 1);
|
|
14811
14823
|
init_android_app_identity();
|
|
14812
14824
|
init_is_record();
|
|
14813
14825
|
init_native_app_identity();
|
|
@@ -14821,7 +14833,7 @@ var init_native_app_identity_project = __esm({
|
|
|
14821
14833
|
});
|
|
14822
14834
|
|
|
14823
14835
|
// src/native-firebase-config.ts
|
|
14824
|
-
var import_node_child_process42, import_node_fs87, import_node_module11, import_node_os19,
|
|
14836
|
+
var import_node_child_process42, import_node_fs87, import_node_module11, import_node_os19, import_node_path91;
|
|
14825
14837
|
var init_native_firebase_config = __esm({
|
|
14826
14838
|
"src/native-firebase-config.ts"() {
|
|
14827
14839
|
"use strict";
|
|
@@ -14829,7 +14841,7 @@ var init_native_firebase_config = __esm({
|
|
|
14829
14841
|
import_node_fs87 = __toESM(require("node:fs"), 1);
|
|
14830
14842
|
import_node_module11 = require("node:module");
|
|
14831
14843
|
import_node_os19 = __toESM(require("node:os"), 1);
|
|
14832
|
-
|
|
14844
|
+
import_node_path91 = __toESM(require("node:path"), 1);
|
|
14833
14845
|
init_is_record();
|
|
14834
14846
|
init_plist();
|
|
14835
14847
|
init_xcode_project();
|
|
@@ -14854,9 +14866,9 @@ function hashPackageTree(root, options) {
|
|
|
14854
14866
|
(a, b) => options.compareNames(a.name, b.name)
|
|
14855
14867
|
)) {
|
|
14856
14868
|
if (entry.name === "node_modules") continue;
|
|
14857
|
-
const
|
|
14858
|
-
if (entry.isDirectory()) walk2((0,
|
|
14859
|
-
else if (entry.isFile() && !options.skipFile?.(entry.name)) files.push(
|
|
14869
|
+
const path114 = `${relative3}${entry.name}`;
|
|
14870
|
+
if (entry.isDirectory()) walk2((0, import_node_path92.join)(directory, entry.name), `${path114}/`);
|
|
14871
|
+
else if (entry.isFile() && !options.skipFile?.(entry.name)) files.push(path114);
|
|
14860
14872
|
}
|
|
14861
14873
|
};
|
|
14862
14874
|
walk2(root, "");
|
|
@@ -14864,7 +14876,7 @@ function hashPackageTree(root, options) {
|
|
|
14864
14876
|
return (async () => {
|
|
14865
14877
|
for (let start = 0; start < files.length; start += READ_AHEAD) {
|
|
14866
14878
|
const batch = files.slice(start, start + READ_AHEAD);
|
|
14867
|
-
const bytes = await Promise.all(batch.map((file) => (0, import_promises9.readFile)((0,
|
|
14879
|
+
const bytes = await Promise.all(batch.map((file) => (0, import_promises9.readFile)((0, import_node_path92.join)(root, file))));
|
|
14868
14880
|
batch.forEach((file, index) => hash.update(`${file}\0`).update(bytes[index]));
|
|
14869
14881
|
}
|
|
14870
14882
|
return hash.digest("hex");
|
|
@@ -14876,27 +14888,27 @@ function nativePackageTreeDigest(root) {
|
|
|
14876
14888
|
skipFile: (name2) => name2.endsWith(".d.ts") || name2.endsWith(".d.ts.map") || name2.endsWith(".js.map")
|
|
14877
14889
|
});
|
|
14878
14890
|
}
|
|
14879
|
-
var import_node_crypto52, import_node_fs88, import_promises9,
|
|
14891
|
+
var import_node_crypto52, import_node_fs88, import_promises9, import_node_path92, READ_AHEAD;
|
|
14880
14892
|
var init_package_tree_digest = __esm({
|
|
14881
14893
|
"src/package-tree-digest.ts"() {
|
|
14882
14894
|
"use strict";
|
|
14883
14895
|
import_node_crypto52 = require("node:crypto");
|
|
14884
14896
|
import_node_fs88 = require("node:fs");
|
|
14885
14897
|
import_promises9 = require("node:fs/promises");
|
|
14886
|
-
|
|
14898
|
+
import_node_path92 = require("node:path");
|
|
14887
14899
|
READ_AHEAD = 64;
|
|
14888
14900
|
}
|
|
14889
14901
|
});
|
|
14890
14902
|
|
|
14891
14903
|
// src/expo-native-prebuilt.ts
|
|
14892
|
-
var import_node_crypto53, import_node_fs89, import_node_module12,
|
|
14904
|
+
var import_node_crypto53, import_node_fs89, import_node_module12, import_node_path93, import_node_util9, import_plist7, IDENTITY_SOURCE_SKIPS;
|
|
14893
14905
|
var init_expo_native_prebuilt = __esm({
|
|
14894
14906
|
"src/expo-native-prebuilt.ts"() {
|
|
14895
14907
|
"use strict";
|
|
14896
14908
|
import_node_crypto53 = require("node:crypto");
|
|
14897
14909
|
import_node_fs89 = __toESM(require("node:fs"), 1);
|
|
14898
14910
|
import_node_module12 = require("node:module");
|
|
14899
|
-
|
|
14911
|
+
import_node_path93 = __toESM(require("node:path"), 1);
|
|
14900
14912
|
import_node_util9 = require("node:util");
|
|
14901
14913
|
import_plist7 = __toESM(require("peachsim/vendor/plist"), 1);
|
|
14902
14914
|
init_answeredNativePackages();
|
|
@@ -14927,8 +14939,8 @@ var init_nativePreparationContract = __esm({
|
|
|
14927
14939
|
|
|
14928
14940
|
// src/native-preparation.ts
|
|
14929
14941
|
function ignoredChange(relative3) {
|
|
14930
|
-
const parts = relative3.split(
|
|
14931
|
-
return relative3 ===
|
|
14942
|
+
const parts = relative3.split(import_node_path94.default.sep);
|
|
14943
|
+
return relative3 === import_node_path94.default.join(".git", "index") || parts.includes(".cache") || parts.includes(".expo") || /(?:^|[\\/])node_modules[\\/]expo-widgets[\\/]bundle[\\/]build(?:[\\/]|$)/.test(
|
|
14932
14944
|
relative3
|
|
14933
14945
|
);
|
|
14934
14946
|
}
|
|
@@ -14964,15 +14976,15 @@ function watchNativeInputs(root) {
|
|
|
14964
14976
|
if (visited.has(directory)) return;
|
|
14965
14977
|
visited.add(directory);
|
|
14966
14978
|
for (const entry of import_node_fs90.default.readdirSync(directory, { withFileTypes: true })) {
|
|
14967
|
-
const file =
|
|
14968
|
-
if (ignoredChange(
|
|
14979
|
+
const file = import_node_path94.default.join(directory, entry.name);
|
|
14980
|
+
if (ignoredChange(import_node_path94.default.relative(watchRoot, file)) || entry.name === ".git") continue;
|
|
14969
14981
|
if (entry.isDirectory()) scan(file, watchRoot);
|
|
14970
14982
|
if (!entry.isSymbolicLink()) continue;
|
|
14971
|
-
const target =
|
|
14972
|
-
if (target === workspace || target.startsWith(workspace +
|
|
14983
|
+
const target = import_node_path94.default.resolve(directory, import_node_fs90.default.readlinkSync(file));
|
|
14984
|
+
if (target === workspace || target.startsWith(workspace + import_node_path94.default.sep)) continue;
|
|
14973
14985
|
const real = import_node_fs90.default.realpathSync(file);
|
|
14974
14986
|
if (visited.has(real)) continue;
|
|
14975
|
-
watch(
|
|
14987
|
+
watch(import_node_path94.default.dirname(real), false, import_node_path94.default.basename(real));
|
|
14976
14988
|
if (import_node_fs90.default.statSync(real).isDirectory()) {
|
|
14977
14989
|
watch(real, true);
|
|
14978
14990
|
scan(real, real);
|
|
@@ -14989,13 +15001,13 @@ function watchNativeInputs(root) {
|
|
|
14989
15001
|
watchedInputs.set(workspace, inputs2);
|
|
14990
15002
|
return inputs2;
|
|
14991
15003
|
}
|
|
14992
|
-
var import_node_crypto54, import_node_fs90,
|
|
15004
|
+
var import_node_crypto54, import_node_fs90, import_node_path94, import_node_timers, setTimeoutNode, RETENTION_MS, watchedInputs, NativePreparation;
|
|
14993
15005
|
var init_native_preparation = __esm({
|
|
14994
15006
|
"src/native-preparation.ts"() {
|
|
14995
15007
|
"use strict";
|
|
14996
15008
|
import_node_crypto54 = require("node:crypto");
|
|
14997
15009
|
import_node_fs90 = __toESM(require("node:fs"), 1);
|
|
14998
|
-
|
|
15010
|
+
import_node_path94 = __toESM(require("node:path"), 1);
|
|
14999
15011
|
import_node_timers = require("node:timers");
|
|
15000
15012
|
init_nativePreparationContract();
|
|
15001
15013
|
init_runtime_assets();
|
|
@@ -15060,12 +15072,12 @@ var init_native_preparation = __esm({
|
|
|
15060
15072
|
});
|
|
15061
15073
|
|
|
15062
15074
|
// src/swift-xcframework.ts
|
|
15063
|
-
var import_node_fs91,
|
|
15075
|
+
var import_node_fs91, import_node_path95;
|
|
15064
15076
|
var init_swift_xcframework = __esm({
|
|
15065
15077
|
"src/swift-xcframework.ts"() {
|
|
15066
15078
|
"use strict";
|
|
15067
15079
|
import_node_fs91 = __toESM(require("node:fs"), 1);
|
|
15068
|
-
|
|
15080
|
+
import_node_path95 = __toESM(require("node:path"), 1);
|
|
15069
15081
|
init_is_record();
|
|
15070
15082
|
init_plist_bytes();
|
|
15071
15083
|
init_swift_source_file();
|
|
@@ -15073,14 +15085,14 @@ var init_swift_xcframework = __esm({
|
|
|
15073
15085
|
});
|
|
15074
15086
|
|
|
15075
15087
|
// src/native-static-libraries.ts
|
|
15076
|
-
var import_node_child_process43, import_node_crypto55, import_node_fs92,
|
|
15088
|
+
var import_node_child_process43, import_node_crypto55, import_node_fs92, import_node_path96, WEBRTC_NATIVE_FRAMEWORK, SIGNAL_WEBRTC_NATIVE_FRAMEWORK, WEBRTC_NATIVE_FRAMEWORK_RECIPES, NATIVE_STATIC_LIBRARY_RECIPES;
|
|
15077
15089
|
var init_native_static_libraries = __esm({
|
|
15078
15090
|
"src/native-static-libraries.ts"() {
|
|
15079
15091
|
"use strict";
|
|
15080
15092
|
import_node_child_process43 = require("node:child_process");
|
|
15081
15093
|
import_node_crypto55 = require("node:crypto");
|
|
15082
15094
|
import_node_fs92 = __toESM(require("node:fs"), 1);
|
|
15083
|
-
|
|
15095
|
+
import_node_path96 = __toESM(require("node:path"), 1);
|
|
15084
15096
|
init_home_paths();
|
|
15085
15097
|
init_native_prebuilt();
|
|
15086
15098
|
init_swift_compile();
|
|
@@ -15384,18 +15396,18 @@ var init_mapLimit = __esm({
|
|
|
15384
15396
|
});
|
|
15385
15397
|
|
|
15386
15398
|
// src/numbered-lock.ts
|
|
15387
|
-
var import_node_crypto56, import_node_fs93,
|
|
15399
|
+
var import_node_crypto56, import_node_fs93, import_node_path97;
|
|
15388
15400
|
var init_numbered_lock = __esm({
|
|
15389
15401
|
"src/numbered-lock.ts"() {
|
|
15390
15402
|
"use strict";
|
|
15391
15403
|
import_node_crypto56 = require("node:crypto");
|
|
15392
15404
|
import_node_fs93 = require("node:fs");
|
|
15393
|
-
|
|
15405
|
+
import_node_path97 = require("node:path");
|
|
15394
15406
|
}
|
|
15395
15407
|
});
|
|
15396
15408
|
|
|
15397
15409
|
// src/rive-runtime-dependencies.ts
|
|
15398
|
-
var import_node_child_process44, import_node_crypto57, import_node_fs94, import_node_os20,
|
|
15410
|
+
var import_node_child_process44, import_node_crypto57, import_node_fs94, import_node_os20, import_node_path98, import_promises10;
|
|
15399
15411
|
var init_rive_runtime_dependencies = __esm({
|
|
15400
15412
|
"src/rive-runtime-dependencies.ts"() {
|
|
15401
15413
|
"use strict";
|
|
@@ -15403,7 +15415,7 @@ var init_rive_runtime_dependencies = __esm({
|
|
|
15403
15415
|
import_node_crypto57 = require("node:crypto");
|
|
15404
15416
|
import_node_fs94 = __toESM(require("node:fs"), 1);
|
|
15405
15417
|
import_node_os20 = __toESM(require("node:os"), 1);
|
|
15406
|
-
|
|
15418
|
+
import_node_path98 = __toESM(require("node:path"), 1);
|
|
15407
15419
|
import_promises10 = require("node:timers/promises");
|
|
15408
15420
|
init_home_paths();
|
|
15409
15421
|
init_numbered_lock();
|
|
@@ -15480,14 +15492,14 @@ var init_swift_shipped_binaries = __esm({
|
|
|
15480
15492
|
});
|
|
15481
15493
|
|
|
15482
15494
|
// src/swift-packages.ts
|
|
15483
|
-
var import_node_child_process45, import_node_crypto58, import_node_fs95,
|
|
15495
|
+
var import_node_child_process45, import_node_crypto58, import_node_fs95, import_node_path99, import_promises11, import_node_util10, execFileAsync2;
|
|
15484
15496
|
var init_swift_packages = __esm({
|
|
15485
15497
|
"src/swift-packages.ts"() {
|
|
15486
15498
|
"use strict";
|
|
15487
15499
|
import_node_child_process45 = require("node:child_process");
|
|
15488
15500
|
import_node_crypto58 = require("node:crypto");
|
|
15489
15501
|
import_node_fs95 = __toESM(require("node:fs"), 1);
|
|
15490
|
-
|
|
15502
|
+
import_node_path99 = __toESM(require("node:path"), 1);
|
|
15491
15503
|
import_promises11 = require("node:timers/promises");
|
|
15492
15504
|
import_node_util10 = require("node:util");
|
|
15493
15505
|
init_git_repo_env();
|
|
@@ -15506,20 +15518,20 @@ var init_swift_packages = __esm({
|
|
|
15506
15518
|
// src/ffmpeg-source-build.ts
|
|
15507
15519
|
function inputs(declaration) {
|
|
15508
15520
|
const source = declaration.sources.find(
|
|
15509
|
-
({ file }) =>
|
|
15521
|
+
({ file }) => import_node_path100.default.basename(file) === "configure" && import_node_fs96.default.existsSync(import_node_path100.default.join(import_node_path100.default.dirname(file), "ffbuild/common.mak"))
|
|
15510
15522
|
)?.file;
|
|
15511
15523
|
const script = declaration.sources.find(
|
|
15512
15524
|
({ file }) => file.endsWith(".sh") && import_node_fs96.default.readFileSync(file, "utf8").includes("CONFIGURE_FLAGS=") && import_node_fs96.default.readFileSync(file, "utf8").includes("$SOURCE/configure")
|
|
15513
15525
|
)?.file;
|
|
15514
|
-
return source && script ? { source:
|
|
15526
|
+
return source && script ? { source: import_node_path100.default.dirname(source), script } : null;
|
|
15515
15527
|
}
|
|
15516
|
-
var import_node_child_process46, import_node_fs96,
|
|
15528
|
+
var import_node_child_process46, import_node_fs96, import_node_path100, ffmpegBuilder;
|
|
15517
15529
|
var init_ffmpeg_source_build = __esm({
|
|
15518
15530
|
"src/ffmpeg-source-build.ts"() {
|
|
15519
15531
|
"use strict";
|
|
15520
15532
|
import_node_child_process46 = require("node:child_process");
|
|
15521
15533
|
import_node_fs96 = __toESM(require("node:fs"), 1);
|
|
15522
|
-
|
|
15534
|
+
import_node_path100 = __toESM(require("node:path"), 1);
|
|
15523
15535
|
ffmpegBuilder = {
|
|
15524
15536
|
name: "ffmpeg-configure-v2",
|
|
15525
15537
|
probesFrameworks: true,
|
|
@@ -15541,8 +15553,8 @@ var init_ffmpeg_source_build = __esm({
|
|
|
15541
15553
|
"--enable-decoder=aac_at,alac_at,gsm_ms_at",
|
|
15542
15554
|
"--enable-hwaccel=h264_videotoolbox,hevc_videotoolbox"
|
|
15543
15555
|
);
|
|
15544
|
-
const work =
|
|
15545
|
-
const prefix =
|
|
15556
|
+
const work = import_node_path100.default.join(outDir, ".work");
|
|
15557
|
+
const prefix = import_node_path100.default.join(work, "install");
|
|
15546
15558
|
import_node_fs96.default.mkdirSync(work, { recursive: true });
|
|
15547
15559
|
const libraries = [
|
|
15548
15560
|
{
|
|
@@ -15567,7 +15579,7 @@ var init_ffmpeg_source_build = __esm({
|
|
|
15567
15579
|
for (const library of libraries) {
|
|
15568
15580
|
if (!flags.includes(`--enable-${library.option}`)) continue;
|
|
15569
15581
|
const dependency = declaration.dependencies.find(
|
|
15570
|
-
(candidate) => candidate.outputs.some((output) =>
|
|
15582
|
+
(candidate) => candidate.outputs.some((output) => import_node_path100.default.basename(output.path) === library.header)
|
|
15571
15583
|
);
|
|
15572
15584
|
const built = dependency && dependencyOutputs.get(dependency.label);
|
|
15573
15585
|
if (!dependency || !built)
|
|
@@ -15578,31 +15590,31 @@ var init_ffmpeg_source_build = __esm({
|
|
|
15578
15590
|
(output) => /\.(?:h|inc)$/.test(output.path)
|
|
15579
15591
|
);
|
|
15580
15592
|
const main = headers.find(
|
|
15581
|
-
(output) =>
|
|
15593
|
+
(output) => import_node_path100.default.basename(output.path) === library.header
|
|
15582
15594
|
);
|
|
15583
|
-
const includeRoot = library.option === "libdav1d" ?
|
|
15584
|
-
const destination =
|
|
15595
|
+
const includeRoot = library.option === "libdav1d" ? import_node_path100.default.dirname(import_node_path100.default.dirname(main.path)) : import_node_path100.default.dirname(main.path);
|
|
15596
|
+
const destination = import_node_path100.default.join(work, library.option);
|
|
15585
15597
|
for (const header of headers) {
|
|
15586
|
-
const relative3 =
|
|
15598
|
+
const relative3 = import_node_path100.default.relative(includeRoot, header.path);
|
|
15587
15599
|
if (relative3.startsWith("..")) continue;
|
|
15588
|
-
const target =
|
|
15600
|
+
const target = import_node_path100.default.join(
|
|
15589
15601
|
destination,
|
|
15590
15602
|
library.option === "libdav1d" ? "include" : library.include,
|
|
15591
15603
|
relative3
|
|
15592
15604
|
);
|
|
15593
|
-
import_node_fs96.default.mkdirSync(
|
|
15594
|
-
import_node_fs96.default.copyFileSync(
|
|
15605
|
+
import_node_fs96.default.mkdirSync(import_node_path100.default.dirname(target), { recursive: true });
|
|
15606
|
+
import_node_fs96.default.copyFileSync(import_node_path100.default.join(built, header.path), target);
|
|
15595
15607
|
}
|
|
15596
15608
|
const archive = dependency.outputs.find((output) => output.path.endsWith(".a"));
|
|
15597
15609
|
if (!archive) throw new Error(`${dependency.label} declares no library`);
|
|
15598
|
-
import_node_fs96.default.mkdirSync(
|
|
15610
|
+
import_node_fs96.default.mkdirSync(import_node_path100.default.join(destination, "lib"), { recursive: true });
|
|
15599
15611
|
import_node_fs96.default.copyFileSync(
|
|
15600
|
-
|
|
15601
|
-
|
|
15612
|
+
import_node_path100.default.join(built, archive.path),
|
|
15613
|
+
import_node_path100.default.join(destination, "lib", library.archive)
|
|
15602
15614
|
);
|
|
15603
15615
|
}
|
|
15604
15616
|
const compiler = [toolchain.cc, ...toolchain.cFlags].join(" ");
|
|
15605
|
-
const pkgConfig =
|
|
15617
|
+
const pkgConfig = import_node_path100.default.join(import_node_path100.default.dirname(input.script), "pkg-config");
|
|
15606
15618
|
const options = {
|
|
15607
15619
|
cwd: work,
|
|
15608
15620
|
env: { ...process.env, CPPFLAGS: "", CFLAGS: "", CXXFLAGS: "", LDFLAGS: "" },
|
|
@@ -15623,15 +15635,15 @@ var init_ffmpeg_source_build = __esm({
|
|
|
15623
15635
|
`--cc=${compiler}`,
|
|
15624
15636
|
`--ar=${toolchain.ar}`,
|
|
15625
15637
|
`--ranlib=${toolchain.ranlib}`,
|
|
15626
|
-
`--nm=${
|
|
15638
|
+
`--nm=${import_node_path100.default.join(toolchain.toolchainBin, "llvm-nm")}`,
|
|
15627
15639
|
`--extra-cflags=${extra} -Oz -fPIC -fwasm-exceptions -ffunction-sections -fdata-sections`,
|
|
15628
15640
|
"--extra-ldflags=-fwasm-exceptions",
|
|
15629
15641
|
`--prefix=${prefix}`,
|
|
15630
15642
|
`--pkg-config=${pkgConfig}`,
|
|
15631
|
-
`--pkg-config-flags=${libraries.map(({ option }) => `--${option}_path ${
|
|
15643
|
+
`--pkg-config-flags=${libraries.map(({ option }) => `--${option}_path ${import_node_path100.default.join(work, option)}`).join(" ")}`
|
|
15632
15644
|
];
|
|
15633
|
-
(0, import_node_child_process46.execFileSync)(
|
|
15634
|
-
const config =
|
|
15645
|
+
(0, import_node_child_process46.execFileSync)(import_node_path100.default.join(input.source, "configure"), configure, options);
|
|
15646
|
+
const config = import_node_path100.default.join(work, "config.h");
|
|
15635
15647
|
const portableConfig = configure.filter((arg) => !/^--(?:cc|ar|nm|ranlib|prefix|pkg-config(?:-flags)?)=/.test(arg)).join(" ");
|
|
15636
15648
|
import_node_fs96.default.writeFileSync(
|
|
15637
15649
|
config,
|
|
@@ -15642,14 +15654,14 @@ var init_ffmpeg_source_build = __esm({
|
|
|
15642
15654
|
);
|
|
15643
15655
|
(0, import_node_child_process46.execFileSync)("make", [`-j${toolchain.jobs}`, "install"], options);
|
|
15644
15656
|
for (const output of declaration.outputs) {
|
|
15645
|
-
const target =
|
|
15657
|
+
const target = import_node_path100.default.join(outDir, output.path);
|
|
15646
15658
|
const component = /(?:^|\/)((?:libavutil|libavcodec|libavformat|libswresample)\/.*)$/.exec(
|
|
15647
15659
|
output.path
|
|
15648
15660
|
)?.[1];
|
|
15649
|
-
const source = output.path.endsWith(".a") ?
|
|
15661
|
+
const source = output.path.endsWith(".a") ? import_node_path100.default.join(prefix, "lib", import_node_path100.default.basename(output.path)) : component ? import_node_path100.default.join(prefix, "include", component) : null;
|
|
15650
15662
|
if (!source || !import_node_fs96.default.existsSync(source))
|
|
15651
15663
|
throw new Error(`${declaration.label}: FFmpeg did not produce ${output.path}`);
|
|
15652
|
-
import_node_fs96.default.mkdirSync(
|
|
15664
|
+
import_node_fs96.default.mkdirSync(import_node_path100.default.dirname(target), { recursive: true });
|
|
15653
15665
|
import_node_fs96.default.copyFileSync(source, target);
|
|
15654
15666
|
}
|
|
15655
15667
|
}
|
|
@@ -15681,14 +15693,14 @@ function deriveSource(file, bytes, backport) {
|
|
|
15681
15693
|
};
|
|
15682
15694
|
}
|
|
15683
15695
|
function deriveWasm64Header(file, bytes) {
|
|
15684
|
-
return deriveSource(file, bytes, headerDerivations.get(
|
|
15696
|
+
return deriveSource(file, bytes, headerDerivations.get(import_node_path101.default.basename(file)));
|
|
15685
15697
|
}
|
|
15686
|
-
var import_node_crypto59,
|
|
15698
|
+
var import_node_crypto59, import_node_path101, webrtcUnknownArchitecture, boringsslWordSize2, headerDerivations;
|
|
15687
15699
|
var init_swift_wasm64_native_source = __esm({
|
|
15688
15700
|
"src/swift-wasm64-native-source.ts"() {
|
|
15689
15701
|
"use strict";
|
|
15690
15702
|
import_node_crypto59 = require("node:crypto");
|
|
15691
|
-
|
|
15703
|
+
import_node_path101 = __toESM(require("node:path"), 1);
|
|
15692
15704
|
init_nitro_dependencies();
|
|
15693
15705
|
init_swift_wasm64_wamr();
|
|
15694
15706
|
init_swiftWasm64ConfigContract();
|
|
@@ -15732,7 +15744,7 @@ function sourceNamed(declaration, pattern) {
|
|
|
15732
15744
|
}
|
|
15733
15745
|
function sourceTree(declaration, marker) {
|
|
15734
15746
|
const file = declaration.sources.find(
|
|
15735
|
-
(source) => source.file.endsWith(`${
|
|
15747
|
+
(source) => source.file.endsWith(`${import_node_path102.default.sep}${marker}`)
|
|
15736
15748
|
)?.file;
|
|
15737
15749
|
if (!file) throw new Error(`${declaration.label} names no ${marker}`);
|
|
15738
15750
|
return file.slice(0, -marker.length - 1);
|
|
@@ -15748,18 +15760,18 @@ function run4(command, args, cwd, env) {
|
|
|
15748
15760
|
function walk(dir) {
|
|
15749
15761
|
if (!import_node_fs97.default.existsSync(dir)) return [];
|
|
15750
15762
|
return import_node_fs97.default.readdirSync(dir, { withFileTypes: true }).flatMap((entry) => {
|
|
15751
|
-
const full =
|
|
15763
|
+
const full = import_node_path102.default.join(dir, entry.name);
|
|
15752
15764
|
return entry.isDirectory() ? walk(full) : [full];
|
|
15753
15765
|
});
|
|
15754
15766
|
}
|
|
15755
15767
|
function placeOutputs(declaration, roots, outDir) {
|
|
15756
15768
|
const built = roots.flatMap(walk);
|
|
15757
15769
|
for (const output of declaration.outputs) {
|
|
15758
|
-
const parts = output.path.split(
|
|
15770
|
+
const parts = output.path.split(import_node_path102.default.sep);
|
|
15759
15771
|
const name2 = parts.at(-1).toLowerCase();
|
|
15760
|
-
const candidates = built.filter((file) =>
|
|
15772
|
+
const candidates = built.filter((file) => import_node_path102.default.basename(file).toLowerCase() === name2);
|
|
15761
15773
|
const score = (file) => {
|
|
15762
|
-
const theirs = file.split(
|
|
15774
|
+
const theirs = file.split(import_node_path102.default.sep);
|
|
15763
15775
|
let shared = 1;
|
|
15764
15776
|
while (shared < parts.length && theirs.at(-1 - shared) === parts.at(-1 - shared))
|
|
15765
15777
|
shared++;
|
|
@@ -15767,8 +15779,8 @@ function placeOutputs(declaration, roots, outDir) {
|
|
|
15767
15779
|
};
|
|
15768
15780
|
const best = candidates.sort((a, b) => score(b) - score(a))[0];
|
|
15769
15781
|
if (!best) continue;
|
|
15770
|
-
const target =
|
|
15771
|
-
import_node_fs97.default.mkdirSync(
|
|
15782
|
+
const target = import_node_path102.default.join(outDir, output.path);
|
|
15783
|
+
import_node_fs97.default.mkdirSync(import_node_path102.default.dirname(target), { recursive: true });
|
|
15772
15784
|
import_node_fs97.default.copyFileSync(best, target);
|
|
15773
15785
|
}
|
|
15774
15786
|
}
|
|
@@ -15776,7 +15788,7 @@ function copyTree(source, target) {
|
|
|
15776
15788
|
import_node_fs97.default.cpSync(source, target, {
|
|
15777
15789
|
recursive: true,
|
|
15778
15790
|
dereference: true,
|
|
15779
|
-
filter: (file) =>
|
|
15791
|
+
filter: (file) => import_node_path102.default.basename(file) !== ".git"
|
|
15780
15792
|
});
|
|
15781
15793
|
}
|
|
15782
15794
|
function toolEnv(toolchain, extra = []) {
|
|
@@ -15792,8 +15804,8 @@ function toolEnv(toolchain, extra = []) {
|
|
|
15792
15804
|
CXX: toolchain.cxx,
|
|
15793
15805
|
AR: toolchain.ar,
|
|
15794
15806
|
RANLIB: toolchain.ranlib,
|
|
15795
|
-
NM:
|
|
15796
|
-
STRIP:
|
|
15807
|
+
NM: import_node_path102.default.join(toolchain.toolchainBin, "llvm-nm"),
|
|
15808
|
+
STRIP: import_node_path102.default.join(toolchain.toolchainBin, "llvm-strip"),
|
|
15797
15809
|
CFLAGS: flags.join(" "),
|
|
15798
15810
|
CXXFLAGS: flags.join(" "),
|
|
15799
15811
|
CPPFLAGS: "",
|
|
@@ -15809,7 +15821,7 @@ function toolEnv(toolchain, extra = []) {
|
|
|
15809
15821
|
};
|
|
15810
15822
|
}
|
|
15811
15823
|
function cmakeToolchainFile(toolchain, dir) {
|
|
15812
|
-
const file =
|
|
15824
|
+
const file = import_node_path102.default.join(dir, "wasm64.cmake");
|
|
15813
15825
|
import_node_fs97.default.writeFileSync(
|
|
15814
15826
|
file,
|
|
15815
15827
|
[
|
|
@@ -15834,7 +15846,7 @@ function cmakeToolchainFile(toolchain, dir) {
|
|
|
15834
15846
|
return file;
|
|
15835
15847
|
}
|
|
15836
15848
|
function cmakeBuild(toolchain, source, work, options, targets = []) {
|
|
15837
|
-
const build =
|
|
15849
|
+
const build = import_node_path102.default.join(work, "build");
|
|
15838
15850
|
import_node_fs97.default.mkdirSync(build, { recursive: true });
|
|
15839
15851
|
const env = toolEnv(toolchain);
|
|
15840
15852
|
run4(
|
|
@@ -15866,13 +15878,13 @@ function cmakeBuild(toolchain, source, work, options, targets = []) {
|
|
|
15866
15878
|
);
|
|
15867
15879
|
return build;
|
|
15868
15880
|
}
|
|
15869
|
-
var import_node_child_process47, import_node_fs97,
|
|
15881
|
+
var import_node_child_process47, import_node_fs97, import_node_path102, opusBuilder, libvpxBuilder, libwebpBuilder, mozjpegBuilder, dav1dBuilder, tdBuilder, GENRULE_LIBRARY_BUILDERS;
|
|
15870
15882
|
var init_genrule_library_builds = __esm({
|
|
15871
15883
|
"src/genrule-library-builds.ts"() {
|
|
15872
15884
|
"use strict";
|
|
15873
15885
|
import_node_child_process47 = require("node:child_process");
|
|
15874
15886
|
import_node_fs97 = __toESM(require("node:fs"), 1);
|
|
15875
|
-
|
|
15887
|
+
import_node_path102 = __toESM(require("node:path"), 1);
|
|
15876
15888
|
init_swift_wasm64_native_source();
|
|
15877
15889
|
init_swiftTargetContract();
|
|
15878
15890
|
opusBuilder = {
|
|
@@ -15880,11 +15892,11 @@ var init_genrule_library_builds = __esm({
|
|
|
15880
15892
|
recognizes: (declaration) => !!sourceNamed(declaration, /\/opus-[\d.]+\.tar\.gz$/),
|
|
15881
15893
|
build(declaration, toolchain, _dependencies, outDir) {
|
|
15882
15894
|
const tarball = sourceNamed(declaration, /\/opus-[\d.]+\.tar\.gz$/);
|
|
15883
|
-
const work =
|
|
15895
|
+
const work = import_node_path102.default.join(outDir, ".work");
|
|
15884
15896
|
import_node_fs97.default.mkdirSync(work, { recursive: true });
|
|
15885
15897
|
run4("tar", ["-xzf", tarball, "--no-same-owner", "-C", work], work, {});
|
|
15886
|
-
const source =
|
|
15887
|
-
const prefix =
|
|
15898
|
+
const source = import_node_path102.default.join(work, import_node_path102.default.basename(tarball, ".tar.gz"));
|
|
15899
|
+
const prefix = import_node_path102.default.join(work, "install");
|
|
15888
15900
|
run4(
|
|
15889
15901
|
"./configure",
|
|
15890
15902
|
[
|
|
@@ -15908,14 +15920,14 @@ var init_genrule_library_builds = __esm({
|
|
|
15908
15920
|
libvpxBuilder = {
|
|
15909
15921
|
name: "libvpx",
|
|
15910
15922
|
recognizes: (declaration) => declaration.sources.some(
|
|
15911
|
-
(source) => source.file.endsWith(`${
|
|
15912
|
-
) && declaration.sources.some((source) => source.file.endsWith(`${
|
|
15923
|
+
(source) => source.file.endsWith(`${import_node_path102.default.sep}vpx${import_node_path102.default.sep}vpx_codec.h`)
|
|
15924
|
+
) && declaration.sources.some((source) => source.file.endsWith(`${import_node_path102.default.sep}vpxenc.c`)),
|
|
15913
15925
|
build(declaration, toolchain, _dependencies, outDir) {
|
|
15914
15926
|
const original = sourceTree(declaration, "vpxenc.c");
|
|
15915
|
-
const work =
|
|
15916
|
-
const source =
|
|
15927
|
+
const work = import_node_path102.default.join(outDir, ".work");
|
|
15928
|
+
const source = import_node_path102.default.join(work, "source");
|
|
15917
15929
|
copyTree(original, source);
|
|
15918
|
-
const build =
|
|
15930
|
+
const build = import_node_path102.default.join(work, "build");
|
|
15919
15931
|
import_node_fs97.default.mkdirSync(build, { recursive: true });
|
|
15920
15932
|
const env = toolEnv(toolchain);
|
|
15921
15933
|
const configure = [
|
|
@@ -15935,12 +15947,12 @@ var init_genrule_library_builds = __esm({
|
|
|
15935
15947
|
"--size-limit=8192x8192"
|
|
15936
15948
|
];
|
|
15937
15949
|
run4(
|
|
15938
|
-
|
|
15950
|
+
import_node_path102.default.join(source, "configure"),
|
|
15939
15951
|
[...configure, `--extra-cflags=${env.CFLAGS}`, `--extra-cxxflags=${env.CXXFLAGS}`],
|
|
15940
15952
|
build,
|
|
15941
15953
|
{ ...env, CROSS: "", LD: env.CC, AS: "" }
|
|
15942
15954
|
);
|
|
15943
|
-
const config =
|
|
15955
|
+
const config = import_node_path102.default.join(build, "vpx_config.c");
|
|
15944
15956
|
import_node_fs97.default.writeFileSync(
|
|
15945
15957
|
config,
|
|
15946
15958
|
import_node_fs97.default.readFileSync(config, "utf8").replace(
|
|
@@ -15951,17 +15963,17 @@ var init_genrule_library_builds = __esm({
|
|
|
15951
15963
|
run4("make", [`-j${toolchain.jobs}`, "dist", "DIST_DIR=dist"], build, {
|
|
15952
15964
|
CROSS: ""
|
|
15953
15965
|
});
|
|
15954
|
-
placeOutputs(declaration, [
|
|
15966
|
+
placeOutputs(declaration, [import_node_path102.default.join(build, "dist"), build], outDir);
|
|
15955
15967
|
}
|
|
15956
15968
|
};
|
|
15957
15969
|
libwebpBuilder = {
|
|
15958
15970
|
name: "libwebp",
|
|
15959
15971
|
recognizes: (declaration) => declaration.sources.some(
|
|
15960
|
-
(source) => source.file.endsWith(`${
|
|
15972
|
+
(source) => source.file.endsWith(`${import_node_path102.default.sep}src${import_node_path102.default.sep}webp${import_node_path102.default.sep}decode.h`)
|
|
15961
15973
|
),
|
|
15962
15974
|
build(declaration, toolchain, _dependencies, outDir) {
|
|
15963
|
-
const source = sourceTree(declaration,
|
|
15964
|
-
const work =
|
|
15975
|
+
const source = sourceTree(declaration, import_node_path102.default.join("src", "webp", "decode.h"));
|
|
15976
|
+
const work = import_node_path102.default.join(outDir, ".work");
|
|
15965
15977
|
const build = cmakeBuild(toolchain, source, work, [
|
|
15966
15978
|
"-DWEBP_LINK_STATIC=1",
|
|
15967
15979
|
"-DWEBP_BUILD_CWEBP=0",
|
|
@@ -15977,15 +15989,15 @@ var init_genrule_library_builds = __esm({
|
|
|
15977
15989
|
"-DWEBP_ENABLE_SIMD=0",
|
|
15978
15990
|
"-DWEBP_USE_THREAD=0"
|
|
15979
15991
|
]);
|
|
15980
|
-
placeOutputs(declaration, [build,
|
|
15992
|
+
placeOutputs(declaration, [build, import_node_path102.default.join(source, "src")], outDir);
|
|
15981
15993
|
}
|
|
15982
15994
|
};
|
|
15983
15995
|
mozjpegBuilder = {
|
|
15984
15996
|
name: "mozjpeg",
|
|
15985
|
-
recognizes: (declaration) => declaration.sources.some((source) => source.file.endsWith(`${
|
|
15997
|
+
recognizes: (declaration) => declaration.sources.some((source) => source.file.endsWith(`${import_node_path102.default.sep}jcmaster.c`)) && declaration.sources.some((source) => source.file.endsWith(`${import_node_path102.default.sep}turbojpeg.c`)),
|
|
15986
15998
|
build(declaration, toolchain, _dependencies, outDir) {
|
|
15987
15999
|
const source = sourceTree(declaration, "turbojpeg.c");
|
|
15988
|
-
const work =
|
|
16000
|
+
const work = import_node_path102.default.join(outDir, ".work");
|
|
15989
16001
|
const build = cmakeBuild(
|
|
15990
16002
|
toolchain,
|
|
15991
16003
|
source,
|
|
@@ -16007,22 +16019,22 @@ var init_genrule_library_builds = __esm({
|
|
|
16007
16019
|
dav1dBuilder = {
|
|
16008
16020
|
name: "dav1d",
|
|
16009
16021
|
recognizes: (declaration) => declaration.sources.some(
|
|
16010
|
-
(source) => source.file.endsWith(`${
|
|
16022
|
+
(source) => source.file.endsWith(`${import_node_path102.default.sep}include${import_node_path102.default.sep}dav1d${import_node_path102.default.sep}dav1d.h`)
|
|
16011
16023
|
),
|
|
16012
16024
|
build(declaration, toolchain, _dependencies, outDir) {
|
|
16013
|
-
const source = sourceTree(declaration,
|
|
16014
|
-
const work =
|
|
16025
|
+
const source = sourceTree(declaration, import_node_path102.default.join("include", "dav1d", "dav1d.h"));
|
|
16026
|
+
const work = import_node_path102.default.join(outDir, ".work");
|
|
16015
16027
|
import_node_fs97.default.mkdirSync(work, { recursive: true });
|
|
16016
16028
|
const quote = (item) => `'${item.replaceAll("\\", "\\\\").replaceAll("'", "\\'")}'`;
|
|
16017
16029
|
const list2 = (items) => `[${items.map(quote).join(", ")}]`;
|
|
16018
|
-
const cross =
|
|
16030
|
+
const cross = import_node_path102.default.join(work, "wasm64.meson");
|
|
16019
16031
|
import_node_fs97.default.writeFileSync(
|
|
16020
16032
|
cross,
|
|
16021
16033
|
[
|
|
16022
16034
|
"[binaries]",
|
|
16023
16035
|
`c = ${list2([toolchain.cc, ...toolchain.cFlags])}`,
|
|
16024
16036
|
`ar = ${quote(toolchain.ar)}`,
|
|
16025
|
-
`strip = ${quote(
|
|
16037
|
+
`strip = ${quote(import_node_path102.default.join(toolchain.toolchainBin, "llvm-strip"))}`,
|
|
16026
16038
|
"[built-in options]",
|
|
16027
16039
|
`c_link_args = ${list2(toolEnv(toolchain).LDFLAGS.split(" "))}`,
|
|
16028
16040
|
"[properties]",
|
|
@@ -16039,7 +16051,7 @@ var init_genrule_library_builds = __esm({
|
|
|
16039
16051
|
""
|
|
16040
16052
|
].join("\n")
|
|
16041
16053
|
);
|
|
16042
|
-
const build =
|
|
16054
|
+
const build = import_node_path102.default.join(work, "build");
|
|
16043
16055
|
run4(
|
|
16044
16056
|
"meson",
|
|
16045
16057
|
[
|
|
@@ -16057,29 +16069,29 @@ var init_genrule_library_builds = __esm({
|
|
|
16057
16069
|
{}
|
|
16058
16070
|
);
|
|
16059
16071
|
run4("ninja", ["-C", build, `-j${toolchain.jobs}`], work, {});
|
|
16060
|
-
placeOutputs(declaration, [build,
|
|
16072
|
+
placeOutputs(declaration, [build, import_node_path102.default.join(source, "include")], outDir);
|
|
16061
16073
|
}
|
|
16062
16074
|
};
|
|
16063
16075
|
tdBuilder = {
|
|
16064
16076
|
name: "td",
|
|
16065
16077
|
recognizes: (declaration) => declaration.sources.some(
|
|
16066
|
-
(source) => source.file.endsWith(`${
|
|
16078
|
+
(source) => source.file.endsWith(`${import_node_path102.default.sep}tde2e${import_node_path102.default.sep}CMakeLists.txt`)
|
|
16067
16079
|
),
|
|
16068
16080
|
build(declaration, toolchain, _dependencies, outDir) {
|
|
16069
|
-
const original = sourceTree(declaration,
|
|
16070
|
-
const openssl = sourceTree(declaration,
|
|
16071
|
-
const work =
|
|
16072
|
-
const source =
|
|
16081
|
+
const original = sourceTree(declaration, import_node_path102.default.join("tde2e", "CMakeLists.txt"));
|
|
16082
|
+
const openssl = sourceTree(declaration, import_node_path102.default.join("openssl", "crypto.h"));
|
|
16083
|
+
const work = import_node_path102.default.join(outDir, ".work");
|
|
16084
|
+
const source = import_node_path102.default.join(work, "source");
|
|
16073
16085
|
copyTree(original, source);
|
|
16074
|
-
const include =
|
|
16086
|
+
const include = import_node_path102.default.join(work, "include");
|
|
16075
16087
|
copyTree(openssl, include);
|
|
16076
|
-
const target =
|
|
16088
|
+
const target = import_node_path102.default.join(openssl, "openssl", "target.h");
|
|
16077
16089
|
if (declaration.sources.some(({ file }) => file === target)) {
|
|
16078
16090
|
const header = deriveWasm64Header(target, import_node_fs97.default.readFileSync(target));
|
|
16079
16091
|
if (header)
|
|
16080
|
-
import_node_fs97.default.writeFileSync(
|
|
16092
|
+
import_node_fs97.default.writeFileSync(import_node_path102.default.join(include, "openssl", "target.h"), header.bytes);
|
|
16081
16093
|
}
|
|
16082
|
-
const native =
|
|
16094
|
+
const native = import_node_path102.default.join(work, "native");
|
|
16083
16095
|
import_node_fs97.default.mkdirSync(native, { recursive: true });
|
|
16084
16096
|
run4(
|
|
16085
16097
|
"cmake",
|
|
@@ -16114,13 +16126,13 @@ var init_genrule_library_builds = __esm({
|
|
|
16114
16126
|
});
|
|
16115
16127
|
|
|
16116
16128
|
// src/native-framework-compiler.ts
|
|
16117
|
-
var import_node_crypto60, import_node_fs98,
|
|
16129
|
+
var import_node_crypto60, import_node_fs98, import_node_path103, v7;
|
|
16118
16130
|
var init_native_framework_compiler = __esm({
|
|
16119
16131
|
"src/native-framework-compiler.ts"() {
|
|
16120
16132
|
"use strict";
|
|
16121
16133
|
import_node_crypto60 = require("node:crypto");
|
|
16122
16134
|
import_node_fs98 = __toESM(require("node:fs"), 1);
|
|
16123
|
-
|
|
16135
|
+
import_node_path103 = __toESM(require("node:path"), 1);
|
|
16124
16136
|
v7 = __toESM(require("peachsim/vendor/valibot"), 1);
|
|
16125
16137
|
init_swift_compile();
|
|
16126
16138
|
init_swiftRuntimeProductContract();
|
|
@@ -16129,7 +16141,7 @@ var init_native_framework_compiler = __esm({
|
|
|
16129
16141
|
});
|
|
16130
16142
|
|
|
16131
16143
|
// src/genrule-archives.ts
|
|
16132
|
-
var import_node_child_process48, import_node_crypto61, import_node_fs99, import_node_os21,
|
|
16144
|
+
var import_node_child_process48, import_node_crypto61, import_node_fs99, import_node_os21, import_node_path104, v8, BUILDERS, cacheDir4;
|
|
16133
16145
|
var init_genrule_archives = __esm({
|
|
16134
16146
|
"src/genrule-archives.ts"() {
|
|
16135
16147
|
"use strict";
|
|
@@ -16137,7 +16149,7 @@ var init_genrule_archives = __esm({
|
|
|
16137
16149
|
import_node_crypto61 = require("node:crypto");
|
|
16138
16150
|
import_node_fs99 = __toESM(require("node:fs"), 1);
|
|
16139
16151
|
import_node_os21 = __toESM(require("node:os"), 1);
|
|
16140
|
-
|
|
16152
|
+
import_node_path104 = __toESM(require("node:path"), 1);
|
|
16141
16153
|
v8 = __toESM(require("peachsim/vendor/valibot"), 1);
|
|
16142
16154
|
init_ffmpeg_source_build();
|
|
16143
16155
|
init_genrule_library_builds();
|
|
@@ -16153,7 +16165,7 @@ var init_genrule_archives = __esm({
|
|
|
16153
16165
|
init_swiftRuntimeProductContract();
|
|
16154
16166
|
init_swiftTargetContract();
|
|
16155
16167
|
BUILDERS = [ffmpegBuilder, ...GENRULE_LIBRARY_BUILDERS];
|
|
16156
|
-
cacheDir4 =
|
|
16168
|
+
cacheDir4 = import_node_path104.default.join(cacheDir(), "genrule-archives");
|
|
16157
16169
|
}
|
|
16158
16170
|
});
|
|
16159
16171
|
|
|
@@ -16166,7 +16178,7 @@ var init_native_slices = __esm({
|
|
|
16166
16178
|
});
|
|
16167
16179
|
|
|
16168
16180
|
// src/native-swift-slices.ts
|
|
16169
|
-
var import_node_child_process49, import_node_crypto62, import_node_fs100, import_node_os22,
|
|
16181
|
+
var import_node_child_process49, import_node_crypto62, import_node_fs100, import_node_os22, import_node_path105;
|
|
16170
16182
|
var init_native_swift_slices = __esm({
|
|
16171
16183
|
"src/native-swift-slices.ts"() {
|
|
16172
16184
|
"use strict";
|
|
@@ -16174,7 +16186,7 @@ var init_native_swift_slices = __esm({
|
|
|
16174
16186
|
import_node_crypto62 = require("node:crypto");
|
|
16175
16187
|
import_node_fs100 = __toESM(require("node:fs"), 1);
|
|
16176
16188
|
import_node_os22 = __toESM(require("node:os"), 1);
|
|
16177
|
-
|
|
16189
|
+
import_node_path105 = __toESM(require("node:path"), 1);
|
|
16178
16190
|
init_native_prebuilt();
|
|
16179
16191
|
init_swift_compile();
|
|
16180
16192
|
init_swift_toolchain();
|
|
@@ -16192,12 +16204,12 @@ var init_output_lock_stdio = __esm({
|
|
|
16192
16204
|
});
|
|
16193
16205
|
|
|
16194
16206
|
// src/swift-cxx-declarations.ts
|
|
16195
|
-
var import_node_fs102,
|
|
16207
|
+
var import_node_fs102, import_node_path106, import_promises12, import_stream_json;
|
|
16196
16208
|
var init_swift_cxx_declarations = __esm({
|
|
16197
16209
|
"src/swift-cxx-declarations.ts"() {
|
|
16198
16210
|
"use strict";
|
|
16199
16211
|
import_node_fs102 = __toESM(require("node:fs"), 1);
|
|
16200
|
-
|
|
16212
|
+
import_node_path106 = __toESM(require("node:path"), 1);
|
|
16201
16213
|
import_promises12 = require("node:stream/promises");
|
|
16202
16214
|
import_stream_json = __toESM(require("peachsim/vendor/stream-json"), 1);
|
|
16203
16215
|
}
|
|
@@ -16211,13 +16223,13 @@ var init_swift_cxx_deps = __esm({
|
|
|
16211
16223
|
});
|
|
16212
16224
|
|
|
16213
16225
|
// src/swift-cxx-standin.ts
|
|
16214
|
-
var import_node_child_process50, import_node_fs103,
|
|
16226
|
+
var import_node_child_process50, import_node_fs103, import_node_path107;
|
|
16215
16227
|
var init_swift_cxx_standin = __esm({
|
|
16216
16228
|
"src/swift-cxx-standin.ts"() {
|
|
16217
16229
|
"use strict";
|
|
16218
16230
|
import_node_child_process50 = require("node:child_process");
|
|
16219
16231
|
import_node_fs103 = __toESM(require("node:fs"), 1);
|
|
16220
|
-
|
|
16232
|
+
import_node_path107 = __toESM(require("node:path"), 1);
|
|
16221
16233
|
init_swift_cxx_declarations();
|
|
16222
16234
|
init_swift_cxx_deps();
|
|
16223
16235
|
init_swift_objc_standin();
|
|
@@ -16235,14 +16247,14 @@ var init_swift_standin_builtin_behavior = __esm({
|
|
|
16235
16247
|
});
|
|
16236
16248
|
|
|
16237
16249
|
// src/swift-standins.ts
|
|
16238
|
-
var import_node_child_process51, import_node_crypto63, import_node_fs104,
|
|
16250
|
+
var import_node_child_process51, import_node_crypto63, import_node_fs104, import_node_path108, cacheDir5;
|
|
16239
16251
|
var init_swift_standins = __esm({
|
|
16240
16252
|
"src/swift-standins.ts"() {
|
|
16241
16253
|
"use strict";
|
|
16242
16254
|
import_node_child_process51 = require("node:child_process");
|
|
16243
16255
|
import_node_crypto63 = require("node:crypto");
|
|
16244
16256
|
import_node_fs104 = __toESM(require("node:fs"), 1);
|
|
16245
|
-
|
|
16257
|
+
import_node_path108 = __toESM(require("node:path"), 1);
|
|
16246
16258
|
init_forked_script_contract();
|
|
16247
16259
|
init_genrule_archives();
|
|
16248
16260
|
init_home_paths();
|
|
@@ -16270,19 +16282,19 @@ var init_swift_standins = __esm({
|
|
|
16270
16282
|
init_swift_xcframework();
|
|
16271
16283
|
init_swiftContract();
|
|
16272
16284
|
init_swiftTargetContract();
|
|
16273
|
-
cacheDir5 =
|
|
16285
|
+
cacheDir5 = import_node_path108.default.join(cacheDir(), "swift-standins");
|
|
16274
16286
|
}
|
|
16275
16287
|
});
|
|
16276
16288
|
|
|
16277
16289
|
// src/swift-objc-compile.ts
|
|
16278
|
-
var import_node_child_process52, import_node_crypto64, import_node_fs105,
|
|
16290
|
+
var import_node_child_process52, import_node_crypto64, import_node_fs105, import_node_path109;
|
|
16279
16291
|
var init_swift_objc_compile = __esm({
|
|
16280
16292
|
"src/swift-objc-compile.ts"() {
|
|
16281
16293
|
"use strict";
|
|
16282
16294
|
import_node_child_process52 = require("node:child_process");
|
|
16283
16295
|
import_node_crypto64 = require("node:crypto");
|
|
16284
16296
|
import_node_fs105 = __toESM(require("node:fs"), 1);
|
|
16285
|
-
|
|
16297
|
+
import_node_path109 = __toESM(require("node:path"), 1);
|
|
16286
16298
|
init_mapLimit();
|
|
16287
16299
|
init_home_paths();
|
|
16288
16300
|
init_is_record();
|
|
@@ -16305,13 +16317,13 @@ var init_swift_objc_compile = __esm({
|
|
|
16305
16317
|
});
|
|
16306
16318
|
|
|
16307
16319
|
// src/react-native-bridge-modules.ts
|
|
16308
|
-
var import_node_fs106, import_node_module13,
|
|
16320
|
+
var import_node_fs106, import_node_module13, import_node_path110;
|
|
16309
16321
|
var init_react_native_bridge_modules = __esm({
|
|
16310
16322
|
"src/react-native-bridge-modules.ts"() {
|
|
16311
16323
|
"use strict";
|
|
16312
16324
|
import_node_fs106 = __toESM(require("node:fs"), 1);
|
|
16313
16325
|
import_node_module13 = require("node:module");
|
|
16314
|
-
|
|
16326
|
+
import_node_path110 = __toESM(require("node:path"), 1);
|
|
16315
16327
|
init_answeredNativePackages();
|
|
16316
16328
|
init_swift_compile();
|
|
16317
16329
|
init_swift_objc_compile();
|
|
@@ -16321,14 +16333,14 @@ var init_react_native_bridge_modules = __esm({
|
|
|
16321
16333
|
});
|
|
16322
16334
|
|
|
16323
16335
|
// src/react-native-core.ts
|
|
16324
|
-
var import_node_crypto65, import_node_fs107, import_node_module14,
|
|
16336
|
+
var import_node_crypto65, import_node_fs107, import_node_module14, import_node_path111, import_node_util11, recipe;
|
|
16325
16337
|
var init_react_native_core = __esm({
|
|
16326
16338
|
"src/react-native-core.ts"() {
|
|
16327
16339
|
"use strict";
|
|
16328
16340
|
import_node_crypto65 = require("node:crypto");
|
|
16329
16341
|
import_node_fs107 = __toESM(require("node:fs"), 1);
|
|
16330
16342
|
import_node_module14 = require("node:module");
|
|
16331
|
-
|
|
16343
|
+
import_node_path111 = __toESM(require("node:path"), 1);
|
|
16332
16344
|
import_node_util11 = require("node:util");
|
|
16333
16345
|
init_home_paths();
|
|
16334
16346
|
init_is_record();
|
|
@@ -16344,14 +16356,14 @@ var init_react_native_core = __esm({
|
|
|
16344
16356
|
});
|
|
16345
16357
|
|
|
16346
16358
|
// src/swift-clang-type-ownership.ts
|
|
16347
|
-
var import_node_child_process53, import_node_crypto66, import_node_fs108,
|
|
16359
|
+
var import_node_child_process53, import_node_crypto66, import_node_fs108, import_node_path112;
|
|
16348
16360
|
var init_swift_clang_type_ownership = __esm({
|
|
16349
16361
|
"src/swift-clang-type-ownership.ts"() {
|
|
16350
16362
|
"use strict";
|
|
16351
16363
|
import_node_child_process53 = require("node:child_process");
|
|
16352
16364
|
import_node_crypto66 = require("node:crypto");
|
|
16353
16365
|
import_node_fs108 = __toESM(require("node:fs"), 1);
|
|
16354
|
-
|
|
16366
|
+
import_node_path112 = __toESM(require("node:path"), 1);
|
|
16355
16367
|
init_is_record();
|
|
16356
16368
|
init_swift_compile();
|
|
16357
16369
|
init_swift_distribution();
|
|
@@ -16431,10 +16443,10 @@ var require_path_parse = __commonJS({
|
|
|
16431
16443
|
code === 45 || /* - */
|
|
16432
16444
|
code === 46;
|
|
16433
16445
|
}
|
|
16434
|
-
function State(
|
|
16446
|
+
function State(path114) {
|
|
16435
16447
|
this.index = 0;
|
|
16436
|
-
this.path =
|
|
16437
|
-
this.max =
|
|
16448
|
+
this.path = path114;
|
|
16449
|
+
this.max = path114.length;
|
|
16438
16450
|
this.result = [];
|
|
16439
16451
|
this.param = 0;
|
|
16440
16452
|
this.err = "";
|
|
@@ -16954,11 +16966,11 @@ var require_svgpath = __commonJS({
|
|
|
16954
16966
|
var matrix = require_matrix();
|
|
16955
16967
|
var a2c = require_a2c();
|
|
16956
16968
|
var ellipse = require_ellipse();
|
|
16957
|
-
function SvgPath(
|
|
16969
|
+
function SvgPath(path114) {
|
|
16958
16970
|
if (!(this instanceof SvgPath)) {
|
|
16959
|
-
return new SvgPath(
|
|
16971
|
+
return new SvgPath(path114);
|
|
16960
16972
|
}
|
|
16961
|
-
var pstate = pathParse(
|
|
16973
|
+
var pstate = pathParse(path114);
|
|
16962
16974
|
this.segments = pstate.segments;
|
|
16963
16975
|
this.err = pstate.err;
|
|
16964
16976
|
this.__stack = [];
|
|
@@ -17414,24 +17426,24 @@ var init_stringCatalog = __esm({
|
|
|
17414
17426
|
});
|
|
17415
17427
|
|
|
17416
17428
|
// src/core-data-entity-classes.ts
|
|
17417
|
-
var import_node_fs109,
|
|
17429
|
+
var import_node_fs109, import_node_path113;
|
|
17418
17430
|
var init_core_data_entity_classes = __esm({
|
|
17419
17431
|
"src/core-data-entity-classes.ts"() {
|
|
17420
17432
|
"use strict";
|
|
17421
17433
|
import_node_fs109 = require("node:fs");
|
|
17422
|
-
|
|
17434
|
+
import_node_path113 = __toESM(require("node:path"), 1);
|
|
17423
17435
|
init_plist();
|
|
17424
17436
|
}
|
|
17425
17437
|
});
|
|
17426
17438
|
|
|
17427
17439
|
// src/core-data-model.ts
|
|
17428
|
-
var import_node_crypto67, import_node_fs110,
|
|
17440
|
+
var import_node_crypto67, import_node_fs110, import_node_path114, uid, NULL;
|
|
17429
17441
|
var init_core_data_model = __esm({
|
|
17430
17442
|
"src/core-data-model.ts"() {
|
|
17431
17443
|
"use strict";
|
|
17432
17444
|
import_node_crypto67 = require("node:crypto");
|
|
17433
17445
|
import_node_fs110 = require("node:fs");
|
|
17434
|
-
|
|
17446
|
+
import_node_path114 = __toESM(require("node:path"), 1);
|
|
17435
17447
|
init_core_data_entity_classes();
|
|
17436
17448
|
init_plist_bytes();
|
|
17437
17449
|
uid = (index) => ({ CF$UID: index });
|
|
@@ -19539,14 +19551,14 @@ var init_swift_catalog_png = __esm({
|
|
|
19539
19551
|
});
|
|
19540
19552
|
|
|
19541
19553
|
// src/swift-cxx-reachable.ts
|
|
19542
|
-
var import_node_child_process54, import_node_crypto68, import_node_fs111,
|
|
19554
|
+
var import_node_child_process54, import_node_crypto68, import_node_fs111, import_node_path115;
|
|
19543
19555
|
var init_swift_cxx_reachable = __esm({
|
|
19544
19556
|
"src/swift-cxx-reachable.ts"() {
|
|
19545
19557
|
"use strict";
|
|
19546
19558
|
import_node_child_process54 = require("node:child_process");
|
|
19547
19559
|
import_node_crypto68 = require("node:crypto");
|
|
19548
19560
|
import_node_fs111 = __toESM(require("node:fs"), 1);
|
|
19549
|
-
|
|
19561
|
+
import_node_path115 = __toESM(require("node:path"), 1);
|
|
19550
19562
|
init_is_record();
|
|
19551
19563
|
init_swift_cxx_deps();
|
|
19552
19564
|
init_swift_objc_compile();
|
|
@@ -19559,14 +19571,14 @@ var init_swift_cxx_reachable = __esm({
|
|
|
19559
19571
|
});
|
|
19560
19572
|
|
|
19561
19573
|
// src/swift-pdf-raster.ts
|
|
19562
|
-
var import_node_child_process55, import_node_fs112, import_node_os23,
|
|
19574
|
+
var import_node_child_process55, import_node_fs112, import_node_os23, import_node_path116;
|
|
19563
19575
|
var init_swift_pdf_raster = __esm({
|
|
19564
19576
|
"src/swift-pdf-raster.ts"() {
|
|
19565
19577
|
"use strict";
|
|
19566
19578
|
import_node_child_process55 = require("node:child_process");
|
|
19567
19579
|
import_node_fs112 = __toESM(require("node:fs"), 1);
|
|
19568
19580
|
import_node_os23 = __toESM(require("node:os"), 1);
|
|
19569
|
-
|
|
19581
|
+
import_node_path116 = __toESM(require("node:path"), 1);
|
|
19570
19582
|
init_internal_child_contract();
|
|
19571
19583
|
init_self_invocation();
|
|
19572
19584
|
init_home_paths();
|
|
@@ -19585,7 +19597,7 @@ var init_swift_standin_config = __esm({
|
|
|
19585
19597
|
});
|
|
19586
19598
|
|
|
19587
19599
|
// src/swift-host.ts
|
|
19588
|
-
var import_node_async_hooks2, import_node_child_process56, import_node_crypto69, import_node_fs113, import_node_os24,
|
|
19600
|
+
var import_node_async_hooks2, import_node_child_process56, import_node_crypto69, import_node_fs113, import_node_os24, import_node_path117, projectScope, layoutScope, IOS_SDK_FRAMEWORKS;
|
|
19589
19601
|
var init_swift_host = __esm({
|
|
19590
19602
|
"src/swift-host.ts"() {
|
|
19591
19603
|
"use strict";
|
|
@@ -19594,7 +19606,7 @@ var init_swift_host = __esm({
|
|
|
19594
19606
|
import_node_crypto69 = require("node:crypto");
|
|
19595
19607
|
import_node_fs113 = __toESM(require("node:fs"), 1);
|
|
19596
19608
|
import_node_os24 = __toESM(require("node:os"), 1);
|
|
19597
|
-
|
|
19609
|
+
import_node_path117 = __toESM(require("node:path"), 1);
|
|
19598
19610
|
init_pngHeader();
|
|
19599
19611
|
init_nativeSdkBindingContract();
|
|
19600
19612
|
init_nativeWasmContract();
|
|
@@ -19642,13 +19654,13 @@ var init_swift_host = __esm({
|
|
|
19642
19654
|
});
|
|
19643
19655
|
|
|
19644
19656
|
// src/installed-native-libraries.ts
|
|
19645
|
-
var import_node_fs114, import_node_module15,
|
|
19657
|
+
var import_node_fs114, import_node_module15, import_node_path118;
|
|
19646
19658
|
var init_installed_native_libraries = __esm({
|
|
19647
19659
|
"src/installed-native-libraries.ts"() {
|
|
19648
19660
|
"use strict";
|
|
19649
19661
|
import_node_fs114 = __toESM(require("node:fs"), 1);
|
|
19650
19662
|
import_node_module15 = require("node:module");
|
|
19651
|
-
|
|
19663
|
+
import_node_path118 = __toESM(require("node:path"), 1);
|
|
19652
19664
|
init_is_record();
|
|
19653
19665
|
init_native_static_libraries();
|
|
19654
19666
|
init_swift_source_file();
|
|
@@ -19658,7 +19670,7 @@ var init_installed_native_libraries = __esm({
|
|
|
19658
19670
|
});
|
|
19659
19671
|
|
|
19660
19672
|
// src/turbo-codegen-intake.ts
|
|
19661
|
-
var import_node_child_process57, import_node_crypto70, import_node_fs115, import_node_module16,
|
|
19673
|
+
var import_node_child_process57, import_node_crypto70, import_node_fs115, import_node_module16, import_node_path119, import_node_util12, run5;
|
|
19662
19674
|
var init_turbo_codegen_intake = __esm({
|
|
19663
19675
|
"src/turbo-codegen-intake.ts"() {
|
|
19664
19676
|
"use strict";
|
|
@@ -19666,7 +19678,7 @@ var init_turbo_codegen_intake = __esm({
|
|
|
19666
19678
|
import_node_crypto70 = require("node:crypto");
|
|
19667
19679
|
import_node_fs115 = __toESM(require("node:fs"), 1);
|
|
19668
19680
|
import_node_module16 = require("node:module");
|
|
19669
|
-
|
|
19681
|
+
import_node_path119 = __toESM(require("node:path"), 1);
|
|
19670
19682
|
import_node_util12 = require("node:util");
|
|
19671
19683
|
init_forked_script_contract();
|
|
19672
19684
|
init_is_record();
|
|
@@ -19677,13 +19689,13 @@ var init_turbo_codegen_intake = __esm({
|
|
|
19677
19689
|
});
|
|
19678
19690
|
|
|
19679
19691
|
// src/turbo-source.ts
|
|
19680
|
-
var import_node_crypto71, import_node_fs116,
|
|
19692
|
+
var import_node_crypto71, import_node_fs116, import_node_path120;
|
|
19681
19693
|
var init_turbo_source = __esm({
|
|
19682
19694
|
"src/turbo-source.ts"() {
|
|
19683
19695
|
"use strict";
|
|
19684
19696
|
import_node_crypto71 = require("node:crypto");
|
|
19685
19697
|
import_node_fs116 = __toESM(require("node:fs"), 1);
|
|
19686
|
-
|
|
19698
|
+
import_node_path120 = __toESM(require("node:path"), 1);
|
|
19687
19699
|
init_cocoapods_trunk();
|
|
19688
19700
|
init_installed_native_libraries();
|
|
19689
19701
|
init_pod_sources();
|
|
@@ -19701,7 +19713,7 @@ var init_turbo_source = __esm({
|
|
|
19701
19713
|
});
|
|
19702
19714
|
|
|
19703
19715
|
// src/expo-swift-host.ts
|
|
19704
|
-
var import_node_async_hooks3, import_node_child_process58, import_node_crypto72, import_node_fs117, import_node_module17, import_node_os25,
|
|
19716
|
+
var import_node_async_hooks3, import_node_child_process58, import_node_crypto72, import_node_fs117, import_node_module17, import_node_os25, import_node_path121, import_node_url5, import_node_util13, run6, scriptEnv, traceStore, openPreparations;
|
|
19705
19717
|
var init_expo_swift_host = __esm({
|
|
19706
19718
|
"src/expo-swift-host.ts"() {
|
|
19707
19719
|
"use strict";
|
|
@@ -19711,7 +19723,7 @@ var init_expo_swift_host = __esm({
|
|
|
19711
19723
|
import_node_fs117 = __toESM(require("node:fs"), 1);
|
|
19712
19724
|
import_node_module17 = require("node:module");
|
|
19713
19725
|
import_node_os25 = __toESM(require("node:os"), 1);
|
|
19714
|
-
|
|
19726
|
+
import_node_path121 = __toESM(require("node:path"), 1);
|
|
19715
19727
|
import_node_url5 = require("node:url");
|
|
19716
19728
|
import_node_util13 = require("node:util");
|
|
19717
19729
|
init_expo_eager_seam_contract();
|
|
@@ -19775,14 +19787,14 @@ function expoPodsBundleInputs(podKeys, oneSDK = false) {
|
|
|
19775
19787
|
)
|
|
19776
19788
|
};
|
|
19777
19789
|
}
|
|
19778
|
-
var import_node_child_process59, import_node_fs118, import_node_os26,
|
|
19790
|
+
var import_node_child_process59, import_node_fs118, import_node_os26, import_node_path122, v9, sliceTargetSchema, resourceBundleSchema, sliceManifestSchema, expoAppBundleEntryUrl;
|
|
19779
19791
|
var init_native_package_slice = __esm({
|
|
19780
19792
|
"src/native-package-slice.ts"() {
|
|
19781
19793
|
"use strict";
|
|
19782
19794
|
import_node_child_process59 = require("node:child_process");
|
|
19783
19795
|
import_node_fs118 = __toESM(require("node:fs"), 1);
|
|
19784
19796
|
import_node_os26 = __toESM(require("node:os"), 1);
|
|
19785
|
-
|
|
19797
|
+
import_node_path122 = __toESM(require("node:path"), 1);
|
|
19786
19798
|
v9 = __toESM(require("peachsim/vendor/valibot"), 1);
|
|
19787
19799
|
init_expo_swift_host();
|
|
19788
19800
|
init_expoSwiftContract();
|
|
@@ -19859,10 +19871,10 @@ async function expoPodPackages(appRoot) {
|
|
|
19859
19871
|
const answered = peachAnsweredNativePackages();
|
|
19860
19872
|
return (await expoAutolinkedPackages(appRoot)).flatMap((pod) => {
|
|
19861
19873
|
const [swiftModule] = pod.swiftModuleNames;
|
|
19862
|
-
if (swiftModule === void 0 || pod.swiftModuleNames.length !== 1 || !pod.hasRegistrations || answered.has(pod.name) || !pod.root.split(
|
|
19874
|
+
if (swiftModule === void 0 || pod.swiftModuleNames.length !== 1 || !pod.hasRegistrations || answered.has(pod.name) || !pod.root.split(import_node_path123.default.sep).includes("node_modules"))
|
|
19863
19875
|
return [];
|
|
19864
19876
|
const manifest = JSON.parse(
|
|
19865
|
-
import_node_fs119.default.readFileSync(
|
|
19877
|
+
import_node_fs119.default.readFileSync(import_node_path123.default.join(pod.root, "package.json"), "utf8")
|
|
19866
19878
|
);
|
|
19867
19879
|
const version = isRecord(manifest) ? manifest.version : null;
|
|
19868
19880
|
if (typeof version !== "string")
|
|
@@ -19969,12 +19981,12 @@ async function prebuiltExpoPods(appRoot) {
|
|
|
19969
19981
|
failures: []
|
|
19970
19982
|
};
|
|
19971
19983
|
}
|
|
19972
|
-
var import_node_fs119,
|
|
19984
|
+
var import_node_fs119, import_node_path123, expoPodEntryName, expoPodEntryUrl, published;
|
|
19973
19985
|
var init_expo_pod_prebuilt = __esm({
|
|
19974
19986
|
"src/expo-pod-prebuilt.ts"() {
|
|
19975
19987
|
"use strict";
|
|
19976
19988
|
import_node_fs119 = __toESM(require("node:fs"), 1);
|
|
19977
|
-
|
|
19989
|
+
import_node_path123 = __toESM(require("node:path"), 1);
|
|
19978
19990
|
init_answeredNativePackages();
|
|
19979
19991
|
init_expo_autolinking();
|
|
19980
19992
|
init_expo_native_compiler_digest();
|
|
@@ -22609,7 +22621,7 @@ function* rubyFiles(directory, seen, iosRoot = false) {
|
|
|
22609
22621
|
const files = [];
|
|
22610
22622
|
for (const entry of entries.sort((a, b) => a.name.localeCompare(b.name))) {
|
|
22611
22623
|
if (iosRoot && (entry.name === "Pods" || entry.name === "build")) continue;
|
|
22612
|
-
const target =
|
|
22624
|
+
const target = import_node_path124.default.join(directory, entry.name);
|
|
22613
22625
|
let isDirectory = entry.directory;
|
|
22614
22626
|
if (entry.symbolicLink)
|
|
22615
22627
|
isDirectory = (yield { type: "isDirectory", path: target }) === true;
|
|
@@ -22622,7 +22634,7 @@ function* nativeBuildOptionsWalk(projectRoot, versions, environment) {
|
|
|
22622
22634
|
let sensorOptions = {};
|
|
22623
22635
|
const sensors = versions["expo-sensors"];
|
|
22624
22636
|
if (sensors && resolveCompatVersionRange([">=58.0.4 <59.0.0"], sensors).status === "matched") {
|
|
22625
|
-
const file =
|
|
22637
|
+
const file = import_node_path124.default.join(projectRoot, "ios", "Podfile.properties.json");
|
|
22626
22638
|
const source = yield { type: "read", path: file };
|
|
22627
22639
|
if (source !== null && typeof source !== "string")
|
|
22628
22640
|
throw new Error(`cannot inspect ${file}`);
|
|
@@ -22638,8 +22650,8 @@ function* nativeBuildOptionsWalk(projectRoot, versions, environment) {
|
|
|
22638
22650
|
if (!needsRiveOptions(versions)) return sensorOptions;
|
|
22639
22651
|
if (environment.USE_RIVE_LEGACY === "1" || environment.USE_RIVE_LEGACY === "true")
|
|
22640
22652
|
return { ...sensorOptions, [RIVE_PACKAGE]: { USE_RIVE_LEGACY: true } };
|
|
22641
|
-
const ios =
|
|
22642
|
-
const podfile =
|
|
22653
|
+
const ios = import_node_path124.default.join(projectRoot, "ios");
|
|
22654
|
+
const podfile = import_node_path124.default.join(ios, "Podfile");
|
|
22643
22655
|
const files = [podfile, ...yield* rubyFiles(ios, /* @__PURE__ */ new Set(), true)];
|
|
22644
22656
|
let value = false;
|
|
22645
22657
|
let assigned = false;
|
|
@@ -22667,12 +22679,12 @@ async function readInstalledNativeBuildOptionsAsync(projectRoot, versions, envir
|
|
|
22667
22679
|
step = walk2.next(await answerAsync(step.value));
|
|
22668
22680
|
}
|
|
22669
22681
|
}
|
|
22670
|
-
var import_node_fs120,
|
|
22682
|
+
var import_node_fs120, import_node_path124, RIVE_PACKAGE, RIVE_05;
|
|
22671
22683
|
var init_installed_native_build_options = __esm({
|
|
22672
22684
|
"src/installed-native-build-options.ts"() {
|
|
22673
22685
|
"use strict";
|
|
22674
22686
|
import_node_fs120 = __toESM(require("node:fs"), 1);
|
|
22675
|
-
|
|
22687
|
+
import_node_path124 = __toESM(require("node:path"), 1);
|
|
22676
22688
|
init_version_range();
|
|
22677
22689
|
RIVE_PACKAGE = "@rive-app/react-native";
|
|
22678
22690
|
RIVE_05 = [">=0.5.0 <0.6.0"];
|
|
@@ -23138,24 +23150,24 @@ var init_dev_bundle_resolution = __esm({
|
|
|
23138
23150
|
});
|
|
23139
23151
|
|
|
23140
23152
|
// src/settings-bundle.ts
|
|
23141
|
-
var import_promises13,
|
|
23153
|
+
var import_promises13, import_node_path125;
|
|
23142
23154
|
var init_settings_bundle = __esm({
|
|
23143
23155
|
"src/settings-bundle.ts"() {
|
|
23144
23156
|
"use strict";
|
|
23145
23157
|
import_promises13 = require("node:fs/promises");
|
|
23146
|
-
|
|
23158
|
+
import_node_path125 = require("node:path");
|
|
23147
23159
|
init_is_record();
|
|
23148
23160
|
init_plist();
|
|
23149
23161
|
}
|
|
23150
23162
|
});
|
|
23151
23163
|
|
|
23152
23164
|
// scripts/optional-demo-registry.ts
|
|
23153
|
-
var import_node_fs121,
|
|
23165
|
+
var import_node_fs121, import_node_path126, import_node_url6;
|
|
23154
23166
|
var init_optional_demo_registry = __esm({
|
|
23155
23167
|
"scripts/optional-demo-registry.ts"() {
|
|
23156
23168
|
"use strict";
|
|
23157
23169
|
import_node_fs121 = require("node:fs");
|
|
23158
|
-
|
|
23170
|
+
import_node_path126 = require("node:path");
|
|
23159
23171
|
import_node_url6 = require("node:url");
|
|
23160
23172
|
}
|
|
23161
23173
|
});
|
|
@@ -23577,7 +23589,7 @@ function resolveProcessCwd(pid) {
|
|
|
23577
23589
|
kickCwdFlush();
|
|
23578
23590
|
});
|
|
23579
23591
|
}
|
|
23580
|
-
var import_child_process, import_promises14, import_http, import_net, import_node_fs122, import_node_os27,
|
|
23592
|
+
var import_child_process, import_promises14, import_http, import_net, import_node_fs122, import_node_os27, import_node_path127, LISTENER_LOCK_PATH, LISTENER_RESULT_PATH, LISTENER_LOCK_STALE_MS, LISTENER_LOCK_WAIT_MS, FALLBACK_PORTS, LISTING_TIMEOUT_MS, LISTENER_CACHE_MS, listenerCache, inflightListing, listenerHolds, cwdByPid, cwdQueue, cwdFlushing;
|
|
23581
23593
|
var init_dev_server_scanner = __esm({
|
|
23582
23594
|
"scripts/dev-server-scanner.ts"() {
|
|
23583
23595
|
"use strict";
|
|
@@ -23587,7 +23599,7 @@ var init_dev_server_scanner = __esm({
|
|
|
23587
23599
|
import_net = __toESM(require("net"), 1);
|
|
23588
23600
|
import_node_fs122 = require("node:fs");
|
|
23589
23601
|
import_node_os27 = require("node:os");
|
|
23590
|
-
|
|
23602
|
+
import_node_path127 = require("node:path");
|
|
23591
23603
|
init_kotlinDiscoveryContract();
|
|
23592
23604
|
init_swiftDiscoveryContract();
|
|
23593
23605
|
init_backend_origin();
|
|
@@ -23597,8 +23609,8 @@ var init_dev_server_scanner = __esm({
|
|
|
23597
23609
|
init_native_dev_bundle_url();
|
|
23598
23610
|
init_settings_bundle();
|
|
23599
23611
|
init_optional_demo_registry();
|
|
23600
|
-
LISTENER_LOCK_PATH = (0,
|
|
23601
|
-
LISTENER_RESULT_PATH = (0,
|
|
23612
|
+
LISTENER_LOCK_PATH = (0, import_node_path127.join)((0, import_node_os27.tmpdir)(), "peach-listener-scan.lock");
|
|
23613
|
+
LISTENER_RESULT_PATH = (0, import_node_path127.join)((0, import_node_os27.tmpdir)(), "peach-listener-scan.result");
|
|
23602
23614
|
LISTENER_LOCK_STALE_MS = 25e3;
|
|
23603
23615
|
LISTENER_LOCK_WAIT_MS = 8e3;
|
|
23604
23616
|
FALLBACK_PORTS = [
|
|
@@ -23718,7 +23730,7 @@ var init_dev_server_package_versions = __esm({
|
|
|
23718
23730
|
var runtime_companion_default;
|
|
23719
23731
|
var init_runtime_companion = __esm({
|
|
23720
23732
|
"runtime-companion.json"() {
|
|
23721
|
-
runtime_companion_default = { abi: 1, sha256: "
|
|
23733
|
+
runtime_companion_default = { abi: 1, sha256: "77997e9bfe54e202ba0d46b4d547da7fdee5057dcc6bca21ab545b2444dff855", file: "node/cli-77997e9bfe54e202ba0d46b4d547da7fdee5057dcc6bca21ab545b2444dff855.cjs" };
|
|
23722
23734
|
}
|
|
23723
23735
|
});
|
|
23724
23736
|
|
|
@@ -23727,7 +23739,7 @@ function cliCompanionPath() {
|
|
|
23727
23739
|
return `node/cli-${runtime_companion_default.sha256}.cjs`;
|
|
23728
23740
|
}
|
|
23729
23741
|
function verifyCliCompanion(root) {
|
|
23730
|
-
verifyCompanionFile((0,
|
|
23742
|
+
verifyCompanionFile((0, import_node_path128.join)(root, cliCompanionPath()));
|
|
23731
23743
|
}
|
|
23732
23744
|
function verifyCompanionFile(file) {
|
|
23733
23745
|
let bytes;
|
|
@@ -23752,7 +23764,7 @@ function getCliRuntime() {
|
|
|
23752
23764
|
const root = peachRuntimeRoot();
|
|
23753
23765
|
verifyCliCompanion(root);
|
|
23754
23766
|
const require2 = (0, import_node_module18.createRequire)(__sootsim_import_meta_url);
|
|
23755
|
-
const runtime = require2((0,
|
|
23767
|
+
const runtime = require2((0, import_node_path128.join)(root, cliCompanionPath()));
|
|
23756
23768
|
if (runtime.cliCompanionAbi !== CLI_COMPANION_ABI) {
|
|
23757
23769
|
throw new Error(
|
|
23758
23770
|
"Incompatible Peach runtime companion ABI; run `peach runtime install`"
|
|
@@ -23762,14 +23774,14 @@ function getCliRuntime() {
|
|
|
23762
23774
|
loaded = { root, runtime };
|
|
23763
23775
|
return runtime;
|
|
23764
23776
|
}
|
|
23765
|
-
var import_node_crypto73, import_node_fs123, import_node_module18,
|
|
23777
|
+
var import_node_crypto73, import_node_fs123, import_node_module18, import_node_path128, CLI_COMPANION_ABI, loaded;
|
|
23766
23778
|
var init_cli_runtime = __esm({
|
|
23767
23779
|
"src/cli-runtime.ts"() {
|
|
23768
23780
|
"use strict";
|
|
23769
23781
|
import_node_crypto73 = require("node:crypto");
|
|
23770
23782
|
import_node_fs123 = require("node:fs");
|
|
23771
23783
|
import_node_module18 = require("node:module");
|
|
23772
|
-
|
|
23784
|
+
import_node_path128 = require("node:path");
|
|
23773
23785
|
init_src();
|
|
23774
23786
|
init_runtime_companion();
|
|
23775
23787
|
init_answeredNativePackages();
|