peachsim 0.1.2612 → 0.1.2614

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.
Files changed (124) hide show
  1. package/dist-lib/agent-daemon-client.cjs +1 -1
  2. package/dist-lib/agent-events.cjs +1 -1
  3. package/dist-lib/attached-projects.cjs +1 -1
  4. package/dist-lib/auth/shared-session.cjs +1 -1
  5. package/dist-lib/backend-origin.cjs +1 -1
  6. package/dist-lib/beta.cjs +1 -1
  7. package/dist-lib/beta.mjs +2 -2
  8. package/dist-lib/bridge-constants.cjs +1 -1
  9. package/dist-lib/bridge-contract-input.cjs +1 -1
  10. package/dist-lib/bridge-contract-input.mjs +5 -5
  11. package/dist-lib/bridge-contract.cjs +1 -1
  12. package/dist-lib/bridge-contract.mjs +3 -3
  13. package/dist-lib/bundle-channel.cjs +29 -67
  14. package/dist-lib/capture-contract.cjs +1 -1
  15. package/dist-lib/capture-contract.mjs +3 -3
  16. package/dist-lib/cloud-contract.cjs +1 -1
  17. package/dist-lib/cloud-contract.mjs +3 -3
  18. package/dist-lib/cloud-test-args.cjs +1 -1
  19. package/dist-lib/cloud-test-args.mjs +2 -2
  20. package/dist-lib/cloud.cjs +1 -1
  21. package/dist-lib/cloud.mjs +7 -7
  22. package/dist-lib/config.cjs +1 -1
  23. package/dist-lib/config.mjs +5 -5
  24. package/dist-lib/detox/index.cjs +1 -1
  25. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  26. package/dist-lib/esm-chunks/{acorn-QO4N4OBM.mjs → acorn-HOYWJ6HD.mjs} +3 -3
  27. package/dist-lib/esm-chunks/{chunk-VAIU3RSQ.mjs → chunk-5YXG76DU.mjs} +14 -14
  28. package/dist-lib/esm-chunks/{chunk-3ZTDI2MF.mjs → chunk-BFFUFF2B.mjs} +1 -1
  29. package/dist-lib/esm-chunks/{chunk-HQGPI7FM.mjs → chunk-BKBUMVDA.mjs} +1 -1
  30. package/dist-lib/esm-chunks/{chunk-6ZP7JWNX.mjs → chunk-BX6ZOZIG.mjs} +12 -55
  31. package/dist-lib/esm-chunks/{chunk-YAK7RNDV.mjs → chunk-CAL3QOE2.mjs} +1 -1
  32. package/dist-lib/esm-chunks/{chunk-XPVBWRWY.mjs → chunk-G3W6SVVM.mjs} +1 -1
  33. package/dist-lib/esm-chunks/{chunk-THHH7IPK.mjs → chunk-H2X7V7QM.mjs} +1 -1
  34. package/dist-lib/esm-chunks/{chunk-7OAXAYW7.mjs → chunk-HVWCKHES.mjs} +4 -4
  35. package/dist-lib/esm-chunks/{chunk-252KNQUF.mjs → chunk-IPDU657P.mjs} +1 -1
  36. package/dist-lib/esm-chunks/{chunk-LDYLSTVC.mjs → chunk-L5SSSCCQ.mjs} +5 -5
  37. package/dist-lib/esm-chunks/{chunk-PPDXMRAA.mjs → chunk-LPTVCIM7.mjs} +6 -6
  38. package/dist-lib/esm-chunks/{chunk-WMQA6U5H.mjs → chunk-MLZMUUL2.mjs} +1 -1
  39. package/dist-lib/esm-chunks/{chunk-ZRJG25JE.mjs → chunk-MTFHGDHC.mjs} +3 -3
  40. package/dist-lib/esm-chunks/{chunk-GRDRKYB5.mjs → chunk-NSUQICOP.mjs} +6 -6
  41. package/dist-lib/esm-chunks/{chunk-4JTACUL3.mjs → chunk-PNPJNBQV.mjs} +1 -1
  42. package/dist-lib/esm-chunks/{chunk-O5VA25UA.mjs → chunk-PRLD4EQ4.mjs} +1 -1
  43. package/dist-lib/esm-chunks/{chunk-6VWQEI2U.mjs → chunk-QB2TI2O5.mjs} +1 -1
  44. package/dist-lib/esm-chunks/{chunk-BWWPWGZW.mjs → chunk-QJXCWQM5.mjs} +1 -1
  45. package/dist-lib/esm-chunks/{chunk-UGPX2JTI.mjs → chunk-QX3ZZ4YJ.mjs} +1 -1
  46. package/dist-lib/esm-chunks/{chunk-VM5QGKMB.mjs → chunk-TBDI4H4E.mjs} +1 -1
  47. package/dist-lib/esm-chunks/{chunk-PDKX5WGD.mjs → chunk-WFO7WQ23.mjs} +1 -1
  48. package/dist-lib/esm-chunks/{chunk-HHQHP6NX.mjs → chunk-XEF5NS7Z.mjs} +1 -1
  49. package/dist-lib/esm-chunks/{chunk-HEPU5HEE.mjs → chunk-Y25P4JVE.mjs} +1 -1
  50. package/dist-lib/esm-chunks/{chunk-WTTIS3AY.mjs → chunk-YUSM3E2C.mjs} +2 -2
  51. package/dist-lib/esm-chunks/{metro-layout-parser-UUA4AJ2Q.mjs → metro-layout-parser-R6NOZIGH.mjs} +3 -3
  52. package/dist-lib/esm-chunks/{swift-package-prebuilt-EVJIROFN.mjs → swift-package-prebuilt-V33WRSQ6.mjs} +12 -12
  53. package/dist-lib/esm-chunks/{swift-sdk-app-module-M5TKMPU6.mjs → swift-sdk-app-module-NG7HU3IO.mjs} +16 -16
  54. package/dist-lib/esm-chunks/{swift-sdk-image-4FST3VAH.mjs → swift-sdk-image-ZE5BFYGL.mjs} +16 -16
  55. package/dist-lib/esm-chunks/{swift-sdk-image-producer-4DUU7RUD.mjs → swift-sdk-image-producer-KSSLS4GL.mjs} +5 -5
  56. package/dist-lib/expo-swift-bundle.cjs +28 -66
  57. package/dist-lib/expo-swift-metadata.cjs +1 -1
  58. package/dist-lib/expo-swift-metadata.mjs +7 -7
  59. package/dist-lib/home-paths.cjs +1 -1
  60. package/dist-lib/host/bridge-host.cjs +93 -75
  61. package/dist-lib/host/fetch-proxy-handler.cjs +3 -3
  62. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  63. package/dist-lib/host/fetch-proxy-overrides.mjs +2 -2
  64. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  65. package/dist-lib/host/websocket-proxy.cjs +1 -1
  66. package/dist-lib/index.cjs +1 -1
  67. package/dist-lib/kotlin-host.cjs +1 -1
  68. package/dist-lib/menu.cjs +1 -1
  69. package/dist-lib/menu.mjs +3 -3
  70. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  71. package/dist-lib/metro-fingerprint-registry.mjs +3 -3
  72. package/dist-lib/metro-production-bundle.cjs +1 -1
  73. package/dist-lib/metro-production-bundle.mjs +4 -4
  74. package/dist-lib/native-app-identity-project.cjs +12 -55
  75. package/dist-lib/native-app-identity-project.mjs +15 -15
  76. package/dist-lib/native-app-identity.cjs +1 -1
  77. package/dist-lib/native-app-identity.mjs +6 -6
  78. package/dist-lib/native-firebase-metadata.cjs +1 -1
  79. package/dist-lib/native-firebase-metadata.mjs +3 -3
  80. package/dist-lib/pdfium-raster.cjs +1 -1
  81. package/dist-lib/pdfium-raster.mjs +2 -2
  82. package/dist-lib/plist.cjs +12 -55
  83. package/dist-lib/plist.mjs +3 -3
  84. package/dist-lib/profiles.cjs +1 -1
  85. package/dist-lib/public-brand.cjs +1 -1
  86. package/dist-lib/public-origins-lib-esm.json +85 -85
  87. package/dist-lib/public-origins-lib.json +64 -64
  88. package/dist-lib/react-native-host-modules.cjs +1 -1
  89. package/dist-lib/react-native-host-modules.mjs +2 -2
  90. package/dist-lib/reap-browser.cjs +1 -1
  91. package/dist-lib/scripts/dev-server-scanner.cjs +11 -10
  92. package/dist-lib/sdk.cjs +1 -1
  93. package/dist-lib/sdk.mjs +8 -8
  94. package/dist-lib/skills.cjs +93 -75
  95. package/dist-lib/swift-compile.cjs +1 -1
  96. package/dist-lib/swift-compile.mjs +12 -12
  97. package/dist-lib/swift-package.cjs +1 -1
  98. package/dist-lib/swift-package.mjs +3 -3
  99. package/dist-lib/swift-submit.cjs +1 -1
  100. package/dist-lib/swift-submit.mjs +6 -6
  101. package/dist-lib/swift-svg-raster.cjs +1 -1
  102. package/dist-lib/swift-svg-raster.mjs +2 -2
  103. package/dist-lib/swift-toolchain.cjs +1 -1
  104. package/dist-lib/swift.cjs +1 -1
  105. package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
  106. package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
  107. package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
  108. package/dist-lib/vendor/acorn.cjs +1 -1
  109. package/dist-lib/vendor/magic-string.cjs +1 -1
  110. package/dist-lib/vendor/stream-json.cjs +1 -1
  111. package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
  112. package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
  113. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
  114. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
  115. package/dist-lib/vendor/sucrase.cjs +1 -1
  116. package/dist-lib/vendor/terser.cjs +1 -1
  117. package/dist-lib/vendor/valibot.cjs +1 -1
  118. package/dist-lib/vendor/ws.cjs +1 -1
  119. package/dist-lib/vendor/zod.cjs +1 -1
  120. package/dist-lib/worklet-executable.cjs +1 -1
  121. package/dist-lib/worklet-executable.mjs +3 -3
  122. package/package.json +1 -1
  123. package/src/plist.ts +13 -56
  124. package/src/podspec-ruby.ts +17 -10
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2612 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2614 | (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 result = {};
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 + 1 < node.children.length; i += 2) {
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
- result[leafText(keyNode)] = visit(node.children[i + 1]);
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 result;
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
- const root = parseXmlDocument(source);
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.2612 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2614 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  swiftNativePin
4
- } from "./esm-chunks/chunk-LDYLSTVC.mjs";
5
- import "./esm-chunks/chunk-YAK7RNDV.mjs";
6
- import "./esm-chunks/chunk-XPVBWRWY.mjs";
4
+ } from "./esm-chunks/chunk-L5SSSCCQ.mjs";
5
+ import "./esm-chunks/chunk-CAL3QOE2.mjs";
6
+ import "./esm-chunks/chunk-G3W6SVVM.mjs";
7
7
  import {
8
8
  NATIVE_GRAPH_SDK_VERSION,
9
9
  cacheDir
10
- } from "./esm-chunks/chunk-GRDRKYB5.mjs";
10
+ } from "./esm-chunks/chunk-NSUQICOP.mjs";
11
11
  import {
12
12
  privateSwiftRelease,
13
13
  swiftEnvironment,
14
14
  swiftToolchainBin
15
- } from "./esm-chunks/chunk-HHQHP6NX.mjs";
16
- import "./esm-chunks/chunk-252KNQUF.mjs";
15
+ } from "./esm-chunks/chunk-XEF5NS7Z.mjs";
16
+ import "./esm-chunks/chunk-IPDU657P.mjs";
17
17
  import {
18
18
  SWIFT_OBJCXX_LANGUAGE_FLAG,
19
19
  isSwiftNativeTranslationUnit,
20
20
  moduleMapName
21
- } from "./esm-chunks/chunk-PDKX5WGD.mjs";
21
+ } from "./esm-chunks/chunk-WFO7WQ23.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-7OAXAYW7.mjs";
40
- import "./esm-chunks/chunk-THHH7IPK.mjs";
39
+ } from "./esm-chunks/chunk-HVWCKHES.mjs";
40
+ import "./esm-chunks/chunk-H2X7V7QM.mjs";
41
41
  import {
42
42
  buildPlist,
43
43
  parsePlist,
44
44
  parsePlistSource,
45
45
  parseXmlPlist
46
- } from "./esm-chunks/chunk-6ZP7JWNX.mjs";
47
- import "./esm-chunks/chunk-4JTACUL3.mjs";
48
- import "./esm-chunks/chunk-O5VA25UA.mjs";
46
+ } from "./esm-chunks/chunk-BX6ZOZIG.mjs";
47
+ import "./esm-chunks/chunk-PNPJNBQV.mjs";
48
+ import "./esm-chunks/chunk-PRLD4EQ4.mjs";
49
49
  import {
50
50
  isRecord
51
- } from "./esm-chunks/chunk-BWWPWGZW.mjs";
51
+ } from "./esm-chunks/chunk-QJXCWQM5.mjs";
52
52
  import {
53
53
  __publicField
54
- } from "./esm-chunks/chunk-UGPX2JTI.mjs";
54
+ } from "./esm-chunks/chunk-QX3ZZ4YJ.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.2612 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2614 | (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.2612 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2614 | (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-7OAXAYW7.mjs";
26
- import "./esm-chunks/chunk-THHH7IPK.mjs";
27
- import "./esm-chunks/chunk-O5VA25UA.mjs";
28
- import "./esm-chunks/chunk-BWWPWGZW.mjs";
29
- import "./esm-chunks/chunk-UGPX2JTI.mjs";
25
+ } from "./esm-chunks/chunk-HVWCKHES.mjs";
26
+ import "./esm-chunks/chunk-H2X7V7QM.mjs";
27
+ import "./esm-chunks/chunk-PRLD4EQ4.mjs";
28
+ import "./esm-chunks/chunk-QJXCWQM5.mjs";
29
+ import "./esm-chunks/chunk-QX3ZZ4YJ.mjs";
30
30
  export {
31
31
  NATIVE_APP_IDENTITY_HEADER,
32
32
  applyNativeAppIdentity,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2612 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2614 | (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.2612 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2614 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  findBundleFooter
4
- } from "./esm-chunks/chunk-O5VA25UA.mjs";
5
- import "./esm-chunks/chunk-UGPX2JTI.mjs";
4
+ } from "./esm-chunks/chunk-PRLD4EQ4.mjs";
5
+ import "./esm-chunks/chunk-QX3ZZ4YJ.mjs";
6
6
 
