peachsim 0.1.1966 → 0.1.1967
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 +39 -8
- 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 +38 -7
- 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 +39 -8
- 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 +39 -8
- 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 +37 -6
- 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 +24 -1
- package/src/swift-standin-emit.ts +21 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1967 | (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.1967 | (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.1967 | (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.1967 | (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.1967 | (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/beta.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1967 | (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/beta.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1967 | (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.1967 | (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.1967 | (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.1967 | (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;
|
|
@@ -18533,6 +18533,7 @@ function emitSwiftStandin(sourceGraphs, options) {
|
|
|
18533
18533
|
const superclass = /* @__PURE__ */ new Map();
|
|
18534
18534
|
const superId = /* @__PURE__ */ new Map();
|
|
18535
18535
|
const conforms = /* @__PURE__ */ new Map();
|
|
18536
|
+
const conditional = [];
|
|
18536
18537
|
const conformanceTargets = /* @__PURE__ */ new Map();
|
|
18537
18538
|
const objectConformers = /* @__PURE__ */ new Set();
|
|
18538
18539
|
const conformIds = /* @__PURE__ */ new Map();
|
|
@@ -18563,6 +18564,7 @@ function emitSwiftStandin(sourceGraphs, options) {
|
|
|
18563
18564
|
if (edge.sourceOrigin) origins.set(edge.source, edge.sourceOrigin.displayName);
|
|
18564
18565
|
switch (edge.kind) {
|
|
18565
18566
|
case "memberOf": {
|
|
18567
|
+
if (edge.source === edge.target) break;
|
|
18566
18568
|
const parent = byId.get(edge.target);
|
|
18567
18569
|
if (parent) {
|
|
18568
18570
|
owner.set(edge.source, edge.target);
|
|
@@ -18593,7 +18595,15 @@ function emitSwiftStandin(sourceGraphs, options) {
|
|
|
18593
18595
|
path: pathOf(source),
|
|
18594
18596
|
reason: `unsupported Objective-C protocol parent ${edge.target}`
|
|
18595
18597
|
});
|
|
18596
|
-
if (name3) {
|
|
18598
|
+
if (name3 && edge.swiftConstraints?.length) {
|
|
18599
|
+
conditional.push({
|
|
18600
|
+
source,
|
|
18601
|
+
name: name3,
|
|
18602
|
+
where: edge.swiftConstraints.map(
|
|
18603
|
+
({ kind, lhs, rhs }) => kind === "sameType" ? `${lhs} == ${rhs}` : `${lhs}: ${rhs}`
|
|
18604
|
+
).join(", ")
|
|
18605
|
+
});
|
|
18606
|
+
} else if (name3) {
|
|
18597
18607
|
conforms.set(edge.source, [...conforms.get(edge.source) ?? [], name3]);
|
|
18598
18608
|
const targets = conformanceTargets.get(edge.source) ?? /* @__PURE__ */ new Map();
|
|
18599
18609
|
targets.set(name3, edge.target);
|
|
@@ -19074,7 +19084,7 @@ function emitSwiftStandin(sourceGraphs, options) {
|
|
|
19074
19084
|
if (!parentSymbol || !ownIds.has(parentSymbol.identifier.precise))
|
|
19075
19085
|
list2.push(standinMarker);
|
|
19076
19086
|
const open = symbol2.accessLevel === "open" && (!parentSymbol || parentSymbol.accessLevel === "open");
|
|
19077
|
-
const objcName = /^c:objc\(cs\)(\w+)$/.exec(id)?.[1];
|
|
19087
|
+
const objcName = shape.generics ? void 0 : /^c:objc\(cs\)(\w+)$/.exec(id)?.[1];
|
|
19078
19088
|
emit(
|
|
19079
19089
|
`${indent2}${shape.attrs}${objcName ? `@objc(${objcName}) ` : ""}${shape.final}${open ? "open" : "public"} class ${shape.name}${shape.generics}${list2.length ? `: ${list2.join(", ")}` : ""}${selfConforming(shape.where)} {`
|
|
19080
19090
|
);
|
|
@@ -19469,6 +19479,8 @@ function emitSwiftStandin(sourceGraphs, options) {
|
|
|
19469
19479
|
emitWitness(witness.member, " ", witness.path);
|
|
19470
19480
|
emit("}");
|
|
19471
19481
|
}
|
|
19482
|
+
for (const { source, name: name3, where } of conditional)
|
|
19483
|
+
emitAt(pathOf(source), `extension ${pathOf(source)}: ${name3} where ${where} {}`);
|
|
19472
19484
|
const banner = [
|
|
19473
19485
|
...options.placeholder ? [
|
|
19474
19486
|
`// placeholder for ${options.module}, generated from ${options.source}: ${options.placeholder}.`,
|
|
@@ -19898,6 +19910,7 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
19898
19910
|
import_node_fs29.default.mkdirSync(import_node_path27.default.dirname(file), { recursive: true });
|
|
19899
19911
|
import_node_fs29.default.writeFileSync(file, text6);
|
|
19900
19912
|
}
|
|
19913
|
+
const interfaceCopies = [];
|
|
19901
19914
|
if (framework) {
|
|
19902
19915
|
import_node_fs29.default.mkdirSync(import_node_path27.default.join(frameworks, `${surface.module}.framework`, "Modules"), {
|
|
19903
19916
|
recursive: true
|
|
@@ -19916,7 +19929,8 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
19916
19929
|
);
|
|
19917
19930
|
import_node_fs29.default.mkdirSync(to, { recursive: true });
|
|
19918
19931
|
for (const name3 of import_node_fs29.default.readdirSync(from))
|
|
19919
|
-
if (name3.endsWith(".swiftinterface"))
|
|
19932
|
+
if (name3.endsWith(".swiftinterface")) {
|
|
19933
|
+
interfaceCopies.push(import_node_path27.default.join(to, name3));
|
|
19920
19934
|
import_node_fs29.default.writeFileSync(
|
|
19921
19935
|
import_node_path27.default.join(to, name3),
|
|
19922
19936
|
import_node_fs29.default.readFileSync(import_node_path27.default.join(from, name3), "utf8").replace(/\bCoreFoundation\.(?=CG)/g, "CoreGraphics.").replace(/\bCoreFoundation\.(?=\w)/g, "Foundation.").replace(
|
|
@@ -19924,6 +19938,7 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
19924
19938
|
"Foundation.NSData."
|
|
19925
19939
|
)
|
|
19926
19940
|
);
|
|
19941
|
+
}
|
|
19927
19942
|
}
|
|
19928
19943
|
} else {
|
|
19929
19944
|
import_node_fs29.default.copyFileSync(surface.modulemap, import_node_path27.default.join(headersDir, "module.modulemap"));
|
|
@@ -20081,6 +20096,7 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
20081
20096
|
return name3 ? { name: name3, before: text6.slice(0, column - 1), after: rest.slice(name3.length) } : null;
|
|
20082
20097
|
};
|
|
20083
20098
|
const typeKind = (name3, after) => /^[A-Z][A-Z0-9_]+$/.test(name3) && !/^\s*\*/.test(after) ? "macro" : /^\s*\*/.test(after) ? "class" : "struct";
|
|
20099
|
+
const selectors = /* @__PURE__ */ new Set();
|
|
20084
20100
|
for (let round = 0; ; round++) {
|
|
20085
20101
|
import_node_fs29.default.rmSync(out, { recursive: true, force: true });
|
|
20086
20102
|
import_node_fs29.default.mkdirSync(out, { recursive: true });
|
|
@@ -20118,6 +20134,21 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
20118
20134
|
`original Objective-C declarations do not import as Swift: ${run11.stderr.trim() || run11.stdout.trim()}`
|
|
20119
20135
|
);
|
|
20120
20136
|
let progress = false;
|
|
20137
|
+
for (const [, shadowed, same] of run11.stderr.matchAll(
|
|
20138
|
+
/is not a member type of class '(\w+)\.(\w+)'/g
|
|
20139
|
+
))
|
|
20140
|
+
if (shadowed === same && !selectors.has(shadowed)) {
|
|
20141
|
+
selectors.add(shadowed);
|
|
20142
|
+
progress = true;
|
|
20143
|
+
for (const file of interfaceCopies)
|
|
20144
|
+
import_node_fs29.default.writeFileSync(
|
|
20145
|
+
file,
|
|
20146
|
+
import_node_fs29.default.readFileSync(file, "utf8").replace(
|
|
20147
|
+
new RegExp(`\\b${shadowed}\\.(?=[A-Za-z_])`, "g"),
|
|
20148
|
+
`${shadowed}::`
|
|
20149
|
+
)
|
|
20150
|
+
);
|
|
20151
|
+
}
|
|
20121
20152
|
const learn = (name3, kind) => {
|
|
20122
20153
|
if (missing2.has(name3)) return;
|
|
20123
20154
|
missing2.set(name3, kind);
|
|
@@ -32667,7 +32698,7 @@ var init_swift_compile = __esm({
|
|
|
32667
32698
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
32668
32699
|
MULTI_MANIFEST_VERSION = 66;
|
|
32669
32700
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
32670
|
-
compilerSourceDigest = true ? "
|
|
32701
|
+
compilerSourceDigest = true ? "2e5698309de758f9fcfd857f44c8fe794ab3ef36f7b28f6a042e4326bbc8113a" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
32671
32702
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
32672
32703
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
32673
32704
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -38454,7 +38485,7 @@ var init_swift_standin_digest = __esm({
|
|
|
38454
38485
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
38455
38486
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
38456
38487
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
38457
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
38488
|
+
STANDIN_SOURCE_DIGEST = true ? "af579d23be157d779601d4f3373566fac852d588d01fe54fa87ad7cd82139fd8" : standinSourceDigest();
|
|
38458
38489
|
}
|
|
38459
38490
|
});
|
|
38460
38491
|
|
|
@@ -38944,7 +38975,7 @@ var init_expo_native_prebuilt = __esm({
|
|
|
38944
38975
|
init_swift_native_pin();
|
|
38945
38976
|
init_xcode_project();
|
|
38946
38977
|
EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
38947
|
-
EXPO_NATIVE_COMPILER_DIGEST = true ? "
|
|
38978
|
+
EXPO_NATIVE_COMPILER_DIGEST = true ? "57fd25419389163e0501e0681c919f48b6073cfe4f0f06d6b5495fc7b57d4dd3" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
38948
38979
|
IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
38949
38980
|
expoNativeEntryUrl = (key2, file) => `${NATIVE_PREBUILT_ORIGIN}/${nativeEntryPrefix("expo", EXPO_NATIVE_ENTRY_NAME, key2)}/${file}`;
|
|
38950
38981
|
isStringRecord = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
|
|
@@ -56384,7 +56415,7 @@ var init_nitro_superset = __esm({
|
|
|
56384
56415
|
init_swift_standin_digest();
|
|
56385
56416
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
56386
56417
|
packageVersion = (root) => JSON.parse((0, import_node_fs86.readFileSync)((0, import_node_path85.join)(root, "package.json"), "utf8")).version;
|
|
56387
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
56418
|
+
NITRO_COMPILER_DIGEST = true ? "4b41212fe6995ac10eed9503b03610aeba9098a905bc347b46e899b129e1032f" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
56388
56419
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
56389
56420
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
56390
56421
|
published2 = /* @__PURE__ */ new Map();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1967 | (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.1967 | (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.1967 | (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/cloud.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1967 | (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/cloud.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1967 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
4
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
package/dist-lib/config.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1967 | (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/config.mjs
CHANGED
package/dist-lib/detox/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1967 | (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.1967 | (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.1967 | (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();
|
|
@@ -12036,6 +12037,7 @@ function emitSwiftStandin(sourceGraphs, options) {
|
|
|
12036
12037
|
if (edge.sourceOrigin) origins.set(edge.source, edge.sourceOrigin.displayName);
|
|
12037
12038
|
switch (edge.kind) {
|
|
12038
12039
|
case "memberOf": {
|
|
12040
|
+
if (edge.source === edge.target) break;
|
|
12039
12041
|
const parent = byId.get(edge.target);
|
|
12040
12042
|
if (parent) {
|
|
12041
12043
|
owner.set(edge.source, edge.target);
|
|
@@ -12066,7 +12068,15 @@ function emitSwiftStandin(sourceGraphs, options) {
|
|
|
12066
12068
|
path: pathOf(source),
|
|
12067
12069
|
reason: `unsupported Objective-C protocol parent ${edge.target}`
|
|
12068
12070
|
});
|
|
12069
|
-
if (name3) {
|
|
12071
|
+
if (name3 && edge.swiftConstraints?.length) {
|
|
12072
|
+
conditional.push({
|
|
12073
|
+
source,
|
|
12074
|
+
name: name3,
|
|
12075
|
+
where: edge.swiftConstraints.map(
|
|
12076
|
+
({ kind, lhs, rhs }) => kind === "sameType" ? `${lhs} == ${rhs}` : `${lhs}: ${rhs}`
|
|
12077
|
+
).join(", ")
|
|
12078
|
+
});
|
|
12079
|
+
} else if (name3) {
|
|
12070
12080
|
conforms.set(edge.source, [...conforms.get(edge.source) ?? [], name3]);
|
|
12071
12081
|
const targets = conformanceTargets.get(edge.source) ?? /* @__PURE__ */ new Map();
|
|
12072
12082
|
targets.set(name3, edge.target);
|
|
@@ -12547,7 +12557,7 @@ function emitSwiftStandin(sourceGraphs, options) {
|
|
|
12547
12557
|
if (!parentSymbol || !ownIds.has(parentSymbol.identifier.precise))
|
|
12548
12558
|
list2.push(standinMarker);
|
|
12549
12559
|
const open = symbol2.accessLevel === "open" && (!parentSymbol || parentSymbol.accessLevel === "open");
|
|
12550
|
-
const objcName = /^c:objc\(cs\)(\w+)$/.exec(id)?.[1];
|
|
12560
|
+
const objcName = shape.generics ? void 0 : /^c:objc\(cs\)(\w+)$/.exec(id)?.[1];
|
|
12551
12561
|
emit(
|
|
12552
12562
|
`${indent2}${shape.attrs}${objcName ? `@objc(${objcName}) ` : ""}${shape.final}${open ? "open" : "public"} class ${shape.name}${shape.generics}${list2.length ? `: ${list2.join(", ")}` : ""}${selfConforming(shape.where)} {`
|
|
12553
12563
|
);
|
|
@@ -12942,6 +12952,8 @@ function emitSwiftStandin(sourceGraphs, options) {
|
|
|
12942
12952
|
emitWitness(witness.member, " ", witness.path);
|
|
12943
12953
|
emit("}");
|
|
12944
12954
|
}
|
|
12955
|
+
for (const { source, name: name3, where } of conditional)
|
|
12956
|
+
emitAt(pathOf(source), `extension ${pathOf(source)}: ${name3} where ${where} {}`);
|
|
12945
12957
|
const banner = [
|
|
12946
12958
|
...options.placeholder ? [
|
|
12947
12959
|
`// placeholder for ${options.module}, generated from ${options.source}: ${options.placeholder}.`,
|
|
@@ -13330,6 +13342,7 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
13330
13342
|
import_node_fs26.default.mkdirSync(import_node_path23.default.dirname(file), { recursive: true });
|
|
13331
13343
|
import_node_fs26.default.writeFileSync(file, text5);
|
|
13332
13344
|
}
|
|
13345
|
+
const interfaceCopies = [];
|
|
13333
13346
|
if (framework) {
|
|
13334
13347
|
import_node_fs26.default.mkdirSync(import_node_path23.default.join(frameworks, `${surface.module}.framework`, "Modules"), {
|
|
13335
13348
|
recursive: true
|
|
@@ -13348,7 +13361,8 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
13348
13361
|
);
|
|
13349
13362
|
import_node_fs26.default.mkdirSync(to, { recursive: true });
|
|
13350
13363
|
for (const name3 of import_node_fs26.default.readdirSync(from))
|
|
13351
|
-
if (name3.endsWith(".swiftinterface"))
|
|
13364
|
+
if (name3.endsWith(".swiftinterface")) {
|
|
13365
|
+
interfaceCopies.push(import_node_path23.default.join(to, name3));
|
|
13352
13366
|
import_node_fs26.default.writeFileSync(
|
|
13353
13367
|
import_node_path23.default.join(to, name3),
|
|
13354
13368
|
import_node_fs26.default.readFileSync(import_node_path23.default.join(from, name3), "utf8").replace(/\bCoreFoundation\.(?=CG)/g, "CoreGraphics.").replace(/\bCoreFoundation\.(?=\w)/g, "Foundation.").replace(
|
|
@@ -13356,6 +13370,7 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
13356
13370
|
"Foundation.NSData."
|
|
13357
13371
|
)
|
|
13358
13372
|
);
|
|
13373
|
+
}
|
|
13359
13374
|
}
|
|
13360
13375
|
} else {
|
|
13361
13376
|
import_node_fs26.default.copyFileSync(surface.modulemap, import_node_path23.default.join(headersDir, "module.modulemap"));
|
|
@@ -13513,6 +13528,7 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
13513
13528
|
return name3 ? { name: name3, before: text5.slice(0, column - 1), after: rest.slice(name3.length) } : null;
|
|
13514
13529
|
};
|
|
13515
13530
|
const typeKind = (name3, after) => /^[A-Z][A-Z0-9_]+$/.test(name3) && !/^\s*\*/.test(after) ? "macro" : /^\s*\*/.test(after) ? "class" : "struct";
|
|
13531
|
+
const selectors = /* @__PURE__ */ new Set();
|
|
13516
13532
|
for (let round = 0; ; round++) {
|
|
13517
13533
|
import_node_fs26.default.rmSync(out, { recursive: true, force: true });
|
|
13518
13534
|
import_node_fs26.default.mkdirSync(out, { recursive: true });
|
|
@@ -13550,6 +13566,21 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
13550
13566
|
`original Objective-C declarations do not import as Swift: ${run8.stderr.trim() || run8.stdout.trim()}`
|
|
13551
13567
|
);
|
|
13552
13568
|
let progress = false;
|
|
13569
|
+
for (const [, shadowed, same] of run8.stderr.matchAll(
|
|
13570
|
+
/is not a member type of class '(\w+)\.(\w+)'/g
|
|
13571
|
+
))
|
|
13572
|
+
if (shadowed === same && !selectors.has(shadowed)) {
|
|
13573
|
+
selectors.add(shadowed);
|
|
13574
|
+
progress = true;
|
|
13575
|
+
for (const file of interfaceCopies)
|
|
13576
|
+
import_node_fs26.default.writeFileSync(
|
|
13577
|
+
file,
|
|
13578
|
+
import_node_fs26.default.readFileSync(file, "utf8").replace(
|
|
13579
|
+
new RegExp(`\\b${shadowed}\\.(?=[A-Za-z_])`, "g"),
|
|
13580
|
+
`${shadowed}::`
|
|
13581
|
+
)
|
|
13582
|
+
);
|
|
13583
|
+
}
|
|
13553
13584
|
const learn = (name3, kind) => {
|
|
13554
13585
|
if (missing.has(name3)) return;
|
|
13555
13586
|
missing.set(name3, kind);
|
|
@@ -22167,7 +22198,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
22167
22198
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
22168
22199
|
var MULTI_MANIFEST_VERSION = 66;
|
|
22169
22200
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
22170
|
-
var compilerSourceDigest = true ? "
|
|
22201
|
+
var compilerSourceDigest = true ? "2e5698309de758f9fcfd857f44c8fe794ab3ef36f7b28f6a042e4326bbc8113a" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
22171
22202
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
22172
22203
|
const hash = (0, import_node_crypto17.createHash)("sha256");
|
|
22173
22204
|
hash.update(`swift-compile
|
|
@@ -31097,7 +31128,7 @@ function sourceClosureDigest(srcDir, entrypoints) {
|
|
|
31097
31128
|
return hash.digest("hex");
|
|
31098
31129
|
}
|
|
31099
31130
|
var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
31100
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
31131
|
+
var STANDIN_SOURCE_DIGEST = true ? "af579d23be157d779601d4f3373566fac852d588d01fe54fa87ad7cd82139fd8" : standinSourceDigest();
|
|
31101
31132
|
|
|
31102
31133
|
// src/expoSwiftContract.ts
|
|
31103
31134
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -31427,7 +31458,7 @@ async function packageTreeDigest(root) {
|
|
|
31427
31458
|
|
|
31428
31459
|
// src/expo-native-prebuilt.ts
|
|
31429
31460
|
var EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
31430
|
-
var EXPO_NATIVE_COMPILER_DIGEST = true ? "
|
|
31461
|
+
var EXPO_NATIVE_COMPILER_DIGEST = true ? "57fd25419389163e0501e0681c919f48b6073cfe4f0f06d6b5495fc7b57d4dd3" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
31431
31462
|
var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
31432
31463
|
function readSources(value) {
|
|
31433
31464
|
const sources = isRecord(value) ? value.sources : null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1967 | (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.1967 | (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.1967 | (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();
|
|
@@ -24857,6 +24858,7 @@ function emitSwiftStandin(sourceGraphs, options) {
|
|
|
24857
24858
|
if (edge.sourceOrigin) origins.set(edge.source, edge.sourceOrigin.displayName);
|
|
24858
24859
|
switch (edge.kind) {
|
|
24859
24860
|
case "memberOf": {
|
|
24861
|
+
if (edge.source === edge.target) break;
|
|
24860
24862
|
const parent = byId.get(edge.target);
|
|
24861
24863
|
if (parent) {
|
|
24862
24864
|
owner.set(edge.source, edge.target);
|
|
@@ -24887,7 +24889,15 @@ function emitSwiftStandin(sourceGraphs, options) {
|
|
|
24887
24889
|
path: pathOf(source),
|
|
24888
24890
|
reason: `unsupported Objective-C protocol parent ${edge.target}`
|
|
24889
24891
|
});
|
|
24890
|
-
if (name3) {
|
|
24892
|
+
if (name3 && edge.swiftConstraints?.length) {
|
|
24893
|
+
conditional.push({
|
|
24894
|
+
source,
|
|
24895
|
+
name: name3,
|
|
24896
|
+
where: edge.swiftConstraints.map(
|
|
24897
|
+
({ kind, lhs, rhs }) => kind === "sameType" ? `${lhs} == ${rhs}` : `${lhs}: ${rhs}`
|
|
24898
|
+
).join(", ")
|
|
24899
|
+
});
|
|
24900
|
+
} else if (name3) {
|
|
24891
24901
|
conforms.set(edge.source, [...conforms.get(edge.source) ?? [], name3]);
|
|
24892
24902
|
const targets = conformanceTargets.get(edge.source) ?? /* @__PURE__ */ new Map();
|
|
24893
24903
|
targets.set(name3, edge.target);
|
|
@@ -25368,7 +25378,7 @@ function emitSwiftStandin(sourceGraphs, options) {
|
|
|
25368
25378
|
if (!parentSymbol || !ownIds.has(parentSymbol.identifier.precise))
|
|
25369
25379
|
list2.push(standinMarker);
|
|
25370
25380
|
const open = symbol2.accessLevel === "open" && (!parentSymbol || parentSymbol.accessLevel === "open");
|
|
25371
|
-
const objcName = /^c:objc\(cs\)(\w+)$/.exec(id)?.[1];
|
|
25381
|
+
const objcName = shape.generics ? void 0 : /^c:objc\(cs\)(\w+)$/.exec(id)?.[1];
|
|
25372
25382
|
emit(
|
|
25373
25383
|
`${indent2}${shape.attrs}${objcName ? `@objc(${objcName}) ` : ""}${shape.final}${open ? "open" : "public"} class ${shape.name}${shape.generics}${list2.length ? `: ${list2.join(", ")}` : ""}${selfConforming(shape.where)} {`
|
|
25374
25384
|
);
|
|
@@ -25763,6 +25773,8 @@ function emitSwiftStandin(sourceGraphs, options) {
|
|
|
25763
25773
|
emitWitness(witness.member, " ", witness.path);
|
|
25764
25774
|
emit("}");
|
|
25765
25775
|
}
|
|
25776
|
+
for (const { source, name: name3, where } of conditional)
|
|
25777
|
+
emitAt(pathOf(source), `extension ${pathOf(source)}: ${name3} where ${where} {}`);
|
|
25766
25778
|
const banner = [
|
|
25767
25779
|
...options.placeholder ? [
|
|
25768
25780
|
`// placeholder for ${options.module}, generated from ${options.source}: ${options.placeholder}.`,
|
|
@@ -26151,6 +26163,7 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
26151
26163
|
import_node_fs31.default.mkdirSync(import_node_path29.default.dirname(file), { recursive: true });
|
|
26152
26164
|
import_node_fs31.default.writeFileSync(file, text6);
|
|
26153
26165
|
}
|
|
26166
|
+
const interfaceCopies = [];
|
|
26154
26167
|
if (framework) {
|
|
26155
26168
|
import_node_fs31.default.mkdirSync(import_node_path29.default.join(frameworks, `${surface.module}.framework`, "Modules"), {
|
|
26156
26169
|
recursive: true
|
|
@@ -26169,7 +26182,8 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
26169
26182
|
);
|
|
26170
26183
|
import_node_fs31.default.mkdirSync(to, { recursive: true });
|
|
26171
26184
|
for (const name3 of import_node_fs31.default.readdirSync(from))
|
|
26172
|
-
if (name3.endsWith(".swiftinterface"))
|
|
26185
|
+
if (name3.endsWith(".swiftinterface")) {
|
|
26186
|
+
interfaceCopies.push(import_node_path29.default.join(to, name3));
|
|
26173
26187
|
import_node_fs31.default.writeFileSync(
|
|
26174
26188
|
import_node_path29.default.join(to, name3),
|
|
26175
26189
|
import_node_fs31.default.readFileSync(import_node_path29.default.join(from, name3), "utf8").replace(/\bCoreFoundation\.(?=CG)/g, "CoreGraphics.").replace(/\bCoreFoundation\.(?=\w)/g, "Foundation.").replace(
|
|
@@ -26177,6 +26191,7 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
26177
26191
|
"Foundation.NSData."
|
|
26178
26192
|
)
|
|
26179
26193
|
);
|
|
26194
|
+
}
|
|
26180
26195
|
}
|
|
26181
26196
|
} else {
|
|
26182
26197
|
import_node_fs31.default.copyFileSync(surface.modulemap, import_node_path29.default.join(headersDir, "module.modulemap"));
|
|
@@ -26334,6 +26349,7 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
26334
26349
|
return name3 ? { name: name3, before: text6.slice(0, column - 1), after: rest.slice(name3.length) } : null;
|
|
26335
26350
|
};
|
|
26336
26351
|
const typeKind = (name3, after) => /^[A-Z][A-Z0-9_]+$/.test(name3) && !/^\s*\*/.test(after) ? "macro" : /^\s*\*/.test(after) ? "class" : "struct";
|
|
26352
|
+
const selectors = /* @__PURE__ */ new Set();
|
|
26337
26353
|
for (let round = 0; ; round++) {
|
|
26338
26354
|
import_node_fs31.default.rmSync(out, { recursive: true, force: true });
|
|
26339
26355
|
import_node_fs31.default.mkdirSync(out, { recursive: true });
|
|
@@ -26371,6 +26387,21 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
26371
26387
|
`original Objective-C declarations do not import as Swift: ${run11.stderr.trim() || run11.stdout.trim()}`
|
|
26372
26388
|
);
|
|
26373
26389
|
let progress = false;
|
|
26390
|
+
for (const [, shadowed, same] of run11.stderr.matchAll(
|
|
26391
|
+
/is not a member type of class '(\w+)\.(\w+)'/g
|
|
26392
|
+
))
|
|
26393
|
+
if (shadowed === same && !selectors.has(shadowed)) {
|
|
26394
|
+
selectors.add(shadowed);
|
|
26395
|
+
progress = true;
|
|
26396
|
+
for (const file of interfaceCopies)
|
|
26397
|
+
import_node_fs31.default.writeFileSync(
|
|
26398
|
+
file,
|
|
26399
|
+
import_node_fs31.default.readFileSync(file, "utf8").replace(
|
|
26400
|
+
new RegExp(`\\b${shadowed}\\.(?=[A-Za-z_])`, "g"),
|
|
26401
|
+
`${shadowed}::`
|
|
26402
|
+
)
|
|
26403
|
+
);
|
|
26404
|
+
}
|
|
26374
26405
|
const learn = (name3, kind) => {
|
|
26375
26406
|
if (missing2.has(name3)) return;
|
|
26376
26407
|
missing2.set(name3, kind);
|
|
@@ -35021,7 +35052,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
35021
35052
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
35022
35053
|
var MULTI_MANIFEST_VERSION = 66;
|
|
35023
35054
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
35024
|
-
var compilerSourceDigest = true ? "
|
|
35055
|
+
var compilerSourceDigest = true ? "2e5698309de758f9fcfd857f44c8fe794ab3ef36f7b28f6a042e4326bbc8113a" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
35025
35056
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
35026
35057
|
const hash = (0, import_node_crypto21.createHash)("sha256");
|
|
35027
35058
|
hash.update(`swift-compile
|
|
@@ -44303,7 +44334,7 @@ function sourceClosureDigest(srcDir, entrypoints) {
|
|
|
44303
44334
|
return hash.digest("hex");
|
|
44304
44335
|
}
|
|
44305
44336
|
var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
44306
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
44337
|
+
var STANDIN_SOURCE_DIGEST = true ? "af579d23be157d779601d4f3373566fac852d588d01fe54fa87ad7cd82139fd8" : standinSourceDigest();
|
|
44307
44338
|
|
|
44308
44339
|
// src/expoSwiftContract.ts
|
|
44309
44340
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -44670,7 +44701,7 @@ async function packageTreeDigest(root) {
|
|
|
44670
44701
|
|
|
44671
44702
|
// src/expo-native-prebuilt.ts
|
|
44672
44703
|
var EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
44673
|
-
var EXPO_NATIVE_COMPILER_DIGEST = true ? "
|
|
44704
|
+
var EXPO_NATIVE_COMPILER_DIGEST = true ? "57fd25419389163e0501e0681c919f48b6073cfe4f0f06d6b5495fc7b57d4dd3" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
44674
44705
|
var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
44675
44706
|
function readSources(value) {
|
|
44676
44707
|
const sources = isRecord(value) ? value.sources : null;
|
|
@@ -62325,7 +62356,7 @@ async function nitroSupersetInputs(options) {
|
|
|
62325
62356
|
inputs[`provider:${name3}`] = `${packageVersion(root)}\0${await packageTreeDigest(root)}`;
|
|
62326
62357
|
return inputs;
|
|
62327
62358
|
}
|
|
62328
|
-
var NITRO_COMPILER_DIGEST = true ? "
|
|
62359
|
+
var NITRO_COMPILER_DIGEST = true ? "4b41212fe6995ac10eed9503b03610aeba9098a905bc347b46e899b129e1032f" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
62329
62360
|
function readInputs(value) {
|
|
62330
62361
|
if (!isRecord(value)) return null;
|
|
62331
62362
|
const inputs = {};
|