peachsim 0.1.2611 → 0.1.2613
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 +1218 -737
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +3 -3
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +3 -3
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +2 -2
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +7 -7
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +5 -5
- package/dist-lib/detox/index.cjs +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/esm-chunks/{acorn-BKODFARF.mjs → acorn-ACYPRRES.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-7L5LUPZA.mjs → chunk-4737IGWN.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-J6N5KKMZ.mjs → chunk-4KMXTJK7.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-LNZNCA7M.mjs → chunk-5PYWWIEV.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-HWMD7II5.mjs → chunk-ALQTIMJN.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-3JA6XLP4.mjs → chunk-EHBHTMJD.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-C4BW35N7.mjs → chunk-FI6ANCVK.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-NUISME6Y.mjs → chunk-FKR3M3SE.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-4C3LKD3A.mjs → chunk-HABUBD7F.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-CAFNSCPD.mjs → chunk-HMBNKM6Z.mjs} +12 -55
- package/dist-lib/esm-chunks/{chunk-SFDNE5S2.mjs → chunk-HXFNAJK2.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-A6GNAMLP.mjs → chunk-JA2VWD36.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-JWA5AIJM.mjs → chunk-JZN72POJ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-45CENTIY.mjs → chunk-LKZBPKR7.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-SNMPI3I2.mjs → chunk-LOG546WG.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-KOT7HREP.mjs → chunk-MYDEA4KG.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-4CJMDUKF.mjs → chunk-N4OAK5F2.mjs} +14 -14
- package/dist-lib/esm-chunks/{chunk-XSRZQWH5.mjs → chunk-OAXXQLLD.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-H2JPB73X.mjs → chunk-RAWOUEDK.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-LDV2MZFL.mjs → chunk-S6YGE7GH.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-52XQJZ6O.mjs → chunk-TELXLVVV.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-CWLKT7TD.mjs → chunk-VCFIXUE4.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-YFSTB4CX.mjs → chunk-WHRUBPSD.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-FWUDTM5Y.mjs → chunk-WN7ZU4KM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-SKW2UNWS.mjs → chunk-WYHRRW33.mjs} +1 -1
- package/dist-lib/esm-chunks/{metro-layout-parser-BMN3E2RD.mjs → metro-layout-parser-E7PUOWFM.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-VMBB763C.mjs → swift-package-prebuilt-I2HAKHB3.mjs} +12 -12
- package/dist-lib/esm-chunks/{swift-sdk-app-module-SJ6OZAVA.mjs → swift-sdk-app-module-KLRMLTO2.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-U53EKCZW.mjs → swift-sdk-image-GYAVDPQT.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-TQQ33C3G.mjs → swift-sdk-image-producer-4XVU6GKS.mjs} +5 -5
- package/dist-lib/expo-swift-bundle.cjs +15 -58
- 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 +1613 -1076
- package/dist-lib/host/fetch-proxy-handler.cjs +3 -3
- 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 +676 -171
- 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 +12 -55
- package/dist-lib/native-app-identity-project.mjs +15 -15
- 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 +12 -55
- 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 +85 -85
- package/dist-lib/public-origins-lib.json +76 -65
- 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 +11 -10
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +8 -8
- package/dist-lib/skills.cjs +2169 -1693
- package/dist-lib/swift-compile.cjs +1 -1
- package/dist-lib/swift-compile.mjs +12 -12
- 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 +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
- package/dist-lib/vendor/acorn.cjs +1 -1
- package/dist-lib/vendor/magic-string.cjs +1 -1
- package/dist-lib/vendor/stream-json.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
- package/dist-lib/vendor/sucrase.cjs +1 -1
- package/dist-lib/vendor/terser.cjs +1 -1
- package/dist-lib/vendor/valibot.cjs +1 -1
- package/dist-lib/vendor/ws.cjs +1 -1
- package/dist-lib/vendor/zod.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +3 -3
- package/package.json +1 -1
- package/src/android-gradle-sources.ts +97 -2
- package/src/androidGradleContract.ts +11 -0
- package/src/gitignore.ts +1 -1
- package/src/kotlin-app.ts +37 -4
- package/src/kotlin-gradle-library-plan.ts +142 -0
- package/src/kotlin-host.ts +32 -3
- package/src/kotlin-maven-sources.ts +0 -7
- package/src/plist.ts +13 -56
package/dist-lib/menu.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2613 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/menu.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2613 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
rnxPublicBrand
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
5
|
-
import "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-S6YGE7GH.mjs";
|
|
5
|
+
import "./esm-chunks/chunk-LKZBPKR7.mjs";
|
|
6
6
|
|
|
7
7
|
// src/menuContract.ts
|
|
8
8
|
var SOOTSIM_ENGINE_EVENT_NAME = "sootsim:engine-event";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2613 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2613 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isRecord
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
5
|
-
import "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-LOG546WG.mjs";
|
|
5
|
+
import "./esm-chunks/chunk-LKZBPKR7.mjs";
|
|
6
6
|
|
|
7
7
|
// src/metro-fingerprint-registry.ts
|
|
8
8
|
var RNX_METRO_FINGERPRINT_SCHEMA_VERSION = 2;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2613 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2613 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
findBundleFooter
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
5
|
-
import "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-RAWOUEDK.mjs";
|
|
5
|
+
import "./esm-chunks/chunk-LKZBPKR7.mjs";
|
|
6
6
|
|
|
7
7
|
// src/metro-production-bundle.ts
|
|
8
8
|
var RNXSIM_METRO_MODULE_PATHS_PREFIX = "globalThis.__sootsimModulePaths=";
|
|
@@ -131,7 +131,7 @@ function metroCalls(expression) {
|
|
|
131
131
|
return [];
|
|
132
132
|
}
|
|
133
133
|
async function readRNXMetroBundleLayout(source) {
|
|
134
|
-
const { loadMetroLayoutParser } = await import("./esm-chunks/metro-layout-parser-
|
|
134
|
+
const { loadMetroLayoutParser } = await import("./esm-chunks/metro-layout-parser-E7PUOWFM.mjs");
|
|
135
135
|
const MetroLayoutParser = await loadMetroLayoutParser();
|
|
136
136
|
const program = MetroLayoutParser.parse(source, {
|
|
137
137
|
ecmaVersion: "latest",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2613 | (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;
|
|
@@ -1249,10 +1249,6 @@ function parseXmlPlist(source, options2 = {}) {
|
|
|
1249
1249
|
if (root.tag !== "plist") {
|
|
1250
1250
|
throw new Error(`expected <plist> root element, got <${root.tag}>`);
|
|
1251
1251
|
}
|
|
1252
|
-
if (root.children.length === 0) {
|
|
1253
|
-
if (options2.strict) throw new Error("<plist> element has no root value");
|
|
1254
|
-
return void 0;
|
|
1255
|
-
}
|
|
1256
1252
|
if (options2.strict && root.children.length !== 1) {
|
|
1257
1253
|
throw new Error("<plist> element must contain exactly one root value");
|
|
1258
1254
|
}
|
|
@@ -1265,18 +1261,23 @@ function parseXmlPlist(source, options2 = {}) {
|
|
|
1265
1261
|
const visit = (node) => {
|
|
1266
1262
|
switch (node.tag) {
|
|
1267
1263
|
case "dict": {
|
|
1268
|
-
const
|
|
1264
|
+
const entries = [];
|
|
1269
1265
|
if (options2.strict && node.children.length % 2 !== 0) {
|
|
1270
1266
|
throw new Error("<dict> must contain key/value pairs");
|
|
1271
1267
|
}
|
|
1272
|
-
for (let i = 0; i
|
|
1268
|
+
for (let i = 0; i < node.children.length; i += 2) {
|
|
1273
1269
|
const keyNode = node.children[i];
|
|
1274
1270
|
if (keyNode.tag !== "key") {
|
|
1275
1271
|
throw new Error(`expected <key> in <dict>, got <${keyNode.tag}>`);
|
|
1276
1272
|
}
|
|
1277
|
-
|
|
1273
|
+
const key = leafText(keyNode);
|
|
1274
|
+
if (!options2.strict && key === "__proto__") {
|
|
1275
|
+
throw new Error("unsupported plist dictionary key __proto__");
|
|
1276
|
+
}
|
|
1277
|
+
const value = node.children[i + 1];
|
|
1278
|
+
entries.push([key, value ? visit(value) : ""]);
|
|
1278
1279
|
}
|
|
1279
|
-
return
|
|
1280
|
+
return Object.fromEntries(entries);
|
|
1280
1281
|
}
|
|
1281
1282
|
case "array":
|
|
1282
1283
|
return node.children.map(visit);
|
|
@@ -1306,54 +1307,10 @@ function parseXmlPlist(source, options2 = {}) {
|
|
|
1306
1307
|
throw new Error(`unsupported plist element ${node.tag}`);
|
|
1307
1308
|
}
|
|
1308
1309
|
};
|
|
1309
|
-
return visit(root.children[0]);
|
|
1310
|
+
return root.children.length === 1 ? visit(root.children[0]) : root.children.map(visit);
|
|
1310
1311
|
}
|
|
1311
1312
|
function parsePlist(source) {
|
|
1312
|
-
|
|
1313
|
-
if (root.tag !== "plist") {
|
|
1314
|
-
throw new Error(`expected <plist> root element, got <${root.tag}>`);
|
|
1315
|
-
}
|
|
1316
|
-
if (root.children.length === 0) return {};
|
|
1317
|
-
const visit = (node) => {
|
|
1318
|
-
switch (node.tag) {
|
|
1319
|
-
case "dict": {
|
|
1320
|
-
const result = {};
|
|
1321
|
-
for (let i = 0; i + 1 < node.children.length; i += 2) {
|
|
1322
|
-
const keyNode = node.children[i];
|
|
1323
|
-
if (keyNode.tag !== "key") {
|
|
1324
|
-
throw new Error(`expected <key> in <dict>, got <${keyNode.tag}>`);
|
|
1325
|
-
}
|
|
1326
|
-
result[keyNode.text] = visit(node.children[i + 1]);
|
|
1327
|
-
}
|
|
1328
|
-
return result;
|
|
1329
|
-
}
|
|
1330
|
-
case "array":
|
|
1331
|
-
return node.children.map(visit);
|
|
1332
|
-
case "string":
|
|
1333
|
-
return node.text;
|
|
1334
|
-
case "integer": {
|
|
1335
|
-
const raw = node.text.trim();
|
|
1336
|
-
if (!raw) throw new Error("empty <integer> element");
|
|
1337
|
-
return Number.parseInt(raw, 10);
|
|
1338
|
-
}
|
|
1339
|
-
case "real": {
|
|
1340
|
-
const raw = node.text.trim();
|
|
1341
|
-
if (!raw) throw new Error("empty <real> element");
|
|
1342
|
-
return Number.parseFloat(raw);
|
|
1343
|
-
}
|
|
1344
|
-
case "true":
|
|
1345
|
-
return true;
|
|
1346
|
-
case "false":
|
|
1347
|
-
return false;
|
|
1348
|
-
case "data":
|
|
1349
|
-
return Buffer.from(node.text.replace(/\s+/g, ""), "base64");
|
|
1350
|
-
case "date":
|
|
1351
|
-
return new Date(node.text.trim());
|
|
1352
|
-
default:
|
|
1353
|
-
throw new Error(`unsupported plist element ${node.tag}`);
|
|
1354
|
-
}
|
|
1355
|
-
};
|
|
1356
|
-
return visit(root.children[0]);
|
|
1313
|
+
return parseXmlPlist(source);
|
|
1357
1314
|
}
|
|
1358
1315
|
function parsePlistSource(source) {
|
|
1359
1316
|
return parseXmlPlist(source);
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2613 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
swiftNativePin
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
5
|
-
import "./esm-chunks/chunk-
|
|
6
|
-
import "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-OAXXQLLD.mjs";
|
|
5
|
+
import "./esm-chunks/chunk-4737IGWN.mjs";
|
|
6
|
+
import "./esm-chunks/chunk-JA2VWD36.mjs";
|
|
7
7
|
import {
|
|
8
8
|
NATIVE_GRAPH_SDK_VERSION,
|
|
9
9
|
cacheDir
|
|
10
|
-
} from "./esm-chunks/chunk-
|
|
10
|
+
} from "./esm-chunks/chunk-MYDEA4KG.mjs";
|
|
11
11
|
import {
|
|
12
12
|
privateSwiftRelease,
|
|
13
13
|
swiftEnvironment,
|
|
14
14
|
swiftToolchainBin
|
|
15
|
-
} from "./esm-chunks/chunk-
|
|
16
|
-
import "./esm-chunks/chunk-
|
|
15
|
+
} from "./esm-chunks/chunk-WYHRRW33.mjs";
|
|
16
|
+
import "./esm-chunks/chunk-WN7ZU4KM.mjs";
|
|
17
17
|
import {
|
|
18
18
|
SWIFT_OBJCXX_LANGUAGE_FLAG,
|
|
19
19
|
isSwiftNativeTranslationUnit,
|
|
20
20
|
moduleMapName
|
|
21
|
-
} from "./esm-chunks/chunk-
|
|
21
|
+
} from "./esm-chunks/chunk-VCFIXUE4.mjs";
|
|
22
22
|
import {
|
|
23
23
|
androidMergedResourceValuesDirectory,
|
|
24
24
|
extractNativeAppIdentityFromFiles,
|
|
@@ -36,22 +36,22 @@ import {
|
|
|
36
36
|
xcodeBuildFileBuildsForIos,
|
|
37
37
|
xcodePathResolver,
|
|
38
38
|
xcodeTargetMemberVisitor
|
|
39
|
-
} from "./esm-chunks/chunk-
|
|
40
|
-
import "./esm-chunks/chunk-
|
|
39
|
+
} from "./esm-chunks/chunk-WHRUBPSD.mjs";
|
|
40
|
+
import "./esm-chunks/chunk-JZN72POJ.mjs";
|
|
41
41
|
import {
|
|
42
42
|
buildPlist,
|
|
43
43
|
parsePlist,
|
|
44
44
|
parsePlistSource,
|
|
45
45
|
parseXmlPlist
|
|
46
|
-
} from "./esm-chunks/chunk-
|
|
47
|
-
import "./esm-chunks/chunk-
|
|
48
|
-
import "./esm-chunks/chunk-
|
|
46
|
+
} from "./esm-chunks/chunk-HMBNKM6Z.mjs";
|
|
47
|
+
import "./esm-chunks/chunk-EHBHTMJD.mjs";
|
|
48
|
+
import "./esm-chunks/chunk-RAWOUEDK.mjs";
|
|
49
49
|
import {
|
|
50
50
|
isRecord
|
|
51
|
-
} from "./esm-chunks/chunk-
|
|
51
|
+
} from "./esm-chunks/chunk-LOG546WG.mjs";
|
|
52
52
|
import {
|
|
53
53
|
__publicField
|
|
54
|
-
} from "./esm-chunks/chunk-
|
|
54
|
+
} from "./esm-chunks/chunk-LKZBPKR7.mjs";
|
|
55
55
|
|
|
56
56
|
// src/native-app-identity-project.ts
|
|
57
57
|
import fs6 from "node:fs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2613 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2613 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
NATIVE_APP_IDENTITY_HEADER,
|
|
4
4
|
applyNativeAppIdentity,
|
|
@@ -22,11 +22,11 @@ import {
|
|
|
22
22
|
readRootModuleName,
|
|
23
23
|
readSiriEntitlement,
|
|
24
24
|
selectNativeAppIdentityReader
|
|
25
|
-
} from "./esm-chunks/chunk-
|
|
26
|
-
import "./esm-chunks/chunk-
|
|
27
|
-
import "./esm-chunks/chunk-
|
|
28
|
-
import "./esm-chunks/chunk-
|
|
29
|
-
import "./esm-chunks/chunk-
|
|
25
|
+
} from "./esm-chunks/chunk-WHRUBPSD.mjs";
|
|
26
|
+
import "./esm-chunks/chunk-JZN72POJ.mjs";
|
|
27
|
+
import "./esm-chunks/chunk-RAWOUEDK.mjs";
|
|
28
|
+
import "./esm-chunks/chunk-LOG546WG.mjs";
|
|
29
|
+
import "./esm-chunks/chunk-LKZBPKR7.mjs";
|
|
30
30
|
export {
|
|
31
31
|
NATIVE_APP_IDENTITY_HEADER,
|
|
32
32
|
applyNativeAppIdentity,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2613 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2613 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
findBundleFooter
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
5
|
-
import "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-RAWOUEDK.mjs";
|
|
5
|
+
import "./esm-chunks/chunk-LKZBPKR7.mjs";
|
|
6
6
|
|
|
7
7
|
// src/native-firebase-metadata.ts
|
|
8
8
|
var PREFIX = "globalThis.__peachNativeFirebaseConfig=";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2613 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
2
|
-
import "./esm-chunks/chunk-
|
|
1
|
+
/*! peach v0.1.2613 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "./esm-chunks/chunk-LKZBPKR7.mjs";
|
|
3
3
|
|
|
4
4
|
// src/pdfium-raster.ts
|
|
5
5
|
import { PDFiumLibrary } from "@hyzyla/pdfium/inline";
|
package/dist-lib/plist.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2613 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -183,10 +183,6 @@ function parseXmlPlist(source, options = {}) {
|
|
|
183
183
|
if (root.tag !== "plist") {
|
|
184
184
|
throw new Error(`expected <plist> root element, got <${root.tag}>`);
|
|
185
185
|
}
|
|
186
|
-
if (root.children.length === 0) {
|
|
187
|
-
if (options.strict) throw new Error("<plist> element has no root value");
|
|
188
|
-
return void 0;
|
|
189
|
-
}
|
|
190
186
|
if (options.strict && root.children.length !== 1) {
|
|
191
187
|
throw new Error("<plist> element must contain exactly one root value");
|
|
192
188
|
}
|
|
@@ -199,18 +195,23 @@ function parseXmlPlist(source, options = {}) {
|
|
|
199
195
|
const visit = (node) => {
|
|
200
196
|
switch (node.tag) {
|
|
201
197
|
case "dict": {
|
|
202
|
-
const
|
|
198
|
+
const entries = [];
|
|
203
199
|
if (options.strict && node.children.length % 2 !== 0) {
|
|
204
200
|
throw new Error("<dict> must contain key/value pairs");
|
|
205
201
|
}
|
|
206
|
-
for (let i = 0; i
|
|
202
|
+
for (let i = 0; i < node.children.length; i += 2) {
|
|
207
203
|
const keyNode = node.children[i];
|
|
208
204
|
if (keyNode.tag !== "key") {
|
|
209
205
|
throw new Error(`expected <key> in <dict>, got <${keyNode.tag}>`);
|
|
210
206
|
}
|
|
211
|
-
|
|
207
|
+
const key = leafText(keyNode);
|
|
208
|
+
if (!options.strict && key === "__proto__") {
|
|
209
|
+
throw new Error("unsupported plist dictionary key __proto__");
|
|
210
|
+
}
|
|
211
|
+
const value = node.children[i + 1];
|
|
212
|
+
entries.push([key, value ? visit(value) : ""]);
|
|
212
213
|
}
|
|
213
|
-
return
|
|
214
|
+
return Object.fromEntries(entries);
|
|
214
215
|
}
|
|
215
216
|
case "array":
|
|
216
217
|
return node.children.map(visit);
|
|
@@ -240,54 +241,10 @@ function parseXmlPlist(source, options = {}) {
|
|
|
240
241
|
throw new Error(`unsupported plist element ${node.tag}`);
|
|
241
242
|
}
|
|
242
243
|
};
|
|
243
|
-
return visit(root.children[0]);
|
|
244
|
+
return root.children.length === 1 ? visit(root.children[0]) : root.children.map(visit);
|
|
244
245
|
}
|
|
245
246
|
function parsePlist(source) {
|
|
246
|
-
|
|
247
|
-
if (root.tag !== "plist") {
|
|
248
|
-
throw new Error(`expected <plist> root element, got <${root.tag}>`);
|
|
249
|
-
}
|
|
250
|
-
if (root.children.length === 0) return {};
|
|
251
|
-
const visit = (node) => {
|
|
252
|
-
switch (node.tag) {
|
|
253
|
-
case "dict": {
|
|
254
|
-
const result = {};
|
|
255
|
-
for (let i = 0; i + 1 < node.children.length; i += 2) {
|
|
256
|
-
const keyNode = node.children[i];
|
|
257
|
-
if (keyNode.tag !== "key") {
|
|
258
|
-
throw new Error(`expected <key> in <dict>, got <${keyNode.tag}>`);
|
|
259
|
-
}
|
|
260
|
-
result[keyNode.text] = visit(node.children[i + 1]);
|
|
261
|
-
}
|
|
262
|
-
return result;
|
|
263
|
-
}
|
|
264
|
-
case "array":
|
|
265
|
-
return node.children.map(visit);
|
|
266
|
-
case "string":
|
|
267
|
-
return node.text;
|
|
268
|
-
case "integer": {
|
|
269
|
-
const raw = node.text.trim();
|
|
270
|
-
if (!raw) throw new Error("empty <integer> element");
|
|
271
|
-
return Number.parseInt(raw, 10);
|
|
272
|
-
}
|
|
273
|
-
case "real": {
|
|
274
|
-
const raw = node.text.trim();
|
|
275
|
-
if (!raw) throw new Error("empty <real> element");
|
|
276
|
-
return Number.parseFloat(raw);
|
|
277
|
-
}
|
|
278
|
-
case "true":
|
|
279
|
-
return true;
|
|
280
|
-
case "false":
|
|
281
|
-
return false;
|
|
282
|
-
case "data":
|
|
283
|
-
return Buffer.from(node.text.replace(/\s+/g, ""), "base64");
|
|
284
|
-
case "date":
|
|
285
|
-
return new Date(node.text.trim());
|
|
286
|
-
default:
|
|
287
|
-
throw new Error(`unsupported plist element ${node.tag}`);
|
|
288
|
-
}
|
|
289
|
-
};
|
|
290
|
-
return visit(root.children[0]);
|
|
247
|
+
return parseXmlPlist(source);
|
|
291
248
|
}
|
|
292
249
|
function parsePlistSource(source) {
|
|
293
250
|
return parseXmlPlist(source);
|
package/dist-lib/plist.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2613 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
buildPlist,
|
|
4
4
|
parsePlist,
|
|
5
5
|
parsePlistSource,
|
|
6
6
|
parseXmlPlist
|
|
7
|
-
} from "./esm-chunks/chunk-
|
|
8
|
-
import "./esm-chunks/chunk-
|
|
7
|
+
} from "./esm-chunks/chunk-HMBNKM6Z.mjs";
|
|
8
|
+
import "./esm-chunks/chunk-LKZBPKR7.mjs";
|
|
9
9
|
export {
|
|
10
10
|
buildPlist as build,
|
|
11
11
|
buildPlist,
|
package/dist-lib/profiles.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2613 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2613 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|