7
7
  // src/native-firebase-metadata.ts
8
8
  var PREFIX = "globalThis.__peachNativeFirebaseConfig=";
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2612 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2614 | (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.2612 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
- import "./esm-chunks/chunk-UGPX2JTI.mjs";
1
+ /*! peach v0.1.2614 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
+ import "./esm-chunks/chunk-QX3ZZ4YJ.mjs";
3
3
 
4
4
  // src/pdfium-raster.ts
5
5
  import { PDFiumLibrary } from "@hyzyla/pdfium/inline";
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2612 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2614 | (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 result = {};
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 + 1 < node.children.length; i += 2) {
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
- result[leafText(keyNode)] = visit(node.children[i + 1]);
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 result;
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
- const root = parseXmlDocument(source);
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);
@@ -1,11 +1,11 @@
1
- /*! peach v0.1.2612 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2614 | (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-6ZP7JWNX.mjs";
8
- import "./esm-chunks/chunk-UGPX2JTI.mjs";
7
+ } from "./esm-chunks/chunk-BX6ZOZIG.mjs";
8
+ import "./esm-chunks/chunk-QX3ZZ4YJ.mjs";
9
9
  export {
10
10
  buildPlist as build,
11
11
  buildPlist,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2612 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2614 | (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.2612 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2614 | (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;