peachsim 0.1.2247 → 0.1.2248
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/bin.ts +5 -0
- package/cli/cloud-dispatch.ts +2 -0
- package/cli/commands/control.ts +2 -2
- package/cli/commands/coverage-swift.ts +3 -3
- package/cli/commands/shell-url.ts +6 -0
- package/cli/commands/skills.ts +6 -3
- package/dist-lib/agent-daemon-client.cjs +1 -29
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -10
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/bundle-channel.cjs +4161 -4502
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +1 -1
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +1 -1
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +1 -1
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +1 -1
- package/dist-lib/detox/index.cjs +2 -309
- package/dist-lib/dev-bundle-resolution.cjs +1 -12
- package/dist-lib/expo-swift-bundle.cjs +3440 -3835
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +1 -1
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +4237 -4653
- package/dist-lib/host/fetch-proxy-handler.cjs +97 -713
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +639 -1110
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/jump-to-source-native.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +3 -24
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +1 -1
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +1 -10
- package/dist-lib/metro-production-bundle.mjs +1 -12
- package/dist-lib/metro.cjs +546 -975
- package/dist-lib/native-app-identity-project.cjs +299 -592
- package/dist-lib/native-app-identity-project.mjs +11 -232
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +1 -1
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +1 -1
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +28 -96
- package/dist-lib/public-origins-lib.json +172 -1058
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/reap-browser.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -34
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +1 -1
- package/dist-lib/skills.cjs +4777 -5307
- package/dist-lib/swift-compile.cjs +1054 -1085
- package/dist-lib/swift-compile.mjs +2 -28
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +1 -1
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +1 -1
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +1425 -1639
- package/dist-lib/vite.cjs +173 -763
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/engine/scene-table.d.ts +3 -0
- package/dist-types/packages/peach-engine/src/settings/duo-fold-bus.d.ts +10 -2
- package/kotlin/sdk.tar.gz +0 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/src/kotlin-module.ts +3 -3
- package/src/swift-coverage/provenance.ts +4 -4
- package/src/swift-objc-sdk.ts +34 -21
- package/src/swift-objc-standin.ts +7 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2248 | (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;
|
|
@@ -35,18 +35,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
35
35
|
));
|
|
36
36
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
37
37
|
|
|
38
|
-
// <define:__SWIFT_COVERAGE_SOURCE_DIGESTS__>
|
|
39
|
-
var define_SWIFT_COVERAGE_SOURCE_DIGESTS_default;
|
|
40
|
-
var init_define_SWIFT_COVERAGE_SOURCE_DIGESTS = __esm({
|
|
41
|
-
"<define:__SWIFT_COVERAGE_SOURCE_DIGESTS__>"() {
|
|
42
|
-
define_SWIFT_COVERAGE_SOURCE_DIGESTS_default = { "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": "65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa", "swift-coverage/xcode-assets.ts": "d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3", "swift-coverage/xcode-asset-symbols.ts": "1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671", "swift-coverage/xcode-bridging.ts": "33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11", "swift-coverage/xcode-packages.ts": "8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "bfde06f157f52d3dd76577b3c6059c95c0393180b054ced773624ea89558992b", "swift-package.ts": "338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "8deef5a824ed49209458a4b398cd8e88df260a0c8f1894d568279f6211866547", "home-paths.ts": "d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "774c42f06f8d5c1f3f3a09f94379db2046af0016f1fcd6cbe595a9c2da5dcf95", "xcode-target-members.ts": "d49af77a690cff481b38333b5f63f6600123b1bb57f410b0adb298b010d2047b", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
|
|
46
38
|
// ../../node_modules/json5/lib/unicode.js
|
|
47
39
|
var require_unicode = __commonJS({
|
|
48
40
|
"../../node_modules/json5/lib/unicode.js"(exports2, module2) {
|
|
49
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
50
41
|
module2.exports.Space_Separator = /[\u1680\u2000-\u200A\u202F\u205F\u3000]/;
|
|
51
42
|
module2.exports.ID_Start = /[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/;
|
|
52
43
|
module2.exports.ID_Continue = /[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/;
|
|
@@ -56,7 +47,6 @@ var require_unicode = __commonJS({
|
|
|
56
47
|
// ../../node_modules/json5/lib/util.js
|
|
57
48
|
var require_util = __commonJS({
|
|
58
49
|
"../../node_modules/json5/lib/util.js"(exports2, module2) {
|
|
59
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
60
50
|
var unicode = require_unicode();
|
|
61
51
|
module2.exports = {
|
|
62
52
|
isSpaceSeparator(c) {
|
|
@@ -81,7 +71,6 @@ var require_util = __commonJS({
|
|
|
81
71
|
// ../../node_modules/json5/lib/parse.js
|
|
82
72
|
var require_parse = __commonJS({
|
|
83
73
|
"../../node_modules/json5/lib/parse.js"(exports2, module2) {
|
|
84
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
85
74
|
var util = require_util();
|
|
86
75
|
var source;
|
|
87
76
|
var parseState;
|
|
@@ -929,7 +918,6 @@ var require_parse = __commonJS({
|
|
|
929
918
|
// ../../node_modules/json5/lib/stringify.js
|
|
930
919
|
var require_stringify = __commonJS({
|
|
931
920
|
"../../node_modules/json5/lib/stringify.js"(exports2, module2) {
|
|
932
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
933
921
|
var util = require_util();
|
|
934
922
|
module2.exports = function stringify4(value, replacer, space) {
|
|
935
923
|
const stack = [];
|
|
@@ -1149,7 +1137,6 @@ var require_stringify = __commonJS({
|
|
|
1149
1137
|
// ../../node_modules/json5/lib/index.js
|
|
1150
1138
|
var require_lib = __commonJS({
|
|
1151
1139
|
"../../node_modules/json5/lib/index.js"(exports2, module2) {
|
|
1152
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1153
1140
|
var parse6 = require_parse();
|
|
1154
1141
|
var stringify4 = require_stringify();
|
|
1155
1142
|
var JSON53 = {
|
|
@@ -1254,7 +1241,6 @@ var import_node_http, import_node_https, import_node_stream, import_node_zlib2,
|
|
|
1254
1241
|
var init_node_http_fetch = __esm({
|
|
1255
1242
|
"src/node-http-fetch.ts"() {
|
|
1256
1243
|
"use strict";
|
|
1257
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1258
1244
|
import_node_http = __toESM(require("node:http"), 1);
|
|
1259
1245
|
import_node_https = __toESM(require("node:https"), 1);
|
|
1260
1246
|
import_node_stream = require("node:stream");
|
|
@@ -1280,18 +1266,11 @@ __export(fetch_proxy_handler_exports, {
|
|
|
1280
1266
|
serveBrowserProxyRoute: () => serveBrowserProxyRoute
|
|
1281
1267
|
});
|
|
1282
1268
|
module.exports = __toCommonJS(fetch_proxy_handler_exports);
|
|
1283
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1284
1269
|
var import_http = __toESM(require("http"), 1);
|
|
1285
1270
|
var import_https = __toESM(require("https"), 1);
|
|
1286
1271
|
var import_node_http2 = require("node:http2");
|
|
1287
1272
|
var import_promises4 = require("stream/promises");
|
|
1288
1273
|
|
|
1289
|
-
// ../peach-globals/src/package-versions.ts
|
|
1290
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1291
|
-
|
|
1292
|
-
// ../peach-globals/src/bundle-global-footer.ts
|
|
1293
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1294
|
-
|
|
1295
1274
|
// ../peach-globals/src/package-versions.ts
|
|
1296
1275
|
var NATIVE_BUILD_OPTIONS_KEY = "@peach/native-build-options";
|
|
1297
1276
|
var PACKAGE_VERSIONS_HEADER = "X-Peach-Package-Versions";
|
|
@@ -1314,7 +1293,6 @@ function resolveWorkletsStaticFlags(defaults, appManifest) {
|
|
|
1314
1293
|
}
|
|
1315
1294
|
|
|
1316
1295
|
// src/backend-origin.ts
|
|
1317
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1318
1296
|
var NativeURL = globalThis.URL;
|
|
1319
1297
|
function normalizeHostname(hostname) {
|
|
1320
1298
|
return hostname.replace(/^\[|\]$/g, "").toLowerCase();
|
|
@@ -1345,42 +1323,15 @@ function loopbackOriginOf(value) {
|
|
|
1345
1323
|
}
|
|
1346
1324
|
|
|
1347
1325
|
// src/host/dev-server-package-versions.ts
|
|
1348
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1349
1326
|
var import_fs3 = __toESM(require("fs"), 1);
|
|
1350
1327
|
var import_path3 = __toESM(require("path"), 1);
|
|
1351
1328
|
|
|
1352
|
-
// src/expo-pod-prebuilt.ts
|
|
1353
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1354
|
-
|
|
1355
|
-
// src/answeredNativePackages.ts
|
|
1356
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1357
|
-
|
|
1358
1329
|
// src/runtime-assets.ts
|
|
1359
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1360
1330
|
var import_fs = __toESM(require("fs"), 1);
|
|
1361
1331
|
var import_path = __toESM(require("path"), 1);
|
|
1362
1332
|
var import_url = require("url");
|
|
1363
1333
|
|
|
1364
|
-
// ../contrast-runtime-delivery/src/index.ts
|
|
1365
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1366
|
-
|
|
1367
|
-
// src/process-group.ts
|
|
1368
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1369
|
-
|
|
1370
|
-
// src/process-table.ts
|
|
1371
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1372
|
-
|
|
1373
|
-
// ../contrast-runtime-delivery/src/product.ts
|
|
1374
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1375
|
-
|
|
1376
|
-
// ../contrast-runtime-delivery/src/version.ts
|
|
1377
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1378
|
-
|
|
1379
|
-
// ../contrast-runtime-delivery/src/packs.ts
|
|
1380
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1381
|
-
|
|
1382
1334
|
// src/home-paths.ts
|
|
1383
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1384
1335
|
var import_node_fs = __toESM(require("node:fs"), 1);
|
|
1385
1336
|
var import_node_os = require("node:os");
|
|
1386
1337
|
var import_node_path = __toESM(require("node:path"), 1);
|
|
@@ -1462,68 +1413,20 @@ function peachRuntimeRoot() {
|
|
|
1462
1413
|
}
|
|
1463
1414
|
|
|
1464
1415
|
// src/expo-autolinking.ts
|
|
1465
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1466
1416
|
var import_node_child_process = require("node:child_process");
|
|
1467
1417
|
var import_node_util = require("node:util");
|
|
1468
|
-
|
|
1469
|
-
// src/forked-script-contract.ts
|
|
1470
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1471
|
-
|
|
1472
|
-
// src/expo-autolinking.ts
|
|
1473
1418
|
var run = (0, import_node_util.promisify)(import_node_child_process.execFile);
|
|
1474
1419
|
|
|
1475
1420
|
// src/expo-native-prebuilt.ts
|
|
1476
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1477
1421
|
var import_plist5 = __toESM(require("plist"), 1);
|
|
1478
1422
|
|
|
1479
|
-
// src/expo-native-compiler-digest.ts
|
|
1480
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1481
|
-
|
|
1482
|
-
// src/react-native-core-digest.ts
|
|
1483
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1484
|
-
|
|
1485
|
-
// src/swift-compiler-digest.ts
|
|
1486
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1487
|
-
|
|
1488
|
-
// src/swift-objc-sdk-tree.ts
|
|
1489
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1490
|
-
var import_node_fs2 = require("node:fs");
|
|
1491
|
-
var import_node_path2 = __toESM(require("node:path"), 1);
|
|
1492
|
-
function readIosSdkTree(root) {
|
|
1493
|
-
return (0, import_node_fs2.readdirSync)(root, { recursive: true, withFileTypes: true }).filter((entry) => entry.isFile()).map((entry) => {
|
|
1494
|
-
const file = import_node_path2.default.join(entry.parentPath, entry.name);
|
|
1495
|
-
return [
|
|
1496
|
-
import_node_path2.default.relative(root, file).split(import_node_path2.default.sep).join("/"),
|
|
1497
|
-
(0, import_node_fs2.readFileSync)(file, "utf8")
|
|
1498
|
-
];
|
|
1499
|
-
}).sort(([a], [b]) => a < b ? -1 : 1);
|
|
1500
|
-
}
|
|
1501
|
-
|
|
1502
1423
|
// src/swift-standin-digest.ts
|
|
1503
|
-
|
|
1504
|
-
var STANDIN_SOURCE_DIGEST = true ? "5060fb77e22fd3d9fa69d6e25dbc7bca5b3605d41a6bc164f40ccaee2a131504" : standinSourceDigest();
|
|
1505
|
-
|
|
1506
|
-
// src/expo-native-workspace.ts
|
|
1507
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1424
|
+
var STANDIN_SOURCE_DIGEST = true ? "7b618908e76b704175d5c94e30ceb691f6a3f50052a1d5a7bc25f24a07375c9b" : standinSourceDigest();
|
|
1508
1425
|
|
|
1509
1426
|
// cli/commands/detect.ts
|
|
1510
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1511
1427
|
var import_json5 = __toESM(require_lib(), 1);
|
|
1512
1428
|
|
|
1513
|
-
// ../../node_modules/yaml/browser/index.js
|
|
1514
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1515
|
-
|
|
1516
|
-
// ../../node_modules/yaml/browser/dist/index.js
|
|
1517
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1518
|
-
|
|
1519
|
-
// ../../node_modules/yaml/browser/dist/compose/composer.js
|
|
1520
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1521
|
-
|
|
1522
|
-
// ../../node_modules/yaml/browser/dist/doc/directives.js
|
|
1523
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1524
|
-
|
|
1525
1429
|
// ../../node_modules/yaml/browser/dist/nodes/identity.js
|
|
1526
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1527
1430
|
var ALIAS = Symbol.for("yaml.alias");
|
|
1528
1431
|
var DOC = Symbol.for("yaml.document");
|
|
1529
1432
|
var MAP = Symbol.for("yaml.map");
|
|
@@ -1560,7 +1463,6 @@ function isNode(node) {
|
|
|
1560
1463
|
var hasAnchor = (node) => (isScalar(node) || isCollection(node)) && !!node.anchor;
|
|
1561
1464
|
|
|
1562
1465
|
// ../../node_modules/yaml/browser/dist/visit.js
|
|
1563
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1564
1466
|
var BREAK = Symbol("break visit");
|
|
1565
1467
|
var SKIP = Symbol("skip children");
|
|
1566
1468
|
var REMOVE = Symbol("remove node");
|
|
@@ -1576,17 +1478,17 @@ function visit(node, visitor) {
|
|
|
1576
1478
|
visit.BREAK = BREAK;
|
|
1577
1479
|
visit.SKIP = SKIP;
|
|
1578
1480
|
visit.REMOVE = REMOVE;
|
|
1579
|
-
function visit_(key, node, visitor,
|
|
1580
|
-
const ctrl = callVisitor(key, node, visitor,
|
|
1481
|
+
function visit_(key, node, visitor, path8) {
|
|
1482
|
+
const ctrl = callVisitor(key, node, visitor, path8);
|
|
1581
1483
|
if (isNode(ctrl) || isPair(ctrl)) {
|
|
1582
|
-
replaceNode(key,
|
|
1583
|
-
return visit_(key, ctrl, visitor,
|
|
1484
|
+
replaceNode(key, path8, ctrl);
|
|
1485
|
+
return visit_(key, ctrl, visitor, path8);
|
|
1584
1486
|
}
|
|
1585
1487
|
if (typeof ctrl !== "symbol") {
|
|
1586
1488
|
if (isCollection(node)) {
|
|
1587
|
-
|
|
1489
|
+
path8 = Object.freeze(path8.concat(node));
|
|
1588
1490
|
for (let i = 0; i < node.items.length; ++i) {
|
|
1589
|
-
const ci = visit_(i, node.items[i], visitor,
|
|
1491
|
+
const ci = visit_(i, node.items[i], visitor, path8);
|
|
1590
1492
|
if (typeof ci === "number")
|
|
1591
1493
|
i = ci - 1;
|
|
1592
1494
|
else if (ci === BREAK)
|
|
@@ -1597,13 +1499,13 @@ function visit_(key, node, visitor, path11) {
|
|
|
1597
1499
|
}
|
|
1598
1500
|
}
|
|
1599
1501
|
} else if (isPair(node)) {
|
|
1600
|
-
|
|
1601
|
-
const ck = visit_("key", node.key, visitor,
|
|
1502
|
+
path8 = Object.freeze(path8.concat(node));
|
|
1503
|
+
const ck = visit_("key", node.key, visitor, path8);
|
|
1602
1504
|
if (ck === BREAK)
|
|
1603
1505
|
return BREAK;
|
|
1604
1506
|
else if (ck === REMOVE)
|
|
1605
1507
|
node.key = null;
|
|
1606
|
-
const cv = visit_("value", node.value, visitor,
|
|
1508
|
+
const cv = visit_("value", node.value, visitor, path8);
|
|
1607
1509
|
if (cv === BREAK)
|
|
1608
1510
|
return BREAK;
|
|
1609
1511
|
else if (cv === REMOVE)
|
|
@@ -1624,17 +1526,17 @@ async function visitAsync(node, visitor) {
|
|
|
1624
1526
|
visitAsync.BREAK = BREAK;
|
|
1625
1527
|
visitAsync.SKIP = SKIP;
|
|
1626
1528
|
visitAsync.REMOVE = REMOVE;
|
|
1627
|
-
async function visitAsync_(key, node, visitor,
|
|
1628
|
-
const ctrl = await callVisitor(key, node, visitor,
|
|
1529
|
+
async function visitAsync_(key, node, visitor, path8) {
|
|
1530
|
+
const ctrl = await callVisitor(key, node, visitor, path8);
|
|
1629
1531
|
if (isNode(ctrl) || isPair(ctrl)) {
|
|
1630
|
-
replaceNode(key,
|
|
1631
|
-
return visitAsync_(key, ctrl, visitor,
|
|
1532
|
+
replaceNode(key, path8, ctrl);
|
|
1533
|
+
return visitAsync_(key, ctrl, visitor, path8);
|
|
1632
1534
|
}
|
|
1633
1535
|
if (typeof ctrl !== "symbol") {
|
|
1634
1536
|
if (isCollection(node)) {
|
|
1635
|
-
|
|
1537
|
+
path8 = Object.freeze(path8.concat(node));
|
|
1636
1538
|
for (let i = 0; i < node.items.length; ++i) {
|
|
1637
|
-
const ci = await visitAsync_(i, node.items[i], visitor,
|
|
1539
|
+
const ci = await visitAsync_(i, node.items[i], visitor, path8);
|
|
1638
1540
|
if (typeof ci === "number")
|
|
1639
1541
|
i = ci - 1;
|
|
1640
1542
|
else if (ci === BREAK)
|
|
@@ -1645,13 +1547,13 @@ async function visitAsync_(key, node, visitor, path11) {
|
|
|
1645
1547
|
}
|
|
1646
1548
|
}
|
|
1647
1549
|
} else if (isPair(node)) {
|
|
1648
|
-
|
|
1649
|
-
const ck = await visitAsync_("key", node.key, visitor,
|
|
1550
|
+
path8 = Object.freeze(path8.concat(node));
|
|
1551
|
+
const ck = await visitAsync_("key", node.key, visitor, path8);
|
|
1650
1552
|
if (ck === BREAK)
|
|
1651
1553
|
return BREAK;
|
|
1652
1554
|
else if (ck === REMOVE)
|
|
1653
1555
|
node.key = null;
|
|
1654
|
-
const cv = await visitAsync_("value", node.value, visitor,
|
|
1556
|
+
const cv = await visitAsync_("value", node.value, visitor, path8);
|
|
1655
1557
|
if (cv === BREAK)
|
|
1656
1558
|
return BREAK;
|
|
1657
1559
|
else if (cv === REMOVE)
|
|
@@ -1678,23 +1580,23 @@ function initVisitor(visitor) {
|
|
|
1678
1580
|
}
|
|
1679
1581
|
return visitor;
|
|
1680
1582
|
}
|
|
1681
|
-
function callVisitor(key, node, visitor,
|
|
1583
|
+
function callVisitor(key, node, visitor, path8) {
|
|
1682
1584
|
if (typeof visitor === "function")
|
|
1683
|
-
return visitor(key, node,
|
|
1585
|
+
return visitor(key, node, path8);
|
|
1684
1586
|
if (isMap(node))
|
|
1685
|
-
return visitor.Map?.(key, node,
|
|
1587
|
+
return visitor.Map?.(key, node, path8);
|
|
1686
1588
|
if (isSeq(node))
|
|
1687
|
-
return visitor.Seq?.(key, node,
|
|
1589
|
+
return visitor.Seq?.(key, node, path8);
|
|
1688
1590
|
if (isPair(node))
|
|
1689
|
-
return visitor.Pair?.(key, node,
|
|
1591
|
+
return visitor.Pair?.(key, node, path8);
|
|
1690
1592
|
if (isScalar(node))
|
|
1691
|
-
return visitor.Scalar?.(key, node,
|
|
1593
|
+
return visitor.Scalar?.(key, node, path8);
|
|
1692
1594
|
if (isAlias(node))
|
|
1693
|
-
return visitor.Alias?.(key, node,
|
|
1595
|
+
return visitor.Alias?.(key, node, path8);
|
|
1694
1596
|
return void 0;
|
|
1695
1597
|
}
|
|
1696
|
-
function replaceNode(key,
|
|
1697
|
-
const parent =
|
|
1598
|
+
function replaceNode(key, path8, node) {
|
|
1599
|
+
const parent = path8[path8.length - 1];
|
|
1698
1600
|
if (isCollection(parent)) {
|
|
1699
1601
|
parent.items[key] = node;
|
|
1700
1602
|
} else if (isPair(parent)) {
|
|
@@ -1873,14 +1775,7 @@ var Directives = class _Directives {
|
|
|
1873
1775
|
Directives.defaultYaml = { explicit: false, version: "1.2" };
|
|
1874
1776
|
Directives.defaultTags = { "!!": "tag:yaml.org,2002:" };
|
|
1875
1777
|
|
|
1876
|
-
// ../../node_modules/yaml/browser/dist/doc/Document.js
|
|
1877
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1878
|
-
|
|
1879
|
-
// ../../node_modules/yaml/browser/dist/nodes/Alias.js
|
|
1880
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1881
|
-
|
|
1882
1778
|
// ../../node_modules/yaml/browser/dist/doc/anchors.js
|
|
1883
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1884
1779
|
function anchorIsValid(anchor) {
|
|
1885
1780
|
if (/[\x00-\x19\s,[\]{}]/.test(anchor)) {
|
|
1886
1781
|
const sa = JSON.stringify(anchor);
|
|
@@ -1890,11 +1785,7 @@ function anchorIsValid(anchor) {
|
|
|
1890
1785
|
return true;
|
|
1891
1786
|
}
|
|
1892
1787
|
|
|
1893
|
-
// ../../node_modules/yaml/browser/dist/nodes/Node.js
|
|
1894
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1895
|
-
|
|
1896
1788
|
// ../../node_modules/yaml/browser/dist/doc/applyReviver.js
|
|
1897
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1898
1789
|
function applyReviver(reviver, obj, key, val) {
|
|
1899
1790
|
if (val && typeof val === "object") {
|
|
1900
1791
|
if (Array.isArray(val)) {
|
|
@@ -1939,7 +1830,6 @@ function applyReviver(reviver, obj, key, val) {
|
|
|
1939
1830
|
}
|
|
1940
1831
|
|
|
1941
1832
|
// ../../node_modules/yaml/browser/dist/nodes/toJS.js
|
|
1942
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1943
1833
|
function toJS(value, arg, ctx) {
|
|
1944
1834
|
if (Array.isArray(value))
|
|
1945
1835
|
return value.map((v6, i) => toJS(v6, String(i), ctx));
|
|
@@ -2099,14 +1989,7 @@ function getAliasCount(doc, node, anchors) {
|
|
|
2099
1989
|
return 1;
|
|
2100
1990
|
}
|
|
2101
1991
|
|
|
2102
|
-
// ../../node_modules/yaml/browser/dist/nodes/Collection.js
|
|
2103
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
2104
|
-
|
|
2105
|
-
// ../../node_modules/yaml/browser/dist/doc/createNode.js
|
|
2106
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
2107
|
-
|
|
2108
1992
|
// ../../node_modules/yaml/browser/dist/nodes/Scalar.js
|
|
2109
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
2110
1993
|
var isScalarValue = (value) => !value || typeof value !== "function" && typeof value !== "object";
|
|
2111
1994
|
var Scalar = class extends NodeBase {
|
|
2112
1995
|
constructor(value) {
|
|
@@ -2193,10 +2076,10 @@ function createNode(value, tagName, ctx) {
|
|
|
2193
2076
|
}
|
|
2194
2077
|
|
|
2195
2078
|
// ../../node_modules/yaml/browser/dist/nodes/Collection.js
|
|
2196
|
-
function collectionFromPath(schema4,
|
|
2079
|
+
function collectionFromPath(schema4, path8, value) {
|
|
2197
2080
|
let v6 = value;
|
|
2198
|
-
for (let i =
|
|
2199
|
-
const k =
|
|
2081
|
+
for (let i = path8.length - 1; i >= 0; --i) {
|
|
2082
|
+
const k = path8[i];
|
|
2200
2083
|
if (typeof k === "number" && Number.isInteger(k) && k >= 0) {
|
|
2201
2084
|
const a = [];
|
|
2202
2085
|
a[k] = v6;
|
|
@@ -2215,7 +2098,7 @@ function collectionFromPath(schema4, path11, value) {
|
|
|
2215
2098
|
sourceObjects: /* @__PURE__ */ new Map()
|
|
2216
2099
|
});
|
|
2217
2100
|
}
|
|
2218
|
-
var isEmptyPath = (
|
|
2101
|
+
var isEmptyPath = (path8) => path8 == null || typeof path8 === "object" && !!path8[Symbol.iterator]().next().done;
|
|
2219
2102
|
var Collection = class extends NodeBase {
|
|
2220
2103
|
constructor(type, schema4) {
|
|
2221
2104
|
super(type);
|
|
@@ -2245,11 +2128,11 @@ var Collection = class extends NodeBase {
|
|
|
2245
2128
|
* be a Pair instance or a `{ key, value }` object, which may not have a key
|
|
2246
2129
|
* that already exists in the map.
|
|
2247
2130
|
*/
|
|
2248
|
-
addIn(
|
|
2249
|
-
if (isEmptyPath(
|
|
2131
|
+
addIn(path8, value) {
|
|
2132
|
+
if (isEmptyPath(path8))
|
|
2250
2133
|
this.add(value);
|
|
2251
2134
|
else {
|
|
2252
|
-
const [key, ...rest] =
|
|
2135
|
+
const [key, ...rest] = path8;
|
|
2253
2136
|
const node = this.get(key, true);
|
|
2254
2137
|
if (isCollection(node))
|
|
2255
2138
|
node.addIn(rest, value);
|
|
@@ -2263,8 +2146,8 @@ var Collection = class extends NodeBase {
|
|
|
2263
2146
|
* Removes a value from the collection.
|
|
2264
2147
|
* @returns `true` if the item was found and removed.
|
|
2265
2148
|
*/
|
|
2266
|
-
deleteIn(
|
|
2267
|
-
const [key, ...rest] =
|
|
2149
|
+
deleteIn(path8) {
|
|
2150
|
+
const [key, ...rest] = path8;
|
|
2268
2151
|
if (rest.length === 0)
|
|
2269
2152
|
return this.delete(key);
|
|
2270
2153
|
const node = this.get(key, true);
|
|
@@ -2278,8 +2161,8 @@ var Collection = class extends NodeBase {
|
|
|
2278
2161
|
* scalar values from their surrounding node; to disable set `keepScalar` to
|
|
2279
2162
|
* `true` (collections are always returned intact).
|
|
2280
2163
|
*/
|
|
2281
|
-
getIn(
|
|
2282
|
-
const [key, ...rest] =
|
|
2164
|
+
getIn(path8, keepScalar) {
|
|
2165
|
+
const [key, ...rest] = path8;
|
|
2283
2166
|
const node = this.get(key, true);
|
|
2284
2167
|
if (rest.length === 0)
|
|
2285
2168
|
return !keepScalar && isScalar(node) ? node.value : node;
|
|
@@ -2297,8 +2180,8 @@ var Collection = class extends NodeBase {
|
|
|
2297
2180
|
/**
|
|
2298
2181
|
* Checks if the collection includes a value with the key `key`.
|
|
2299
2182
|
*/
|
|
2300
|
-
hasIn(
|
|
2301
|
-
const [key, ...rest] =
|
|
2183
|
+
hasIn(path8) {
|
|
2184
|
+
const [key, ...rest] = path8;
|
|
2302
2185
|
if (rest.length === 0)
|
|
2303
2186
|
return this.has(key);
|
|
2304
2187
|
const node = this.get(key, true);
|
|
@@ -2308,8 +2191,8 @@ var Collection = class extends NodeBase {
|
|
|
2308
2191
|
* Sets a value in this collection. For `!!set`, `value` needs to be a
|
|
2309
2192
|
* boolean to add/remove the item from the set.
|
|
2310
2193
|
*/
|
|
2311
|
-
setIn(
|
|
2312
|
-
const [key, ...rest] =
|
|
2194
|
+
setIn(path8, value) {
|
|
2195
|
+
const [key, ...rest] = path8;
|
|
2313
2196
|
if (rest.length === 0) {
|
|
2314
2197
|
this.set(key, value);
|
|
2315
2198
|
} else {
|
|
@@ -2324,17 +2207,7 @@ var Collection = class extends NodeBase {
|
|
|
2324
2207
|
}
|
|
2325
2208
|
};
|
|
2326
2209
|
|
|
2327
|
-
// ../../node_modules/yaml/browser/dist/nodes/Pair.js
|
|
2328
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
2329
|
-
|
|
2330
|
-
// ../../node_modules/yaml/browser/dist/stringify/stringifyPair.js
|
|
2331
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
2332
|
-
|
|
2333
|
-
// ../../node_modules/yaml/browser/dist/stringify/stringify.js
|
|
2334
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
2335
|
-
|
|
2336
2210
|
// ../../node_modules/yaml/browser/dist/stringify/stringifyComment.js
|
|
2337
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
2338
2211
|
var stringifyComment = (str2) => str2.replace(/^(?!$)(?: $)?/gm, "#");
|
|
2339
2212
|
function indentComment(comment, indent) {
|
|
2340
2213
|
if (/^\n+$/.test(comment))
|
|
@@ -2343,11 +2216,7 @@ function indentComment(comment, indent) {
|
|
|
2343
2216
|
}
|
|
2344
2217
|
var lineComment = (str2, indent, comment) => str2.endsWith("\n") ? indentComment(comment, indent) : comment.includes("\n") ? "\n" + indentComment(comment, indent) : (str2.endsWith(" ") ? "" : " ") + comment;
|
|
2345
2218
|
|
|
2346
|
-
// ../../node_modules/yaml/browser/dist/stringify/stringifyString.js
|
|
2347
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
2348
|
-
|
|
2349
2219
|
// ../../node_modules/yaml/browser/dist/stringify/foldFlowLines.js
|
|
2350
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
2351
2220
|
var FOLD_FLOW = "flow";
|
|
2352
2221
|
var FOLD_BLOCK = "block";
|
|
2353
2222
|
var FOLD_QUOTED = "quoted";
|
|
@@ -2985,11 +2854,7 @@ ${ctx.indent}`;
|
|
|
2985
2854
|
return str2;
|
|
2986
2855
|
}
|
|
2987
2856
|
|
|
2988
|
-
// ../../node_modules/yaml/browser/dist/nodes/addPairToJSMap.js
|
|
2989
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
2990
|
-
|
|
2991
2857
|
// ../../node_modules/yaml/browser/dist/log.js
|
|
2992
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
2993
2858
|
function warn(logLevel, warning) {
|
|
2994
2859
|
if (logLevel === "debug" || logLevel === "warn") {
|
|
2995
2860
|
console.warn(warning);
|
|
@@ -2997,7 +2862,6 @@ function warn(logLevel, warning) {
|
|
|
2997
2862
|
}
|
|
2998
2863
|
|
|
2999
2864
|
// ../../node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js
|
|
3000
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3001
2865
|
var MERGE_KEY = "<<";
|
|
3002
2866
|
var merge = {
|
|
3003
2867
|
identify: (value) => value === MERGE_KEY || typeof value === "symbol" && value.description === MERGE_KEY,
|
|
@@ -3129,17 +2993,7 @@ var Pair = class _Pair {
|
|
|
3129
2993
|
}
|
|
3130
2994
|
};
|
|
3131
2995
|
|
|
3132
|
-
// ../../node_modules/yaml/browser/dist/schema/Schema.js
|
|
3133
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3134
|
-
|
|
3135
|
-
// ../../node_modules/yaml/browser/dist/schema/common/map.js
|
|
3136
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3137
|
-
|
|
3138
|
-
// ../../node_modules/yaml/browser/dist/nodes/YAMLMap.js
|
|
3139
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3140
|
-
|
|
3141
2996
|
// ../../node_modules/yaml/browser/dist/stringify/stringifyCollection.js
|
|
3142
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3143
2997
|
function stringifyCollection(collection, ctx, options) {
|
|
3144
2998
|
const flow = ctx.inFlow ?? collection.flow;
|
|
3145
2999
|
const stringify4 = flow ? stringifyFlowCollection : stringifyBlockCollection;
|
|
@@ -3426,11 +3280,7 @@ var map = {
|
|
|
3426
3280
|
createNode: (schema4, obj, ctx) => YAMLMap.from(schema4, obj, ctx)
|
|
3427
3281
|
};
|
|
3428
3282
|
|
|
3429
|
-
// ../../node_modules/yaml/browser/dist/schema/common/seq.js
|
|
3430
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3431
|
-
|
|
3432
3283
|
// ../../node_modules/yaml/browser/dist/nodes/YAMLSeq.js
|
|
3433
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3434
3284
|
var YAMLSeq = class extends Collection {
|
|
3435
3285
|
static get tagName() {
|
|
3436
3286
|
return "tag:yaml.org,2002:seq";
|
|
@@ -3548,32 +3398,7 @@ var seq = {
|
|
|
3548
3398
|
createNode: (schema4, obj, ctx) => YAMLSeq.from(schema4, obj, ctx)
|
|
3549
3399
|
};
|
|
3550
3400
|
|
|
3551
|
-
// ../../node_modules/yaml/browser/dist/schema/common/string.js
|
|
3552
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3553
|
-
|
|
3554
|
-
// ../../node_modules/yaml/browser/dist/schema/tags.js
|
|
3555
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3556
|
-
|
|
3557
|
-
// ../../node_modules/yaml/browser/dist/schema/common/null.js
|
|
3558
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3559
|
-
|
|
3560
|
-
// ../../node_modules/yaml/browser/dist/schema/core/bool.js
|
|
3561
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3562
|
-
|
|
3563
|
-
// ../../node_modules/yaml/browser/dist/schema/core/float.js
|
|
3564
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3565
|
-
|
|
3566
|
-
// ../../node_modules/yaml/browser/dist/stringify/stringifyNumber.js
|
|
3567
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3568
|
-
|
|
3569
|
-
// ../../node_modules/yaml/browser/dist/schema/core/int.js
|
|
3570
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3571
|
-
|
|
3572
|
-
// ../../node_modules/yaml/browser/dist/schema/core/schema.js
|
|
3573
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3574
|
-
|
|
3575
3401
|
// ../../node_modules/yaml/browser/dist/schema/json/schema.js
|
|
3576
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3577
3402
|
function intIdentify(value) {
|
|
3578
3403
|
return typeof value === "bigint" || Number.isInteger(value);
|
|
3579
3404
|
}
|
|
@@ -3631,14 +3456,7 @@ var jsonError = {
|
|
|
3631
3456
|
};
|
|
3632
3457
|
var schema = [map, seq].concat(jsonScalars, jsonError);
|
|
3633
3458
|
|
|
3634
|
-
// ../../node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js
|
|
3635
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3636
|
-
|
|
3637
|
-
// ../../node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js
|
|
3638
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3639
|
-
|
|
3640
3459
|
// ../../node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js
|
|
3641
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3642
3460
|
function createPairs(schema4, iterable, ctx) {
|
|
3643
3461
|
const { replacer } = ctx;
|
|
3644
3462
|
const pairs2 = new YAMLSeq(schema4);
|
|
@@ -3715,20 +3533,7 @@ var YAMLOMap = class _YAMLOMap extends YAMLSeq {
|
|
|
3715
3533
|
};
|
|
3716
3534
|
YAMLOMap.tag = "tag:yaml.org,2002:omap";
|
|
3717
3535
|
|
|
3718
|
-
// ../../node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js
|
|
3719
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3720
|
-
|
|
3721
|
-
// ../../node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js
|
|
3722
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3723
|
-
|
|
3724
|
-
// ../../node_modules/yaml/browser/dist/schema/yaml-1.1/float.js
|
|
3725
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3726
|
-
|
|
3727
|
-
// ../../node_modules/yaml/browser/dist/schema/yaml-1.1/int.js
|
|
3728
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3729
|
-
|
|
3730
3536
|
// ../../node_modules/yaml/browser/dist/schema/yaml-1.1/set.js
|
|
3731
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3732
3537
|
var YAMLSet = class _YAMLSet extends YAMLMap {
|
|
3733
3538
|
constructor(schema4) {
|
|
3734
3539
|
super(schema4);
|
|
@@ -3790,7 +3595,6 @@ var YAMLSet = class _YAMLSet extends YAMLMap {
|
|
|
3790
3595
|
YAMLSet.tag = "tag:yaml.org,2002:set";
|
|
3791
3596
|
|
|
3792
3597
|
// ../../node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js
|
|
3793
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3794
3598
|
function parseSexagesimal(str2, asBigInt) {
|
|
3795
3599
|
const sign = str2[0];
|
|
3796
3600
|
const parts = sign === "-" || sign === "+" ? str2.substring(1) : str2;
|
|
@@ -3825,68 +3629,7 @@ var timestamp = {
|
|
|
3825
3629
|
stringify: ({ value }) => value?.toISOString().replace(/(T00:00:00)?\.000Z$/, "") ?? ""
|
|
3826
3630
|
};
|
|
3827
3631
|
|
|
3828
|
-
// ../../node_modules/yaml/browser/dist/stringify/stringifyDocument.js
|
|
3829
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3830
|
-
|
|
3831
|
-
// ../../node_modules/yaml/browser/dist/errors.js
|
|
3832
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3833
|
-
|
|
3834
|
-
// ../../node_modules/yaml/browser/dist/compose/compose-doc.js
|
|
3835
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3836
|
-
|
|
3837
|
-
// ../../node_modules/yaml/browser/dist/compose/compose-node.js
|
|
3838
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3839
|
-
|
|
3840
|
-
// ../../node_modules/yaml/browser/dist/compose/compose-collection.js
|
|
3841
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3842
|
-
|
|
3843
|
-
// ../../node_modules/yaml/browser/dist/compose/resolve-block-map.js
|
|
3844
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3845
|
-
|
|
3846
|
-
// ../../node_modules/yaml/browser/dist/compose/resolve-props.js
|
|
3847
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3848
|
-
|
|
3849
|
-
// ../../node_modules/yaml/browser/dist/compose/util-contains-newline.js
|
|
3850
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3851
|
-
|
|
3852
|
-
// ../../node_modules/yaml/browser/dist/compose/util-flow-indent-check.js
|
|
3853
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3854
|
-
|
|
3855
|
-
// ../../node_modules/yaml/browser/dist/compose/util-map-includes.js
|
|
3856
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3857
|
-
|
|
3858
|
-
// ../../node_modules/yaml/browser/dist/compose/resolve-block-seq.js
|
|
3859
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3860
|
-
|
|
3861
|
-
// ../../node_modules/yaml/browser/dist/compose/resolve-flow-collection.js
|
|
3862
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3863
|
-
|
|
3864
|
-
// ../../node_modules/yaml/browser/dist/compose/resolve-end.js
|
|
3865
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3866
|
-
|
|
3867
|
-
// ../../node_modules/yaml/browser/dist/compose/compose-scalar.js
|
|
3868
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3869
|
-
|
|
3870
|
-
// ../../node_modules/yaml/browser/dist/compose/resolve-block-scalar.js
|
|
3871
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3872
|
-
|
|
3873
|
-
// ../../node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js
|
|
3874
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3875
|
-
|
|
3876
|
-
// ../../node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js
|
|
3877
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3878
|
-
|
|
3879
|
-
// ../../node_modules/yaml/browser/dist/parse/cst.js
|
|
3880
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3881
|
-
|
|
3882
|
-
// ../../node_modules/yaml/browser/dist/parse/cst-scalar.js
|
|
3883
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3884
|
-
|
|
3885
|
-
// ../../node_modules/yaml/browser/dist/parse/cst-stringify.js
|
|
3886
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3887
|
-
|
|
3888
3632
|
// ../../node_modules/yaml/browser/dist/parse/cst-visit.js
|
|
3889
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3890
3633
|
var BREAK2 = Symbol("break visit");
|
|
3891
3634
|
var SKIP2 = Symbol("skip children");
|
|
3892
3635
|
var REMOVE2 = Symbol("remove item");
|
|
@@ -3898,9 +3641,9 @@ function visit2(cst, visitor) {
|
|
|
3898
3641
|
visit2.BREAK = BREAK2;
|
|
3899
3642
|
visit2.SKIP = SKIP2;
|
|
3900
3643
|
visit2.REMOVE = REMOVE2;
|
|
3901
|
-
visit2.itemAtPath = (cst,
|
|
3644
|
+
visit2.itemAtPath = (cst, path8) => {
|
|
3902
3645
|
let item = cst;
|
|
3903
|
-
for (const [field, index] of
|
|
3646
|
+
for (const [field, index] of path8) {
|
|
3904
3647
|
const tok = item?.[field];
|
|
3905
3648
|
if (tok && "items" in tok) {
|
|
3906
3649
|
item = tok.items[index];
|
|
@@ -3909,23 +3652,23 @@ visit2.itemAtPath = (cst, path11) => {
|
|
|
3909
3652
|
}
|
|
3910
3653
|
return item;
|
|
3911
3654
|
};
|
|
3912
|
-
visit2.parentCollection = (cst,
|
|
3913
|
-
const parent = visit2.itemAtPath(cst,
|
|
3914
|
-
const field =
|
|
3655
|
+
visit2.parentCollection = (cst, path8) => {
|
|
3656
|
+
const parent = visit2.itemAtPath(cst, path8.slice(0, -1));
|
|
3657
|
+
const field = path8[path8.length - 1][0];
|
|
3915
3658
|
const coll = parent?.[field];
|
|
3916
3659
|
if (coll && "items" in coll)
|
|
3917
3660
|
return coll;
|
|
3918
3661
|
throw new Error("Parent collection not found");
|
|
3919
3662
|
};
|
|
3920
|
-
function _visit(
|
|
3921
|
-
let ctrl = visitor(item,
|
|
3663
|
+
function _visit(path8, item, visitor) {
|
|
3664
|
+
let ctrl = visitor(item, path8);
|
|
3922
3665
|
if (typeof ctrl === "symbol")
|
|
3923
3666
|
return ctrl;
|
|
3924
3667
|
for (const field of ["key", "value"]) {
|
|
3925
3668
|
const token = item[field];
|
|
3926
3669
|
if (token && "items" in token) {
|
|
3927
3670
|
for (let i = 0; i < token.items.length; ++i) {
|
|
3928
|
-
const ci = _visit(Object.freeze(
|
|
3671
|
+
const ci = _visit(Object.freeze(path8.concat([[field, i]])), token.items[i], visitor);
|
|
3929
3672
|
if (typeof ci === "number")
|
|
3930
3673
|
i = ci - 1;
|
|
3931
3674
|
else if (ci === BREAK2)
|
|
@@ -3936,31 +3679,18 @@ function _visit(path11, item, visitor) {
|
|
|
3936
3679
|
}
|
|
3937
3680
|
}
|
|
3938
3681
|
if (typeof ctrl === "function" && field === "key")
|
|
3939
|
-
ctrl = ctrl(item,
|
|
3682
|
+
ctrl = ctrl(item, path8);
|
|
3940
3683
|
}
|
|
3941
3684
|
}
|
|
3942
|
-
return typeof ctrl === "function" ? ctrl(item,
|
|
3685
|
+
return typeof ctrl === "function" ? ctrl(item, path8) : ctrl;
|
|
3943
3686
|
}
|
|
3944
3687
|
|
|
3945
3688
|
// ../../node_modules/yaml/browser/dist/parse/lexer.js
|
|
3946
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3947
3689
|
var hexDigits = new Set("0123456789ABCDEFabcdef");
|
|
3948
3690
|
var tagChars = new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()");
|
|
3949
3691
|
var flowIndicatorChars = new Set(",[]{}");
|
|
3950
3692
|
var invalidAnchorChars = new Set(" ,[]{}\n\r ");
|
|
3951
3693
|
|
|
3952
|
-
// ../../node_modules/yaml/browser/dist/parse/line-counter.js
|
|
3953
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3954
|
-
|
|
3955
|
-
// ../../node_modules/yaml/browser/dist/parse/parser.js
|
|
3956
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3957
|
-
|
|
3958
|
-
// ../../node_modules/yaml/browser/dist/public-api.js
|
|
3959
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3960
|
-
|
|
3961
|
-
// cli/commands/nodeRepoFileReader.ts
|
|
3962
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3963
|
-
|
|
3964
3694
|
// cli/commands/detect.ts
|
|
3965
3695
|
var PODFILE_NEW_ARCH_MARK = "PEACH_RCT_NEW_ARCH ";
|
|
3966
3696
|
var PODFILE_NEW_ARCH_RUBY = `
|
|
@@ -3986,82 +3716,22 @@ Array(payload['statements']).each do |statement|
|
|
|
3986
3716
|
end
|
|
3987
3717
|
`;
|
|
3988
3718
|
|
|
3989
|
-
// src/admitted-mac-build.ts
|
|
3990
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3991
|
-
|
|
3992
3719
|
// src/expo-workspace-exclusion.ts
|
|
3993
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3994
3720
|
var import_ignore = __toESM(require("ignore"), 1);
|
|
3995
3721
|
|
|
3996
3722
|
// src/native-failure-output.ts
|
|
3997
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3998
3723
|
var FAILED_OUTPUT_KEPT_MS = 7 * 24 * 36e5;
|
|
3999
3724
|
|
|
4000
|
-
// src/native-git.ts
|
|
4001
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4002
|
-
|
|
4003
|
-
// src/one-sdk-preparation.ts
|
|
4004
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4005
|
-
|
|
4006
|
-
// src/native-prebuilt.ts
|
|
4007
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4008
|
-
|
|
4009
|
-
// src/is-record.ts
|
|
4010
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4011
|
-
|
|
4012
|
-
// src/oneSdkContract.ts
|
|
4013
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4014
|
-
|
|
4015
|
-
// src/swiftContract.ts
|
|
4016
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4017
|
-
|
|
4018
|
-
// src/assetCatalogContract.ts
|
|
4019
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4020
|
-
|
|
4021
|
-
// src/portable-expo-workspace.ts
|
|
4022
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4023
|
-
|
|
4024
|
-
// src/native-firebase-config.ts
|
|
4025
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4026
|
-
|
|
4027
3725
|
// src/plist.ts
|
|
4028
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4029
3726
|
var import_plist = __toESM(require("plist"), 1);
|
|
4030
3727
|
|
|
4031
3728
|
// src/xcode-project.ts
|
|
4032
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4033
3729
|
var import_plist2 = __toESM(require("plist"), 1);
|
|
4034
3730
|
|
|
4035
|
-
// src/native-app-identity.ts
|
|
4036
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4037
|
-
|
|
4038
|
-
// src/android-app-identity.ts
|
|
4039
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4040
|
-
|
|
4041
|
-
// src/android-string-value.ts
|
|
4042
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4043
|
-
|
|
4044
|
-
// src/android-xml.ts
|
|
4045
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4046
|
-
|
|
4047
|
-
// src/nativeAppIconContract.ts
|
|
4048
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4049
|
-
|
|
4050
|
-
// src/openstep-plist.ts
|
|
4051
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4052
|
-
|
|
4053
|
-
// src/xcode-target-members.ts
|
|
4054
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4055
|
-
|
|
4056
|
-
// src/prepared-xcode-phases.ts
|
|
4057
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4058
|
-
|
|
4059
3731
|
// src/swift-binary-modules.ts
|
|
4060
|
-
|
|
4061
|
-
var import_node_path3 = __toESM(require("node:path"), 1);
|
|
3732
|
+
var import_node_path2 = __toESM(require("node:path"), 1);
|
|
4062
3733
|
|
|
4063
3734
|
// src/swift-package.ts
|
|
4064
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4065
3735
|
var SWIFT_NATIVE_TRANSLATION_UNIT_EXTENSIONS = [
|
|
4066
3736
|
".c",
|
|
4067
3737
|
".cc",
|
|
@@ -4087,53 +3757,12 @@ var SWIFT_NATIVE_SOURCE_EXTENSIONS = [
|
|
|
4087
3757
|
];
|
|
4088
3758
|
|
|
4089
3759
|
// src/swift-binary-modules.ts
|
|
4090
|
-
var cacheDir2 =
|
|
4091
|
-
|
|
4092
|
-
// src/swift-coverage/xcode-assets.ts
|
|
4093
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3760
|
+
var cacheDir2 = import_node_path2.default.join(cacheDir(), "swift-binary-modules");
|
|
4094
3761
|
|
|
4095
3762
|
// src/swift-coverage/provenance.ts
|
|
4096
|
-
|
|
4097
|
-
var import_node_crypto = require("node:crypto");
|
|
4098
|
-
var import_node_fs3 = require("node:fs");
|
|
4099
|
-
var import_node_path4 = require("node:path");
|
|
4100
|
-
var SWIFT_COVERAGE_DIGEST_SOURCES = [
|
|
4101
|
-
"swift-coverage/indexdump.ts",
|
|
4102
|
-
"swift-coverage/indexing.ts",
|
|
4103
|
-
"swift-coverage/types.ts",
|
|
4104
|
-
"swift-coverage/source.ts",
|
|
4105
|
-
"swift-coverage/package.ts",
|
|
4106
|
-
"swift-coverage/xcode.ts",
|
|
4107
|
-
"swift-coverage/xcode-assets.ts",
|
|
4108
|
-
"swift-coverage/xcode-asset-symbols.ts",
|
|
4109
|
-
"swift-coverage/xcode-bridging.ts",
|
|
4110
|
-
"swift-coverage/xcode-packages.ts",
|
|
4111
|
-
"swift-coverage/xcode-strings.ts",
|
|
4112
|
-
"swift-coverage/reader.ts",
|
|
4113
|
-
"swift-coverage/provenance.ts",
|
|
4114
|
-
"swift-package-manifest.ts",
|
|
4115
|
-
"swift-package.ts",
|
|
4116
|
-
"swift-source-file.ts",
|
|
4117
|
-
"swift-toolchain.ts",
|
|
4118
|
-
"home-paths.ts",
|
|
4119
|
-
"xcode-header-search.ts",
|
|
4120
|
-
"xcode-project.ts",
|
|
4121
|
-
"xcode-target-members.ts",
|
|
4122
|
-
"xcode-json-project.ts",
|
|
4123
|
-
"openstep-plist.ts"
|
|
4124
|
-
];
|
|
4125
|
-
function swiftCoverageSourceDigests(srcDir) {
|
|
4126
|
-
return Object.fromEntries(
|
|
4127
|
-
SWIFT_COVERAGE_DIGEST_SOURCES.map((file) => [
|
|
4128
|
-
file,
|
|
4129
|
-
(0, import_node_crypto.createHash)("sha256").update((0, import_node_fs3.readFileSync)((0, import_node_path4.join)(srcDir, file))).digest("hex")
|
|
4130
|
-
])
|
|
4131
|
-
);
|
|
4132
|
-
}
|
|
4133
|
-
var swiftCoverageProvenance = typeof define_SWIFT_COVERAGE_SOURCE_DIGESTS_default === "object" ? define_SWIFT_COVERAGE_SOURCE_DIGESTS_default : swiftCoverageSourceDigests((0, import_node_path4.join)(__sootsim_import_meta_dirname, ".."));
|
|
3763
|
+
var 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":"65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa","swift-coverage/xcode-assets.ts":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915","swift-coverage/xcode-strings.ts":"f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"bfde06f157f52d3dd76577b3c6059c95c0393180b054ced773624ea89558992b","swift-package.ts":"338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb","swift-source-file.ts":"93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94","swift-toolchain.ts":"8deef5a824ed49209458a4b398cd8e88df260a0c8f1894d568279f6211866547","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1","xcode-project.ts":"774c42f06f8d5c1f3f3a09f94379db2046af0016f1fcd6cbe595a9c2da5dcf95","xcode-target-members.ts":"d49af77a690cff481b38333b5f63f6600123b1bb57f410b0adb298b010d2047b","xcode-json-project.ts":"41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6","openstep-plist.ts":"74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3"}') : swiftCoverageSourceDigests((0, import_node_path.join)(__sootsim_import_meta_dirname, ".."));
|
|
4134
3764
|
|
|
4135
3765
|
// src/swift-coverage/xcode-asset-symbols.ts
|
|
4136
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4137
3766
|
var silentTypes = /* @__PURE__ */ new Set([
|
|
4138
3767
|
"appiconset",
|
|
4139
3768
|
"brandassets",
|
|
@@ -4315,46 +3944,14 @@ var assetSymbolSettingKeys = [
|
|
|
4315
3944
|
];
|
|
4316
3945
|
|
|
4317
3946
|
// src/swift-package-manifest.ts
|
|
4318
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4319
3947
|
var import_node_child_process3 = require("node:child_process");
|
|
4320
|
-
var
|
|
3948
|
+
var import_node_path3 = __toESM(require("node:path"), 1);
|
|
4321
3949
|
var import_node_util3 = require("node:util");
|
|
4322
3950
|
|
|
4323
|
-
// src/swift-distribution.ts
|
|
4324
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4325
|
-
|
|
4326
|
-
// cli/drivers/linux-browser-libs.ts
|
|
4327
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4328
|
-
|
|
4329
|
-
// cli/cli-release-origin.ts
|
|
4330
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4331
|
-
|
|
4332
3951
|
// src/swift-compile.ts
|
|
4333
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4334
3952
|
var v5 = __toESM(require("valibot"), 1);
|
|
4335
3953
|
|
|
4336
|
-
// src/retired-cache-directory.ts
|
|
4337
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4338
|
-
|
|
4339
|
-
// src/process-liveness.ts
|
|
4340
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4341
|
-
|
|
4342
|
-
// src/swift-darwin-records.ts
|
|
4343
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4344
|
-
|
|
4345
|
-
// src/swift-objc-platform.ts
|
|
4346
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4347
|
-
|
|
4348
3954
|
// src/swift-toolchain.ts
|
|
4349
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4350
|
-
var import_node_fs4 = __toESM(require("node:fs"), 1);
|
|
4351
|
-
var import_node_path5 = __toESM(require("node:path"), 1);
|
|
4352
|
-
function peachsimPackageRoot() {
|
|
4353
|
-
let dir = __sootsim_import_meta_dirname;
|
|
4354
|
-
while (!import_node_fs4.default.existsSync(import_node_path5.default.join(dir, "package.json")) && dir !== import_node_path5.default.dirname(dir))
|
|
4355
|
-
dir = import_node_path5.default.dirname(dir);
|
|
4356
|
-
return dir;
|
|
4357
|
-
}
|
|
4358
3955
|
var SWIFT_HOST_COMPILER_RELEASE = "swift-6.4.0-RELEASE-custom-81b2c791c27276bf";
|
|
4359
3956
|
var SWIFT_HOST_COMPILER_ID = "81b2c791c27276bf";
|
|
4360
3957
|
var compilerArchives = {
|
|
@@ -4612,40 +4209,11 @@ var compilerArchives = {
|
|
|
4612
4209
|
}
|
|
4613
4210
|
};
|
|
4614
4211
|
|
|
4615
|
-
// src/swift-objc-runtime.ts
|
|
4616
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4617
|
-
|
|
4618
4212
|
// src/swift-objc-standin.ts
|
|
4619
|
-
|
|
4620
|
-
var import_node_crypto2 = require("node:crypto");
|
|
4621
|
-
|
|
4622
|
-
// src/swift-interface-bodies.ts
|
|
4623
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4213
|
+
var import_node_crypto = require("node:crypto");
|
|
4624
4214
|
|
|
4625
4215
|
// src/swift-objc-sdk.ts
|
|
4626
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4627
|
-
var import_node_path6 = __toESM(require("node:path"), 1);
|
|
4628
4216
|
var IOS_SDK_TARGET = "arm64-apple-ios16.0-simulator";
|
|
4629
|
-
var OVERLAY_PATH = /^usr\/lib\/swift\/([^/]+)\.swiftmodule\/arm64-apple-ios-simulator\.swiftinterface$/;
|
|
4630
|
-
var tree = typeof __PEACH_BUNDLED_IOS_SDK__ === "undefined" ? readIosSdkTree(import_node_path6.default.join(peachsimPackageRoot(), "sdk", "ios")) : Object.entries(__PEACH_BUNDLED_IOS_SDK__).sort(([a], [b]) => a < b ? -1 : 1);
|
|
4631
|
-
var IOS_SDK_HEADERS = {};
|
|
4632
|
-
var IOS_SDK_OVERLAYS = {};
|
|
4633
|
-
for (const [file, text] of tree) {
|
|
4634
|
-
const module2 = OVERLAY_PATH.exec(file)?.[1];
|
|
4635
|
-
if (module2 === void 0) {
|
|
4636
|
-
IOS_SDK_HEADERS[file] = text;
|
|
4637
|
-
continue;
|
|
4638
|
-
}
|
|
4639
|
-
const header = `// swift-interface-format-version: 1.0
|
|
4640
|
-
// swift-module-flags: -target ${IOS_SDK_TARGET} -enable-objc-interop -enable-library-evolution -module-name ${module2}
|
|
4641
|
-
`;
|
|
4642
|
-
if (!text.startsWith(header))
|
|
4643
|
-
throw new Error(`sdk overlay ${file} has the wrong interface header`);
|
|
4644
|
-
IOS_SDK_OVERLAYS[module2] = text.slice(header.length);
|
|
4645
|
-
}
|
|
4646
|
-
|
|
4647
|
-
// src/swift-standin-emit.ts
|
|
4648
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4649
4217
|
|
|
4650
4218
|
// src/swift-objc-standin.ts
|
|
4651
4219
|
var NATIVE_GRAPH_SDK_VERSION = "27.1";
|
|
@@ -4662,32 +4230,12 @@ var NATIVE_GRAPH_INPUTS = {
|
|
|
4662
4230
|
compiler: "Apple Swift version 6.4 (swiftlang-6.4.0.34.1 clang-2100.3.34.1)",
|
|
4663
4231
|
target: IOS_SDK_TARGET
|
|
4664
4232
|
};
|
|
4665
|
-
var NATIVE_GRAPH_ID = (0,
|
|
4666
|
-
|
|
4667
|
-
// src/swift-shared-sdk.ts
|
|
4668
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4669
|
-
|
|
4670
|
-
// src/swift-design-time.ts
|
|
4671
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4672
|
-
|
|
4673
|
-
// src/swift-distribution-contract.ts
|
|
4674
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4675
|
-
|
|
4676
|
-
// src/swift-foundation.ts
|
|
4677
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4678
|
-
|
|
4679
|
-
// src/swift-guest-compile.ts
|
|
4680
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4681
|
-
|
|
4682
|
-
// src/swift-guest-archive.ts
|
|
4683
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4233
|
+
var NATIVE_GRAPH_ID = (0, import_node_crypto.createHash)("sha256").update(JSON.stringify(NATIVE_GRAPH_INPUTS)).digest("hex");
|
|
4684
4234
|
|
|
4685
4235
|
// src/swift-wasm-prune.ts
|
|
4686
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4687
4236
|
var v2 = __toESM(require("valibot"), 1);
|
|
4688
4237
|
|
|
4689
4238
|
// src/swiftRuntimeProductContract.ts
|
|
4690
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4691
4239
|
var v = __toESM(require("valibot"), 1);
|
|
4692
4240
|
var swiftFrameworkProductSchema = v.object({
|
|
4693
4241
|
version: v.literal(1),
|
|
@@ -4831,42 +4379,13 @@ var SWIFTUI_WRAPPER_HOST_PROTOCOLS = new Set(
|
|
|
4831
4379
|
].map((name) => `$s7SwiftUI${name.length}${name}Mp`)
|
|
4832
4380
|
);
|
|
4833
4381
|
|
|
4834
|
-
// src/swift-guest-link.ts
|
|
4835
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4836
|
-
|
|
4837
|
-
// src/swift-guest-image-ledger.ts
|
|
4838
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4839
|
-
|
|
4840
|
-
// src/swift-guest-link-plan.ts
|
|
4841
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4842
|
-
|
|
4843
|
-
// src/swift-guest-manifest.ts
|
|
4844
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4845
|
-
|
|
4846
|
-
// src/swift-guest-projection-storage.ts
|
|
4847
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4848
|
-
|
|
4849
|
-
// src/swift-guest-linked-spans.ts
|
|
4850
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4851
|
-
|
|
4852
|
-
// src/swift-guest-projection.ts
|
|
4853
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4854
|
-
|
|
4855
|
-
// src/swiftGuestImageContract.ts
|
|
4856
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4857
|
-
|
|
4858
4382
|
// src/swift-guest-projection-storage.ts
|
|
4859
4383
|
var maxProjectionRegions = 1 << 20;
|
|
4860
4384
|
|
|
4861
4385
|
// src/swift-guest-runtime-plan.ts
|
|
4862
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4863
4386
|
var v4 = __toESM(require("valibot"), 1);
|
|
4864
4387
|
|
|
4865
|
-
// src/swift-guest-source-plan.ts
|
|
4866
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4867
|
-
|
|
4868
4388
|
// src/swift-runtime-products.ts
|
|
4869
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4870
4389
|
var v3 = __toESM(require("valibot"), 1);
|
|
4871
4390
|
var packageSchema = v3.object({
|
|
4872
4391
|
name: v3.string(),
|
|
@@ -4887,17 +4406,8 @@ var packageSchema = v3.object({
|
|
|
4887
4406
|
)
|
|
4888
4407
|
});
|
|
4889
4408
|
|
|
4890
|
-
// src/swift-guest-source-inputs.ts
|
|
4891
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4892
|
-
|
|
4893
4409
|
// src/wasm-optimize.ts
|
|
4894
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4895
4410
|
var import_wasm_opt = require("wasm-opt");
|
|
4896
|
-
|
|
4897
|
-
// src/wasm-narrow-boundary.ts
|
|
4898
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4899
|
-
|
|
4900
|
-
// src/wasm-optimize.ts
|
|
4901
4411
|
var FEATURES = [
|
|
4902
4412
|
"memory64",
|
|
4903
4413
|
"threads",
|
|
@@ -4916,17 +4426,10 @@ var LOWERING = ["--memory64-lowering", "--table64-lowering"];
|
|
|
4916
4426
|
var WASM_LOWER_IDENTITY = `binaryen ${import_wasm_opt.BINARYEN_VERSION} narrow ${LOWERING.join(" ")} ${FEATURES.join(",")} unoptimized-names`;
|
|
4917
4427
|
|
|
4918
4428
|
// src/swift-icu.ts
|
|
4919
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4920
4429
|
var import_node_child_process2 = require("node:child_process");
|
|
4921
4430
|
var import_node_util2 = require("node:util");
|
|
4922
4431
|
var import_node_zlib = require("node:zlib");
|
|
4923
4432
|
|
|
4924
|
-
// ../sootsim-swift/src/icuData.ts
|
|
4925
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4926
|
-
|
|
4927
|
-
// ../peach-kit/src/wasm-memory.ts
|
|
4928
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4929
|
-
|
|
4930
4433
|
// ../sootsim-swift/src/icuData.ts
|
|
4931
4434
|
var PACK_BYTES = 64 * 1024;
|
|
4932
4435
|
var VERSION = 1;
|
|
@@ -4938,30 +4441,6 @@ var deflate = (0, import_node_util2.promisify)(import_node_zlib.gzip);
|
|
|
4938
4441
|
var compressBrotli = (0, import_node_util2.promisify)(import_node_zlib.brotliCompress);
|
|
4939
4442
|
var inflateGzip = (0, import_node_util2.promisify)(import_node_zlib.gunzip);
|
|
4940
4443
|
|
|
4941
|
-
// src/swift-link-roots.ts
|
|
4942
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4943
|
-
|
|
4944
|
-
// src/swift-objc-import.ts
|
|
4945
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4946
|
-
|
|
4947
|
-
// src/swift-project-user.ts
|
|
4948
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4949
|
-
|
|
4950
|
-
// src/swift-reproducible.ts
|
|
4951
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4952
|
-
|
|
4953
|
-
// src/swift-root-lock.ts
|
|
4954
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4955
|
-
|
|
4956
|
-
// src/swift-uniform-type-constants.ts
|
|
4957
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4958
|
-
|
|
4959
|
-
// src/write-build-file.ts
|
|
4960
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4961
|
-
|
|
4962
|
-
// src/xcode-header-search.ts
|
|
4963
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4964
|
-
|
|
4965
4444
|
// src/swift-compile.ts
|
|
4966
4445
|
var OPTIONAL_FRAMEWORK_DEPENDENCIES = {
|
|
4967
4446
|
PDFKit: [],
|
|
@@ -5037,7 +4516,7 @@ var FOUNDATION_IMPLICIT_MODULES = [
|
|
|
5037
4516
|
var FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
5038
4517
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
5039
4518
|
).join("");
|
|
5040
|
-
var compilerSourceDigest = true ? "
|
|
4519
|
+
var compilerSourceDigest = true ? "6b31bc2b6f1a60a8ff02569b886f5f3a6cca1ec484cdb3c17ac060942b93cb3e" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
5041
4520
|
var CORE_FOUNDATION_HANDLE_IMPORTS = [
|
|
5042
4521
|
"CFAllocator",
|
|
5043
4522
|
"CFArray",
|
|
@@ -5075,51 +4554,26 @@ var host = globalThis;
|
|
|
5075
4554
|
var rootLocks = host[ROOT_LOCKS] ??= /* @__PURE__ */ new Map();
|
|
5076
4555
|
var SHARED_ARTIFACT_BUDGET_BYTES = 4 * 1024 ** 3;
|
|
5077
4556
|
|
|
5078
|
-
// src/swift-native-pin.ts
|
|
5079
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
5080
|
-
|
|
5081
|
-
// src/nitroAdapterContract.ts
|
|
5082
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
5083
|
-
|
|
5084
|
-
// src/swiftNativePinContract.ts
|
|
5085
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
5086
|
-
|
|
5087
4557
|
// src/swift-package-manifest.ts
|
|
5088
|
-
var cacheDir3 =
|
|
4558
|
+
var cacheDir3 = import_node_path3.default.join(cacheDir(), "swift-manifests");
|
|
5089
4559
|
var execFileAsync = (0, import_node_util3.promisify)(import_node_child_process3.execFile);
|
|
5090
4560
|
|
|
5091
4561
|
// src/xcode-json-project.ts
|
|
5092
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
5093
4562
|
var import_json52 = __toESM(require_lib(), 1);
|
|
5094
4563
|
|
|
5095
4564
|
// src/xcode-project.ts
|
|
5096
4565
|
var runScriptTimeoutMs = 10 * 60 * 1e3;
|
|
5097
4566
|
|
|
5098
|
-
// src/portable-expo-contract.ts
|
|
5099
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
5100
|
-
|
|
5101
|
-
// src/prepared-native-inventory.ts
|
|
5102
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
5103
|
-
|
|
5104
|
-
// src/nitro-source.ts
|
|
5105
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
5106
|
-
|
|
5107
4567
|
// src/nitro-dependencies.ts
|
|
5108
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
5109
4568
|
var import_node_child_process5 = require("node:child_process");
|
|
5110
4569
|
var import_node_util5 = require("node:util");
|
|
5111
4570
|
|
|
5112
4571
|
// src/kotlin-toolchain.ts
|
|
5113
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
5114
4572
|
var import_node_child_process4 = require("node:child_process");
|
|
5115
4573
|
var import_node_util4 = require("node:util");
|
|
5116
4574
|
var run3 = (0, import_node_util4.promisify)(import_node_child_process4.execFile);
|
|
5117
4575
|
|
|
5118
|
-
// src/swift-source-file.ts
|
|
5119
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
5120
|
-
|
|
5121
4576
|
// src/swift-submit.ts
|
|
5122
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
5123
4577
|
var DEFAULT_SWIFT_COMPILE_BUILD_MS = 10 * 6e4;
|
|
5124
4578
|
var MAX_SWIFT_COMPILE_BUILD_MS = 60 * 6e4;
|
|
5125
4579
|
var MAX_SWIFT_COMPILE_SOURCE_BYTES = 2 * 1024 * 1024;
|
|
@@ -5208,43 +4662,22 @@ var RN_FMT_12_DEPENDENCIES = [
|
|
|
5208
4662
|
];
|
|
5209
4663
|
|
|
5210
4664
|
// src/react-native-autolinking.ts
|
|
5211
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
5212
4665
|
var import_node_child_process6 = require("node:child_process");
|
|
5213
4666
|
var import_node_util6 = require("node:util");
|
|
5214
4667
|
var run5 = (0, import_node_util6.promisify)(import_node_child_process6.execFile);
|
|
5215
4668
|
|
|
5216
|
-
// src/workspace-root.ts
|
|
5217
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
5218
|
-
|
|
5219
4669
|
// src/expo-native-workspace.ts
|
|
5220
4670
|
var utf8Env = { ...process.env, LANG: "en_US.UTF-8", LC_ALL: "en_US.UTF-8" };
|
|
5221
4671
|
var ABANDONED_WORKSPACE_MS = 24 * 36e5;
|
|
5222
4672
|
|
|
5223
|
-
// src/expoSwiftContract.ts
|
|
5224
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
5225
|
-
|
|
5226
|
-
// src/native-app-identity-project.ts
|
|
5227
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
5228
|
-
|
|
5229
|
-
// src/nitroContract.ts
|
|
5230
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
5231
|
-
|
|
5232
|
-
// src/package-tree-digest.ts
|
|
5233
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
5234
|
-
|
|
5235
4673
|
// src/expo-native-prebuilt.ts
|
|
5236
4674
|
var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
5237
4675
|
|
|
5238
4676
|
// src/installed-package-versions.ts
|
|
5239
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
5240
4677
|
var import_fs2 = __toESM(require("fs"), 1);
|
|
5241
4678
|
var import_path2 = __toESM(require("path"), 1);
|
|
5242
4679
|
|
|
5243
|
-
// ../peach-compat/src/generated/native-package-names.ts
|
|
5244
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
5245
|
-
|
|
5246
4680
|
// ../peach-compat/src/generated/light-native-package-names.ts
|
|
5247
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
5248
4681
|
var LIGHT_NATIVE_PACKAGE_NAMES = [
|
|
5249
4682
|
"@100mslive/react-native-hms",
|
|
5250
4683
|
"@account-kit/react-native-signer",
|
|
@@ -7030,11 +6463,7 @@ var NATIVE_RUNTIME_PACKAGE_NAMES = [
|
|
|
7030
6463
|
"react-native-sectioned-slider"
|
|
7031
6464
|
];
|
|
7032
6465
|
|
|
7033
|
-
// ../peach-globals/src/guest-modules/lazy-stub-patterns.ts
|
|
7034
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
7035
|
-
|
|
7036
6466
|
// ../peach-globals/src/guest-modules/version-range.ts
|
|
7037
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
7038
6467
|
var ANY_BOUNDS = {
|
|
7039
6468
|
lower: null,
|
|
7040
6469
|
lowerInclusive: false,
|
|
@@ -7417,11 +6846,7 @@ var LAZY_STUB_PATTERNS = [
|
|
|
7417
6846
|
"voltra"
|
|
7418
6847
|
];
|
|
7419
6848
|
|
|
7420
|
-
// ../peach-globals/src/guest-modules/stub-manifest.ts
|
|
7421
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
7422
|
-
|
|
7423
6849
|
// ../peach-globals/src/guest-modules/wrapper-real-packages.ts
|
|
7424
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
7425
6850
|
var SOOTSIM_COMPAT_WRAPPER_REAL_PACKAGES = {
|
|
7426
6851
|
expoUiConfirmationDialog: {
|
|
7427
6852
|
specifier: "@peach-internal/expo-ui-confirmation-dialog",
|
|
@@ -8277,9 +7702,8 @@ var COMPAT_STUBS = {
|
|
|
8277
7702
|
};
|
|
8278
7703
|
|
|
8279
7704
|
// src/installed-native-build-options.ts
|
|
8280
|
-
|
|
8281
|
-
var
|
|
8282
|
-
var import_node_path8 = __toESM(require("node:path"), 1);
|
|
7705
|
+
var import_node_fs2 = __toESM(require("node:fs"), 1);
|
|
7706
|
+
var import_node_path4 = __toESM(require("node:path"), 1);
|
|
8283
7707
|
var RIVE_PACKAGE = "@rive-app/react-native";
|
|
8284
7708
|
var RIVE_05 = [">=0.5.0 <0.6.0"];
|
|
8285
7709
|
function missing(error) {
|
|
@@ -8287,11 +7711,11 @@ function missing(error) {
|
|
|
8287
7711
|
}
|
|
8288
7712
|
async function answerAsync(step) {
|
|
8289
7713
|
try {
|
|
8290
|
-
if (step.type === "realpath") return await
|
|
8291
|
-
if (step.type === "read") return await
|
|
7714
|
+
if (step.type === "realpath") return await import_node_fs2.default.promises.realpath(step.path);
|
|
7715
|
+
if (step.type === "read") return await import_node_fs2.default.promises.readFile(step.path, "utf8");
|
|
8292
7716
|
if (step.type === "isDirectory")
|
|
8293
|
-
return (await
|
|
8294
|
-
return (await
|
|
7717
|
+
return (await import_node_fs2.default.promises.stat(step.path)).isDirectory();
|
|
7718
|
+
return (await import_node_fs2.default.promises.readdir(step.path, { withFileTypes: true })).map(
|
|
8295
7719
|
(entry) => ({
|
|
8296
7720
|
name: entry.name,
|
|
8297
7721
|
directory: entry.isDirectory(),
|
|
@@ -8324,7 +7748,7 @@ function* rubyFiles(directory, seen, iosRoot = false) {
|
|
|
8324
7748
|
const files = [];
|
|
8325
7749
|
for (const entry of entries.sort((a, b) => a.name.localeCompare(b.name))) {
|
|
8326
7750
|
if (iosRoot && (entry.name === "Pods" || entry.name === "build")) continue;
|
|
8327
|
-
const target =
|
|
7751
|
+
const target = import_node_path4.default.join(directory, entry.name);
|
|
8328
7752
|
let isDirectory = entry.directory;
|
|
8329
7753
|
if (entry.symbolicLink)
|
|
8330
7754
|
isDirectory = (yield { type: "isDirectory", path: target }) === true;
|
|
@@ -8337,7 +7761,7 @@ function* nativeBuildOptionsWalk(projectRoot, versions, environment) {
|
|
|
8337
7761
|
let sensorOptions = {};
|
|
8338
7762
|
const sensors = versions["expo-sensors"];
|
|
8339
7763
|
if (sensors && resolveCompatVersionRange([">=58.0.4 <59.0.0"], sensors).status === "matched") {
|
|
8340
|
-
const file =
|
|
7764
|
+
const file = import_node_path4.default.join(projectRoot, "ios", "Podfile.properties.json");
|
|
8341
7765
|
const source = yield { type: "read", path: file };
|
|
8342
7766
|
if (source !== null && typeof source !== "string")
|
|
8343
7767
|
throw new Error(`cannot inspect ${file}`);
|
|
@@ -8353,8 +7777,8 @@ function* nativeBuildOptionsWalk(projectRoot, versions, environment) {
|
|
|
8353
7777
|
if (!needsRiveOptions(versions)) return sensorOptions;
|
|
8354
7778
|
if (environment.USE_RIVE_LEGACY === "1" || environment.USE_RIVE_LEGACY === "true")
|
|
8355
7779
|
return { ...sensorOptions, [RIVE_PACKAGE]: { USE_RIVE_LEGACY: true } };
|
|
8356
|
-
const ios =
|
|
8357
|
-
const podfile =
|
|
7780
|
+
const ios = import_node_path4.default.join(projectRoot, "ios");
|
|
7781
|
+
const podfile = import_node_path4.default.join(ios, "Podfile");
|
|
8358
7782
|
const files = [podfile, ...yield* rubyFiles(ios, /* @__PURE__ */ new Set(), true)];
|
|
8359
7783
|
let value = false;
|
|
8360
7784
|
let assigned = false;
|
|
@@ -8384,7 +7808,6 @@ async function readInstalledNativeBuildOptionsAsync(projectRoot, versions, envir
|
|
|
8384
7808
|
}
|
|
8385
7809
|
|
|
8386
7810
|
// src/stub-pattern-matcher.ts
|
|
8387
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
8388
7811
|
function extractPackageFromPath(modulePath) {
|
|
8389
7812
|
let nodeModulesIndex = modulePath.lastIndexOf("/node_modules/");
|
|
8390
7813
|
let prefixLength = "/node_modules/".length;
|
|
@@ -8578,28 +8001,14 @@ async function readInstalledNativePackageVersionsAsync(projectRoot) {
|
|
|
8578
8001
|
return versions;
|
|
8579
8002
|
}
|
|
8580
8003
|
|
|
8581
|
-
// src/metro-project-root.ts
|
|
8582
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
8583
|
-
|
|
8584
8004
|
// scripts/dev-server-scanner.ts
|
|
8585
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
8586
8005
|
var import_child_process = require("child_process");
|
|
8587
8006
|
var import_promises = require("fs/promises");
|
|
8588
|
-
var
|
|
8007
|
+
var import_node_fs3 = require("node:fs");
|
|
8589
8008
|
var import_node_os2 = require("node:os");
|
|
8590
|
-
var
|
|
8591
|
-
|
|
8592
|
-
// src/config.ts
|
|
8593
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
8594
|
-
|
|
8595
|
-
// src/nativeViewSourceContract.ts
|
|
8596
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
8597
|
-
|
|
8598
|
-
// src/dev-bundle-resolution.ts
|
|
8599
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
8009
|
+
var import_node_path5 = require("node:path");
|
|
8600
8010
|
|
|
8601
8011
|
// src/expo-manifest-body.ts
|
|
8602
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
8603
8012
|
function parseExpoManifestBody(body) {
|
|
8604
8013
|
const opening = /^(--[^\r\n]+)\r?\n/.exec(body);
|
|
8605
8014
|
if (!opening) return JSON.parse(body);
|
|
@@ -8611,9 +8020,6 @@ function parseExpoManifestBody(body) {
|
|
|
8611
8020
|
throw new Error("Expo manifest response has no manifest part");
|
|
8612
8021
|
}
|
|
8613
8022
|
|
|
8614
|
-
// src/native-dev-bundle-url.ts
|
|
8615
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
8616
|
-
|
|
8617
8023
|
// src/dev-bundle-resolution.ts
|
|
8618
8024
|
function shouldProxyLoopbackProbe(targetUrl, pageOrigin) {
|
|
8619
8025
|
try {
|
|
@@ -8712,24 +8118,9 @@ async function metroRequestFailure(request, url, response) {
|
|
|
8712
8118
|
);
|
|
8713
8119
|
}
|
|
8714
8120
|
|
|
8715
|
-
// src/kotlinDiscoveryContract.ts
|
|
8716
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
8717
|
-
|
|
8718
|
-
// src/oneWidgetContract.ts
|
|
8719
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
8720
|
-
|
|
8721
|
-
// src/settings-bundle.ts
|
|
8722
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
8723
|
-
|
|
8724
|
-
// src/swiftDiscoveryContract.ts
|
|
8725
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
8726
|
-
|
|
8727
|
-
// scripts/optional-demo-registry.ts
|
|
8728
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
8729
|
-
|
|
8730
8121
|
// scripts/dev-server-scanner.ts
|
|
8731
|
-
var LISTENER_LOCK_PATH = (0,
|
|
8732
|
-
var LISTENER_RESULT_PATH = (0,
|
|
8122
|
+
var LISTENER_LOCK_PATH = (0, import_node_path5.join)((0, import_node_os2.tmpdir)(), "peach-listener-scan.lock");
|
|
8123
|
+
var LISTENER_RESULT_PATH = (0, import_node_path5.join)((0, import_node_os2.tmpdir)(), "peach-listener-scan.result");
|
|
8733
8124
|
var LISTENER_LOCK_STALE_MS = 25e3;
|
|
8734
8125
|
var LISTENER_LOCK_WAIT_MS = 8e3;
|
|
8735
8126
|
function sleep(ms) {
|
|
@@ -8747,8 +8138,8 @@ function pidIsAlive(pid) {
|
|
|
8747
8138
|
}
|
|
8748
8139
|
function readLockOwner() {
|
|
8749
8140
|
try {
|
|
8750
|
-
const raw = (0,
|
|
8751
|
-
const mtimeMs = (0,
|
|
8141
|
+
const raw = (0, import_node_fs3.readFileSync)(LISTENER_LOCK_PATH, "utf8");
|
|
8142
|
+
const mtimeMs = (0, import_node_fs3.statSync)(LISTENER_LOCK_PATH).mtimeMs;
|
|
8752
8143
|
const pid = Number(raw.split("-")[0]);
|
|
8753
8144
|
return { raw, pid: Number.isInteger(pid) ? pid : -1, mtimeMs };
|
|
8754
8145
|
} catch {
|
|
@@ -8761,15 +8152,15 @@ function lockIsAbandoned(owner) {
|
|
|
8761
8152
|
}
|
|
8762
8153
|
function clearLock(raw) {
|
|
8763
8154
|
try {
|
|
8764
|
-
if ((0,
|
|
8765
|
-
(0,
|
|
8155
|
+
if ((0, import_node_fs3.readFileSync)(LISTENER_LOCK_PATH, "utf8") !== raw) return;
|
|
8156
|
+
(0, import_node_fs3.unlinkSync)(LISTENER_LOCK_PATH);
|
|
8766
8157
|
} catch {
|
|
8767
8158
|
}
|
|
8768
8159
|
}
|
|
8769
8160
|
function readResult() {
|
|
8770
8161
|
try {
|
|
8771
8162
|
const parsed = JSON.parse(
|
|
8772
|
-
(0,
|
|
8163
|
+
(0, import_node_fs3.readFileSync)(LISTENER_RESULT_PATH, "utf8")
|
|
8773
8164
|
);
|
|
8774
8165
|
if (!parsed || typeof parsed.token !== "string" || typeof parsed.key !== "string")
|
|
8775
8166
|
return null;
|
|
@@ -8780,8 +8171,8 @@ function readResult() {
|
|
|
8780
8171
|
}
|
|
8781
8172
|
function publishResult(payload) {
|
|
8782
8173
|
const tmp = `${LISTENER_RESULT_PATH}.${process.pid}.tmp`;
|
|
8783
|
-
(0,
|
|
8784
|
-
(0,
|
|
8174
|
+
(0, import_node_fs3.writeFileSync)(tmp, JSON.stringify(payload));
|
|
8175
|
+
(0, import_node_fs3.renameSync)(tmp, LISTENER_RESULT_PATH);
|
|
8785
8176
|
}
|
|
8786
8177
|
function throwPublished(payload) {
|
|
8787
8178
|
throw Object.assign(new Error(payload.message || "listener scan failed"), {
|
|
@@ -8824,7 +8215,7 @@ async function withListenerLock(key, body) {
|
|
|
8824
8215
|
for (; ; ) {
|
|
8825
8216
|
let fd = null;
|
|
8826
8217
|
try {
|
|
8827
|
-
fd = (0,
|
|
8218
|
+
fd = (0, import_node_fs3.openSync)(LISTENER_LOCK_PATH, "wx");
|
|
8828
8219
|
} catch (error) {
|
|
8829
8220
|
const code = error instanceof Error && "code" in error ? error.code : "";
|
|
8830
8221
|
if (code !== "EEXIST") throw error;
|
|
@@ -8833,7 +8224,7 @@ async function withListenerLock(key, body) {
|
|
|
8833
8224
|
if (owner) clearLock(owner.raw);
|
|
8834
8225
|
else {
|
|
8835
8226
|
try {
|
|
8836
|
-
(0,
|
|
8227
|
+
(0, import_node_fs3.unlinkSync)(LISTENER_LOCK_PATH);
|
|
8837
8228
|
} catch {
|
|
8838
8229
|
}
|
|
8839
8230
|
}
|
|
@@ -8849,7 +8240,7 @@ async function withListenerLock(key, body) {
|
|
|
8849
8240
|
}
|
|
8850
8241
|
if (fd === null) continue;
|
|
8851
8242
|
try {
|
|
8852
|
-
(0,
|
|
8243
|
+
(0, import_node_fs3.writeSync)(fd, token);
|
|
8853
8244
|
try {
|
|
8854
8245
|
const value = await body();
|
|
8855
8246
|
publishResult({ token, key, ok: true, value });
|
|
@@ -8866,7 +8257,7 @@ async function withListenerLock(key, body) {
|
|
|
8866
8257
|
}
|
|
8867
8258
|
} finally {
|
|
8868
8259
|
try {
|
|
8869
|
-
(0,
|
|
8260
|
+
(0, import_node_fs3.closeSync)(fd);
|
|
8870
8261
|
} catch {
|
|
8871
8262
|
}
|
|
8872
8263
|
clearLock(token);
|
|
@@ -9226,7 +8617,6 @@ async function readDevServerPackageVersions(bundleUrl) {
|
|
|
9226
8617
|
}
|
|
9227
8618
|
|
|
9228
8619
|
// src/host/fetch-proxy-overrides.ts
|
|
9229
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
9230
8620
|
var FETCH_PROXY_NATIVE_USER_AGENT_HEADER = "x-sootsim-native-user-agent";
|
|
9231
8621
|
var FETCH_PROXY_FAILURE_PARAM = "peachFailure";
|
|
9232
8622
|
var FETCH_PROXY_FAILURE_HEADER = "x-peach-upstream-failure";
|
|
@@ -9349,11 +8739,9 @@ function nodeRequestHeaderEntries(headers) {
|
|
|
9349
8739
|
}
|
|
9350
8740
|
|
|
9351
8741
|
// src/host/hostname-resolver.ts
|
|
9352
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
9353
8742
|
var import_promises2 = require("node:dns/promises");
|
|
9354
8743
|
|
|
9355
8744
|
// src/dns-over-https.ts
|
|
9356
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
9357
8745
|
function parseIpLiteral(text) {
|
|
9358
8746
|
if (text.includes(":")) return parseIpv6(text);
|
|
9359
8747
|
const parts = text.split(".");
|
|
@@ -9391,8 +8779,7 @@ function parseIpv6(text) {
|
|
|
9391
8779
|
}
|
|
9392
8780
|
|
|
9393
8781
|
// src/host/network-policy.ts
|
|
9394
|
-
|
|
9395
|
-
var import_node_path10 = require("node:path");
|
|
8782
|
+
var import_node_path6 = require("node:path");
|
|
9396
8783
|
var import_node_url = require("node:url");
|
|
9397
8784
|
var NETWORK_POLICY_TIMEOUT_MS = 1e4;
|
|
9398
8785
|
var NetworkPolicyDeniedError = class extends Error {
|
|
@@ -9445,7 +8832,7 @@ function createNetworkAuthorizer(policy) {
|
|
|
9445
8832
|
};
|
|
9446
8833
|
}
|
|
9447
8834
|
async function loadNetworkPolicy(file) {
|
|
9448
|
-
if (!(0,
|
|
8835
|
+
if (!(0, import_node_path6.isAbsolute)(file)) {
|
|
9449
8836
|
throw new Error(`PEACH_NETWORK_POLICY must be an absolute path: ${file}`);
|
|
9450
8837
|
}
|
|
9451
8838
|
const loaded2 = await import(
|
|
@@ -9504,7 +8891,6 @@ async function handleHostnameResolutionRequest(req, res) {
|
|
|
9504
8891
|
}
|
|
9505
8892
|
|
|
9506
8893
|
// src/host/loopback-ports.ts
|
|
9507
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
9508
8894
|
var LOOPBACK_PORTS = /* @__PURE__ */ new Map();
|
|
9509
8895
|
for (const pair of process.env.PEACH_LOOPBACK_PORTS?.split(",").filter(Boolean) ?? []) {
|
|
9510
8896
|
const match = /^\s*([1-9][0-9]{0,4}):([1-9][0-9]{0,4})\s*$/.exec(pair);
|
|
@@ -9531,19 +8917,17 @@ function projectLoopbackUrl(value) {
|
|
|
9531
8917
|
}
|
|
9532
8918
|
|
|
9533
8919
|
// src/host/rolldown-bundle-forward.ts
|
|
9534
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
9535
8920
|
var import_stream = require("stream");
|
|
9536
8921
|
var import_promises3 = require("stream/promises");
|
|
9537
8922
|
|
|
9538
8923
|
// src/cli-runtime.ts
|
|
9539
|
-
|
|
9540
|
-
var
|
|
9541
|
-
var import_node_fs7 = require("node:fs");
|
|
8924
|
+
var import_node_crypto2 = require("node:crypto");
|
|
8925
|
+
var import_node_fs4 = require("node:fs");
|
|
9542
8926
|
var import_node_module = require("node:module");
|
|
9543
|
-
var
|
|
8927
|
+
var import_node_path7 = require("node:path");
|
|
9544
8928
|
|
|
9545
8929
|
// runtime-companion.json
|
|
9546
|
-
var runtime_companion_default = { abi: 1, sha256: "
|
|
8930
|
+
var runtime_companion_default = { abi: 1, sha256: "0a25deb1065a15100e9bbd938d998d015318b067a7ab5d6e666a7360a2ab446a", file: "node/cli-0a25deb1065a15100e9bbd938d998d015318b067a7ab5d6e666a7360a2ab446a.cjs" };
|
|
9547
8931
|
|
|
9548
8932
|
// src/cli-runtime.ts
|
|
9549
8933
|
var CLI_COMPANION_ABI = 1;
|
|
@@ -9551,12 +8935,12 @@ function cliCompanionPath() {
|
|
|
9551
8935
|
return `node/cli-${runtime_companion_default.sha256}.cjs`;
|
|
9552
8936
|
}
|
|
9553
8937
|
function verifyCliCompanion(root) {
|
|
9554
|
-
verifyCompanionFile((0,
|
|
8938
|
+
verifyCompanionFile((0, import_node_path7.join)(root, cliCompanionPath()));
|
|
9555
8939
|
}
|
|
9556
8940
|
function verifyCompanionFile(file) {
|
|
9557
8941
|
let bytes;
|
|
9558
8942
|
try {
|
|
9559
|
-
bytes = (0,
|
|
8943
|
+
bytes = (0, import_node_fs4.readFileSync)(file);
|
|
9560
8944
|
} catch (error) {
|
|
9561
8945
|
if (error instanceof Error) {
|
|
9562
8946
|
const missing2 = "code" in error && error.code === "ENOENT" ? `; run \`peach runtime install\`, which fetches the companion this CLI published${process.platform === "win32" ? ", and check Windows Security protection history if it repeats" : ""}` : "";
|
|
@@ -9564,7 +8948,7 @@ function verifyCompanionFile(file) {
|
|
|
9564
8948
|
}
|
|
9565
8949
|
throw error;
|
|
9566
8950
|
}
|
|
9567
|
-
const hash = (0,
|
|
8951
|
+
const hash = (0, import_node_crypto2.createHash)("sha256").update(bytes).digest("hex");
|
|
9568
8952
|
if (hash !== runtime_companion_default.sha256) {
|
|
9569
8953
|
throw new Error(
|
|
9570
8954
|
"Peach runtime companion does not match this CLI; run `peach runtime install`"
|
|
@@ -9577,7 +8961,7 @@ function getCliRuntime() {
|
|
|
9577
8961
|
const root = peachRuntimeRoot();
|
|
9578
8962
|
verifyCliCompanion(root);
|
|
9579
8963
|
const require2 = (0, import_node_module.createRequire)(__sootsim_import_meta_url);
|
|
9580
|
-
const runtime = require2((0,
|
|
8964
|
+
const runtime = require2((0, import_node_path7.join)(root, cliCompanionPath()));
|
|
9581
8965
|
if (runtime.cliCompanionAbi !== CLI_COMPANION_ABI) {
|
|
9582
8966
|
throw new Error(
|
|
9583
8967
|
"Incompatible Peach runtime companion ABI; run `peach runtime install`"
|