peachsim 0.1.2369 → 0.1.2371
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 +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 +173 -76
- 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 +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +172 -75
- 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 +173 -76
- package/dist-lib/host/fetch-proxy-handler.cjs +7 -5
- 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 +7 -5
- 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 +1 -1
- 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 -1
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +7 -5
- package/dist-lib/native-app-identity-project.cjs +2 -2
- package/dist-lib/native-app-identity-project.mjs +2 -2
- 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 +24 -24
- package/dist-lib/public-origins-lib.json +53 -53
- 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 -1
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +1 -1
- package/dist-lib/skills.cjs +178 -81
- package/dist-lib/swift-compile.cjs +32 -13
- package/dist-lib/swift-compile.mjs +32 -13
- 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 +151 -72
- package/dist-lib/vite.cjs +7 -5
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/compositor-gpu.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +14 -0
- package/dist-types/packages/peach-engine/src/render-worker/native-ui-protocol.d.ts +6 -0
- package/kotlin/sdk.tar.gz +0 -0
- package/node-runtime.json +1 -1
- package/package.json +1 -1
- package/sdk/ios/System/Library/Frameworks/DeviceCheck.framework/Headers/DCAppAttestService.h +223 -0
- package/sdk/ios/System/Library/Frameworks/DeviceCheck.framework/Headers/DCDevice.h +90 -0
- package/sdk/ios/System/Library/Frameworks/DeviceCheck.framework/Headers/DCError.h +52 -0
- package/sdk/ios/System/Library/Frameworks/DeviceCheck.framework/Headers/DeviceCheck.h +13 -0
- package/sdk/ios/System/Library/Frameworks/DeviceCheck.framework/Modules/module.modulemap +6 -0
- package/sdk/ios/usr/include/_modules/_Availability.h +33 -0
- package/sdk/ios/usr/include/_modules/_os_availability.h +33 -0
- package/sdk/ios/usr/include/availability.modulemap +50 -0
- package/sdk/ios/usr/include/module.modulemap +4 -0
- package/sdk/ios/usr/lib/swift/Foundation.swiftmodule/arm64-apple-ios-simulator.swiftinterface +77 -0
- package/sdk/ios/usr/lib/swift/StoreKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface +7 -0
- package/sdk/ios/usr/lib/swift/SwiftUICore.swiftmodule/arm64-apple-ios-simulator.swiftinterface +23 -0
- package/sdk/ios/usr/lib/swift/UIKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface +2 -0
- package/src/native-static-libraries.ts +16 -16
- package/src/podspec-sources.ts +19 -1
- package/src/swift-compile.ts +38 -24
- package/src/swift-objc-standin.ts +11 -5
- package/src/swift-packages.ts +40 -28
- package/src/swift-shipped-binaries.ts +6 -2
- package/src/swift-standin-emit.ts +65 -11
- package/src/swift-standins.ts +30 -4
package/dist-lib/detox/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2371 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2371 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2371 | (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;
|
|
@@ -2419,6 +2419,9 @@ function packageRoot(file) {
|
|
|
2419
2419
|
function appIdentity(app) {
|
|
2420
2420
|
return (0, import_node_crypto4.createHash)("sha256").update(import_node_fs13.default.readFileSync(import_node_path12.default.join(app, "package.json"))).digest("hex");
|
|
2421
2421
|
}
|
|
2422
|
+
function receiptFile(key2, environment) {
|
|
2423
|
+
return import_node_path12.default.join(cacheDir(), "podspecs", "receipts-v1", key2, `${environment}.json`);
|
|
2424
|
+
}
|
|
2422
2425
|
function podspecReceiptIdentity(file, appRoot = null) {
|
|
2423
2426
|
file = import_node_fs13.default.realpathSync(file);
|
|
2424
2427
|
const app = import_node_fs13.default.realpathSync(appRoot ?? packageRoot(file));
|
|
@@ -2487,6 +2490,15 @@ function planPodspec(podspec, appRoot) {
|
|
|
2487
2490
|
let receipt = appReceipts.get(app)?.get(key2) ?? receipts.get(key2);
|
|
2488
2491
|
const restored = process.platform !== "darwin" && receipt !== void 0 && restoredReceipts.has(receipt);
|
|
2489
2492
|
if (!restored && receipt?.environment !== environment) receipt = void 0;
|
|
2493
|
+
if (!receipt) {
|
|
2494
|
+
const file2 = receiptFile(key2, environment);
|
|
2495
|
+
if (import_node_fs13.default.existsSync(file2)) {
|
|
2496
|
+
receipt = podspecReceiptSchema.parse(JSON.parse(import_node_fs13.default.readFileSync(file2, "utf8")));
|
|
2497
|
+
if (receipt.key !== key2 || receipt.environment !== environment)
|
|
2498
|
+
throw new Error(`podspec receipt identity mismatch: ${file2}`);
|
|
2499
|
+
receipts.set(key2, receipt);
|
|
2500
|
+
}
|
|
2501
|
+
}
|
|
2490
2502
|
return { file, app, key: key2, environment, source: installed ?? file, receipt };
|
|
2491
2503
|
}
|
|
2492
2504
|
function podspecEnv() {
|
|
@@ -2592,6 +2604,11 @@ function loadPodspecs(files2, appRoot = null) {
|
|
|
2592
2604
|
spec: specs[index]
|
|
2593
2605
|
};
|
|
2594
2606
|
receipts.set(plan.key, plan.receipt);
|
|
2607
|
+
const file = receiptFile(plan.key, plan.environment);
|
|
2608
|
+
import_node_fs13.default.mkdirSync(import_node_path12.default.dirname(file), { recursive: true });
|
|
2609
|
+
const temporary = `${file}.${(0, import_node_crypto4.randomUUID)()}.tmp`;
|
|
2610
|
+
import_node_fs13.default.writeFileSync(temporary, JSON.stringify(plan.receipt));
|
|
2611
|
+
import_node_fs13.default.renameSync(temporary, file);
|
|
2595
2612
|
});
|
|
2596
2613
|
}
|
|
2597
2614
|
}
|
|
@@ -13592,7 +13609,17 @@ function splitTopLevel(text6, separator) {
|
|
|
13592
13609
|
}
|
|
13593
13610
|
function emitSwiftStandin(sourceGraphs, options) {
|
|
13594
13611
|
const imported = new Set(options.imports);
|
|
13595
|
-
const importedTypeModules =
|
|
13612
|
+
const importedTypeModules = new Map(options.importedTypeModules);
|
|
13613
|
+
for (const graph of sourceGraphs)
|
|
13614
|
+
for (const edge of graph.relationships) {
|
|
13615
|
+
if (!/^c:objc\((?:cs|pl)\)/.test(edge.target)) continue;
|
|
13616
|
+
const qualified2 = /^(\w+)\.\w+$/.exec(edge.targetFallback ?? "");
|
|
13617
|
+
if (qualified2)
|
|
13618
|
+
importedTypeModules.set(
|
|
13619
|
+
edge.target,
|
|
13620
|
+
qualified2[1] === "ObjectiveC" ? "Foundation" : qualified2[1]
|
|
13621
|
+
);
|
|
13622
|
+
}
|
|
13596
13623
|
const ownIds = new Set(
|
|
13597
13624
|
sourceGraphs.flatMap(
|
|
13598
13625
|
(graph) => graph.symbols.map((symbol2) => symbol2.identifier.precise)
|
|
@@ -13648,7 +13675,10 @@ function emitSwiftStandin(sourceGraphs, options) {
|
|
|
13648
13675
|
const conformanceTargets = /* @__PURE__ */ new Map();
|
|
13649
13676
|
const objectConformers = /* @__PURE__ */ new Set();
|
|
13650
13677
|
const conformIds = /* @__PURE__ */ new Map();
|
|
13651
|
-
const protocolParents = /* @__PURE__ */ new Map(
|
|
13678
|
+
const protocolParents = /* @__PURE__ */ new Map([
|
|
13679
|
+
["s:SH", ["s:SQ"]],
|
|
13680
|
+
["s:SL", ["s:SQ"]]
|
|
13681
|
+
]);
|
|
13652
13682
|
const requirement = /* @__PURE__ */ new Set();
|
|
13653
13683
|
const optional3 = /* @__PURE__ */ new Set();
|
|
13654
13684
|
const overrides = /* @__PURE__ */ new Set();
|
|
@@ -13713,9 +13743,7 @@ function emitSwiftStandin(sourceGraphs, options) {
|
|
|
13713
13743
|
conditional.push({
|
|
13714
13744
|
source,
|
|
13715
13745
|
name: name3,
|
|
13716
|
-
|
|
13717
|
-
({ kind, lhs, rhs }) => kind === "sameType" ? `${lhs} == ${rhs}` : `${lhs}: ${rhs}`
|
|
13718
|
-
).join(", ")
|
|
13746
|
+
constraints: edge.swiftConstraints
|
|
13719
13747
|
});
|
|
13720
13748
|
} else if (name3) {
|
|
13721
13749
|
conforms.set(edge.source, [...conforms.get(edge.source) ?? [], name3]);
|
|
@@ -14119,7 +14147,7 @@ function emitSwiftStandin(sourceGraphs, options) {
|
|
|
14119
14147
|
return;
|
|
14120
14148
|
}
|
|
14121
14149
|
emit(
|
|
14122
|
-
`${head}${computed} { get${effects} { ${getter} }${settable && !effects ? ` ${parsed.nonmutating ? "nonmutating " : ""}set { ${measured?.set ?? (options.inert ? "" : trap(path79))} }` : ""} }`
|
|
14150
|
+
`${head.replace(/@NSCopying\b\s*/g, "")}${computed} { get${effects} { ${getter} }${settable && !effects ? ` ${parsed.nonmutating ? "nonmutating " : ""}set { ${measured?.set ?? (options.inert ? "" : trap(path79))} }` : ""} }`
|
|
14123
14151
|
);
|
|
14124
14152
|
return;
|
|
14125
14153
|
}
|
|
@@ -14625,8 +14653,27 @@ function emitSwiftStandin(sourceGraphs, options) {
|
|
|
14625
14653
|
emitWitness(witness.member, " ", witness.path);
|
|
14626
14654
|
emit("}");
|
|
14627
14655
|
}
|
|
14628
|
-
|
|
14656
|
+
const refines = (child, parent, seen = /* @__PURE__ */ new Set()) => {
|
|
14657
|
+
if (child === parent) return true;
|
|
14658
|
+
if (seen.has(child)) return false;
|
|
14659
|
+
seen.add(child);
|
|
14660
|
+
return (protocolParents.get(child) ?? []).some((id) => refines(id, parent, seen));
|
|
14661
|
+
};
|
|
14662
|
+
const implies = (stronger, weaker) => weaker.every(
|
|
14663
|
+
(wanted) => stronger.some(
|
|
14664
|
+
(given) => given.kind === wanted.kind && given.lhs === wanted.lhs && (given.rhs === wanted.rhs || given.kind === "conformance" && given.rhsPrecise !== void 0 && wanted.rhsPrecise !== void 0 && refines(given.rhsPrecise, wanted.rhsPrecise))
|
|
14665
|
+
)
|
|
14666
|
+
);
|
|
14667
|
+
for (const [index, { source, name: name3, constraints }] of conditional.entries()) {
|
|
14668
|
+
if (conditional.some(
|
|
14669
|
+
(other, at) => at !== index && other.source === source && other.name === name3 && implies(constraints, other.constraints) && (at < index || !implies(other.constraints, constraints))
|
|
14670
|
+
))
|
|
14671
|
+
continue;
|
|
14672
|
+
const where = constraints.map(
|
|
14673
|
+
({ kind, lhs, rhs }) => kind === "sameType" ? `${lhs} == ${rhs}` : `${lhs}: ${rhs}`
|
|
14674
|
+
).join(", ");
|
|
14629
14675
|
emitAt(pathOf(source), `extension ${pathOf(source)}: ${name3} where ${where} {}`);
|
|
14676
|
+
}
|
|
14630
14677
|
const banner = [
|
|
14631
14678
|
...options.placeholder ? [
|
|
14632
14679
|
`// placeholder for ${options.module}, generated from ${options.source}: ${options.placeholder}.`,
|
|
@@ -14983,7 +15030,7 @@ function iosDeploymentMinimum(version2) {
|
|
|
14983
15030
|
if (!parts) return void 0;
|
|
14984
15031
|
return Number(parts[1]) * 1e4 + Number(parts[2] ?? 0) * 100 + Number(parts[3] ?? 0);
|
|
14985
15032
|
}
|
|
14986
|
-
function moduleMapHeaders(modulemap, directoryHeaders
|
|
15033
|
+
function moduleMapHeaders(modulemap, directoryHeaders) {
|
|
14987
15034
|
const tokens2 = moduleMapTokens(import_node_fs38.default.readFileSync(modulemap, "utf8"));
|
|
14988
15035
|
const open = [];
|
|
14989
15036
|
const declared = [];
|
|
@@ -15075,7 +15122,11 @@ function stageVendorFrameworks(dir, stage) {
|
|
|
15075
15122
|
import_node_fs38.default.mkdirSync(target, { recursive: true });
|
|
15076
15123
|
for (const child of import_node_fs38.default.readdirSync(source)) {
|
|
15077
15124
|
if (child !== "Modules") {
|
|
15078
|
-
|
|
15125
|
+
if (child === "Headers")
|
|
15126
|
+
import_node_fs38.default.cpSync(import_node_path36.default.join(source, child), import_node_path36.default.join(target, child), {
|
|
15127
|
+
recursive: true
|
|
15128
|
+
});
|
|
15129
|
+
else import_node_fs38.default.symlinkSync(import_node_path36.default.join(source, child), import_node_path36.default.join(target, child));
|
|
15079
15130
|
continue;
|
|
15080
15131
|
}
|
|
15081
15132
|
for (const file of import_node_fs38.default.readdirSync(import_node_path36.default.join(source, child), {
|
|
@@ -15767,7 +15818,9 @@ function protocolProperties(surface, headersDir, graphs2, toolchainBin, search,
|
|
|
15767
15818
|
// the module's own roots first: a defining header may rely on the
|
|
15768
15819
|
// declarations its umbrella imports before it, as NS_ENUM does
|
|
15769
15820
|
[
|
|
15770
|
-
...moduleMapHeaders(surface.modulemap
|
|
15821
|
+
...moduleMapHeaders(surface.modulemap, headerFiles(headersDir)).map(
|
|
15822
|
+
(file) => import_node_path36.default.join(headersDir, file)
|
|
15823
|
+
),
|
|
15771
15824
|
...candidates.map(({ file }) => file)
|
|
15772
15825
|
].map((file) => `#import ${JSON.stringify(file)}
|
|
15773
15826
|
`).join("")
|
|
@@ -15828,7 +15881,7 @@ function protocolProperties(surface, headersDir, graphs2, toolchainBin, search,
|
|
|
15828
15881
|
return properties;
|
|
15829
15882
|
}
|
|
15830
15883
|
function objcDeclarationAST(surface, framework, toolchainBin, search, work, originalFlags, target) {
|
|
15831
|
-
const roots = moduleMapHeaders(surface.modulemap);
|
|
15884
|
+
const roots = moduleMapHeaders(surface.modulemap, headerFiles(surface.headers));
|
|
15832
15885
|
const probe = import_node_path36.default.join(work, "declarations.m");
|
|
15833
15886
|
import_node_fs38.default.writeFileSync(
|
|
15834
15887
|
probe,
|
|
@@ -15921,7 +15974,7 @@ function enumValues(graphs2, surface, framework, toolchainBin, search, work, ori
|
|
|
15921
15974
|
}
|
|
15922
15975
|
const values = /* @__PURE__ */ new Map();
|
|
15923
15976
|
if (wanted.size === 0) return values;
|
|
15924
|
-
const roots = moduleMapHeaders(surface.modulemap);
|
|
15977
|
+
const roots = moduleMapHeaders(surface.modulemap, headerFiles(surface.headers));
|
|
15925
15978
|
const probe = import_node_path36.default.join(work, "values.m");
|
|
15926
15979
|
import_node_fs38.default.writeFileSync(
|
|
15927
15980
|
probe,
|
|
@@ -28753,25 +28806,44 @@ async function withSwiftFrameworkSlot(frameworkKey, moduleRoot, signal, work) {
|
|
|
28753
28806
|
if (staged) return withSwiftRootLock(staged, run6(staged), signal);
|
|
28754
28807
|
const built2 = new Map(slots.map((slot) => [slot, (0, import_node_fs55.statSync)(slot).mtimeMs]));
|
|
28755
28808
|
const own = (slot) => swiftFrameworkSlotRecord(slot, SWIFT_FRAMEWORK_SLOT_ORIGIN) === moduleRoot;
|
|
28756
|
-
const
|
|
28757
|
-
(
|
|
28758
|
-
|
|
28759
|
-
|
|
28760
|
-
|
|
28761
|
-
|
|
28762
|
-
|
|
28763
|
-
|
|
28764
|
-
|
|
28765
|
-
|
|
28809
|
+
const inputs = new Map(
|
|
28810
|
+
swiftModuleInputFiles(moduleRoot).map((file) => [
|
|
28811
|
+
file,
|
|
28812
|
+
(0, import_node_fs55.readFileSync)(import_node_path53.default.join(moduleRoot, file))
|
|
28813
|
+
])
|
|
28814
|
+
);
|
|
28815
|
+
const ranked = slots.map((slot) => {
|
|
28816
|
+
let changes = 0;
|
|
28817
|
+
if (swiftFrameworkSlotKey(slot) === null) return { slot, changes: Infinity };
|
|
28818
|
+
const source = import_node_path53.default.join(slot, "source", "packages", import_node_path53.default.basename(moduleRoot));
|
|
28819
|
+
for (const [file, contents2] of inputs) {
|
|
28820
|
+
try {
|
|
28821
|
+
if (!(0, import_node_fs55.readFileSync)(import_node_path53.default.join(source, file)).equals(contents2)) changes++;
|
|
28822
|
+
} catch (error) {
|
|
28823
|
+
if (!vanished(error)) throw error;
|
|
28824
|
+
changes++;
|
|
28825
|
+
}
|
|
28826
|
+
}
|
|
28827
|
+
return { slot, changes };
|
|
28828
|
+
}).sort(
|
|
28829
|
+
(left, right) => left.changes - right.changes || Number(own(right.slot)) - Number(own(left.slot)) || (built2.get(right.slot) ?? 0) - (built2.get(left.slot) ?? 0)
|
|
28830
|
+
);
|
|
28831
|
+
for (const { slot, changes } of ranked) {
|
|
28766
28832
|
const result = await withSwiftRootLock(
|
|
28767
28833
|
slot,
|
|
28768
|
-
async (lease) =>
|
|
28834
|
+
async (lease) => {
|
|
28835
|
+
console.error(
|
|
28836
|
+
`[swift-framework-cache] ${import_node_path53.default.basename(slot)} changedInputs=${changes} totalInputs=${inputs.size}`
|
|
28837
|
+
);
|
|
28838
|
+
return { value: await run6(slot)(lease) };
|
|
28839
|
+
},
|
|
28769
28840
|
signal,
|
|
28770
28841
|
false
|
|
28771
28842
|
);
|
|
28772
28843
|
if (result) return result.value;
|
|
28773
28844
|
}
|
|
28774
|
-
|
|
28845
|
+
const nearest = ranked[0].slot;
|
|
28846
|
+
return withSwiftRootLock(nearest, run6(nearest), signal);
|
|
28775
28847
|
}
|
|
28776
28848
|
function mirrorTree2(source, target, skip) {
|
|
28777
28849
|
(0, import_node_fs55.mkdirSync)(target, { recursive: true });
|
|
@@ -29675,7 +29747,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
|
|
|
29675
29747
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
29676
29748
|
MULTI_MANIFEST_VERSION = 69;
|
|
29677
29749
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
29678
|
-
compilerSourceDigest = true ? "
|
|
29750
|
+
compilerSourceDigest = true ? "1b47386ddb37b973b7110df3031ea52e9d23ac2a578bc7539d91e232e336db2a" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
29679
29751
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
29680
29752
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
29681
29753
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -33918,7 +33990,7 @@ var init_swift_standin_digest = __esm({
|
|
|
33918
33990
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
33919
33991
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
33920
33992
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
33921
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
33993
|
+
STANDIN_SOURCE_DIGEST = true ? "28f94bd80124e52ab64394ba6f56176a69e00f86dab139561b97864d4fafbc8e" : standinSourceDigest();
|
|
33922
33994
|
}
|
|
33923
33995
|
});
|
|
33924
33996
|
|
|
@@ -34532,112 +34604,112 @@ var init_native_static_libraries = __esm({
|
|
|
34532
34604
|
name: "skia",
|
|
34533
34605
|
nativeSha256: "5312f2b194b1f6b6721388028bf919e56400278245b039f47136aa98f0582333",
|
|
34534
34606
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
34535
|
-
recipe: "
|
|
34607
|
+
recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
|
|
34536
34608
|
archive: "libskia.a"
|
|
34537
34609
|
},
|
|
34538
34610
|
{
|
|
34539
34611
|
name: "skia_svg",
|
|
34540
34612
|
nativeSha256: "77adc498cff85db7850fb713c306681c6337f9b4ec42991b3764c8f3eff9d8d0",
|
|
34541
34613
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
34542
|
-
recipe: "
|
|
34614
|
+
recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
|
|
34543
34615
|
archive: "libsvg.a"
|
|
34544
34616
|
},
|
|
34545
34617
|
{
|
|
34546
34618
|
name: "skia_skshaper",
|
|
34547
34619
|
nativeSha256: "830bcf260bd24fd79ee5d323e26ec667638795e3a0e555f1093371b8342c345c",
|
|
34548
34620
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
34549
|
-
recipe: "
|
|
34621
|
+
recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
|
|
34550
34622
|
archive: "libskshaper.a"
|
|
34551
34623
|
},
|
|
34552
34624
|
{
|
|
34553
34625
|
name: "skia_skparagraph",
|
|
34554
34626
|
nativeSha256: "26afd4e5b11d46b0820a2cd7fd9918eb5a041946e1a1c0d4b91a5d54877e9dda",
|
|
34555
34627
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
34556
|
-
recipe: "
|
|
34628
|
+
recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
|
|
34557
34629
|
archive: "libskparagraph.a"
|
|
34558
34630
|
},
|
|
34559
34631
|
{
|
|
34560
34632
|
name: "skia_skunicode_core",
|
|
34561
34633
|
nativeSha256: "629f58c4e81157d42e353b2b255bebb2fd94d1f31d8f8157e982fa4367710526",
|
|
34562
34634
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
34563
|
-
recipe: "
|
|
34635
|
+
recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
|
|
34564
34636
|
archive: "libskunicode_core.a"
|
|
34565
34637
|
},
|
|
34566
34638
|
{
|
|
34567
34639
|
name: "skia_skunicode_libgrapheme",
|
|
34568
34640
|
nativeSha256: "047bd82306ba688453a3ff9dc02e203cdf16f2084551cca54f5d2b099baf1895",
|
|
34569
34641
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
34570
|
-
recipe: "
|
|
34642
|
+
recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
|
|
34571
34643
|
archive: "libskunicode_libgrapheme.a"
|
|
34572
34644
|
},
|
|
34573
34645
|
{
|
|
34574
34646
|
name: "skia_skottie",
|
|
34575
34647
|
nativeSha256: "75c0dfd82a256e761cddc45475b8109ed8c9a442767cf3a8bf8720eef0dd4af7",
|
|
34576
34648
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
34577
|
-
recipe: "
|
|
34649
|
+
recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
|
|
34578
34650
|
archive: "libskottie.a"
|
|
34579
34651
|
},
|
|
34580
34652
|
{
|
|
34581
34653
|
name: "skia_sksg",
|
|
34582
34654
|
nativeSha256: "df9652a46505d3c5c74d55b52295ef39218d2b5856e074117461fa2348312c8d",
|
|
34583
34655
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
34584
|
-
recipe: "
|
|
34656
|
+
recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
|
|
34585
34657
|
archive: "libsksg.a"
|
|
34586
34658
|
},
|
|
34587
34659
|
{
|
|
34588
34660
|
name: "skia",
|
|
34589
34661
|
nativeSha256: "c9b007c4da16f66d84b2f108af719b424ef91ee0759e58df0b76930bc6f82e31",
|
|
34590
34662
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
34591
|
-
recipe: "
|
|
34663
|
+
recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
|
|
34592
34664
|
archive: "libskia.a"
|
|
34593
34665
|
},
|
|
34594
34666
|
{
|
|
34595
34667
|
name: "skia_svg",
|
|
34596
34668
|
nativeSha256: "159705737769610b60216b114a28ba833840aa1df7833424df99edec4405b86f",
|
|
34597
34669
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
34598
|
-
recipe: "
|
|
34670
|
+
recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
|
|
34599
34671
|
archive: "libsvg.a"
|
|
34600
34672
|
},
|
|
34601
34673
|
{
|
|
34602
34674
|
name: "skia_skshaper",
|
|
34603
34675
|
nativeSha256: "934f3dbf3f38bca87b463b664a17c1588840f86ec89cf6961fb2a89b6336b35b",
|
|
34604
34676
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
34605
|
-
recipe: "
|
|
34677
|
+
recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
|
|
34606
34678
|
archive: "libskshaper.a"
|
|
34607
34679
|
},
|
|
34608
34680
|
{
|
|
34609
34681
|
name: "skia_skparagraph",
|
|
34610
34682
|
nativeSha256: "29a48349fc9b75c252b22fc6ca5ade90636900f82beec58780f03fd66ab345b3",
|
|
34611
34683
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
34612
|
-
recipe: "
|
|
34684
|
+
recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
|
|
34613
34685
|
archive: "libskparagraph.a"
|
|
34614
34686
|
},
|
|
34615
34687
|
{
|
|
34616
34688
|
name: "skia_skunicode_core",
|
|
34617
34689
|
nativeSha256: "096e5139c4de528dbba5a9605895f4c725853e48225503bdfa9c1d70241e5f58",
|
|
34618
34690
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
34619
|
-
recipe: "
|
|
34691
|
+
recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
|
|
34620
34692
|
archive: "libskunicode_core.a"
|
|
34621
34693
|
},
|
|
34622
34694
|
{
|
|
34623
34695
|
name: "skia_skunicode_libgrapheme",
|
|
34624
34696
|
nativeSha256: "d1ec3c2d5ad6889eb4fbf4a6bab74f39946739501d40de903f7d8cb2181ac37d",
|
|
34625
34697
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
34626
|
-
recipe: "
|
|
34698
|
+
recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
|
|
34627
34699
|
archive: "libskunicode_libgrapheme.a"
|
|
34628
34700
|
},
|
|
34629
34701
|
{
|
|
34630
34702
|
name: "skia_skottie",
|
|
34631
34703
|
nativeSha256: "52ea2e046f45f51df6027d783e923864e8c4ef94a1fe4fc5971e436574d8ae57",
|
|
34632
34704
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
34633
|
-
recipe: "
|
|
34705
|
+
recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
|
|
34634
34706
|
archive: "libskottie.a"
|
|
34635
34707
|
},
|
|
34636
34708
|
{
|
|
34637
34709
|
name: "skia_sksg",
|
|
34638
34710
|
nativeSha256: "541a74d8f83dc411efe8eeac377486a5054fab4c7710afe406a20a27efe8f627",
|
|
34639
34711
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
34640
|
-
recipe: "
|
|
34712
|
+
recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
|
|
34641
34713
|
archive: "libsksg.a"
|
|
34642
34714
|
},
|
|
34643
34715
|
{
|
|
@@ -34792,14 +34864,15 @@ var init_swift_shipped_archives = __esm({
|
|
|
34792
34864
|
// src/swift-shipped-binaries.ts
|
|
34793
34865
|
function shippedBinaryDiffers(target, checksum) {
|
|
34794
34866
|
const shipped = SHIPPED_ARCHIVES.get(target);
|
|
34795
|
-
return shipped !== void 0
|
|
34867
|
+
return checksum !== null && (shipped !== void 0 ? checksum !== shipped : !SHIPPED_CHECKSUMS.has(checksum));
|
|
34796
34868
|
}
|
|
34797
|
-
var SHIPPED_ARCHIVES;
|
|
34869
|
+
var SHIPPED_ARCHIVES, SHIPPED_CHECKSUMS;
|
|
34798
34870
|
var init_swift_shipped_binaries = __esm({
|
|
34799
34871
|
"src/swift-shipped-binaries.ts"() {
|
|
34800
34872
|
"use strict";
|
|
34801
34873
|
init_swift_shipped_archives();
|
|
34802
34874
|
SHIPPED_ARCHIVES = new Map(Object.entries(swift_shipped_archives_default));
|
|
34875
|
+
SHIPPED_CHECKSUMS = new Set(SHIPPED_ARCHIVES.values());
|
|
34803
34876
|
}
|
|
34804
34877
|
});
|
|
34805
34878
|
|
|
@@ -35202,39 +35275,41 @@ function resolveSwiftPackages(options) {
|
|
|
35202
35275
|
return pkg;
|
|
35203
35276
|
};
|
|
35204
35277
|
const claimed = /* @__PURE__ */ new Set();
|
|
35205
|
-
const
|
|
35278
|
+
const claimDependencies = (pkg, target, binaryOnly = false) => target.dependencies.map((dependency) => {
|
|
35279
|
+
if (dependency.kind === "target")
|
|
35280
|
+
return claimTarget(pkg, dependency.name, binaryOnly);
|
|
35281
|
+
const nested = dependencyPackage(pkg, dependency);
|
|
35282
|
+
return nested && typeof nested !== "string" ? claimProduct(nested, dependency.name, binaryOnly) : false;
|
|
35283
|
+
}).some(Boolean);
|
|
35284
|
+
const claimTarget = (pkg, name3, binaryOnly = false) => {
|
|
35206
35285
|
const key2 = `${pkg.manifest.dir}\0${name3}`;
|
|
35207
|
-
if (claimed.has(key2)) return true;
|
|
35286
|
+
if (!binaryOnly && claimed.has(key2)) return true;
|
|
35208
35287
|
const target = pkg.manifest.targets.get(name3);
|
|
35288
|
+
if (target?.type === "binary") {
|
|
35289
|
+
const changed = !options.standinTargets?.has(name3) && shippedBinaryDiffers(name3, target.checksum);
|
|
35290
|
+
if (changed) providedTargets.delete(name3);
|
|
35291
|
+
return changed;
|
|
35292
|
+
}
|
|
35209
35293
|
if (!target || target.type !== "regular" || placeholderPackage(pkg)) return false;
|
|
35210
35294
|
const files2 = swiftTargetFiles(pkg.manifest, target);
|
|
35211
|
-
if (files2.every(
|
|
35295
|
+
if (binaryOnly || files2.every(
|
|
35212
35296
|
(file) => file.endsWith(".swift") && import_node_fs73.default.readFileSync(file, "utf8").trim() === ""
|
|
35213
|
-
))
|
|
35214
|
-
|
|
35297
|
+
)) {
|
|
35298
|
+
const changed = claimDependencies(pkg, target, true);
|
|
35299
|
+
if (changed) providedTargets.delete(name3);
|
|
35300
|
+
return changed;
|
|
35301
|
+
}
|
|
35215
35302
|
if (unloweredSources(files2, target, portableAssembly)) return false;
|
|
35216
35303
|
claimed.add(key2);
|
|
35217
35304
|
providedTargets.delete(name3);
|
|
35218
|
-
|
|
35219
|
-
if (dependency.kind === "target") claimTarget(pkg, dependency.name);
|
|
35220
|
-
else {
|
|
35221
|
-
const nested = dependencyPackage(pkg, dependency);
|
|
35222
|
-
if (nested && typeof nested !== "string") claimProduct(nested, dependency.name);
|
|
35223
|
-
}
|
|
35224
|
-
}
|
|
35305
|
+
claimDependencies(pkg, target);
|
|
35225
35306
|
return true;
|
|
35226
35307
|
};
|
|
35227
|
-
const claimProduct = (pkg, product) => {
|
|
35308
|
+
const claimProduct = (pkg, product, binaryOnly = false) => {
|
|
35228
35309
|
const roots = pkg.manifest.products.get(product)?.targets ?? [];
|
|
35229
|
-
|
|
35230
|
-
|
|
35231
|
-
|
|
35232
|
-
providedTargets.delete(root);
|
|
35233
|
-
providedProducts.delete(product);
|
|
35234
|
-
}
|
|
35235
|
-
}
|
|
35236
|
-
if (roots.map((name3) => claimTarget(pkg, name3)).some(Boolean))
|
|
35237
|
-
providedProducts.delete(product);
|
|
35310
|
+
const changed = roots.map((name3) => claimTarget(pkg, name3, binaryOnly)).some(Boolean);
|
|
35311
|
+
if (changed) providedProducts.delete(product);
|
|
35312
|
+
return changed;
|
|
35238
35313
|
};
|
|
35239
35314
|
for (const { product, source } of products) {
|
|
35240
35315
|
if (source.kind === "remote" && !options.provided) continue;
|
|
@@ -37364,7 +37439,7 @@ function externalConformances(module2, interfaceText) {
|
|
|
37364
37439
|
)) {
|
|
37365
37440
|
const [, extended, conformances] = match;
|
|
37366
37441
|
if (extended.startsWith(`${module2}.`) || /\bwhere\b/.test(conformances)) continue;
|
|
37367
|
-
const own = conformances.split(",").map((name3) => name3.trim()).filter((name3) => name3.startsWith(`${module2}.`));
|
|
37442
|
+
const own = conformances.split(",").map((name3) => name3.trim()).filter((name3) => name3.startsWith(`${module2}.`)).map((name3) => name3.slice(module2.length + 1));
|
|
37368
37443
|
const type = extended.startsWith("Swift.") ? extended : extended.split(".").slice(1).join(".");
|
|
37369
37444
|
if (own.length > 0 && type) lines.add(`extension ${type} : ${own.join(", ")} {}
|
|
37370
37445
|
`);
|
|
@@ -37401,8 +37476,9 @@ function wasmFlags(toolchain, imports2) {
|
|
|
37401
37476
|
// submodules (os.log), so a vendor interface naming one resolves as the
|
|
37402
37477
|
// ios sdk resolves it; a second `os` map on the path is a redefinition.
|
|
37403
37478
|
...cFlags.flatMap((flag) => ["-Xcc", flag]),
|
|
37404
|
-
...
|
|
37405
|
-
...toolchain.
|
|
37479
|
+
...toolchain.standinModules ? ["-I", toolchain.standinModules] : [],
|
|
37480
|
+
...(toolchain.standinIncludes ?? []).flatMap((dir) => ["-I", dir, "-F", dir]),
|
|
37481
|
+
...peachModuleDirs(toolchain, imports2, sdkIncludes).flatMap((dir) => ["-I", dir])
|
|
37406
37482
|
];
|
|
37407
37483
|
}
|
|
37408
37484
|
function objcStandin(surface, binary2, toolchain, work, behavior, frameworks, siblings) {
|
|
@@ -38757,7 +38833,9 @@ function gapText(gap) {
|
|
|
38757
38833
|
return text6.length > 600 ? `${text6.slice(0, 600)}\u2026` : text6;
|
|
38758
38834
|
}
|
|
38759
38835
|
async function buildStandins(binaries, toolchain, provided, behavior) {
|
|
38760
|
-
const requested = binaries.filter(
|
|
38836
|
+
const requested = binaries.filter(
|
|
38837
|
+
(binary2) => !provided.has(binary2.target) || shippedBinaryDiffers(binary2.target, binary2.checksum)
|
|
38838
|
+
);
|
|
38761
38839
|
if (requested.length === 0) return { standins: [], gaps: /* @__PURE__ */ new Map() };
|
|
38762
38840
|
if (process.platform === "darwin" && process.env.TM_EXEC_BUILD_PLATFORM !== "mac" && process.env.TM_SESSION && process.env.CI !== "true" && toolchain.moduleRoot === sourceSwiftCheckout() && !swiftDistributionAt(toolchain.moduleRoot))
|
|
38763
38841
|
return sourceStandins(requested, toolchain, provided, behavior);
|
|
@@ -38772,6 +38850,7 @@ async function buildStandins(binaries, toolchain, provided, behavior) {
|
|
|
38772
38850
|
binaries.map((binary2) => [swiftTargetModuleName(binary2.target), binary2])
|
|
38773
38851
|
);
|
|
38774
38852
|
const interfaceImports = /* @__PURE__ */ new Map();
|
|
38853
|
+
const retained = new Set(provided);
|
|
38775
38854
|
for (const binary2 of binaries) {
|
|
38776
38855
|
const swiftSources = binary2.placeholder ?? binary2.moduleSources;
|
|
38777
38856
|
if (swiftSources !== void 0) {
|
|
@@ -38800,8 +38879,9 @@ async function buildStandins(binaries, toolchain, provided, behavior) {
|
|
|
38800
38879
|
interfaceImports.set(binary2, imports2);
|
|
38801
38880
|
for (const surface of surfaces(artifact.dir, binary2.target)) {
|
|
38802
38881
|
byModule.set(surface.module, binary2);
|
|
38882
|
+
if (shippedBinaryDiffers(surface.module, binary2.checksum))
|
|
38883
|
+
retained.delete(surface.module);
|
|
38803
38884
|
for (const module2 of surfaceImports(surface)) imports2.add(module2);
|
|
38804
|
-
if (surface.kind === "c") continue;
|
|
38805
38885
|
if (surface.kind === "objc" || surface.kind === "mixed")
|
|
38806
38886
|
frameworkSurfaces.set(surface.module, surface);
|
|
38807
38887
|
if (surface.kind !== "swift" && import_node_path76.default.basename(import_node_path76.default.dirname(surface.modulemap)) !== "Modules")
|
|
@@ -38813,7 +38893,13 @@ async function buildStandins(binaries, toolchain, provided, behavior) {
|
|
|
38813
38893
|
} catch {
|
|
38814
38894
|
}
|
|
38815
38895
|
}
|
|
38816
|
-
|
|
38896
|
+
provided = retained;
|
|
38897
|
+
const includes = [];
|
|
38898
|
+
const generatedToolchain = {
|
|
38899
|
+
...toolchain,
|
|
38900
|
+
standinModules: modules,
|
|
38901
|
+
standinIncludes: includes
|
|
38902
|
+
};
|
|
38817
38903
|
const sourceFrameworks = import_node_path76.default.join(modules, "ios-frameworks");
|
|
38818
38904
|
import_node_fs78.default.mkdirSync(sourceFrameworks);
|
|
38819
38905
|
const frameworks = {
|
|
@@ -38894,6 +38980,16 @@ async function buildStandins(binaries, toolchain, provided, behavior) {
|
|
|
38894
38980
|
for (const standin of result) {
|
|
38895
38981
|
if (prerequisites.has(standin.module)) {
|
|
38896
38982
|
const source = standin.files[`${standin.module}.swift`];
|
|
38983
|
+
if (source === void 0) {
|
|
38984
|
+
const dir = import_node_path76.default.join(modules, standin.module, "include");
|
|
38985
|
+
for (const [name3, text6] of Object.entries(standin.files)) {
|
|
38986
|
+
if (!name3.startsWith("include/")) continue;
|
|
38987
|
+
const file = import_node_path76.default.join(modules, standin.module, name3);
|
|
38988
|
+
import_node_fs78.default.mkdirSync(import_node_path76.default.dirname(file), { recursive: true });
|
|
38989
|
+
import_node_fs78.default.writeFileSync(file, text6);
|
|
38990
|
+
}
|
|
38991
|
+
includes.push(dir);
|
|
38992
|
+
}
|
|
38897
38993
|
if (source !== void 0) {
|
|
38898
38994
|
const file = import_node_path76.default.join(modules, `${standin.module}.swift`);
|
|
38899
38995
|
import_node_fs78.default.writeFileSync(file, source);
|
|
@@ -38952,6 +39048,7 @@ var init_swift_standins = __esm({
|
|
|
38952
39048
|
init_swift_package();
|
|
38953
39049
|
init_swift_packages();
|
|
38954
39050
|
init_swift_shared_sdk();
|
|
39051
|
+
init_swift_shipped_binaries();
|
|
38955
39052
|
init_swift_standin_builtin_behavior();
|
|
38956
39053
|
init_swift_standin_digest();
|
|
38957
39054
|
init_swift_standin_emit();
|
|
@@ -50407,7 +50504,7 @@ var init_react_native_core = __esm({
|
|
|
50407
50504
|
init_swift_distribution();
|
|
50408
50505
|
init_swift_package();
|
|
50409
50506
|
init_swiftContract();
|
|
50410
|
-
recipe = true ? "
|
|
50507
|
+
recipe = true ? "b6dde8c8eae8967beb175e8d5b9f585d060bc8aaad48a9e3473f05381be6f1a2" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
|
|
50411
50508
|
strings4 = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
|
|
50412
50509
|
building = /* @__PURE__ */ new Map();
|
|
50413
50510
|
}
|
|
@@ -56245,7 +56342,7 @@ init_swift_native_pin();
|
|
|
56245
56342
|
init_xcode_project();
|
|
56246
56343
|
var EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
56247
56344
|
function expoNativeCompilerDigestValue() {
|
|
56248
|
-
return true ? "
|
|
56345
|
+
return true ? "4c225078d2b2548064c58ccf76d885730dc25d68ff55b62fcdab426100487640" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
56249
56346
|
}
|
|
56250
56347
|
var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
56251
56348
|
function readSources(value) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2371 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/home-paths.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2371 | (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;
|