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