peachsim 0.1.2667 → 0.1.2669
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +2 -2
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +5 -5
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +3 -3
- package/dist-lib/bundle-channel.cjs +2900 -2673
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +3 -3
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +3 -3
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +2 -2
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +7 -7
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +5 -5
- package/dist-lib/detox/index.cjs +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/esm-chunks/{acorn-J2VGYYCT.mjs → acorn-Y2ITHAGD.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-OSJ75JCB.mjs → chunk-4S7ECHE6.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-WITE6BFN.mjs → chunk-4W7RCQWJ.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-VSYHDZ2D.mjs → chunk-7ETYLWJJ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-F3JFCSDZ.mjs → chunk-AFSFMJA7.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-6PSCPUCQ.mjs → chunk-AX6M4YRZ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-IT7ZFZIA.mjs → chunk-B5WRW52W.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-ZLHZX5X6.mjs → chunk-B6X5HYFY.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-TLH4N2KQ.mjs → chunk-GXUOR7YU.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-B6NELRM4.mjs → chunk-HIMY4MTQ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-KPGS7SQZ.mjs → chunk-HW24JXXU.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-BWXEVKR6.mjs → chunk-LEXTFQ2S.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-MPIJBEFV.mjs → chunk-LSDUP5I2.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-7TKLIZ4U.mjs → chunk-LYLYHVST.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-4OTQNJPC.mjs → chunk-N2C5JS22.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-LV55OM2O.mjs → chunk-NB762DTK.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-SY5PY7EC.mjs → chunk-NEGUR24D.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-HIEV7BTG.mjs → chunk-NZ3KVB7N.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-KUEFCCUR.mjs → chunk-OG5WWF6M.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-IAPMXQWB.mjs → chunk-Q34ZCWHC.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-N32UXW4F.mjs → chunk-QF5PBPBI.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-PMZC73PE.mjs → chunk-RSMSSTAS.mjs} +17 -16
- package/dist-lib/esm-chunks/{chunk-TIBC4TF4.mjs → chunk-UPMM3HMR.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-WDFZNT6D.mjs → chunk-XBCYEXXL.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-4VGAYJQJ.mjs → chunk-YTLFSE7V.mjs} +1 -1
- package/dist-lib/esm-chunks/{metro-layout-parser-YV6U3SF2.mjs → metro-layout-parser-5LPEMNZ7.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-LU6YZSXI.mjs → swift-package-prebuilt-WBV6QKTU.mjs} +12 -12
- package/dist-lib/esm-chunks/{swift-sdk-app-module-LCQK2ZV7.mjs → swift-sdk-app-module-UKNPNJ5G.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-UTTTLU5C.mjs → swift-sdk-image-5WMX2RSY.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-RI26IQDN.mjs → swift-sdk-image-producer-72GQDJX2.mjs} +5 -5
- package/dist-lib/expo-swift-bundle.cjs +4665 -4438
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +7 -7
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +5036 -4809
- package/dist-lib/host/fetch-proxy-handler.cjs +509 -463
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +2 -2
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +3 -3
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +3 -3
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +4 -4
- package/dist-lib/native-app-identity-project.cjs +3 -3
- package/dist-lib/native-app-identity-project.mjs +16 -16
- package/dist-lib/native-app-identity.cjs +2 -2
- package/dist-lib/native-app-identity.mjs +6 -6
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +3 -3
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +2 -2
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +3 -3
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +85 -85
- package/dist-lib/public-origins-lib.json +93 -93
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +2 -2
- package/dist-lib/reap-browser.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +8 -8
- package/dist-lib/skills.cjs +4661 -4434
- package/dist-lib/swift-compile.cjs +4 -3
- package/dist-lib/swift-compile.mjs +12 -12
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +3 -3
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +6 -6
- package/dist-lib/swift-svg-raster.cjs +1 -1
- package/dist-lib/swift-svg-raster.mjs +2 -2
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
- package/dist-lib/vendor/acorn.cjs +1 -1
- package/dist-lib/vendor/magic-string.cjs +1 -1
- package/dist-lib/vendor/stream-json.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
- package/dist-lib/vendor/sucrase.cjs +1 -1
- package/dist-lib/vendor/terser.cjs +1 -1
- package/dist-lib/vendor/valibot.cjs +1 -1
- package/dist-lib/vendor/ws.cjs +1 -1
- package/dist-lib/vendor/zod.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +3 -3
- package/package.json +1 -1
- package/src/core-data-model.ts +5 -1
- package/src/expo-native-workspace.ts +45 -16
- package/src/pod-sources.ts +54 -0
- package/src/podfile-cocoapods.ts +72 -15
- package/src/pods-analysis.ts +1 -0
- package/src/pods-install.ts +2 -1
- package/src/pods-post-install.ts +35 -0
- package/src/pods-project.ts +59 -6
- package/src/podspec-cocoapods.ts +39 -0
- package/src/podspec-ruby.ts +1 -1
- package/src/swift-wasm-prune.ts +3 -2
- package/src/turbo-source.ts +53 -68
- package/src/xcode-target-members.ts +5 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2669 | (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;
|
|
@@ -1061,7 +1061,7 @@ var init_swift_standin_digest = __esm({
|
|
|
1061
1061
|
|
|
1062
1062
|
// src/expo-native-compiler-digest.ts
|
|
1063
1063
|
function expoNativeCompilerDigestValue() {
|
|
1064
|
-
return true ? "
|
|
1064
|
+
return true ? "b9a040b6e05f9c3b7b2f4c2692510e8bee919ac7760d437de3d1b5581f43a2a0" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
1065
1065
|
}
|
|
1066
1066
|
var import_node_crypto6;
|
|
1067
1067
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -1578,32 +1578,159 @@ var init_podspec_ruby_stdlib = __esm({
|
|
|
1578
1578
|
}
|
|
1579
1579
|
});
|
|
1580
1580
|
|
|
1581
|
-
// src/
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1581
|
+
// src/nitroAdapterContract.ts
|
|
1582
|
+
function text(family, value, what) {
|
|
1583
|
+
if (typeof value !== "string" || !value)
|
|
1584
|
+
throw new Error(`invalid ${ADAPTER_FAMILIES[family].label} ${what}`);
|
|
1585
|
+
return value;
|
|
1586
|
+
}
|
|
1587
|
+
function digestField(family, value, what) {
|
|
1588
|
+
if (!hex64(value)) throw new Error(`invalid ${ADAPTER_FAMILIES[family].label} ${what}`);
|
|
1589
|
+
return value;
|
|
1590
|
+
}
|
|
1591
|
+
function headerSet(family, value) {
|
|
1592
|
+
const keys = ADAPTER_FAMILIES[family].headers;
|
|
1593
|
+
if (!isRecord(value) || Object.keys(value).length !== keys.length)
|
|
1594
|
+
throw new Error(`invalid ${ADAPTER_FAMILIES[family].label} headers`);
|
|
1595
|
+
return Object.fromEntries(
|
|
1596
|
+
keys.map((key) => [key, digestField(family, value[key], `${key} header digest`)])
|
|
1597
|
+
);
|
|
1598
|
+
}
|
|
1599
|
+
function identity(family, value) {
|
|
1600
|
+
const invalid = () => new Error(`invalid ${ADAPTER_FAMILIES[family].label} manifest`);
|
|
1601
|
+
if (!isRecord(value) || value.schema !== 1) throw invalid();
|
|
1602
|
+
const { adapter, sdk, framework } = value;
|
|
1603
|
+
if (!isRecord(adapter) || !isRecord(sdk) || !isRecord(framework)) throw invalid();
|
|
1604
|
+
return {
|
|
1605
|
+
schema: 1,
|
|
1606
|
+
platform: text(family, value.platform, "platform"),
|
|
1607
|
+
target: text(family, value.target, "target"),
|
|
1608
|
+
recipe: digestField(family, value.recipe, "recipe"),
|
|
1609
|
+
adapter: { sha256: digestField(family, adapter.sha256, "adapter digest") },
|
|
1610
|
+
headers: headerSet(family, value.headers),
|
|
1611
|
+
compiler: text(family, value.compiler, "compiler"),
|
|
1612
|
+
sdk: {
|
|
1613
|
+
id: text(family, sdk.id, "sdk id"),
|
|
1614
|
+
checksum: digestField(family, sdk.checksum, "sdk checksum")
|
|
1615
|
+
},
|
|
1616
|
+
framework: {
|
|
1617
|
+
distribution: text(family, framework.distribution, "distribution"),
|
|
1618
|
+
wireAbi: digestField(family, framework.wireAbi, "wire abi")
|
|
1619
|
+
}
|
|
1620
|
+
};
|
|
1621
|
+
}
|
|
1622
|
+
function parseAdapterLock(family, value) {
|
|
1623
|
+
const label = ADAPTER_FAMILIES[family].label;
|
|
1624
|
+
if (!isRecord(value) || value.schema !== 2 || !Array.isArray(value.archives))
|
|
1625
|
+
throw new Error(`invalid ${label} lock`);
|
|
1626
|
+
const { headers: _headers, ...shared } = identity(family, {
|
|
1627
|
+
...value,
|
|
1628
|
+
schema: 1,
|
|
1629
|
+
headers: Object.fromEntries(
|
|
1630
|
+
ADAPTER_FAMILIES[family].headers.map((key) => [key, "0".repeat(64)])
|
|
1631
|
+
)
|
|
1632
|
+
});
|
|
1633
|
+
const archives = value.archives.map((entry) => {
|
|
1634
|
+
if (!isRecord(entry) || typeof entry.size !== "number")
|
|
1635
|
+
throw new Error(`invalid ${label} lock archive`);
|
|
1636
|
+
return {
|
|
1637
|
+
headers: headerSet(family, entry.headers),
|
|
1638
|
+
sha256: digestField(family, entry.sha256, "lock archive digest"),
|
|
1639
|
+
size: entry.size
|
|
1640
|
+
};
|
|
1641
|
+
});
|
|
1642
|
+
archives.forEach((entry, index) => {
|
|
1643
|
+
if (archives.findIndex((other) => sameHeaders(other.headers, entry.headers)) !== index)
|
|
1644
|
+
throw new Error(`${label} lock repeats a header set`);
|
|
1645
|
+
});
|
|
1646
|
+
return { ...shared, schema: 2, archives };
|
|
1647
|
+
}
|
|
1648
|
+
var import_node_crypto12, import_node_fs20, import_node_path19, ADAPTER_FAMILIES, hex64, sameHeaders;
|
|
1649
|
+
var init_nitroAdapterContract = __esm({
|
|
1650
|
+
"src/nitroAdapterContract.ts"() {
|
|
1585
1651
|
"use strict";
|
|
1652
|
+
import_node_crypto12 = require("node:crypto");
|
|
1586
1653
|
import_node_fs20 = require("node:fs");
|
|
1587
1654
|
import_node_path19 = __toESM(require("node:path"), 1);
|
|
1655
|
+
init_is_record();
|
|
1656
|
+
ADAPTER_FAMILIES = {
|
|
1657
|
+
nitro: {
|
|
1658
|
+
label: "Nitro adapter",
|
|
1659
|
+
archive: "libPeachNitroAdapter.a",
|
|
1660
|
+
key: "nitro-adapter",
|
|
1661
|
+
headers: ["reactNativeJsi", "nitroModules"]
|
|
1662
|
+
},
|
|
1663
|
+
turbo: {
|
|
1664
|
+
label: "TurboModule runtime",
|
|
1665
|
+
archive: "libPeachTurboRuntime.a",
|
|
1666
|
+
key: "turbo-runtime",
|
|
1667
|
+
headers: ["reactNativeJsi"]
|
|
1668
|
+
}
|
|
1669
|
+
};
|
|
1670
|
+
hex64 = (value) => typeof value === "string" && /^[a-f0-9]{64}$/.test(value);
|
|
1671
|
+
sameHeaders = (a, b) => JSON.stringify(a) === JSON.stringify(b);
|
|
1588
1672
|
}
|
|
1589
1673
|
});
|
|
1590
1674
|
|
|
1591
|
-
// src/
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
"use strict";
|
|
1596
|
-
import_node_crypto12 = require("node:crypto");
|
|
1597
|
-
import_node_fs21 = __toESM(require("node:fs"), 1);
|
|
1598
|
-
import_node_path20 = __toESM(require("node:path"), 1);
|
|
1599
|
-
init_write_build_file();
|
|
1675
|
+
// src/swift-distribution-contract.ts
|
|
1676
|
+
function parseSwiftDistributionLock(value) {
|
|
1677
|
+
if (!isRecord(value) || typeof value.id !== "string" || !/^[a-f0-9]{16}$/.test(value.id) || value.archive !== void 0 && value.archive !== "tar.gz" && value.archive !== "tar.zst" || typeof value.release !== "string" || typeof value.wasmSdkId !== "string" || typeof value.wasmSdkUrl !== "string" || typeof value.wasmSdkChecksum !== "string" || typeof value.source !== "string" || !isStrings(value.targets) || !isRecord(value.systemEnvironment) || !Object.values(value.systemEnvironment).every(isStrings) || !isRecord(value.hosts)) {
|
|
1678
|
+
throw new Error("invalid Swift distribution lock");
|
|
1600
1679
|
}
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1680
|
+
const hosts = value.hosts;
|
|
1681
|
+
const publication = (runtime) => {
|
|
1682
|
+
if (runtime === void 0) return void 0;
|
|
1683
|
+
if (!isRecord(runtime) || typeof runtime.source !== "string" || !/^[a-f0-9]{64}$/.test(runtime.source) || typeof runtime.url !== "string" || !/^https:\/\/[a-z0-9.-]+(?::\d+)?\/compile\/asset\/[a-f0-9]{64}$/.test(
|
|
1684
|
+
runtime.url
|
|
1685
|
+
) || runtime.dataPlan !== void 0 && (typeof runtime.dataPlan !== "string" || !/^[a-f0-9]{64}$/.test(runtime.dataPlan)) || runtime.recipe !== void 0 && (typeof runtime.recipe !== "string" || !/^[a-f0-9]{16}$/.test(runtime.recipe)))
|
|
1686
|
+
throw new Error("invalid shared SDK runtime publication in Swift distribution lock");
|
|
1687
|
+
return {
|
|
1688
|
+
source: runtime.source,
|
|
1689
|
+
url: runtime.url,
|
|
1690
|
+
...runtime.dataPlan && { dataPlan: runtime.dataPlan },
|
|
1691
|
+
...runtime.recipe && { recipe: runtime.recipe }
|
|
1692
|
+
};
|
|
1693
|
+
};
|
|
1694
|
+
const sdkRuntime = publication(value.sdkRuntime);
|
|
1695
|
+
const sdkGuestRuntime = publication(value.sdkGuestRuntime);
|
|
1696
|
+
const entry = (host2) => {
|
|
1697
|
+
const item = hosts[host2];
|
|
1698
|
+
if (!isRecord(item) || typeof item.sha256 !== "string" || !/^[a-f0-9]{64}$/.test(item.sha256) || typeof item.size !== "number") {
|
|
1699
|
+
throw new Error(`invalid Swift distribution lock entry for ${host2}`);
|
|
1700
|
+
}
|
|
1701
|
+
return { sha256: item.sha256, size: item.size };
|
|
1702
|
+
};
|
|
1703
|
+
return {
|
|
1704
|
+
id: value.id,
|
|
1705
|
+
release: value.release,
|
|
1706
|
+
archive: value.archive ?? "tar.gz",
|
|
1707
|
+
wasmSdkId: value.wasmSdkId,
|
|
1708
|
+
wasmSdkUrl: value.wasmSdkUrl,
|
|
1709
|
+
wasmSdkChecksum: value.wasmSdkChecksum,
|
|
1710
|
+
source: value.source,
|
|
1711
|
+
targets: value.targets,
|
|
1712
|
+
systemEnvironment: Object.fromEntries(
|
|
1713
|
+
Object.entries(value.systemEnvironment).map(([key, values]) => {
|
|
1714
|
+
if (!isStrings(values))
|
|
1715
|
+
throw new Error(`invalid Swift system environment values for ${key}`);
|
|
1716
|
+
return [key, values];
|
|
1717
|
+
})
|
|
1718
|
+
),
|
|
1719
|
+
hosts: {
|
|
1720
|
+
"darwin-arm64": entry("darwin-arm64"),
|
|
1721
|
+
"linux-x64": entry("linux-x64"),
|
|
1722
|
+
"linux-arm64": entry("linux-arm64")
|
|
1723
|
+
},
|
|
1724
|
+
...sdkRuntime ? { sdkRuntime } : {},
|
|
1725
|
+
...sdkGuestRuntime ? { sdkGuestRuntime } : {}
|
|
1726
|
+
};
|
|
1727
|
+
}
|
|
1728
|
+
var isStrings;
|
|
1729
|
+
var init_swift_distribution_contract = __esm({
|
|
1730
|
+
"src/swift-distribution-contract.ts"() {
|
|
1606
1731
|
"use strict";
|
|
1732
|
+
init_is_record();
|
|
1733
|
+
isStrings = (value) => Array.isArray(value) && value.every((item) => typeof item === "string");
|
|
1607
1734
|
}
|
|
1608
1735
|
});
|
|
1609
1736
|
|
|
@@ -1628,15 +1755,15 @@ var init_swiftTargetContract = __esm({
|
|
|
1628
1755
|
function registerSwiftHostCompiler(release, pin2) {
|
|
1629
1756
|
compilerArchives[release] = pin2;
|
|
1630
1757
|
}
|
|
1631
|
-
var import_node_child_process9, import_node_crypto13,
|
|
1758
|
+
var import_node_child_process9, import_node_crypto13, import_node_fs21, import_node_os6, import_node_path20, import_promises5, import_node_url2, import_node_util3, import_node_zlib2, compilerArchives, SWIFT_CACHE_HOLD_MS;
|
|
1632
1759
|
var init_swift_toolchain = __esm({
|
|
1633
1760
|
"src/swift-toolchain.ts"() {
|
|
1634
1761
|
"use strict";
|
|
1635
1762
|
import_node_child_process9 = require("node:child_process");
|
|
1636
1763
|
import_node_crypto13 = require("node:crypto");
|
|
1637
|
-
|
|
1764
|
+
import_node_fs21 = __toESM(require("node:fs"), 1);
|
|
1638
1765
|
import_node_os6 = __toESM(require("node:os"), 1);
|
|
1639
|
-
|
|
1766
|
+
import_node_path20 = __toESM(require("node:path"), 1);
|
|
1640
1767
|
import_promises5 = require("node:stream/promises");
|
|
1641
1768
|
import_node_url2 = require("node:url");
|
|
1642
1769
|
import_node_util3 = require("node:util");
|
|
@@ -1882,23 +2009,132 @@ var init_swift_toolchain = __esm({
|
|
|
1882
2009
|
}
|
|
1883
2010
|
});
|
|
1884
2011
|
|
|
2012
|
+
// src/swiftNativePinContract.ts
|
|
2013
|
+
function swiftNativePinSchema(distribution) {
|
|
2014
|
+
if (distribution.wasmSdkUrl.endsWith(".tar.zst")) return SWIFT_NATIVE_PIN_SCHEMA;
|
|
2015
|
+
return distribution.archive === "tar.zst" ? ZSTD_DISTRIBUTION_PIN_SCHEMA : GZIP_PIN_SCHEMA;
|
|
2016
|
+
}
|
|
2017
|
+
function parseSwiftNativePin(value) {
|
|
2018
|
+
if (!isRecord(value)) throw new Error("invalid Swift native pin");
|
|
2019
|
+
const { schema: schema4, compiler, adapters } = value;
|
|
2020
|
+
if (schema4 !== GZIP_PIN_SCHEMA && schema4 !== ZSTD_DISTRIBUTION_PIN_SCHEMA && schema4 !== SWIFT_NATIVE_PIN_SCHEMA)
|
|
2021
|
+
throw new Error(
|
|
2022
|
+
typeof schema4 === "number" && schema4 > SWIFT_NATIVE_PIN_SCHEMA ? "the active Peach runtime pins Swift for a newer peach CLI; update peach" : "the active Peach runtime pins Swift for an older peach CLI; run `peach runtime install`"
|
|
2023
|
+
);
|
|
2024
|
+
const distribution = parseSwiftDistributionLock(value.distribution);
|
|
2025
|
+
if (swiftNativePinSchema(distribution) !== schema4)
|
|
2026
|
+
throw new Error("the Swift archive format does not match the native pin schema");
|
|
2027
|
+
if (!isRecord(compiler) || typeof compiler.identity !== "string" || compiler.archive !== "tar.gz" && compiler.archive !== "tar.zst" || !isRecord(compiler.hosts) || !isRecord(adapters))
|
|
2028
|
+
throw new Error("invalid Swift native pin");
|
|
2029
|
+
const hosts = {};
|
|
2030
|
+
for (const [host2, archive] of Object.entries(compiler.hosts)) {
|
|
2031
|
+
if (!isRecord(archive) || typeof archive.checksum !== "string" || !DIGEST.test(archive.checksum) || typeof archive.manifest !== "string" || !DIGEST.test(archive.manifest))
|
|
2032
|
+
throw new Error(`invalid Swift native pin compiler entry for ${host2}`);
|
|
2033
|
+
hosts[host2] = { checksum: archive.checksum, manifest: archive.manifest };
|
|
2034
|
+
}
|
|
2035
|
+
return {
|
|
2036
|
+
schema: schema4,
|
|
2037
|
+
distribution,
|
|
2038
|
+
compiler: { identity: compiler.identity, archive: compiler.archive, hosts },
|
|
2039
|
+
adapters: {
|
|
2040
|
+
nitro: parseRuntimeAdapterLock("nitro", adapters.nitro),
|
|
2041
|
+
turbo: parseRuntimeAdapterLock("turbo", adapters.turbo)
|
|
2042
|
+
}
|
|
2043
|
+
};
|
|
2044
|
+
}
|
|
2045
|
+
function parseRuntimeAdapterLock(family, value) {
|
|
2046
|
+
const lock = parseAdapterLock(family, value);
|
|
2047
|
+
if (lock.target !== SWIFT_WASM_TRIPLE)
|
|
2048
|
+
throw new Error(
|
|
2049
|
+
`the active Peach runtime targets ${lock.target}, but this CLI compiles for ${SWIFT_WASM_TRIPLE}; install a matching Peach runtime and CLI`
|
|
2050
|
+
);
|
|
2051
|
+
return lock;
|
|
2052
|
+
}
|
|
2053
|
+
var SWIFT_NATIVE_PIN_PATH, GZIP_PIN_SCHEMA, ZSTD_DISTRIBUTION_PIN_SCHEMA, SWIFT_NATIVE_PIN_SCHEMA, DIGEST;
|
|
2054
|
+
var init_swiftNativePinContract = __esm({
|
|
2055
|
+
"src/swiftNativePinContract.ts"() {
|
|
2056
|
+
"use strict";
|
|
2057
|
+
init_is_record();
|
|
2058
|
+
init_nitroAdapterContract();
|
|
2059
|
+
init_swift_distribution_contract();
|
|
2060
|
+
init_swiftTargetContract();
|
|
2061
|
+
SWIFT_NATIVE_PIN_PATH = "node/swift-native.json";
|
|
2062
|
+
GZIP_PIN_SCHEMA = 3;
|
|
2063
|
+
ZSTD_DISTRIBUTION_PIN_SCHEMA = 4;
|
|
2064
|
+
SWIFT_NATIVE_PIN_SCHEMA = 5;
|
|
2065
|
+
DIGEST = /^[a-f0-9]{64}$/;
|
|
2066
|
+
}
|
|
2067
|
+
});
|
|
2068
|
+
|
|
2069
|
+
// src/swift-native-pin.ts
|
|
2070
|
+
function swiftNativePin() {
|
|
2071
|
+
if (pin) return pin;
|
|
2072
|
+
if (true) {
|
|
2073
|
+
pin = parseSwiftNativePin(readPeachRuntimeJson(SWIFT_NATIVE_PIN_PATH));
|
|
2074
|
+
registerSwiftHostCompiler(pin.distribution.release, pin.compiler);
|
|
2075
|
+
} else {
|
|
2076
|
+
pin = repoSwiftNativePin();
|
|
2077
|
+
}
|
|
2078
|
+
return pin;
|
|
2079
|
+
}
|
|
2080
|
+
var pin;
|
|
2081
|
+
var init_swift_native_pin = __esm({
|
|
2082
|
+
"src/swift-native-pin.ts"() {
|
|
2083
|
+
"use strict";
|
|
2084
|
+
init_answeredNativePackages();
|
|
2085
|
+
init_nitroAdapterContract();
|
|
2086
|
+
init_swift_distribution_contract();
|
|
2087
|
+
init_swift_toolchain();
|
|
2088
|
+
init_swiftNativePinContract();
|
|
2089
|
+
}
|
|
2090
|
+
});
|
|
2091
|
+
|
|
2092
|
+
// src/write-build-file.ts
|
|
2093
|
+
var import_node_fs22, import_node_path21;
|
|
2094
|
+
var init_write_build_file = __esm({
|
|
2095
|
+
"src/write-build-file.ts"() {
|
|
2096
|
+
"use strict";
|
|
2097
|
+
import_node_fs22 = require("node:fs");
|
|
2098
|
+
import_node_path21 = __toESM(require("node:path"), 1);
|
|
2099
|
+
}
|
|
2100
|
+
});
|
|
2101
|
+
|
|
2102
|
+
// src/case-insensitive-header-overlay.ts
|
|
2103
|
+
var import_node_crypto14, import_node_fs23, import_node_path22;
|
|
2104
|
+
var init_case_insensitive_header_overlay = __esm({
|
|
2105
|
+
"src/case-insensitive-header-overlay.ts"() {
|
|
2106
|
+
"use strict";
|
|
2107
|
+
import_node_crypto14 = require("node:crypto");
|
|
2108
|
+
import_node_fs23 = __toESM(require("node:fs"), 1);
|
|
2109
|
+
import_node_path22 = __toESM(require("node:path"), 1);
|
|
2110
|
+
init_write_build_file();
|
|
2111
|
+
}
|
|
2112
|
+
});
|
|
2113
|
+
|
|
2114
|
+
// src/swift-interface-bodies.ts
|
|
2115
|
+
var init_swift_interface_bodies = __esm({
|
|
2116
|
+
"src/swift-interface-bodies.ts"() {
|
|
2117
|
+
"use strict";
|
|
2118
|
+
}
|
|
2119
|
+
});
|
|
2120
|
+
|
|
1885
2121
|
// src/swift-objc-platform.ts
|
|
1886
|
-
var import_node_child_process10,
|
|
2122
|
+
var import_node_child_process10, import_node_path23;
|
|
1887
2123
|
var init_swift_objc_platform = __esm({
|
|
1888
2124
|
"src/swift-objc-platform.ts"() {
|
|
1889
2125
|
"use strict";
|
|
1890
2126
|
import_node_child_process10 = require("node:child_process");
|
|
1891
|
-
|
|
2127
|
+
import_node_path23 = __toESM(require("node:path"), 1);
|
|
1892
2128
|
init_swift_toolchain();
|
|
1893
2129
|
}
|
|
1894
2130
|
});
|
|
1895
2131
|
|
|
1896
2132
|
// src/swift-objc-sdk.ts
|
|
1897
|
-
var
|
|
2133
|
+
var import_node_path24, IOS_SDK_TARGET;
|
|
1898
2134
|
var init_swift_objc_sdk = __esm({
|
|
1899
2135
|
"src/swift-objc-sdk.ts"() {
|
|
1900
2136
|
"use strict";
|
|
1901
|
-
|
|
2137
|
+
import_node_path24 = __toESM(require("node:path"), 1);
|
|
1902
2138
|
init_swift_objc_sdk_tree();
|
|
1903
2139
|
init_swift_toolchain();
|
|
1904
2140
|
IOS_SDK_TARGET = "arm64-apple-ios16.0-simulator";
|
|
@@ -1944,14 +2180,14 @@ var init_swift_standin_emit = __esm({
|
|
|
1944
2180
|
});
|
|
1945
2181
|
|
|
1946
2182
|
// src/swift-objc-standin.ts
|
|
1947
|
-
var import_node_child_process11,
|
|
2183
|
+
var import_node_child_process11, import_node_crypto15, import_node_fs24, import_node_path25, NATIVE_GRAPH_SDK_VERSION, WASI_EMULATION, WASI_EMULATION_FLAGS, NATIVE_GRAPH_INPUTS, NATIVE_GRAPH_ID;
|
|
1948
2184
|
var init_swift_objc_standin = __esm({
|
|
1949
2185
|
"src/swift-objc-standin.ts"() {
|
|
1950
2186
|
"use strict";
|
|
1951
2187
|
import_node_child_process11 = require("node:child_process");
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
2188
|
+
import_node_crypto15 = require("node:crypto");
|
|
2189
|
+
import_node_fs24 = __toESM(require("node:fs"), 1);
|
|
2190
|
+
import_node_path25 = __toESM(require("node:path"), 1);
|
|
1955
2191
|
init_case_insensitive_header_overlay();
|
|
1956
2192
|
init_is_record();
|
|
1957
2193
|
init_swift_interface_bodies();
|
|
@@ -1974,23 +2210,25 @@ var init_swift_objc_standin = __esm({
|
|
|
1974
2210
|
compiler: "Apple Swift version 6.4 (swiftlang-6.4.0.34.1 clang-2100.3.34.1)",
|
|
1975
2211
|
target: IOS_SDK_TARGET
|
|
1976
2212
|
};
|
|
1977
|
-
NATIVE_GRAPH_ID = (0,
|
|
2213
|
+
NATIVE_GRAPH_ID = (0, import_node_crypto15.createHash)("sha256").update(JSON.stringify(NATIVE_GRAPH_INPUTS)).digest("hex");
|
|
1978
2214
|
}
|
|
1979
2215
|
});
|
|
1980
2216
|
|
|
1981
2217
|
// src/podspec-cocoapods.ts
|
|
1982
|
-
var import_node_child_process12,
|
|
2218
|
+
var import_node_child_process12, import_node_fs25, import_node_module3, import_node_os7, import_node_path26, PRELUDE, HOST_PROBES;
|
|
1983
2219
|
var init_podspec_cocoapods = __esm({
|
|
1984
2220
|
"src/podspec-cocoapods.ts"() {
|
|
1985
2221
|
"use strict";
|
|
1986
2222
|
import_node_child_process12 = require("node:child_process");
|
|
1987
|
-
|
|
2223
|
+
import_node_fs25 = __toESM(require("node:fs"), 1);
|
|
1988
2224
|
import_node_module3 = require("node:module");
|
|
1989
2225
|
import_node_os7 = __toESM(require("node:os"), 1);
|
|
1990
|
-
|
|
2226
|
+
import_node_path26 = __toESM(require("node:path"), 1);
|
|
1991
2227
|
init_podspec_ruby();
|
|
1992
2228
|
init_podspec_ruby_stdlib();
|
|
2229
|
+
init_swift_native_pin();
|
|
1993
2230
|
init_swift_objc_standin();
|
|
2231
|
+
init_swift_toolchain();
|
|
1994
2232
|
PRELUDE = String.raw`
|
|
1995
2233
|
module Pod
|
|
1996
2234
|
VERSION = '1.17.0'
|
|
@@ -2958,34 +3196,34 @@ end
|
|
|
2958
3196
|
|
|
2959
3197
|
// src/workspace-root.ts
|
|
2960
3198
|
function declaresMember(root, app) {
|
|
2961
|
-
const manifest =
|
|
2962
|
-
if (!
|
|
2963
|
-
const { workspaces } = JSON.parse(
|
|
3199
|
+
const manifest = import_node_path27.default.join(root, "package.json");
|
|
3200
|
+
if (!import_node_fs26.default.existsSync(manifest)) return false;
|
|
3201
|
+
const { workspaces } = JSON.parse(import_node_fs26.default.readFileSync(manifest, "utf8"));
|
|
2964
3202
|
const patterns = Array.isArray(workspaces) ? workspaces : workspaces?.packages ?? [];
|
|
2965
|
-
const relative3 =
|
|
3203
|
+
const relative3 = import_node_path27.default.relative(root, app).split(import_node_path27.default.sep).join("/");
|
|
2966
3204
|
return patterns.some(
|
|
2967
3205
|
(pattern) => new RegExp(
|
|
2968
|
-
`^${
|
|
3206
|
+
`^${import_node_path27.default.posix.normalize(pattern).replace(/[.+^${}()|[\]\\]/g, "\\$&").replace(/\*\*/g, "\0").replace(/\*/g, "[^/]*").replace(/\0/g, ".*")}$`
|
|
2969
3207
|
).test(relative3)
|
|
2970
3208
|
);
|
|
2971
3209
|
}
|
|
2972
3210
|
function findWorkspaceRoot(app) {
|
|
2973
3211
|
let nearest = null;
|
|
2974
3212
|
let declared = null;
|
|
2975
|
-
for (let dir = app; ; dir =
|
|
2976
|
-
if (LOCKFILES.some((name2) =>
|
|
3213
|
+
for (let dir = app; ; dir = import_node_path27.default.dirname(dir)) {
|
|
3214
|
+
if (LOCKFILES.some((name2) => import_node_fs26.default.existsSync(import_node_path27.default.join(dir, name2)))) {
|
|
2977
3215
|
nearest ??= dir;
|
|
2978
3216
|
if (dir !== app && declaresMember(dir, app)) declared = dir;
|
|
2979
3217
|
}
|
|
2980
|
-
if (
|
|
3218
|
+
if (import_node_path27.default.dirname(dir) === dir) return declared ?? nearest ?? app;
|
|
2981
3219
|
}
|
|
2982
3220
|
}
|
|
2983
|
-
var
|
|
3221
|
+
var import_node_fs26, import_node_path27, LOCKFILES;
|
|
2984
3222
|
var init_workspace_root = __esm({
|
|
2985
3223
|
"src/workspace-root.ts"() {
|
|
2986
3224
|
"use strict";
|
|
2987
|
-
|
|
2988
|
-
|
|
3225
|
+
import_node_fs26 = __toESM(require("node:fs"), 1);
|
|
3226
|
+
import_node_path27 = __toESM(require("node:path"), 1);
|
|
2989
3227
|
LOCKFILES = [
|
|
2990
3228
|
"pnpm-workspace.yaml",
|
|
2991
3229
|
"package-lock.json",
|
|
@@ -2997,13 +3235,13 @@ var init_workspace_root = __esm({
|
|
|
2997
3235
|
});
|
|
2998
3236
|
|
|
2999
3237
|
// src/podspec-sources.ts
|
|
3000
|
-
var
|
|
3238
|
+
var import_node_crypto16, import_node_fs27, import_node_path28, import_zod, pathsSchema, attributesSchema, evaluatedSpecSchema, podspecReceiptSchema;
|
|
3001
3239
|
var init_podspec_sources = __esm({
|
|
3002
3240
|
"src/podspec-sources.ts"() {
|
|
3003
3241
|
"use strict";
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3242
|
+
import_node_crypto16 = require("node:crypto");
|
|
3243
|
+
import_node_fs27 = __toESM(require("node:fs"), 1);
|
|
3244
|
+
import_node_path28 = __toESM(require("node:path"), 1);
|
|
3007
3245
|
import_zod = require("peachsim/vendor/zod");
|
|
3008
3246
|
init_home_paths();
|
|
3009
3247
|
init_pod_graph_specifications();
|
|
@@ -3041,27 +3279,27 @@ var init_podspec_sources = __esm({
|
|
|
3041
3279
|
});
|
|
3042
3280
|
|
|
3043
3281
|
// src/react-native-autolinking.ts
|
|
3044
|
-
var
|
|
3282
|
+
var import_node_fs28, import_node_module4, import_node_path29;
|
|
3045
3283
|
var init_react_native_autolinking = __esm({
|
|
3046
3284
|
"src/react-native-autolinking.ts"() {
|
|
3047
3285
|
"use strict";
|
|
3048
|
-
|
|
3286
|
+
import_node_fs28 = __toESM(require("node:fs"), 1);
|
|
3049
3287
|
import_node_module4 = require("node:module");
|
|
3050
|
-
|
|
3288
|
+
import_node_path29 = __toESM(require("node:path"), 1);
|
|
3051
3289
|
init_autolinker_process();
|
|
3052
3290
|
init_is_record();
|
|
3053
3291
|
}
|
|
3054
3292
|
});
|
|
3055
3293
|
|
|
3056
3294
|
// src/nitro-source.ts
|
|
3057
|
-
var
|
|
3295
|
+
var import_node_crypto17, import_node_fs29, import_node_module5, import_node_path30, import_zod2;
|
|
3058
3296
|
var init_nitro_source = __esm({
|
|
3059
3297
|
"src/nitro-source.ts"() {
|
|
3060
3298
|
"use strict";
|
|
3061
|
-
|
|
3062
|
-
|
|
3299
|
+
import_node_crypto17 = require("node:crypto");
|
|
3300
|
+
import_node_fs29 = __toESM(require("node:fs"), 1);
|
|
3063
3301
|
import_node_module5 = require("node:module");
|
|
3064
|
-
|
|
3302
|
+
import_node_path30 = __toESM(require("node:path"), 1);
|
|
3065
3303
|
import_zod2 = require("peachsim/vendor/zod");
|
|
3066
3304
|
init_nitro_dependencies();
|
|
3067
3305
|
init_podspec_sources();
|
|
@@ -3089,22 +3327,22 @@ var init_public_brand = __esm({
|
|
|
3089
3327
|
});
|
|
3090
3328
|
|
|
3091
3329
|
// cli/commands/nodeRepoFileReader.ts
|
|
3092
|
-
var
|
|
3330
|
+
var import_node_fs30;
|
|
3093
3331
|
var init_nodeRepoFileReader = __esm({
|
|
3094
3332
|
"cli/commands/nodeRepoFileReader.ts"() {
|
|
3095
3333
|
"use strict";
|
|
3096
|
-
|
|
3334
|
+
import_node_fs30 = require("node:fs");
|
|
3097
3335
|
}
|
|
3098
3336
|
});
|
|
3099
3337
|
|
|
3100
3338
|
// cli/commands/detect.ts
|
|
3101
|
-
var import_node_child_process13,
|
|
3339
|
+
var import_node_child_process13, import_node_fs31, import_node_path31, PODFILE_NEW_ARCH_MARK, PODFILE_NEW_ARCH_RUBY;
|
|
3102
3340
|
var init_detect = __esm({
|
|
3103
3341
|
"cli/commands/detect.ts"() {
|
|
3104
3342
|
"use strict";
|
|
3105
3343
|
import_node_child_process13 = require("node:child_process");
|
|
3106
|
-
|
|
3107
|
-
|
|
3344
|
+
import_node_fs31 = require("node:fs");
|
|
3345
|
+
import_node_path31 = require("node:path");
|
|
3108
3346
|
init_nodeRepoFileReader();
|
|
3109
3347
|
PODFILE_NEW_ARCH_MARK = "PEACH_RCT_NEW_ARCH ";
|
|
3110
3348
|
PODFILE_NEW_ARCH_RUBY = `
|
|
@@ -3133,12 +3371,12 @@ end
|
|
|
3133
3371
|
});
|
|
3134
3372
|
|
|
3135
3373
|
// cli/app-stubs.ts
|
|
3136
|
-
var
|
|
3374
|
+
var import_node_fs32, import_node_path32, import_acorn, import_sucrase;
|
|
3137
3375
|
var init_app_stubs = __esm({
|
|
3138
3376
|
"cli/app-stubs.ts"() {
|
|
3139
3377
|
"use strict";
|
|
3140
|
-
|
|
3141
|
-
|
|
3378
|
+
import_node_fs32 = require("node:fs");
|
|
3379
|
+
import_node_path32 = require("node:path");
|
|
3142
3380
|
init_version_range();
|
|
3143
3381
|
import_acorn = require("peachsim/vendor/acorn");
|
|
3144
3382
|
import_sucrase = require("peachsim/vendor/sucrase");
|
|
@@ -4576,13 +4814,13 @@ var init_storeKitContract = __esm({
|
|
|
4576
4814
|
});
|
|
4577
4815
|
|
|
4578
4816
|
// src/storekit-test-store.ts
|
|
4579
|
-
var
|
|
4817
|
+
var import_node_crypto18, import_promises6, import_node_path33, import_x509;
|
|
4580
4818
|
var init_storekit_test_store = __esm({
|
|
4581
4819
|
"src/storekit-test-store.ts"() {
|
|
4582
4820
|
"use strict";
|
|
4583
|
-
|
|
4821
|
+
import_node_crypto18 = require("node:crypto");
|
|
4584
4822
|
import_promises6 = require("node:fs/promises");
|
|
4585
|
-
|
|
4823
|
+
import_node_path33 = __toESM(require("node:path"), 1);
|
|
4586
4824
|
init_storeKitContract();
|
|
4587
4825
|
import_x509 = require("peachsim/vendor/@peculiar/x509");
|
|
4588
4826
|
init_home_paths();
|
|
@@ -4590,13 +4828,13 @@ var init_storekit_test_store = __esm({
|
|
|
4590
4828
|
});
|
|
4591
4829
|
|
|
4592
4830
|
// src/app-config.ts
|
|
4593
|
-
var
|
|
4831
|
+
var import_node_fs33, import_node_module6, import_node_path34;
|
|
4594
4832
|
var init_app_config = __esm({
|
|
4595
4833
|
"src/app-config.ts"() {
|
|
4596
4834
|
"use strict";
|
|
4597
|
-
|
|
4835
|
+
import_node_fs33 = require("node:fs");
|
|
4598
4836
|
import_node_module6 = require("node:module");
|
|
4599
|
-
|
|
4837
|
+
import_node_path34 = __toESM(require("node:path"), 1);
|
|
4600
4838
|
init_app_project();
|
|
4601
4839
|
init_app_stubs();
|
|
4602
4840
|
init_answeredNativePackages();
|
|
@@ -4623,13 +4861,13 @@ var init_gitignore = __esm({
|
|
|
4623
4861
|
});
|
|
4624
4862
|
|
|
4625
4863
|
// src/expo-workspace-exclusion.ts
|
|
4626
|
-
var import_node_child_process15,
|
|
4864
|
+
var import_node_child_process15, import_node_fs34, import_node_path35, import_node_util4;
|
|
4627
4865
|
var init_expo_workspace_exclusion = __esm({
|
|
4628
4866
|
"src/expo-workspace-exclusion.ts"() {
|
|
4629
4867
|
"use strict";
|
|
4630
4868
|
import_node_child_process15 = require("node:child_process");
|
|
4631
|
-
|
|
4632
|
-
|
|
4869
|
+
import_node_fs34 = __toESM(require("node:fs"), 1);
|
|
4870
|
+
import_node_path35 = __toESM(require("node:path"), 1);
|
|
4633
4871
|
import_node_util4 = require("node:util");
|
|
4634
4872
|
init_gitignore();
|
|
4635
4873
|
}
|
|
@@ -4648,12 +4886,12 @@ var init_git_repo_env = __esm({
|
|
|
4648
4886
|
});
|
|
4649
4887
|
|
|
4650
4888
|
// src/native-failure-output.ts
|
|
4651
|
-
var
|
|
4889
|
+
var import_node_fs35, import_node_path36, FAILED_OUTPUT_KEPT_MS;
|
|
4652
4890
|
var init_native_failure_output = __esm({
|
|
4653
4891
|
"src/native-failure-output.ts"() {
|
|
4654
4892
|
"use strict";
|
|
4655
|
-
|
|
4656
|
-
|
|
4893
|
+
import_node_fs35 = __toESM(require("node:fs"), 1);
|
|
4894
|
+
import_node_path36 = __toESM(require("node:path"), 1);
|
|
4657
4895
|
init_home_paths();
|
|
4658
4896
|
FAILED_OUTPUT_KEPT_MS = 7 * 24 * 36e5;
|
|
4659
4897
|
}
|
|
@@ -4671,16 +4909,16 @@ var init_native_git = __esm({
|
|
|
4671
4909
|
// src/native-prebuilt.ts
|
|
4672
4910
|
function nativeEntryKey(inputs2) {
|
|
4673
4911
|
const lines = Object.keys(inputs2).sort().map((name2) => `${name2}\0${inputs2[name2]}`);
|
|
4674
|
-
return (0,
|
|
4912
|
+
return (0, import_node_crypto19.createHash)("sha256").update(lines.join("\n")).digest("hex").slice(0, 32);
|
|
4675
4913
|
}
|
|
4676
|
-
var import_node_child_process17,
|
|
4914
|
+
var import_node_child_process17, import_node_crypto19, import_node_fs36, import_node_path37, NATIVE_PREBUILT_ORIGIN, nativePackageEntryName, nativeEntryPrefix;
|
|
4677
4915
|
var init_native_prebuilt = __esm({
|
|
4678
4916
|
"src/native-prebuilt.ts"() {
|
|
4679
4917
|
"use strict";
|
|
4680
4918
|
import_node_child_process17 = require("node:child_process");
|
|
4681
|
-
|
|
4682
|
-
|
|
4683
|
-
|
|
4919
|
+
import_node_crypto19 = require("node:crypto");
|
|
4920
|
+
import_node_fs36 = __toESM(require("node:fs"), 1);
|
|
4921
|
+
import_node_path37 = __toESM(require("node:path"), 1);
|
|
4684
4922
|
init_home_paths();
|
|
4685
4923
|
init_is_record();
|
|
4686
4924
|
NATIVE_PREBUILT_ORIGIN = "https://r2.rnxsim.com";
|
|
@@ -4700,16 +4938,16 @@ var init_oneSdkContract = __esm({
|
|
|
4700
4938
|
});
|
|
4701
4939
|
|
|
4702
4940
|
// src/one-sdk-preparation.ts
|
|
4703
|
-
var import_node_child_process18,
|
|
4941
|
+
var import_node_child_process18, import_node_crypto20, import_node_fs37, import_node_module7, import_node_os8, import_node_path38, import_node_url3, import_sucrase2;
|
|
4704
4942
|
var init_one_sdk_preparation = __esm({
|
|
4705
4943
|
"src/one-sdk-preparation.ts"() {
|
|
4706
4944
|
"use strict";
|
|
4707
4945
|
import_node_child_process18 = require("node:child_process");
|
|
4708
|
-
|
|
4709
|
-
|
|
4946
|
+
import_node_crypto20 = require("node:crypto");
|
|
4947
|
+
import_node_fs37 = __toESM(require("node:fs"), 1);
|
|
4710
4948
|
import_node_module7 = require("node:module");
|
|
4711
4949
|
import_node_os8 = __toESM(require("node:os"), 1);
|
|
4712
|
-
|
|
4950
|
+
import_node_path38 = __toESM(require("node:path"), 1);
|
|
4713
4951
|
import_node_url3 = require("node:url");
|
|
4714
4952
|
import_sucrase2 = require("peachsim/vendor/sucrase");
|
|
4715
4953
|
init_native_prebuilt();
|
|
@@ -4726,11 +4964,11 @@ var init_openstep_plist = __esm({
|
|
|
4726
4964
|
});
|
|
4727
4965
|
|
|
4728
4966
|
// src/pbx-table.ts
|
|
4729
|
-
var
|
|
4967
|
+
var import_node_crypto21, ARRAY_SETTINGS, LEGACY_ARRAY_SETTINGS;
|
|
4730
4968
|
var init_pbx_table = __esm({
|
|
4731
4969
|
"src/pbx-table.ts"() {
|
|
4732
4970
|
"use strict";
|
|
4733
|
-
|
|
4971
|
+
import_node_crypto21 = require("node:crypto");
|
|
4734
4972
|
init_openstep_plist();
|
|
4735
4973
|
ARRAY_SETTINGS = /* @__PURE__ */ new Set([
|
|
4736
4974
|
"ALTERNATE_PERMISSIONS_FILES",
|
|
@@ -4773,23 +5011,23 @@ var init_pbx_table = __esm({
|
|
|
4773
5011
|
});
|
|
4774
5012
|
|
|
4775
5013
|
// src/process-liveness.ts
|
|
4776
|
-
var
|
|
5014
|
+
var import_node_fs38;
|
|
4777
5015
|
var init_process_liveness = __esm({
|
|
4778
5016
|
"src/process-liveness.ts"() {
|
|
4779
5017
|
"use strict";
|
|
4780
|
-
|
|
5018
|
+
import_node_fs38 = require("node:fs");
|
|
4781
5019
|
}
|
|
4782
5020
|
});
|
|
4783
5021
|
|
|
4784
5022
|
// src/retired-cache-directory.ts
|
|
4785
|
-
var
|
|
5023
|
+
var import_node_crypto22, import_node_fs39, import_promises7, import_node_path39;
|
|
4786
5024
|
var init_retired_cache_directory = __esm({
|
|
4787
5025
|
"src/retired-cache-directory.ts"() {
|
|
4788
5026
|
"use strict";
|
|
4789
|
-
|
|
4790
|
-
|
|
5027
|
+
import_node_crypto22 = require("node:crypto");
|
|
5028
|
+
import_node_fs39 = require("node:fs");
|
|
4791
5029
|
import_promises7 = require("node:fs/promises");
|
|
4792
|
-
|
|
5030
|
+
import_node_path39 = __toESM(require("node:path"), 1);
|
|
4793
5031
|
init_process_liveness();
|
|
4794
5032
|
}
|
|
4795
5033
|
});
|
|
@@ -4809,28 +5047,28 @@ var init_swift_objc_runtime = __esm({
|
|
|
4809
5047
|
});
|
|
4810
5048
|
|
|
4811
5049
|
// src/swift-shared-sdk.ts
|
|
4812
|
-
var import_node_child_process19,
|
|
5050
|
+
var import_node_child_process19, import_node_crypto23, import_node_fs40, import_node_path40;
|
|
4813
5051
|
var init_swift_shared_sdk = __esm({
|
|
4814
5052
|
"src/swift-shared-sdk.ts"() {
|
|
4815
5053
|
"use strict";
|
|
4816
5054
|
import_node_child_process19 = require("node:child_process");
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
5055
|
+
import_node_crypto23 = require("node:crypto");
|
|
5056
|
+
import_node_fs40 = __toESM(require("node:fs"), 1);
|
|
5057
|
+
import_node_path40 = __toESM(require("node:path"), 1);
|
|
4820
5058
|
init_swift_toolchain();
|
|
4821
5059
|
init_swiftTargetContract();
|
|
4822
5060
|
}
|
|
4823
5061
|
});
|
|
4824
5062
|
|
|
4825
5063
|
// src/swift-darwin-records.ts
|
|
4826
|
-
var import_node_child_process20,
|
|
5064
|
+
var import_node_child_process20, import_node_fs41, import_node_os9, import_node_path41;
|
|
4827
5065
|
var init_swift_darwin_records = __esm({
|
|
4828
5066
|
"src/swift-darwin-records.ts"() {
|
|
4829
5067
|
"use strict";
|
|
4830
5068
|
import_node_child_process20 = require("node:child_process");
|
|
4831
|
-
|
|
5069
|
+
import_node_fs41 = require("node:fs");
|
|
4832
5070
|
import_node_os9 = require("node:os");
|
|
4833
|
-
|
|
5071
|
+
import_node_path41 = __toESM(require("node:path"), 1);
|
|
4834
5072
|
init_swift_objc_platform();
|
|
4835
5073
|
init_swift_objc_runtime();
|
|
4836
5074
|
init_swift_objc_standin();
|
|
@@ -4846,76 +5084,14 @@ var init_swift_design_time = __esm({
|
|
|
4846
5084
|
}
|
|
4847
5085
|
});
|
|
4848
5086
|
|
|
4849
|
-
// src/swift-distribution-contract.ts
|
|
4850
|
-
function parseSwiftDistributionLock(value) {
|
|
4851
|
-
if (!isRecord(value) || typeof value.id !== "string" || !/^[a-f0-9]{16}$/.test(value.id) || value.archive !== void 0 && value.archive !== "tar.gz" && value.archive !== "tar.zst" || typeof value.release !== "string" || typeof value.wasmSdkId !== "string" || typeof value.wasmSdkUrl !== "string" || typeof value.wasmSdkChecksum !== "string" || typeof value.source !== "string" || !isStrings(value.targets) || !isRecord(value.systemEnvironment) || !Object.values(value.systemEnvironment).every(isStrings) || !isRecord(value.hosts)) {
|
|
4852
|
-
throw new Error("invalid Swift distribution lock");
|
|
4853
|
-
}
|
|
4854
|
-
const hosts = value.hosts;
|
|
4855
|
-
const publication = (runtime) => {
|
|
4856
|
-
if (runtime === void 0) return void 0;
|
|
4857
|
-
if (!isRecord(runtime) || typeof runtime.source !== "string" || !/^[a-f0-9]{64}$/.test(runtime.source) || typeof runtime.url !== "string" || !/^https:\/\/[a-z0-9.-]+(?::\d+)?\/compile\/asset\/[a-f0-9]{64}$/.test(
|
|
4858
|
-
runtime.url
|
|
4859
|
-
) || runtime.dataPlan !== void 0 && (typeof runtime.dataPlan !== "string" || !/^[a-f0-9]{64}$/.test(runtime.dataPlan)) || runtime.recipe !== void 0 && (typeof runtime.recipe !== "string" || !/^[a-f0-9]{16}$/.test(runtime.recipe)))
|
|
4860
|
-
throw new Error("invalid shared SDK runtime publication in Swift distribution lock");
|
|
4861
|
-
return {
|
|
4862
|
-
source: runtime.source,
|
|
4863
|
-
url: runtime.url,
|
|
4864
|
-
...runtime.dataPlan && { dataPlan: runtime.dataPlan },
|
|
4865
|
-
...runtime.recipe && { recipe: runtime.recipe }
|
|
4866
|
-
};
|
|
4867
|
-
};
|
|
4868
|
-
const sdkRuntime = publication(value.sdkRuntime);
|
|
4869
|
-
const sdkGuestRuntime = publication(value.sdkGuestRuntime);
|
|
4870
|
-
const entry = (host2) => {
|
|
4871
|
-
const item = hosts[host2];
|
|
4872
|
-
if (!isRecord(item) || typeof item.sha256 !== "string" || !/^[a-f0-9]{64}$/.test(item.sha256) || typeof item.size !== "number") {
|
|
4873
|
-
throw new Error(`invalid Swift distribution lock entry for ${host2}`);
|
|
4874
|
-
}
|
|
4875
|
-
return { sha256: item.sha256, size: item.size };
|
|
4876
|
-
};
|
|
4877
|
-
return {
|
|
4878
|
-
id: value.id,
|
|
4879
|
-
release: value.release,
|
|
4880
|
-
archive: value.archive ?? "tar.gz",
|
|
4881
|
-
wasmSdkId: value.wasmSdkId,
|
|
4882
|
-
wasmSdkUrl: value.wasmSdkUrl,
|
|
4883
|
-
wasmSdkChecksum: value.wasmSdkChecksum,
|
|
4884
|
-
source: value.source,
|
|
4885
|
-
targets: value.targets,
|
|
4886
|
-
systemEnvironment: Object.fromEntries(
|
|
4887
|
-
Object.entries(value.systemEnvironment).map(([key, values]) => {
|
|
4888
|
-
if (!isStrings(values))
|
|
4889
|
-
throw new Error(`invalid Swift system environment values for ${key}`);
|
|
4890
|
-
return [key, values];
|
|
4891
|
-
})
|
|
4892
|
-
),
|
|
4893
|
-
hosts: {
|
|
4894
|
-
"darwin-arm64": entry("darwin-arm64"),
|
|
4895
|
-
"linux-x64": entry("linux-x64"),
|
|
4896
|
-
"linux-arm64": entry("linux-arm64")
|
|
4897
|
-
},
|
|
4898
|
-
...sdkRuntime ? { sdkRuntime } : {},
|
|
4899
|
-
...sdkGuestRuntime ? { sdkGuestRuntime } : {}
|
|
4900
|
-
};
|
|
4901
|
-
}
|
|
4902
|
-
var isStrings;
|
|
4903
|
-
var init_swift_distribution_contract = __esm({
|
|
4904
|
-
"src/swift-distribution-contract.ts"() {
|
|
4905
|
-
"use strict";
|
|
4906
|
-
init_is_record();
|
|
4907
|
-
isStrings = (value) => Array.isArray(value) && value.every((item) => typeof item === "string");
|
|
4908
|
-
}
|
|
4909
|
-
});
|
|
4910
|
-
|
|
4911
5087
|
// src/swift-distribution-mirror.ts
|
|
4912
|
-
var
|
|
5088
|
+
var import_node_crypto24, import_node_fs42, import_node_path42;
|
|
4913
5089
|
var init_swift_distribution_mirror = __esm({
|
|
4914
5090
|
"src/swift-distribution-mirror.ts"() {
|
|
4915
5091
|
"use strict";
|
|
4916
|
-
|
|
4917
|
-
|
|
4918
|
-
|
|
5092
|
+
import_node_crypto24 = require("node:crypto");
|
|
5093
|
+
import_node_fs42 = require("node:fs");
|
|
5094
|
+
import_node_path42 = __toESM(require("node:path"), 1);
|
|
4919
5095
|
init_is_record();
|
|
4920
5096
|
init_swift_distribution_contract();
|
|
4921
5097
|
init_swift_shared_sdk();
|
|
@@ -4931,12 +5107,12 @@ var init_swift_foundation = __esm({
|
|
|
4931
5107
|
});
|
|
4932
5108
|
|
|
4933
5109
|
// src/swift-guest-source-plan.ts
|
|
4934
|
-
var import_node_child_process21,
|
|
5110
|
+
var import_node_child_process21, import_node_path43, v;
|
|
4935
5111
|
var init_swift_guest_source_plan = __esm({
|
|
4936
5112
|
"src/swift-guest-source-plan.ts"() {
|
|
4937
5113
|
"use strict";
|
|
4938
5114
|
import_node_child_process21 = require("node:child_process");
|
|
4939
|
-
|
|
5115
|
+
import_node_path43 = __toESM(require("node:path"), 1);
|
|
4940
5116
|
v = __toESM(require("peachsim/vendor/valibot"), 1);
|
|
4941
5117
|
init_swift_package();
|
|
4942
5118
|
init_swift_toolchain();
|
|
@@ -4944,12 +5120,12 @@ var init_swift_guest_source_plan = __esm({
|
|
|
4944
5120
|
});
|
|
4945
5121
|
|
|
4946
5122
|
// src/swift-link-roots.ts
|
|
4947
|
-
var
|
|
5123
|
+
var import_node_fs43, import_node_path44;
|
|
4948
5124
|
var init_swift_link_roots = __esm({
|
|
4949
5125
|
"src/swift-link-roots.ts"() {
|
|
4950
5126
|
"use strict";
|
|
4951
|
-
|
|
4952
|
-
|
|
5127
|
+
import_node_fs43 = __toESM(require("node:fs"), 1);
|
|
5128
|
+
import_node_path44 = __toESM(require("node:path"), 1);
|
|
4953
5129
|
}
|
|
4954
5130
|
});
|
|
4955
5131
|
|
|
@@ -4961,21 +5137,21 @@ var init_swift_resource_class_names = __esm({
|
|
|
4961
5137
|
});
|
|
4962
5138
|
|
|
4963
5139
|
// src/swift-guest-linked-spans.ts
|
|
4964
|
-
var
|
|
5140
|
+
var import_node_fs44, import_node_string_decoder;
|
|
4965
5141
|
var init_swift_guest_linked_spans = __esm({
|
|
4966
5142
|
"src/swift-guest-linked-spans.ts"() {
|
|
4967
5143
|
"use strict";
|
|
4968
|
-
|
|
5144
|
+
import_node_fs44 = require("node:fs");
|
|
4969
5145
|
import_node_string_decoder = require("node:string_decoder");
|
|
4970
5146
|
}
|
|
4971
5147
|
});
|
|
4972
5148
|
|
|
4973
5149
|
// src/swift-sdk-image-map.ts
|
|
4974
|
-
var
|
|
5150
|
+
var import_node_path45;
|
|
4975
5151
|
var init_swift_sdk_image_map = __esm({
|
|
4976
5152
|
"src/swift-sdk-image-map.ts"() {
|
|
4977
5153
|
"use strict";
|
|
4978
|
-
|
|
5154
|
+
import_node_path45 = require("node:path");
|
|
4979
5155
|
init_swift_guest_linked_spans();
|
|
4980
5156
|
}
|
|
4981
5157
|
});
|
|
@@ -5149,14 +5325,14 @@ var init_swiftRuntimeProductContract = __esm({
|
|
|
5149
5325
|
});
|
|
5150
5326
|
|
|
5151
5327
|
// src/swift-wasm-prune.ts
|
|
5152
|
-
var import_node_child_process22,
|
|
5328
|
+
var import_node_child_process22, import_node_crypto25, import_node_fs45, import_node_path46, v3, PRUNED_SDK_ARCHIVES, OMIT_SDK_LIB_FLAGS, ADDEND_RELOC_MASK2, SWIFTUI_WRAPPER_HOST_PROTOCOLS;
|
|
5153
5329
|
var init_swift_wasm_prune = __esm({
|
|
5154
5330
|
"src/swift-wasm-prune.ts"() {
|
|
5155
5331
|
"use strict";
|
|
5156
5332
|
import_node_child_process22 = require("node:child_process");
|
|
5157
|
-
|
|
5158
|
-
|
|
5159
|
-
|
|
5333
|
+
import_node_crypto25 = require("node:crypto");
|
|
5334
|
+
import_node_fs45 = __toESM(require("node:fs"), 1);
|
|
5335
|
+
import_node_path46 = __toESM(require("node:path"), 1);
|
|
5160
5336
|
v3 = __toESM(require("peachsim/vendor/valibot"), 1);
|
|
5161
5337
|
init_swift_guest_source_plan();
|
|
5162
5338
|
init_swift_link_roots();
|
|
@@ -5201,14 +5377,14 @@ var init_swift_wasm_prune = __esm({
|
|
|
5201
5377
|
});
|
|
5202
5378
|
|
|
5203
5379
|
// src/swift-guest-archive.ts
|
|
5204
|
-
var import_node_child_process23,
|
|
5380
|
+
var import_node_child_process23, import_node_crypto26, import_node_fs46, import_node_path47;
|
|
5205
5381
|
var init_swift_guest_archive = __esm({
|
|
5206
5382
|
"src/swift-guest-archive.ts"() {
|
|
5207
5383
|
"use strict";
|
|
5208
5384
|
import_node_child_process23 = require("node:child_process");
|
|
5209
|
-
|
|
5210
|
-
|
|
5211
|
-
|
|
5385
|
+
import_node_crypto26 = require("node:crypto");
|
|
5386
|
+
import_node_fs46 = require("node:fs");
|
|
5387
|
+
import_node_path47 = __toESM(require("node:path"), 1);
|
|
5212
5388
|
init_swift_wasm_prune();
|
|
5213
5389
|
}
|
|
5214
5390
|
});
|
|
@@ -5241,11 +5417,11 @@ var init_nativeDyldTableContract = __esm({
|
|
|
5241
5417
|
});
|
|
5242
5418
|
|
|
5243
5419
|
// src/swift-guest-image-ledger.ts
|
|
5244
|
-
var
|
|
5420
|
+
var import_node_crypto27, GUEST_LAZY_FUNCTION_BASE;
|
|
5245
5421
|
var init_swift_guest_image_ledger = __esm({
|
|
5246
5422
|
"src/swift-guest-image-ledger.ts"() {
|
|
5247
5423
|
"use strict";
|
|
5248
|
-
|
|
5424
|
+
import_node_crypto27 = require("node:crypto");
|
|
5249
5425
|
init_nativeWasmContract();
|
|
5250
5426
|
init_swift_sdk_image_wasm();
|
|
5251
5427
|
init_swiftSdkLinkContract();
|
|
@@ -5270,11 +5446,11 @@ var init_wasm_narrow_boundary = __esm({
|
|
|
5270
5446
|
});
|
|
5271
5447
|
|
|
5272
5448
|
// src/swift-guest-dyld-table.ts
|
|
5273
|
-
var
|
|
5449
|
+
var import_node_crypto28, import_node_zlib3, PACK_BYTES;
|
|
5274
5450
|
var init_swift_guest_dyld_table = __esm({
|
|
5275
5451
|
"src/swift-guest-dyld-table.ts"() {
|
|
5276
5452
|
"use strict";
|
|
5277
|
-
|
|
5453
|
+
import_node_crypto28 = require("node:crypto");
|
|
5278
5454
|
import_node_zlib3 = require("node:zlib");
|
|
5279
5455
|
init_nativeDyldTableContract();
|
|
5280
5456
|
init_swift_guest_image_ledger();
|
|
@@ -5299,12 +5475,12 @@ var init_swift_guest_link_plan = __esm({
|
|
|
5299
5475
|
});
|
|
5300
5476
|
|
|
5301
5477
|
// src/swift-guest-manifest.ts
|
|
5302
|
-
var
|
|
5478
|
+
var import_node_crypto29, import_node_fs47;
|
|
5303
5479
|
var init_swift_guest_manifest = __esm({
|
|
5304
5480
|
"src/swift-guest-manifest.ts"() {
|
|
5305
5481
|
"use strict";
|
|
5306
|
-
|
|
5307
|
-
|
|
5482
|
+
import_node_crypto29 = require("node:crypto");
|
|
5483
|
+
import_node_fs47 = require("node:fs");
|
|
5308
5484
|
init_swift_guest_link_plan();
|
|
5309
5485
|
init_swift_wasm_prune();
|
|
5310
5486
|
init_swiftTargetContract();
|
|
@@ -5343,11 +5519,11 @@ var init_swift_guest_projection_storage = __esm({
|
|
|
5343
5519
|
});
|
|
5344
5520
|
|
|
5345
5521
|
// src/swift-runtime-products.ts
|
|
5346
|
-
var
|
|
5522
|
+
var import_node_crypto30, v4, packageSchema;
|
|
5347
5523
|
var init_swift_runtime_products = __esm({
|
|
5348
5524
|
"src/swift-runtime-products.ts"() {
|
|
5349
5525
|
"use strict";
|
|
5350
|
-
|
|
5526
|
+
import_node_crypto30 = require("node:crypto");
|
|
5351
5527
|
v4 = __toESM(require("peachsim/vendor/valibot"), 1);
|
|
5352
5528
|
init_is_record();
|
|
5353
5529
|
packageSchema = v4.object({
|
|
@@ -5372,13 +5548,13 @@ var init_swift_runtime_products = __esm({
|
|
|
5372
5548
|
});
|
|
5373
5549
|
|
|
5374
5550
|
// src/swift-guest-runtime-plan.ts
|
|
5375
|
-
var
|
|
5551
|
+
var import_node_crypto31, import_node_fs48, import_node_path48, v5;
|
|
5376
5552
|
var init_swift_guest_runtime_plan = __esm({
|
|
5377
5553
|
"src/swift-guest-runtime-plan.ts"() {
|
|
5378
5554
|
"use strict";
|
|
5379
|
-
|
|
5380
|
-
|
|
5381
|
-
|
|
5555
|
+
import_node_crypto31 = require("node:crypto");
|
|
5556
|
+
import_node_fs48 = require("node:fs");
|
|
5557
|
+
import_node_path48 = __toESM(require("node:path"), 1);
|
|
5382
5558
|
v5 = __toESM(require("peachsim/vendor/valibot"), 1);
|
|
5383
5559
|
init_swift_guest_source_plan();
|
|
5384
5560
|
init_swift_runtime_products();
|
|
@@ -5439,13 +5615,13 @@ var init_wasm_features = __esm({
|
|
|
5439
5615
|
});
|
|
5440
5616
|
|
|
5441
5617
|
// src/wasm-optimize.ts
|
|
5442
|
-
var import_node_child_process24,
|
|
5618
|
+
var import_node_child_process24, import_node_fs49, import_node_path49, import_node_util5, FEATURES, KEEP_WASM_NAMES, LOWERING, BINARYEN_VERSION, runBinaryen, WASM_LOWER_IDENTITY, BINARYEN_RELEASES;
|
|
5443
5619
|
var init_wasm_optimize = __esm({
|
|
5444
5620
|
"src/wasm-optimize.ts"() {
|
|
5445
5621
|
"use strict";
|
|
5446
5622
|
import_node_child_process24 = require("node:child_process");
|
|
5447
|
-
|
|
5448
|
-
|
|
5623
|
+
import_node_fs49 = require("node:fs");
|
|
5624
|
+
import_node_path49 = require("node:path");
|
|
5449
5625
|
import_node_util5 = require("node:util");
|
|
5450
5626
|
init_src();
|
|
5451
5627
|
init_nativeWasmContract();
|
|
@@ -5465,13 +5641,13 @@ var init_wasm_optimize = __esm({
|
|
|
5465
5641
|
});
|
|
5466
5642
|
|
|
5467
5643
|
// src/swift-guest-link.ts
|
|
5468
|
-
var import_node_child_process25,
|
|
5644
|
+
var import_node_child_process25, import_node_fs50, import_node_path50, import_node_util6, execFileAsync, WASM_MAGIC, BITCODE_MAGIC;
|
|
5469
5645
|
var init_swift_guest_link = __esm({
|
|
5470
5646
|
"src/swift-guest-link.ts"() {
|
|
5471
5647
|
"use strict";
|
|
5472
5648
|
import_node_child_process25 = require("node:child_process");
|
|
5473
|
-
|
|
5474
|
-
|
|
5649
|
+
import_node_fs50 = __toESM(require("node:fs"), 1);
|
|
5650
|
+
import_node_path50 = __toESM(require("node:path"), 1);
|
|
5475
5651
|
import_node_util6 = require("node:util");
|
|
5476
5652
|
init_mapLimit();
|
|
5477
5653
|
init_swift_guest_archive();
|
|
@@ -5494,14 +5670,14 @@ var init_swift_guest_link = __esm({
|
|
|
5494
5670
|
});
|
|
5495
5671
|
|
|
5496
5672
|
// src/swift-guest-source-inputs.ts
|
|
5497
|
-
var import_node_child_process26,
|
|
5673
|
+
var import_node_child_process26, import_node_crypto32, import_node_fs51, import_node_path51;
|
|
5498
5674
|
var init_swift_guest_source_inputs = __esm({
|
|
5499
5675
|
"src/swift-guest-source-inputs.ts"() {
|
|
5500
5676
|
"use strict";
|
|
5501
5677
|
import_node_child_process26 = require("node:child_process");
|
|
5502
|
-
|
|
5503
|
-
|
|
5504
|
-
|
|
5678
|
+
import_node_crypto32 = require("node:crypto");
|
|
5679
|
+
import_node_fs51 = require("node:fs");
|
|
5680
|
+
import_node_path51 = __toESM(require("node:path"), 1);
|
|
5505
5681
|
init_forked_script_contract();
|
|
5506
5682
|
init_swift_guest_source_plan();
|
|
5507
5683
|
init_swift_runtime_products();
|
|
@@ -5510,24 +5686,24 @@ var init_swift_guest_source_inputs = __esm({
|
|
|
5510
5686
|
});
|
|
5511
5687
|
|
|
5512
5688
|
// src/swift-project-user.ts
|
|
5513
|
-
var import_node_child_process27,
|
|
5689
|
+
var import_node_child_process27, import_node_fs52, import_node_path52;
|
|
5514
5690
|
var init_swift_project_user = __esm({
|
|
5515
5691
|
"src/swift-project-user.ts"() {
|
|
5516
5692
|
"use strict";
|
|
5517
5693
|
import_node_child_process27 = require("node:child_process");
|
|
5518
|
-
|
|
5519
|
-
|
|
5694
|
+
import_node_fs52 = require("node:fs");
|
|
5695
|
+
import_node_path52 = __toESM(require("node:path"), 1);
|
|
5520
5696
|
}
|
|
5521
5697
|
});
|
|
5522
5698
|
|
|
5523
5699
|
// src/swift-sdk-guest-lookups.ts
|
|
5524
|
-
var
|
|
5700
|
+
var import_node_crypto33, import_node_fs53, import_node_path53;
|
|
5525
5701
|
var init_swift_sdk_guest_lookups = __esm({
|
|
5526
5702
|
"src/swift-sdk-guest-lookups.ts"() {
|
|
5527
5703
|
"use strict";
|
|
5528
|
-
|
|
5529
|
-
|
|
5530
|
-
|
|
5704
|
+
import_node_crypto33 = require("node:crypto");
|
|
5705
|
+
import_node_fs53 = require("node:fs");
|
|
5706
|
+
import_node_path53 = __toESM(require("node:path"), 1);
|
|
5531
5707
|
init_swift_guest_image_ledger();
|
|
5532
5708
|
init_swift_guest_runtime_plan();
|
|
5533
5709
|
init_swift_guest_source_plan();
|
|
@@ -5537,13 +5713,13 @@ var init_swift_sdk_guest_lookups = __esm({
|
|
|
5537
5713
|
});
|
|
5538
5714
|
|
|
5539
5715
|
// src/swift-guest-compile.ts
|
|
5540
|
-
var import_node_child_process28,
|
|
5716
|
+
var import_node_child_process28, import_node_fs54, import_node_path54;
|
|
5541
5717
|
var init_swift_guest_compile = __esm({
|
|
5542
5718
|
"src/swift-guest-compile.ts"() {
|
|
5543
5719
|
"use strict";
|
|
5544
5720
|
import_node_child_process28 = require("node:child_process");
|
|
5545
|
-
|
|
5546
|
-
|
|
5721
|
+
import_node_fs54 = require("node:fs");
|
|
5722
|
+
import_node_path54 = __toESM(require("node:path"), 1);
|
|
5547
5723
|
init_swift_guest_archive();
|
|
5548
5724
|
init_swift_guest_dyld_functions();
|
|
5549
5725
|
init_swift_guest_dyld_table();
|
|
@@ -5564,14 +5740,14 @@ var init_swift_guest_compile = __esm({
|
|
|
5564
5740
|
});
|
|
5565
5741
|
|
|
5566
5742
|
// src/swift-header-compiler.ts
|
|
5567
|
-
var
|
|
5743
|
+
var import_node_crypto34, import_node_fs55, import_node_http, import_node_path55;
|
|
5568
5744
|
var init_swift_header_compiler = __esm({
|
|
5569
5745
|
"src/swift-header-compiler.ts"() {
|
|
5570
5746
|
"use strict";
|
|
5571
|
-
|
|
5572
|
-
|
|
5747
|
+
import_node_crypto34 = require("node:crypto");
|
|
5748
|
+
import_node_fs55 = require("node:fs");
|
|
5573
5749
|
import_node_http = require("node:http");
|
|
5574
|
-
|
|
5750
|
+
import_node_path55 = __toESM(require("node:path"), 1);
|
|
5575
5751
|
init_forked_script_contract();
|
|
5576
5752
|
init_is_record();
|
|
5577
5753
|
init_write_build_file();
|
|
@@ -5579,11 +5755,11 @@ var init_swift_header_compiler = __esm({
|
|
|
5579
5755
|
});
|
|
5580
5756
|
|
|
5581
5757
|
// src/swift-header-dependencies.ts
|
|
5582
|
-
var
|
|
5758
|
+
var import_node_path56;
|
|
5583
5759
|
var init_swift_header_dependencies = __esm({
|
|
5584
5760
|
"src/swift-header-dependencies.ts"() {
|
|
5585
5761
|
"use strict";
|
|
5586
|
-
|
|
5762
|
+
import_node_path56 = __toESM(require("node:path"), 1);
|
|
5587
5763
|
init_swift_package();
|
|
5588
5764
|
init_swiftContract();
|
|
5589
5765
|
}
|
|
@@ -5609,16 +5785,16 @@ var init_icuData = __esm({
|
|
|
5609
5785
|
});
|
|
5610
5786
|
|
|
5611
5787
|
// src/swift-icu.ts
|
|
5612
|
-
var import_node_child_process29,
|
|
5788
|
+
var import_node_child_process29, import_node_crypto35, import_node_fs56, import_promises8, import_node_os10, import_node_path57, import_node_util7, import_node_zlib4, run3, deflate, compressBrotli, inflateGzip;
|
|
5613
5789
|
var init_swift_icu = __esm({
|
|
5614
5790
|
"src/swift-icu.ts"() {
|
|
5615
5791
|
"use strict";
|
|
5616
5792
|
import_node_child_process29 = require("node:child_process");
|
|
5617
|
-
|
|
5618
|
-
|
|
5793
|
+
import_node_crypto35 = require("node:crypto");
|
|
5794
|
+
import_node_fs56 = require("node:fs");
|
|
5619
5795
|
import_promises8 = require("node:fs/promises");
|
|
5620
5796
|
import_node_os10 = __toESM(require("node:os"), 1);
|
|
5621
|
-
|
|
5797
|
+
import_node_path57 = __toESM(require("node:path"), 1);
|
|
5622
5798
|
import_node_util7 = require("node:util");
|
|
5623
5799
|
import_node_zlib4 = require("node:zlib");
|
|
5624
5800
|
init_icuData();
|
|
@@ -5660,13 +5836,13 @@ var init_standalone = __esm({
|
|
|
5660
5836
|
});
|
|
5661
5837
|
|
|
5662
5838
|
// cli/self-invocation.ts
|
|
5663
|
-
var import_node_child_process30,
|
|
5839
|
+
var import_node_child_process30, import_node_fs57, import_node_path58, import_node_url4;
|
|
5664
5840
|
var init_self_invocation = __esm({
|
|
5665
5841
|
"cli/self-invocation.ts"() {
|
|
5666
5842
|
"use strict";
|
|
5667
5843
|
import_node_child_process30 = require("node:child_process");
|
|
5668
|
-
|
|
5669
|
-
|
|
5844
|
+
import_node_fs57 = require("node:fs");
|
|
5845
|
+
import_node_path58 = require("node:path");
|
|
5670
5846
|
import_node_url4 = require("node:url");
|
|
5671
5847
|
init_public_brand();
|
|
5672
5848
|
init_standalone();
|
|
@@ -5681,14 +5857,14 @@ var init_swift_objc_prebuilt_catalog = __esm({
|
|
|
5681
5857
|
});
|
|
5682
5858
|
|
|
5683
5859
|
// src/swift-objc-prebuilt.ts
|
|
5684
|
-
var import_node_child_process31,
|
|
5860
|
+
var import_node_child_process31, import_node_crypto36, import_node_fs58, import_node_path59;
|
|
5685
5861
|
var init_swift_objc_prebuilt = __esm({
|
|
5686
5862
|
"src/swift-objc-prebuilt.ts"() {
|
|
5687
5863
|
"use strict";
|
|
5688
5864
|
import_node_child_process31 = require("node:child_process");
|
|
5689
|
-
|
|
5690
|
-
|
|
5691
|
-
|
|
5865
|
+
import_node_crypto36 = require("node:crypto");
|
|
5866
|
+
import_node_fs58 = __toESM(require("node:fs"), 1);
|
|
5867
|
+
import_node_path59 = __toESM(require("node:path"), 1);
|
|
5692
5868
|
init_internal_child_contract();
|
|
5693
5869
|
init_self_invocation();
|
|
5694
5870
|
init_home_paths();
|
|
@@ -5698,27 +5874,27 @@ var init_swift_objc_prebuilt = __esm({
|
|
|
5698
5874
|
});
|
|
5699
5875
|
|
|
5700
5876
|
// src/swift-reproducible.ts
|
|
5701
|
-
var
|
|
5877
|
+
var import_node_fs59, import_node_os11, import_node_path60;
|
|
5702
5878
|
var init_swift_reproducible = __esm({
|
|
5703
5879
|
"src/swift-reproducible.ts"() {
|
|
5704
5880
|
"use strict";
|
|
5705
|
-
|
|
5881
|
+
import_node_fs59 = require("node:fs");
|
|
5706
5882
|
import_node_os11 = __toESM(require("node:os"), 1);
|
|
5707
|
-
|
|
5883
|
+
import_node_path60 = __toESM(require("node:path"), 1);
|
|
5708
5884
|
}
|
|
5709
5885
|
});
|
|
5710
5886
|
|
|
5711
5887
|
// src/swift-root-lock.ts
|
|
5712
|
-
var import_node_async_hooks2, import_node_child_process32,
|
|
5888
|
+
var import_node_async_hooks2, import_node_child_process32, import_node_crypto37, import_node_fs60, import_node_os12, import_node_path61, swiftRootReadHolds;
|
|
5713
5889
|
var init_swift_root_lock = __esm({
|
|
5714
5890
|
"src/swift-root-lock.ts"() {
|
|
5715
5891
|
"use strict";
|
|
5716
5892
|
import_node_async_hooks2 = require("node:async_hooks");
|
|
5717
|
-
import_node_child_process32 = require("node:child_process");
|
|
5718
|
-
|
|
5719
|
-
|
|
5893
|
+
import_node_child_process32 = require("node:child_process");
|
|
5894
|
+
import_node_crypto37 = require("node:crypto");
|
|
5895
|
+
import_node_fs60 = require("node:fs");
|
|
5720
5896
|
import_node_os12 = require("node:os");
|
|
5721
|
-
|
|
5897
|
+
import_node_path61 = __toESM(require("node:path"), 1);
|
|
5722
5898
|
init_process_group();
|
|
5723
5899
|
init_process_table();
|
|
5724
5900
|
swiftRootReadHolds = new import_node_async_hooks2.AsyncLocalStorage();
|
|
@@ -5726,15 +5902,15 @@ var init_swift_root_lock = __esm({
|
|
|
5726
5902
|
});
|
|
5727
5903
|
|
|
5728
5904
|
// src/swift-sdk-surface.ts
|
|
5729
|
-
var import_node_child_process33,
|
|
5905
|
+
var import_node_child_process33, import_node_crypto38, import_node_fs61, import_node_os13, import_node_path62, NON_IOS_MODULES, CODE_MASK_CACHE_CHARS, emptyMacroEnvironment, wasmMacroEnvironment;
|
|
5730
5906
|
var init_swift_sdk_surface = __esm({
|
|
5731
5907
|
"src/swift-sdk-surface.ts"() {
|
|
5732
5908
|
"use strict";
|
|
5733
5909
|
import_node_child_process33 = require("node:child_process");
|
|
5734
|
-
|
|
5735
|
-
|
|
5910
|
+
import_node_crypto38 = require("node:crypto");
|
|
5911
|
+
import_node_fs61 = require("node:fs");
|
|
5736
5912
|
import_node_os13 = __toESM(require("node:os"), 1);
|
|
5737
|
-
|
|
5913
|
+
import_node_path62 = __toESM(require("node:path"), 1);
|
|
5738
5914
|
init_admitted_mac_build();
|
|
5739
5915
|
init_home_paths();
|
|
5740
5916
|
init_swift_distribution_contract();
|
|
@@ -5769,12 +5945,12 @@ var init_swift_source_closure = __esm({
|
|
|
5769
5945
|
});
|
|
5770
5946
|
|
|
5771
5947
|
// src/swift-uniform-type-constants.ts
|
|
5772
|
-
var import_node_child_process34,
|
|
5948
|
+
var import_node_child_process34, import_node_path63;
|
|
5773
5949
|
var init_swift_uniform_type_constants = __esm({
|
|
5774
5950
|
"src/swift-uniform-type-constants.ts"() {
|
|
5775
5951
|
"use strict";
|
|
5776
5952
|
import_node_child_process34 = require("node:child_process");
|
|
5777
|
-
|
|
5953
|
+
import_node_path63 = __toESM(require("node:path"), 1);
|
|
5778
5954
|
init_swift_objc_runtime();
|
|
5779
5955
|
init_swift_objc_standin();
|
|
5780
5956
|
init_swiftTargetContract();
|
|
@@ -5782,27 +5958,27 @@ var init_swift_uniform_type_constants = __esm({
|
|
|
5782
5958
|
});
|
|
5783
5959
|
|
|
5784
5960
|
// src/xcode-header-search.ts
|
|
5785
|
-
var
|
|
5961
|
+
var import_node_fs62, import_node_path64;
|
|
5786
5962
|
var init_xcode_header_search = __esm({
|
|
5787
5963
|
"src/xcode-header-search.ts"() {
|
|
5788
5964
|
"use strict";
|
|
5789
|
-
|
|
5790
|
-
|
|
5965
|
+
import_node_fs62 = __toESM(require("node:fs"), 1);
|
|
5966
|
+
import_node_path64 = __toESM(require("node:path"), 1);
|
|
5791
5967
|
init_case_insensitive_header_overlay();
|
|
5792
5968
|
init_write_build_file();
|
|
5793
5969
|
}
|
|
5794
5970
|
});
|
|
5795
5971
|
|
|
5796
5972
|
// src/swift-compile.ts
|
|
5797
|
-
var import_node_child_process35,
|
|
5973
|
+
var import_node_child_process35, import_node_crypto39, import_node_fs63, import_node_os14, import_node_path65, v6, OPTIONAL_FRAMEWORK_DEPENDENCIES, OPTIONAL_FRAMEWORKS, compilerSourceDigest, NOT_ON_IOS, C_WORDS, CORE_FOUNDATION_HANDLE_IMPORTS, ROOT_LOCKS, host, rootLocks, SHARED_ARTIFACT_BUDGET_BYTES, frameworkProductsReceiptSchema;
|
|
5798
5974
|
var init_swift_compile = __esm({
|
|
5799
5975
|
"src/swift-compile.ts"() {
|
|
5800
5976
|
"use strict";
|
|
5801
5977
|
import_node_child_process35 = require("node:child_process");
|
|
5802
|
-
|
|
5803
|
-
|
|
5978
|
+
import_node_crypto39 = require("node:crypto");
|
|
5979
|
+
import_node_fs63 = require("node:fs");
|
|
5804
5980
|
import_node_os14 = __toESM(require("node:os"), 1);
|
|
5805
|
-
|
|
5981
|
+
import_node_path65 = __toESM(require("node:path"), 1);
|
|
5806
5982
|
v6 = __toESM(require("peachsim/vendor/valibot"), 1);
|
|
5807
5983
|
init_admitted_mac_build();
|
|
5808
5984
|
init_is_record();
|
|
@@ -5909,7 +6085,7 @@ var init_swift_compile = __esm({
|
|
|
5909
6085
|
ExpoModulesCore: []
|
|
5910
6086
|
};
|
|
5911
6087
|
OPTIONAL_FRAMEWORKS = new Set(Object.keys(OPTIONAL_FRAMEWORK_DEPENDENCIES));
|
|
5912
|
-
compilerSourceDigest = true ? "
|
|
6088
|
+
compilerSourceDigest = true ? "5e91a5eb18aa12d9b609346d0326db90da71aaa05b04a1eb454e60c0e3b5ebd2" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
5913
6089
|
NOT_ON_IOS = new RegExp(
|
|
5914
6090
|
`\\b(?:os\\(\\s*WASI\\s*\\)|canImport\\(\\s*(?:${[...NON_IOS_MODULES].join("|")})\\s*\\))`,
|
|
5915
6091
|
"g"
|
|
@@ -5965,13 +6141,13 @@ var init_cli_release_origin = __esm({
|
|
|
5965
6141
|
});
|
|
5966
6142
|
|
|
5967
6143
|
// cli/drivers/linux-browser-libs.ts
|
|
5968
|
-
var import_node_child_process36,
|
|
6144
|
+
var import_node_child_process36, import_node_fs64, import_node_path66;
|
|
5969
6145
|
var init_linux_browser_libs = __esm({
|
|
5970
6146
|
"cli/drivers/linux-browser-libs.ts"() {
|
|
5971
6147
|
"use strict";
|
|
5972
6148
|
import_node_child_process36 = require("node:child_process");
|
|
5973
|
-
|
|
5974
|
-
|
|
6149
|
+
import_node_fs64 = require("node:fs");
|
|
6150
|
+
import_node_path66 = require("node:path");
|
|
5975
6151
|
init_src();
|
|
5976
6152
|
init_home_paths();
|
|
5977
6153
|
init_is_record();
|
|
@@ -5979,180 +6155,6 @@ var init_linux_browser_libs = __esm({
|
|
|
5979
6155
|
}
|
|
5980
6156
|
});
|
|
5981
6157
|
|
|
5982
|
-
// src/nitroAdapterContract.ts
|
|
5983
|
-
function text(family, value, what) {
|
|
5984
|
-
if (typeof value !== "string" || !value)
|
|
5985
|
-
throw new Error(`invalid ${ADAPTER_FAMILIES[family].label} ${what}`);
|
|
5986
|
-
return value;
|
|
5987
|
-
}
|
|
5988
|
-
function digestField(family, value, what) {
|
|
5989
|
-
if (!hex64(value)) throw new Error(`invalid ${ADAPTER_FAMILIES[family].label} ${what}`);
|
|
5990
|
-
return value;
|
|
5991
|
-
}
|
|
5992
|
-
function headerSet(family, value) {
|
|
5993
|
-
const keys = ADAPTER_FAMILIES[family].headers;
|
|
5994
|
-
if (!isRecord(value) || Object.keys(value).length !== keys.length)
|
|
5995
|
-
throw new Error(`invalid ${ADAPTER_FAMILIES[family].label} headers`);
|
|
5996
|
-
return Object.fromEntries(
|
|
5997
|
-
keys.map((key) => [key, digestField(family, value[key], `${key} header digest`)])
|
|
5998
|
-
);
|
|
5999
|
-
}
|
|
6000
|
-
function identity(family, value) {
|
|
6001
|
-
const invalid = () => new Error(`invalid ${ADAPTER_FAMILIES[family].label} manifest`);
|
|
6002
|
-
if (!isRecord(value) || value.schema !== 1) throw invalid();
|
|
6003
|
-
const { adapter, sdk, framework } = value;
|
|
6004
|
-
if (!isRecord(adapter) || !isRecord(sdk) || !isRecord(framework)) throw invalid();
|
|
6005
|
-
return {
|
|
6006
|
-
schema: 1,
|
|
6007
|
-
platform: text(family, value.platform, "platform"),
|
|
6008
|
-
target: text(family, value.target, "target"),
|
|
6009
|
-
recipe: digestField(family, value.recipe, "recipe"),
|
|
6010
|
-
adapter: { sha256: digestField(family, adapter.sha256, "adapter digest") },
|
|
6011
|
-
headers: headerSet(family, value.headers),
|
|
6012
|
-
compiler: text(family, value.compiler, "compiler"),
|
|
6013
|
-
sdk: {
|
|
6014
|
-
id: text(family, sdk.id, "sdk id"),
|
|
6015
|
-
checksum: digestField(family, sdk.checksum, "sdk checksum")
|
|
6016
|
-
},
|
|
6017
|
-
framework: {
|
|
6018
|
-
distribution: text(family, framework.distribution, "distribution"),
|
|
6019
|
-
wireAbi: digestField(family, framework.wireAbi, "wire abi")
|
|
6020
|
-
}
|
|
6021
|
-
};
|
|
6022
|
-
}
|
|
6023
|
-
function parseAdapterLock(family, value) {
|
|
6024
|
-
const label = ADAPTER_FAMILIES[family].label;
|
|
6025
|
-
if (!isRecord(value) || value.schema !== 2 || !Array.isArray(value.archives))
|
|
6026
|
-
throw new Error(`invalid ${label} lock`);
|
|
6027
|
-
const { headers: _headers, ...shared } = identity(family, {
|
|
6028
|
-
...value,
|
|
6029
|
-
schema: 1,
|
|
6030
|
-
headers: Object.fromEntries(
|
|
6031
|
-
ADAPTER_FAMILIES[family].headers.map((key) => [key, "0".repeat(64)])
|
|
6032
|
-
)
|
|
6033
|
-
});
|
|
6034
|
-
const archives = value.archives.map((entry) => {
|
|
6035
|
-
if (!isRecord(entry) || typeof entry.size !== "number")
|
|
6036
|
-
throw new Error(`invalid ${label} lock archive`);
|
|
6037
|
-
return {
|
|
6038
|
-
headers: headerSet(family, entry.headers),
|
|
6039
|
-
sha256: digestField(family, entry.sha256, "lock archive digest"),
|
|
6040
|
-
size: entry.size
|
|
6041
|
-
};
|
|
6042
|
-
});
|
|
6043
|
-
archives.forEach((entry, index) => {
|
|
6044
|
-
if (archives.findIndex((other) => sameHeaders(other.headers, entry.headers)) !== index)
|
|
6045
|
-
throw new Error(`${label} lock repeats a header set`);
|
|
6046
|
-
});
|
|
6047
|
-
return { ...shared, schema: 2, archives };
|
|
6048
|
-
}
|
|
6049
|
-
var import_node_crypto39, import_node_fs64, import_node_path66, ADAPTER_FAMILIES, hex64, sameHeaders;
|
|
6050
|
-
var init_nitroAdapterContract = __esm({
|
|
6051
|
-
"src/nitroAdapterContract.ts"() {
|
|
6052
|
-
"use strict";
|
|
6053
|
-
import_node_crypto39 = require("node:crypto");
|
|
6054
|
-
import_node_fs64 = require("node:fs");
|
|
6055
|
-
import_node_path66 = __toESM(require("node:path"), 1);
|
|
6056
|
-
init_is_record();
|
|
6057
|
-
ADAPTER_FAMILIES = {
|
|
6058
|
-
nitro: {
|
|
6059
|
-
label: "Nitro adapter",
|
|
6060
|
-
archive: "libPeachNitroAdapter.a",
|
|
6061
|
-
key: "nitro-adapter",
|
|
6062
|
-
headers: ["reactNativeJsi", "nitroModules"]
|
|
6063
|
-
},
|
|
6064
|
-
turbo: {
|
|
6065
|
-
label: "TurboModule runtime",
|
|
6066
|
-
archive: "libPeachTurboRuntime.a",
|
|
6067
|
-
key: "turbo-runtime",
|
|
6068
|
-
headers: ["reactNativeJsi"]
|
|
6069
|
-
}
|
|
6070
|
-
};
|
|
6071
|
-
hex64 = (value) => typeof value === "string" && /^[a-f0-9]{64}$/.test(value);
|
|
6072
|
-
sameHeaders = (a, b) => JSON.stringify(a) === JSON.stringify(b);
|
|
6073
|
-
}
|
|
6074
|
-
});
|
|
6075
|
-
|
|
6076
|
-
// src/swiftNativePinContract.ts
|
|
6077
|
-
function swiftNativePinSchema(distribution) {
|
|
6078
|
-
if (distribution.wasmSdkUrl.endsWith(".tar.zst")) return SWIFT_NATIVE_PIN_SCHEMA;
|
|
6079
|
-
return distribution.archive === "tar.zst" ? ZSTD_DISTRIBUTION_PIN_SCHEMA : GZIP_PIN_SCHEMA;
|
|
6080
|
-
}
|
|
6081
|
-
function parseSwiftNativePin(value) {
|
|
6082
|
-
if (!isRecord(value)) throw new Error("invalid Swift native pin");
|
|
6083
|
-
const { schema: schema4, compiler, adapters } = value;
|
|
6084
|
-
if (schema4 !== GZIP_PIN_SCHEMA && schema4 !== ZSTD_DISTRIBUTION_PIN_SCHEMA && schema4 !== SWIFT_NATIVE_PIN_SCHEMA)
|
|
6085
|
-
throw new Error(
|
|
6086
|
-
typeof schema4 === "number" && schema4 > SWIFT_NATIVE_PIN_SCHEMA ? "the active Peach runtime pins Swift for a newer peach CLI; update peach" : "the active Peach runtime pins Swift for an older peach CLI; run `peach runtime install`"
|
|
6087
|
-
);
|
|
6088
|
-
const distribution = parseSwiftDistributionLock(value.distribution);
|
|
6089
|
-
if (swiftNativePinSchema(distribution) !== schema4)
|
|
6090
|
-
throw new Error("the Swift archive format does not match the native pin schema");
|
|
6091
|
-
if (!isRecord(compiler) || typeof compiler.identity !== "string" || compiler.archive !== "tar.gz" && compiler.archive !== "tar.zst" || !isRecord(compiler.hosts) || !isRecord(adapters))
|
|
6092
|
-
throw new Error("invalid Swift native pin");
|
|
6093
|
-
const hosts = {};
|
|
6094
|
-
for (const [host2, archive] of Object.entries(compiler.hosts)) {
|
|
6095
|
-
if (!isRecord(archive) || typeof archive.checksum !== "string" || !DIGEST.test(archive.checksum) || typeof archive.manifest !== "string" || !DIGEST.test(archive.manifest))
|
|
6096
|
-
throw new Error(`invalid Swift native pin compiler entry for ${host2}`);
|
|
6097
|
-
hosts[host2] = { checksum: archive.checksum, manifest: archive.manifest };
|
|
6098
|
-
}
|
|
6099
|
-
return {
|
|
6100
|
-
schema: schema4,
|
|
6101
|
-
distribution,
|
|
6102
|
-
compiler: { identity: compiler.identity, archive: compiler.archive, hosts },
|
|
6103
|
-
adapters: {
|
|
6104
|
-
nitro: parseRuntimeAdapterLock("nitro", adapters.nitro),
|
|
6105
|
-
turbo: parseRuntimeAdapterLock("turbo", adapters.turbo)
|
|
6106
|
-
}
|
|
6107
|
-
};
|
|
6108
|
-
}
|
|
6109
|
-
function parseRuntimeAdapterLock(family, value) {
|
|
6110
|
-
const lock = parseAdapterLock(family, value);
|
|
6111
|
-
if (lock.target !== SWIFT_WASM_TRIPLE)
|
|
6112
|
-
throw new Error(
|
|
6113
|
-
`the active Peach runtime targets ${lock.target}, but this CLI compiles for ${SWIFT_WASM_TRIPLE}; install a matching Peach runtime and CLI`
|
|
6114
|
-
);
|
|
6115
|
-
return lock;
|
|
6116
|
-
}
|
|
6117
|
-
var SWIFT_NATIVE_PIN_PATH, GZIP_PIN_SCHEMA, ZSTD_DISTRIBUTION_PIN_SCHEMA, SWIFT_NATIVE_PIN_SCHEMA, DIGEST;
|
|
6118
|
-
var init_swiftNativePinContract = __esm({
|
|
6119
|
-
"src/swiftNativePinContract.ts"() {
|
|
6120
|
-
"use strict";
|
|
6121
|
-
init_is_record();
|
|
6122
|
-
init_nitroAdapterContract();
|
|
6123
|
-
init_swift_distribution_contract();
|
|
6124
|
-
init_swiftTargetContract();
|
|
6125
|
-
SWIFT_NATIVE_PIN_PATH = "node/swift-native.json";
|
|
6126
|
-
GZIP_PIN_SCHEMA = 3;
|
|
6127
|
-
ZSTD_DISTRIBUTION_PIN_SCHEMA = 4;
|
|
6128
|
-
SWIFT_NATIVE_PIN_SCHEMA = 5;
|
|
6129
|
-
DIGEST = /^[a-f0-9]{64}$/;
|
|
6130
|
-
}
|
|
6131
|
-
});
|
|
6132
|
-
|
|
6133
|
-
// src/swift-native-pin.ts
|
|
6134
|
-
function swiftNativePin() {
|
|
6135
|
-
if (pin) return pin;
|
|
6136
|
-
if (true) {
|
|
6137
|
-
pin = parseSwiftNativePin(readPeachRuntimeJson(SWIFT_NATIVE_PIN_PATH));
|
|
6138
|
-
registerSwiftHostCompiler(pin.distribution.release, pin.compiler);
|
|
6139
|
-
} else {
|
|
6140
|
-
pin = repoSwiftNativePin();
|
|
6141
|
-
}
|
|
6142
|
-
return pin;
|
|
6143
|
-
}
|
|
6144
|
-
var pin;
|
|
6145
|
-
var init_swift_native_pin = __esm({
|
|
6146
|
-
"src/swift-native-pin.ts"() {
|
|
6147
|
-
"use strict";
|
|
6148
|
-
init_answeredNativePackages();
|
|
6149
|
-
init_nitroAdapterContract();
|
|
6150
|
-
init_swift_distribution_contract();
|
|
6151
|
-
init_swift_toolchain();
|
|
6152
|
-
init_swiftNativePinContract();
|
|
6153
|
-
}
|
|
6154
|
-
});
|
|
6155
|
-
|
|
6156
6158
|
// src/swift-package-manifest.ts
|
|
6157
6159
|
var import_node_child_process37, import_node_crypto40, import_node_fs65, import_node_os15, import_node_path67, import_node_util8, cacheDir2, execFileAsync2;
|
|
6158
6160
|
var init_swift_package_manifest = __esm({
|
|
@@ -10329,6 +10331,8 @@ module Pod
|
|
|
10329
10331
|
PathSource.new(name, params, podfile_path)
|
|
10330
10332
|
elsif params.key?(:git)
|
|
10331
10333
|
GitSource.new(name, params, podfile_path)
|
|
10334
|
+
elsif params.key?(:http)
|
|
10335
|
+
HttpSource.new(name, params, podfile_path)
|
|
10332
10336
|
else
|
|
10333
10337
|
raise Informative, "Peach does not fetch the external source of '#{name}': #{params}"
|
|
10334
10338
|
end
|
|
@@ -10381,7 +10385,7 @@ module Pod
|
|
|
10381
10385
|
|
|
10382
10386
|
class PodspecSource < AbstractExternalSource
|
|
10383
10387
|
def fetch(sandbox)
|
|
10384
|
-
podspec_path = Pathname(podspec_uri)
|
|
10388
|
+
podspec_path = Pathname(Resolver::Trunk.remote_podspec(name) || podspec_uri)
|
|
10385
10389
|
raise Informative, "Peach does not download the podspec of '#{name}' from #{podspec_uri}" unless podspec_path.exist?
|
|
10386
10390
|
store_podspec(sandbox, podspec_path, podspec_path.extname == '.json')
|
|
10387
10391
|
end
|
|
@@ -10402,6 +10406,15 @@ module Pod
|
|
|
10402
10406
|
sandbox.checkout_sources[name] = source
|
|
10403
10407
|
end
|
|
10404
10408
|
end
|
|
10409
|
+
|
|
10410
|
+
class HttpSource < AbstractExternalSource
|
|
10411
|
+
def fetch(sandbox)
|
|
10412
|
+
podspec = Resolver::Trunk.http_checkout(name)
|
|
10413
|
+
raise Informative, "No HTTP archive prepared for '#{name}'" unless podspec
|
|
10414
|
+
podspec_path = Pathname(podspec)
|
|
10415
|
+
store_podspec(sandbox, podspec_path, podspec_path.extname == '.json')
|
|
10416
|
+
end
|
|
10417
|
+
end
|
|
10405
10418
|
end
|
|
10406
10419
|
|
|
10407
10420
|
class Resolver
|
|
@@ -10710,6 +10723,7 @@ module Pod
|
|
|
10710
10723
|
end
|
|
10711
10724
|
def root_spec; @root_spec ||= specs.first.root; end
|
|
10712
10725
|
def pod_name; root_spec.name; end
|
|
10726
|
+
def version; root_spec.version.version; end
|
|
10713
10727
|
def product_module_name; root_spec.module_name; end
|
|
10714
10728
|
def podfile; target_definitions.first.podfile; end
|
|
10715
10729
|
def spec_consumers; specs.map { |spec| spec.consumer(platform) }; end
|
|
@@ -11218,17 +11232,43 @@ var init_pods_integration = __esm({
|
|
|
11218
11232
|
}
|
|
11219
11233
|
});
|
|
11220
11234
|
|
|
11235
|
+
// src/pods-scripts.ts
|
|
11236
|
+
var init_pods_scripts = __esm({
|
|
11237
|
+
"src/pods-scripts.ts"() {
|
|
11238
|
+
"use strict";
|
|
11239
|
+
}
|
|
11240
|
+
});
|
|
11241
|
+
|
|
11242
|
+
// src/pods-project.ts
|
|
11243
|
+
var import_node_fs75, import_node_path78, HEADERS, SOURCES;
|
|
11244
|
+
var init_pods_project = __esm({
|
|
11245
|
+
"src/pods-project.ts"() {
|
|
11246
|
+
"use strict";
|
|
11247
|
+
import_node_fs75 = __toESM(require("node:fs"), 1);
|
|
11248
|
+
import_node_path78 = __toESM(require("node:path"), 1);
|
|
11249
|
+
init_openstep_plist();
|
|
11250
|
+
init_pbx_table();
|
|
11251
|
+
init_plist();
|
|
11252
|
+
init_pods_files();
|
|
11253
|
+
init_pods_scripts();
|
|
11254
|
+
init_pods_targets();
|
|
11255
|
+
HEADERS = new Set(HEADER_EXTENSIONS2);
|
|
11256
|
+
SOURCES = new Set(SOURCE_FILE_EXTENSIONS);
|
|
11257
|
+
}
|
|
11258
|
+
});
|
|
11259
|
+
|
|
11221
11260
|
// src/pods-post-install.ts
|
|
11222
|
-
var
|
|
11261
|
+
var import_node_fs76, import_node_path79, XCODEPROJ, INSTALLER;
|
|
11223
11262
|
var init_pods_post_install = __esm({
|
|
11224
11263
|
"src/pods-post-install.ts"() {
|
|
11225
11264
|
"use strict";
|
|
11226
|
-
|
|
11227
|
-
|
|
11265
|
+
import_node_fs76 = __toESM(require("node:fs"), 1);
|
|
11266
|
+
import_node_path79 = __toESM(require("node:path"), 1);
|
|
11228
11267
|
init_openstep_plist();
|
|
11229
11268
|
init_pbx_table();
|
|
11230
11269
|
init_plist_bytes();
|
|
11231
11270
|
init_pods_integration();
|
|
11271
|
+
init_pods_project();
|
|
11232
11272
|
init_pods_xcconfig();
|
|
11233
11273
|
init_podspec_cocoapods();
|
|
11234
11274
|
init_podspec_ruby();
|
|
@@ -11471,6 +11511,18 @@ module Xcodeproj
|
|
|
11471
11511
|
root_object.build_configuration_list.build_settings(name)
|
|
11472
11512
|
end
|
|
11473
11513
|
|
|
11514
|
+
def add_build_configuration(name, type)
|
|
11515
|
+
if (existing = build_configuration_list[name])
|
|
11516
|
+
existing
|
|
11517
|
+
else
|
|
11518
|
+
config = new(Object::XCBuildConfiguration)
|
|
11519
|
+
config.name = name
|
|
11520
|
+
config.build_settings = Peach::Xcode.project_build_settings(type.to_s)
|
|
11521
|
+
build_configuration_list.build_configurations << config
|
|
11522
|
+
config
|
|
11523
|
+
end
|
|
11524
|
+
end
|
|
11525
|
+
|
|
11474
11526
|
def files
|
|
11475
11527
|
objects.select { |o| o.is_a?(Object::PBXFileReference) }
|
|
11476
11528
|
end
|
|
@@ -12460,6 +12512,24 @@ module Pod
|
|
|
12460
12512
|
def pod_group(pod_name)
|
|
12461
12513
|
pod_groups.find { |group| group.name == pod_name }
|
|
12462
12514
|
end
|
|
12515
|
+
|
|
12516
|
+
def add_build_configuration(name, type)
|
|
12517
|
+
config = super
|
|
12518
|
+
settings = config.build_settings
|
|
12519
|
+
existing = settings['GCC_PREPROCESSOR_DEFINITIONS']
|
|
12520
|
+
definitions = existing.is_a?(Array) ? existing.dup : ['$(inherited)']
|
|
12521
|
+
pod_config_define = "POD_CONFIGURATION_#{name.gsub(/([A-Z]+)([A-Z][a-z])/, '\1_\2').gsub(/([a-z\d])([A-Z])/, '\1_\2').tr('-', '_').gsub(/[^a-zA-Z0-9_]/, '_').upcase}"
|
|
12522
|
+
defines = [pod_config_define]
|
|
12523
|
+
is_debug = type == :debug || type.to_s == 'debug'
|
|
12524
|
+
defines << 'DEBUG' if is_debug
|
|
12525
|
+
defines.each do |define|
|
|
12526
|
+
definitions.unshift("#{define}=1") unless definitions.include?("#{define}=1")
|
|
12527
|
+
end
|
|
12528
|
+
settings['GCC_PREPROCESSOR_DEFINITIONS'] = definitions
|
|
12529
|
+
settings['SWIFT_ACTIVE_COMPILATION_CONDITIONS'] = 'DEBUG' if is_debug
|
|
12530
|
+
config.mark_project_as_dirty!
|
|
12531
|
+
config
|
|
12532
|
+
end
|
|
12463
12533
|
end
|
|
12464
12534
|
end
|
|
12465
12535
|
`;
|
|
@@ -12620,30 +12690,6 @@ end
|
|
|
12620
12690
|
}
|
|
12621
12691
|
});
|
|
12622
12692
|
|
|
12623
|
-
// src/pods-scripts.ts
|
|
12624
|
-
var init_pods_scripts = __esm({
|
|
12625
|
-
"src/pods-scripts.ts"() {
|
|
12626
|
-
"use strict";
|
|
12627
|
-
}
|
|
12628
|
-
});
|
|
12629
|
-
|
|
12630
|
-
// src/pods-project.ts
|
|
12631
|
-
var import_node_fs76, import_node_path79, HEADERS, SOURCES;
|
|
12632
|
-
var init_pods_project = __esm({
|
|
12633
|
-
"src/pods-project.ts"() {
|
|
12634
|
-
"use strict";
|
|
12635
|
-
import_node_fs76 = __toESM(require("node:fs"), 1);
|
|
12636
|
-
import_node_path79 = __toESM(require("node:path"), 1);
|
|
12637
|
-
init_openstep_plist();
|
|
12638
|
-
init_pbx_table();
|
|
12639
|
-
init_pods_files();
|
|
12640
|
-
init_pods_scripts();
|
|
12641
|
-
init_pods_targets();
|
|
12642
|
-
HEADERS = new Set(HEADER_EXTENSIONS2);
|
|
12643
|
-
SOURCES = new Set(SOURCE_FILE_EXTENSIONS);
|
|
12644
|
-
}
|
|
12645
|
-
});
|
|
12646
|
-
|
|
12647
12693
|
// src/pods-install.ts
|
|
12648
12694
|
var import_node_fs77, import_node_path80, COCOAPODS_VERSION2, INSTALL_INPUTS, LOCKFILE;
|
|
12649
12695
|
var init_pods_install = __esm({
|
|
@@ -13182,7 +13228,7 @@ var init_provenance = __esm({
|
|
|
13182
13228
|
import_node_crypto46 = require("node:crypto");
|
|
13183
13229
|
import_node_fs80 = require("node:fs");
|
|
13184
13230
|
import_node_path83 = require("node:path");
|
|
13185
|
-
swiftCoverageProvenance = true ? JSON.parse('{"swift-coverage/indexdump.ts":"0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412","swift-coverage/indexing.ts":"633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272","swift-coverage/types.ts":"bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1","swift-coverage/source.ts":"c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee","swift-coverage/package.ts":"1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b","swift-coverage/xcode.ts":"d6a3228567a46c6d5280895383093889d9b868958a117881061bdd74729a225f","swift-coverage/xcode-assets.ts":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"5c83f56357d880243ab485b260d23abd0094583ffa2287dac6e9e7eb18c3673d","swift-coverage/xcode-strings.ts":"facdbeb9de6bb12da4ab4954553edfaadd0e486f1181443138be70c3d8396236","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"523fdfffc0cff95c8df7beeca437622a07d4fd666f0bb22b0ff67d14c42a7b10","swift-package.ts":"05c6cf101fbc944f6684a70db0a9c5aede846b2f0482a6b4a5a0abed737d4658","swift-source-file.ts":"8becce5e73b76a61d9d202c1ecfb39b1238e9bbf0e77841f1c51c98fa9ac7bd3","swift-toolchain.ts":"692791414734a0fe5949c1d2638941d5de882b8737675deae2e3a49512f2a126","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"c72b724fc497e4cf603c355f86eb3c07c929ad299758cffbc6ff88ed241654c6","xcode-project.ts":"e30510099ee19d34de62d8ae859df53f77594a4ab105fdb5bcd7e005ec9689ca","xcode-target-members.ts":"
|
|
13231
|
+
swiftCoverageProvenance = true ? JSON.parse('{"swift-coverage/indexdump.ts":"0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412","swift-coverage/indexing.ts":"633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272","swift-coverage/types.ts":"bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1","swift-coverage/source.ts":"c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee","swift-coverage/package.ts":"1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b","swift-coverage/xcode.ts":"d6a3228567a46c6d5280895383093889d9b868958a117881061bdd74729a225f","swift-coverage/xcode-assets.ts":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"5c83f56357d880243ab485b260d23abd0094583ffa2287dac6e9e7eb18c3673d","swift-coverage/xcode-strings.ts":"facdbeb9de6bb12da4ab4954553edfaadd0e486f1181443138be70c3d8396236","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"523fdfffc0cff95c8df7beeca437622a07d4fd666f0bb22b0ff67d14c42a7b10","swift-package.ts":"05c6cf101fbc944f6684a70db0a9c5aede846b2f0482a6b4a5a0abed737d4658","swift-source-file.ts":"8becce5e73b76a61d9d202c1ecfb39b1238e9bbf0e77841f1c51c98fa9ac7bd3","swift-toolchain.ts":"692791414734a0fe5949c1d2638941d5de882b8737675deae2e3a49512f2a126","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"c72b724fc497e4cf603c355f86eb3c07c929ad299758cffbc6ff88ed241654c6","xcode-project.ts":"e30510099ee19d34de62d8ae859df53f77594a4ab105fdb5bcd7e005ec9689ca","xcode-target-members.ts":"2379e6d411c5d63fa65ddc24c4e4fc8bfcd001b5be109b694c848fe62908db86","xcode-json-project.ts":"df6d6db28e0c8cfdf1f480e1e32d35f12c9cf1936642d5dda923889fb18a8fd6","openstep-plist.ts":"da11f86885ef1e25979ad989f332195c113c4b7a43f108e8d36646973430b81b"}') : swiftCoverageSourceDigests((0, import_node_path83.join)(__sootsim_import_meta_dirname, ".."));
|
|
13186
13232
|
}
|
|
13187
13233
|
});
|
|
13188
13234
|
|
|
@@ -15388,7 +15434,7 @@ var init_react_native_core = __esm({
|
|
|
15388
15434
|
init_swift_distribution();
|
|
15389
15435
|
init_swift_package();
|
|
15390
15436
|
init_swiftContract();
|
|
15391
|
-
recipe = true ? "
|
|
15437
|
+
recipe = true ? "e431d99153d3b5e8945b75371f1d122270f4a3af0c70d7026ab090bdb668fb0d" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
|
|
15392
15438
|
}
|
|
15393
15439
|
});
|
|
15394
15440
|
|