peachsim 0.1.1966 → 0.1.1968
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 +92 -15
- 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 +90 -13
- 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 +91 -14
- package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
- 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 +2 -2
- 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 +2 -2
- 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 +92 -15
- package/dist-lib/swift-compile.cjs +2 -2
- package/dist-lib/swift-compile.mjs +2 -2
- 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 +89 -12
- package/dist-lib/vite.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/package.json +1 -1
- package/src/swift-objc-standin.ts +77 -4
- package/src/swift-standin-emit.ts +25 -3
- package/src/swift-standins.ts +7 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1968 | (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;
|
|
@@ -12006,6 +12006,7 @@ function emitSwiftStandin(sourceGraphs, options) {
|
|
|
12006
12006
|
const superclass = /* @__PURE__ */ new Map();
|
|
12007
12007
|
const superId = /* @__PURE__ */ new Map();
|
|
12008
12008
|
const conforms = /* @__PURE__ */ new Map();
|
|
12009
|
+
const conditional = [];
|
|
12009
12010
|
const conformanceTargets = /* @__PURE__ */ new Map();
|
|
12010
12011
|
const objectConformers = /* @__PURE__ */ new Set();
|
|
12011
12012
|
const conformIds = /* @__PURE__ */ new Map();
|
|
@@ -12021,7 +12022,10 @@ function emitSwiftStandin(sourceGraphs, options) {
|
|
|
12021
12022
|
const parts = fallback.split(".");
|
|
12022
12023
|
const module2 = parts[0] === "SwiftUICore" ? "SwiftUI" : parts[0];
|
|
12023
12024
|
const unqualified = parts.slice(1).join(".") || parts[0];
|
|
12024
|
-
const name3 = family.has(parts[0]) && parts[0] !== "SwiftUICore" ?
|
|
12025
|
+
const name3 = parts.length > 1 && family.has(parts[0]) && parts[0] !== "SwiftUICore" ? (
|
|
12026
|
+
// a module selector reaches past a class named like its module
|
|
12027
|
+
`${parts[0]}::${unqualified}`
|
|
12028
|
+
) : unqualified;
|
|
12025
12029
|
return { name: name3, module: module2, local: false };
|
|
12026
12030
|
};
|
|
12027
12031
|
const nsObject = nameOf("c:objc(cs)NSObject", "ObjectiveC.NSObject").name;
|
|
@@ -12036,6 +12040,7 @@ function emitSwiftStandin(sourceGraphs, options) {
|
|
|
12036
12040
|
if (edge.sourceOrigin) origins.set(edge.source, edge.sourceOrigin.displayName);
|
|
12037
12041
|
switch (edge.kind) {
|
|
12038
12042
|
case "memberOf": {
|
|
12043
|
+
if (edge.source === edge.target) break;
|
|
12039
12044
|
const parent = byId.get(edge.target);
|
|
12040
12045
|
if (parent) {
|
|
12041
12046
|
owner.set(edge.source, edge.target);
|
|
@@ -12066,7 +12071,15 @@ function emitSwiftStandin(sourceGraphs, options) {
|
|
|
12066
12071
|
path: pathOf(source),
|
|
12067
12072
|
reason: `unsupported Objective-C protocol parent ${edge.target}`
|
|
12068
12073
|
});
|
|
12069
|
-
if (name3) {
|
|
12074
|
+
if (name3 && edge.swiftConstraints?.length) {
|
|
12075
|
+
conditional.push({
|
|
12076
|
+
source,
|
|
12077
|
+
name: name3,
|
|
12078
|
+
where: edge.swiftConstraints.map(
|
|
12079
|
+
({ kind, lhs, rhs }) => kind === "sameType" ? `${lhs} == ${rhs}` : `${lhs}: ${rhs}`
|
|
12080
|
+
).join(", ")
|
|
12081
|
+
});
|
|
12082
|
+
} else if (name3) {
|
|
12070
12083
|
conforms.set(edge.source, [...conforms.get(edge.source) ?? [], name3]);
|
|
12071
12084
|
const targets = conformanceTargets.get(edge.source) ?? /* @__PURE__ */ new Map();
|
|
12072
12085
|
targets.set(name3, edge.target);
|
|
@@ -12547,7 +12560,7 @@ function emitSwiftStandin(sourceGraphs, options) {
|
|
|
12547
12560
|
if (!parentSymbol || !ownIds.has(parentSymbol.identifier.precise))
|
|
12548
12561
|
list2.push(standinMarker);
|
|
12549
12562
|
const open = symbol2.accessLevel === "open" && (!parentSymbol || parentSymbol.accessLevel === "open");
|
|
12550
|
-
const objcName = /^c:objc\(cs\)(\w+)$/.exec(id)?.[1];
|
|
12563
|
+
const objcName = shape.generics ? void 0 : /^c:objc\(cs\)(\w+)$/.exec(id)?.[1];
|
|
12551
12564
|
emit(
|
|
12552
12565
|
`${indent2}${shape.attrs}${objcName ? `@objc(${objcName}) ` : ""}${shape.final}${open ? "open" : "public"} class ${shape.name}${shape.generics}${list2.length ? `: ${list2.join(", ")}` : ""}${selfConforming(shape.where)} {`
|
|
12553
12566
|
);
|
|
@@ -12942,6 +12955,8 @@ function emitSwiftStandin(sourceGraphs, options) {
|
|
|
12942
12955
|
emitWitness(witness.member, " ", witness.path);
|
|
12943
12956
|
emit("}");
|
|
12944
12957
|
}
|
|
12958
|
+
for (const { source, name: name3, where } of conditional)
|
|
12959
|
+
emitAt(pathOf(source), `extension ${pathOf(source)}: ${name3} where ${where} {}`);
|
|
12945
12960
|
const banner = [
|
|
12946
12961
|
...options.placeholder ? [
|
|
12947
12962
|
`// placeholder for ${options.module}, generated from ${options.source}: ${options.placeholder}.`,
|
|
@@ -13037,6 +13052,15 @@ function stripDefaults(decl) {
|
|
|
13037
13052
|
}
|
|
13038
13053
|
|
|
13039
13054
|
// src/swift-objc-standin.ts
|
|
13055
|
+
var REFINED_CONSTANT_TYPES = /* @__PURE__ */ new Map([
|
|
13056
|
+
["NSInteger", "Int"],
|
|
13057
|
+
["NSUInteger", "UInt"],
|
|
13058
|
+
["NSTimeInterval", "TimeInterval"],
|
|
13059
|
+
["double", "Double"],
|
|
13060
|
+
["CGFloat", "CGFloat"],
|
|
13061
|
+
["BOOL", "Bool"],
|
|
13062
|
+
["NSString*", "String"]
|
|
13063
|
+
]);
|
|
13040
13064
|
var NATIVE_GRAPH_SDK_VERSION = "27.1";
|
|
13041
13065
|
var WASI_EMULATION = [
|
|
13042
13066
|
"_WASI_EMULATED_SIGNAL",
|
|
@@ -13330,13 +13354,18 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
13330
13354
|
import_node_fs26.default.mkdirSync(import_node_path23.default.dirname(file), { recursive: true });
|
|
13331
13355
|
import_node_fs26.default.writeFileSync(file, text5);
|
|
13332
13356
|
}
|
|
13357
|
+
const interfaceCopies = [];
|
|
13333
13358
|
if (framework) {
|
|
13334
13359
|
import_node_fs26.default.mkdirSync(import_node_path23.default.join(frameworks, `${surface.module}.framework`, "Modules"), {
|
|
13335
13360
|
recursive: true
|
|
13336
13361
|
});
|
|
13337
|
-
import_node_fs26.default.
|
|
13338
|
-
|
|
13339
|
-
import_node_path23.default.join(frameworks, `${surface.module}.framework`, "Modules", "module.modulemap")
|
|
13362
|
+
const modulemap = import_node_fs26.default.readFileSync(surface.modulemap, "utf8");
|
|
13363
|
+
import_node_fs26.default.writeFileSync(
|
|
13364
|
+
import_node_path23.default.join(frameworks, `${surface.module}.framework`, "Modules", "module.modulemap"),
|
|
13365
|
+
surface.interface ? modulemap.replace(
|
|
13366
|
+
new RegExp(`\\n\\s*module\\s+${surface.module}\\.Swift\\s*\\{[^}]*\\}`),
|
|
13367
|
+
""
|
|
13368
|
+
) : modulemap
|
|
13340
13369
|
);
|
|
13341
13370
|
if (surface.interface) {
|
|
13342
13371
|
const from = import_node_path23.default.dirname(surface.interface);
|
|
@@ -13348,14 +13377,16 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
13348
13377
|
);
|
|
13349
13378
|
import_node_fs26.default.mkdirSync(to, { recursive: true });
|
|
13350
13379
|
for (const name3 of import_node_fs26.default.readdirSync(from))
|
|
13351
|
-
if (name3.endsWith(".swiftinterface"))
|
|
13380
|
+
if (name3.endsWith(".swiftinterface")) {
|
|
13381
|
+
interfaceCopies.push(import_node_path23.default.join(to, name3));
|
|
13352
13382
|
import_node_fs26.default.writeFileSync(
|
|
13353
13383
|
import_node_path23.default.join(to, name3),
|
|
13354
|
-
import_node_fs26.default.readFileSync(import_node_path23.default.join(from, name3), "utf8").replace(/\bCoreFoundation\.(?=CG)/g, "CoreGraphics.").replace(/\bCoreFoundation\.(?=\w)/g, "Foundation.").replace(
|
|
13384
|
+
import_node_fs26.default.readFileSync(import_node_path23.default.join(from, name3), "utf8").replace(/\bCoreFoundation\.(?=CG)/g, "CoreGraphics.").replace(/\bCoreFoundation\.(?=\w)/g, "Foundation.").replace(/\bDarwin\.OSStatus\b/g, "Swift.Int32").replace(
|
|
13355
13385
|
/\bFoundation\.Data\.(?=Base64(?:En|De)codingOptions\b)/g,
|
|
13356
13386
|
"Foundation.NSData."
|
|
13357
13387
|
)
|
|
13358
13388
|
);
|
|
13389
|
+
}
|
|
13359
13390
|
}
|
|
13360
13391
|
} else {
|
|
13361
13392
|
import_node_fs26.default.copyFileSync(surface.modulemap, import_node_path23.default.join(headersDir, "module.modulemap"));
|
|
@@ -13513,6 +13544,7 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
13513
13544
|
return name3 ? { name: name3, before: text5.slice(0, column - 1), after: rest.slice(name3.length) } : null;
|
|
13514
13545
|
};
|
|
13515
13546
|
const typeKind = (name3, after) => /^[A-Z][A-Z0-9_]+$/.test(name3) && !/^\s*\*/.test(after) ? "macro" : /^\s*\*/.test(after) ? "class" : "struct";
|
|
13547
|
+
const selectors = /* @__PURE__ */ new Set();
|
|
13516
13548
|
for (let round = 0; ; round++) {
|
|
13517
13549
|
import_node_fs26.default.rmSync(out, { recursive: true, force: true });
|
|
13518
13550
|
import_node_fs26.default.mkdirSync(out, { recursive: true });
|
|
@@ -13550,6 +13582,21 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
13550
13582
|
`original Objective-C declarations do not import as Swift: ${run8.stderr.trim() || run8.stdout.trim()}`
|
|
13551
13583
|
);
|
|
13552
13584
|
let progress = false;
|
|
13585
|
+
for (const [, shadowed, same] of run8.stderr.matchAll(
|
|
13586
|
+
/is not a member type of class '(\w+)\.(\w+)'/g
|
|
13587
|
+
))
|
|
13588
|
+
if (shadowed === same && !selectors.has(shadowed)) {
|
|
13589
|
+
selectors.add(shadowed);
|
|
13590
|
+
progress = true;
|
|
13591
|
+
for (const file of interfaceCopies)
|
|
13592
|
+
import_node_fs26.default.writeFileSync(
|
|
13593
|
+
file,
|
|
13594
|
+
import_node_fs26.default.readFileSync(file, "utf8").replace(
|
|
13595
|
+
new RegExp(`\\b${shadowed}\\.(?=[A-Za-z_])`, "g"),
|
|
13596
|
+
`${shadowed}::`
|
|
13597
|
+
)
|
|
13598
|
+
);
|
|
13599
|
+
}
|
|
13553
13600
|
const learn = (name3, kind) => {
|
|
13554
13601
|
if (missing.has(name3)) return;
|
|
13555
13602
|
missing.set(name3, kind);
|
|
@@ -13688,6 +13735,30 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
13688
13735
|
inherit(pairs2[Number(match[1])].superclass[0], "s:s8SendableP");
|
|
13689
13736
|
}
|
|
13690
13737
|
}
|
|
13738
|
+
const refined = [...originals.values()].flatMap(
|
|
13739
|
+
(text5) => [
|
|
13740
|
+
...text5.matchAll(
|
|
13741
|
+
/\b(?:FOUNDATION_EXTERN|FOUNDATION_EXPORT|extern)\s+([\w\s*]+?)\s+const\s+(\w+)\s+NS_REFINED_FOR_SWIFT\s*;/g
|
|
13742
|
+
)
|
|
13743
|
+
].flatMap(([, ctype, name3]) => {
|
|
13744
|
+
const type = REFINED_CONSTANT_TYPES.get(ctype.replace(/\s+/g, ""));
|
|
13745
|
+
if (!type) return [];
|
|
13746
|
+
return [
|
|
13747
|
+
{
|
|
13748
|
+
kind: { identifier: "swift.var" },
|
|
13749
|
+
identifier: { precise: `c:@${name3}` },
|
|
13750
|
+
pathComponents: [`__${name3}`],
|
|
13751
|
+
declarationFragments: [
|
|
13752
|
+
{ kind: "keyword", spelling: "let" },
|
|
13753
|
+
{ kind: "text", spelling: ` __${name3}: ${type}` }
|
|
13754
|
+
],
|
|
13755
|
+
accessLevel: "public"
|
|
13756
|
+
}
|
|
13757
|
+
];
|
|
13758
|
+
})
|
|
13759
|
+
);
|
|
13760
|
+
if (refined.length > 0)
|
|
13761
|
+
graphs.push({ module: { name: surface.module }, symbols: refined, relationships: [] });
|
|
13691
13762
|
const imports2 = /* @__PURE__ */ new Set(["Foundation", "UIKit"]);
|
|
13692
13763
|
for (const text5 of originals.values())
|
|
13693
13764
|
for (const name3 of clangImportNames(text5)) imports2.add(name3);
|
|
@@ -22167,7 +22238,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
22167
22238
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
22168
22239
|
var MULTI_MANIFEST_VERSION = 66;
|
|
22169
22240
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
22170
|
-
var compilerSourceDigest = true ? "
|
|
22241
|
+
var compilerSourceDigest = true ? "4c6d0c445f1c9d7fab6a4d2bbd910ec116536acc8d1aa621f70c74c10dd9faba" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
22171
22242
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
22172
22243
|
const hash = (0, import_node_crypto17.createHash)("sha256");
|
|
22173
22244
|
hash.update(`swift-compile
|
|
@@ -31097,7 +31168,7 @@ function sourceClosureDigest(srcDir, entrypoints) {
|
|
|
31097
31168
|
return hash.digest("hex");
|
|
31098
31169
|
}
|
|
31099
31170
|
var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
31100
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
31171
|
+
var STANDIN_SOURCE_DIGEST = true ? "01e0eae770cafd2bbd23d98a22897ab31ada19f5a273a8f25da7c88aa3086c09" : standinSourceDigest();
|
|
31101
31172
|
|
|
31102
31173
|
// src/expoSwiftContract.ts
|
|
31103
31174
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -31427,7 +31498,7 @@ async function packageTreeDigest(root) {
|
|
|
31427
31498
|
|
|
31428
31499
|
// src/expo-native-prebuilt.ts
|
|
31429
31500
|
var EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
31430
|
-
var EXPO_NATIVE_COMPILER_DIGEST = true ? "
|
|
31501
|
+
var EXPO_NATIVE_COMPILER_DIGEST = true ? "022284864952d1dbc7df026947d11c21515e286edc351e6daa1c083fe4b3c12a" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
31431
31502
|
var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
31432
31503
|
function readSources(value) {
|
|
31433
31504
|
const sources = isRecord(value) ? value.sources : null;
|
|
@@ -33941,7 +34012,13 @@ function mixedStandin(surface, binary2, toolchain, work, behavior, frameworkDirs
|
|
|
33941
34012
|
}))
|
|
33942
34013
|
};
|
|
33943
34014
|
});
|
|
33944
|
-
const imports2 = [
|
|
34015
|
+
const imports2 = [
|
|
34016
|
+
.../* @__PURE__ */ new Set([
|
|
34017
|
+
...swiftImportNames(interfaceText),
|
|
34018
|
+
...view.imports.filter((name3) => !STANDIN_IMPORTS.includes(name3)),
|
|
34019
|
+
...owners
|
|
34020
|
+
])
|
|
34021
|
+
].filter(
|
|
33945
34022
|
(module2) => module2 !== surface.module && (provided.has(module2) || siblings.has(module2))
|
|
33946
34023
|
);
|
|
33947
34024
|
return graphStandin(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1968 | (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.1968 | (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.1968 | (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;
|
|
@@ -24827,6 +24827,7 @@ function emitSwiftStandin(sourceGraphs, options) {
|
|
|
24827
24827
|
const superclass = /* @__PURE__ */ new Map();
|
|
24828
24828
|
const superId = /* @__PURE__ */ new Map();
|
|
24829
24829
|
const conforms = /* @__PURE__ */ new Map();
|
|
24830
|
+
const conditional = [];
|
|
24830
24831
|
const conformanceTargets = /* @__PURE__ */ new Map();
|
|
24831
24832
|
const objectConformers = /* @__PURE__ */ new Set();
|
|
24832
24833
|
const conformIds = /* @__PURE__ */ new Map();
|
|
@@ -24842,7 +24843,10 @@ function emitSwiftStandin(sourceGraphs, options) {
|
|
|
24842
24843
|
const parts = fallback.split(".");
|
|
24843
24844
|
const module2 = parts[0] === "SwiftUICore" ? "SwiftUI" : parts[0];
|
|
24844
24845
|
const unqualified = parts.slice(1).join(".") || parts[0];
|
|
24845
|
-
const name3 = family.has(parts[0]) && parts[0] !== "SwiftUICore" ?
|
|
24846
|
+
const name3 = parts.length > 1 && family.has(parts[0]) && parts[0] !== "SwiftUICore" ? (
|
|
24847
|
+
// a module selector reaches past a class named like its module
|
|
24848
|
+
`${parts[0]}::${unqualified}`
|
|
24849
|
+
) : unqualified;
|
|
24846
24850
|
return { name: name3, module: module2, local: false };
|
|
24847
24851
|
};
|
|
24848
24852
|
const nsObject = nameOf("c:objc(cs)NSObject", "ObjectiveC.NSObject").name;
|
|
@@ -24857,6 +24861,7 @@ function emitSwiftStandin(sourceGraphs, options) {
|
|
|
24857
24861
|
if (edge.sourceOrigin) origins.set(edge.source, edge.sourceOrigin.displayName);
|
|
24858
24862
|
switch (edge.kind) {
|
|
24859
24863
|
case "memberOf": {
|
|
24864
|
+
if (edge.source === edge.target) break;
|
|
24860
24865
|
const parent = byId.get(edge.target);
|
|
24861
24866
|
if (parent) {
|
|
24862
24867
|
owner.set(edge.source, edge.target);
|
|
@@ -24887,7 +24892,15 @@ function emitSwiftStandin(sourceGraphs, options) {
|
|
|
24887
24892
|
path: pathOf(source),
|
|
24888
24893
|
reason: `unsupported Objective-C protocol parent ${edge.target}`
|
|
24889
24894
|
});
|
|
24890
|
-
if (name3) {
|
|
24895
|
+
if (name3 && edge.swiftConstraints?.length) {
|
|
24896
|
+
conditional.push({
|
|
24897
|
+
source,
|
|
24898
|
+
name: name3,
|
|
24899
|
+
where: edge.swiftConstraints.map(
|
|
24900
|
+
({ kind, lhs, rhs }) => kind === "sameType" ? `${lhs} == ${rhs}` : `${lhs}: ${rhs}`
|
|
24901
|
+
).join(", ")
|
|
24902
|
+
});
|
|
24903
|
+
} else if (name3) {
|
|
24891
24904
|
conforms.set(edge.source, [...conforms.get(edge.source) ?? [], name3]);
|
|
24892
24905
|
const targets = conformanceTargets.get(edge.source) ?? /* @__PURE__ */ new Map();
|
|
24893
24906
|
targets.set(name3, edge.target);
|
|
@@ -25368,7 +25381,7 @@ function emitSwiftStandin(sourceGraphs, options) {
|
|
|
25368
25381
|
if (!parentSymbol || !ownIds.has(parentSymbol.identifier.precise))
|
|
25369
25382
|
list2.push(standinMarker);
|
|
25370
25383
|
const open = symbol2.accessLevel === "open" && (!parentSymbol || parentSymbol.accessLevel === "open");
|
|
25371
|
-
const objcName = /^c:objc\(cs\)(\w+)$/.exec(id)?.[1];
|
|
25384
|
+
const objcName = shape.generics ? void 0 : /^c:objc\(cs\)(\w+)$/.exec(id)?.[1];
|
|
25372
25385
|
emit(
|
|
25373
25386
|
`${indent2}${shape.attrs}${objcName ? `@objc(${objcName}) ` : ""}${shape.final}${open ? "open" : "public"} class ${shape.name}${shape.generics}${list2.length ? `: ${list2.join(", ")}` : ""}${selfConforming(shape.where)} {`
|
|
25374
25387
|
);
|
|
@@ -25763,6 +25776,8 @@ function emitSwiftStandin(sourceGraphs, options) {
|
|
|
25763
25776
|
emitWitness(witness.member, " ", witness.path);
|
|
25764
25777
|
emit("}");
|
|
25765
25778
|
}
|
|
25779
|
+
for (const { source, name: name3, where } of conditional)
|
|
25780
|
+
emitAt(pathOf(source), `extension ${pathOf(source)}: ${name3} where ${where} {}`);
|
|
25766
25781
|
const banner = [
|
|
25767
25782
|
...options.placeholder ? [
|
|
25768
25783
|
`// placeholder for ${options.module}, generated from ${options.source}: ${options.placeholder}.`,
|
|
@@ -25858,6 +25873,15 @@ function stripDefaults(decl) {
|
|
|
25858
25873
|
}
|
|
25859
25874
|
|
|
25860
25875
|
// src/swift-objc-standin.ts
|
|
25876
|
+
var REFINED_CONSTANT_TYPES = /* @__PURE__ */ new Map([
|
|
25877
|
+
["NSInteger", "Int"],
|
|
25878
|
+
["NSUInteger", "UInt"],
|
|
25879
|
+
["NSTimeInterval", "TimeInterval"],
|
|
25880
|
+
["double", "Double"],
|
|
25881
|
+
["CGFloat", "CGFloat"],
|
|
25882
|
+
["BOOL", "Bool"],
|
|
25883
|
+
["NSString*", "String"]
|
|
25884
|
+
]);
|
|
25861
25885
|
var NATIVE_GRAPH_SDK_VERSION = "27.1";
|
|
25862
25886
|
var WASI_EMULATION = [
|
|
25863
25887
|
"_WASI_EMULATED_SIGNAL",
|
|
@@ -26151,13 +26175,18 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
26151
26175
|
import_node_fs31.default.mkdirSync(import_node_path29.default.dirname(file), { recursive: true });
|
|
26152
26176
|
import_node_fs31.default.writeFileSync(file, text6);
|
|
26153
26177
|
}
|
|
26178
|
+
const interfaceCopies = [];
|
|
26154
26179
|
if (framework) {
|
|
26155
26180
|
import_node_fs31.default.mkdirSync(import_node_path29.default.join(frameworks, `${surface.module}.framework`, "Modules"), {
|
|
26156
26181
|
recursive: true
|
|
26157
26182
|
});
|
|
26158
|
-
import_node_fs31.default.
|
|
26159
|
-
|
|
26160
|
-
import_node_path29.default.join(frameworks, `${surface.module}.framework`, "Modules", "module.modulemap")
|
|
26183
|
+
const modulemap = import_node_fs31.default.readFileSync(surface.modulemap, "utf8");
|
|
26184
|
+
import_node_fs31.default.writeFileSync(
|
|
26185
|
+
import_node_path29.default.join(frameworks, `${surface.module}.framework`, "Modules", "module.modulemap"),
|
|
26186
|
+
surface.interface ? modulemap.replace(
|
|
26187
|
+
new RegExp(`\\n\\s*module\\s+${surface.module}\\.Swift\\s*\\{[^}]*\\}`),
|
|
26188
|
+
""
|
|
26189
|
+
) : modulemap
|
|
26161
26190
|
);
|
|
26162
26191
|
if (surface.interface) {
|
|
26163
26192
|
const from = import_node_path29.default.dirname(surface.interface);
|
|
@@ -26169,14 +26198,16 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
26169
26198
|
);
|
|
26170
26199
|
import_node_fs31.default.mkdirSync(to, { recursive: true });
|
|
26171
26200
|
for (const name3 of import_node_fs31.default.readdirSync(from))
|
|
26172
|
-
if (name3.endsWith(".swiftinterface"))
|
|
26201
|
+
if (name3.endsWith(".swiftinterface")) {
|
|
26202
|
+
interfaceCopies.push(import_node_path29.default.join(to, name3));
|
|
26173
26203
|
import_node_fs31.default.writeFileSync(
|
|
26174
26204
|
import_node_path29.default.join(to, name3),
|
|
26175
|
-
import_node_fs31.default.readFileSync(import_node_path29.default.join(from, name3), "utf8").replace(/\bCoreFoundation\.(?=CG)/g, "CoreGraphics.").replace(/\bCoreFoundation\.(?=\w)/g, "Foundation.").replace(
|
|
26205
|
+
import_node_fs31.default.readFileSync(import_node_path29.default.join(from, name3), "utf8").replace(/\bCoreFoundation\.(?=CG)/g, "CoreGraphics.").replace(/\bCoreFoundation\.(?=\w)/g, "Foundation.").replace(/\bDarwin\.OSStatus\b/g, "Swift.Int32").replace(
|
|
26176
26206
|
/\bFoundation\.Data\.(?=Base64(?:En|De)codingOptions\b)/g,
|
|
26177
26207
|
"Foundation.NSData."
|
|
26178
26208
|
)
|
|
26179
26209
|
);
|
|
26210
|
+
}
|
|
26180
26211
|
}
|
|
26181
26212
|
} else {
|
|
26182
26213
|
import_node_fs31.default.copyFileSync(surface.modulemap, import_node_path29.default.join(headersDir, "module.modulemap"));
|
|
@@ -26334,6 +26365,7 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
26334
26365
|
return name3 ? { name: name3, before: text6.slice(0, column - 1), after: rest.slice(name3.length) } : null;
|
|
26335
26366
|
};
|
|
26336
26367
|
const typeKind = (name3, after) => /^[A-Z][A-Z0-9_]+$/.test(name3) && !/^\s*\*/.test(after) ? "macro" : /^\s*\*/.test(after) ? "class" : "struct";
|
|
26368
|
+
const selectors = /* @__PURE__ */ new Set();
|
|
26337
26369
|
for (let round = 0; ; round++) {
|
|
26338
26370
|
import_node_fs31.default.rmSync(out, { recursive: true, force: true });
|
|
26339
26371
|
import_node_fs31.default.mkdirSync(out, { recursive: true });
|
|
@@ -26371,6 +26403,21 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
26371
26403
|
`original Objective-C declarations do not import as Swift: ${run11.stderr.trim() || run11.stdout.trim()}`
|
|
26372
26404
|
);
|
|
26373
26405
|
let progress = false;
|
|
26406
|
+
for (const [, shadowed, same] of run11.stderr.matchAll(
|
|
26407
|
+
/is not a member type of class '(\w+)\.(\w+)'/g
|
|
26408
|
+
))
|
|
26409
|
+
if (shadowed === same && !selectors.has(shadowed)) {
|
|
26410
|
+
selectors.add(shadowed);
|
|
26411
|
+
progress = true;
|
|
26412
|
+
for (const file of interfaceCopies)
|
|
26413
|
+
import_node_fs31.default.writeFileSync(
|
|
26414
|
+
file,
|
|
26415
|
+
import_node_fs31.default.readFileSync(file, "utf8").replace(
|
|
26416
|
+
new RegExp(`\\b${shadowed}\\.(?=[A-Za-z_])`, "g"),
|
|
26417
|
+
`${shadowed}::`
|
|
26418
|
+
)
|
|
26419
|
+
);
|
|
26420
|
+
}
|
|
26374
26421
|
const learn = (name3, kind) => {
|
|
26375
26422
|
if (missing2.has(name3)) return;
|
|
26376
26423
|
missing2.set(name3, kind);
|
|
@@ -26509,6 +26556,30 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
26509
26556
|
inherit(pairs2[Number(match[1])].superclass[0], "s:s8SendableP");
|
|
26510
26557
|
}
|
|
26511
26558
|
}
|
|
26559
|
+
const refined = [...originals.values()].flatMap(
|
|
26560
|
+
(text6) => [
|
|
26561
|
+
...text6.matchAll(
|
|
26562
|
+
/\b(?:FOUNDATION_EXTERN|FOUNDATION_EXPORT|extern)\s+([\w\s*]+?)\s+const\s+(\w+)\s+NS_REFINED_FOR_SWIFT\s*;/g
|
|
26563
|
+
)
|
|
26564
|
+
].flatMap(([, ctype, name3]) => {
|
|
26565
|
+
const type = REFINED_CONSTANT_TYPES.get(ctype.replace(/\s+/g, ""));
|
|
26566
|
+
if (!type) return [];
|
|
26567
|
+
return [
|
|
26568
|
+
{
|
|
26569
|
+
kind: { identifier: "swift.var" },
|
|
26570
|
+
identifier: { precise: `c:@${name3}` },
|
|
26571
|
+
pathComponents: [`__${name3}`],
|
|
26572
|
+
declarationFragments: [
|
|
26573
|
+
{ kind: "keyword", spelling: "let" },
|
|
26574
|
+
{ kind: "text", spelling: ` __${name3}: ${type}` }
|
|
26575
|
+
],
|
|
26576
|
+
accessLevel: "public"
|
|
26577
|
+
}
|
|
26578
|
+
];
|
|
26579
|
+
})
|
|
26580
|
+
);
|
|
26581
|
+
if (refined.length > 0)
|
|
26582
|
+
graphs.push({ module: { name: surface.module }, symbols: refined, relationships: [] });
|
|
26512
26583
|
const imports2 = /* @__PURE__ */ new Set(["Foundation", "UIKit"]);
|
|
26513
26584
|
for (const text6 of originals.values())
|
|
26514
26585
|
for (const name3 of clangImportNames(text6)) imports2.add(name3);
|
|
@@ -35021,7 +35092,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
35021
35092
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
35022
35093
|
var MULTI_MANIFEST_VERSION = 66;
|
|
35023
35094
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
35024
|
-
var compilerSourceDigest = true ? "
|
|
35095
|
+
var compilerSourceDigest = true ? "4c6d0c445f1c9d7fab6a4d2bbd910ec116536acc8d1aa621f70c74c10dd9faba" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
35025
35096
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
35026
35097
|
const hash = (0, import_node_crypto21.createHash)("sha256");
|
|
35027
35098
|
hash.update(`swift-compile
|
|
@@ -44303,7 +44374,7 @@ function sourceClosureDigest(srcDir, entrypoints) {
|
|
|
44303
44374
|
return hash.digest("hex");
|
|
44304
44375
|
}
|
|
44305
44376
|
var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
44306
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
44377
|
+
var STANDIN_SOURCE_DIGEST = true ? "01e0eae770cafd2bbd23d98a22897ab31ada19f5a273a8f25da7c88aa3086c09" : standinSourceDigest();
|
|
44307
44378
|
|
|
44308
44379
|
// src/expoSwiftContract.ts
|
|
44309
44380
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -44670,7 +44741,7 @@ async function packageTreeDigest(root) {
|
|
|
44670
44741
|
|
|
44671
44742
|
// src/expo-native-prebuilt.ts
|
|
44672
44743
|
var EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
44673
|
-
var EXPO_NATIVE_COMPILER_DIGEST = true ? "
|
|
44744
|
+
var EXPO_NATIVE_COMPILER_DIGEST = true ? "022284864952d1dbc7df026947d11c21515e286edc351e6daa1c083fe4b3c12a" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
44674
44745
|
var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
44675
44746
|
function readSources(value) {
|
|
44676
44747
|
const sources = isRecord(value) ? value.sources : null;
|
|
@@ -47201,7 +47272,13 @@ function mixedStandin(surface, binary2, toolchain, work, behavior, frameworkDirs
|
|
|
47201
47272
|
}))
|
|
47202
47273
|
};
|
|
47203
47274
|
});
|
|
47204
|
-
const imports2 = [
|
|
47275
|
+
const imports2 = [
|
|
47276
|
+
.../* @__PURE__ */ new Set([
|
|
47277
|
+
...swiftImportNames(interfaceText),
|
|
47278
|
+
...view.imports.filter((name3) => !STANDIN_IMPORTS.includes(name3)),
|
|
47279
|
+
...owners
|
|
47280
|
+
])
|
|
47281
|
+
].filter(
|
|
47205
47282
|
(module2) => module2 !== surface.module && (provided.has(module2) || siblings.has(module2))
|
|
47206
47283
|
);
|
|
47207
47284
|
return graphStandin(
|
|
@@ -62325,7 +62402,7 @@ async function nitroSupersetInputs(options) {
|
|
|
62325
62402
|
inputs[`provider:${name3}`] = `${packageVersion(root)}\0${await packageTreeDigest(root)}`;
|
|
62326
62403
|
return inputs;
|
|
62327
62404
|
}
|
|
62328
|
-
var NITRO_COMPILER_DIGEST = true ? "
|
|
62405
|
+
var NITRO_COMPILER_DIGEST = true ? "c785598cf743dc275f207273c9195800163f524e59977420e693f356cffa6d72" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
62329
62406
|
function readInputs(value) {
|
|
62330
62407
|
if (!isRecord(value)) return null;
|
|
62331
62408
|
const inputs = {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1968 | (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.1968 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1968 | (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.1968 | (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/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1968 | (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;
|
|
@@ -19632,7 +19632,7 @@ var FOUNDATION_IMPLICIT_MODULES = [
|
|
|
19632
19632
|
var FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
19633
19633
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
19634
19634
|
).join("");
|
|
19635
|
-
var compilerSourceDigest = true ? "
|
|
19635
|
+
var compilerSourceDigest = true ? "4c6d0c445f1c9d7fab6a4d2bbd910ec116536acc8d1aa621f70c74c10dd9faba" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
19636
19636
|
var CORE_FOUNDATION_HANDLE_IMPORTS = [
|
|
19637
19637
|
"CFAllocator",
|
|
19638
19638
|
"CFArray",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1968 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1968 | (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;
|
package/dist-lib/kotlin-host.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1968 | (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;
|
package/dist-lib/menu.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1968 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/menu.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1968 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1968 | (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.1968 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
4
|
var __esm = (fn, res) => function __init() {
|
package/dist-lib/metro.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1968 | (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;
|
|
@@ -14045,7 +14045,7 @@ var FOUNDATION_IMPLICIT_MODULES = [
|
|
|
14045
14045
|
var FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
14046
14046
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
14047
14047
|
).join("");
|
|
14048
|
-
var compilerSourceDigest = true ? "
|
|
14048
|
+
var compilerSourceDigest = true ? "4c6d0c445f1c9d7fab6a4d2bbd910ec116536acc8d1aa621f70c74c10dd9faba" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
14049
14049
|
var CORE_FOUNDATION_HANDLE_IMPORTS = [
|
|
14050
14050
|
"CFAllocator",
|
|
14051
14051
|
"CFArray",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1968 | (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;
|
|
@@ -3289,7 +3289,7 @@ var FOUNDATION_IMPLICIT_MODULES = [
|
|
|
3289
3289
|
var FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
3290
3290
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
3291
3291
|
).join("");
|
|
3292
|
-
var compilerSourceDigest = true ? "
|
|
3292
|
+
var compilerSourceDigest = true ? "4c6d0c445f1c9d7fab6a4d2bbd910ec116536acc8d1aa621f70c74c10dd9faba" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
3293
3293
|
var CORE_FOUNDATION_HANDLE_IMPORTS = [
|
|
3294
3294
|
"CFAllocator",
|
|
3295
3295
|
"CFArray",
|