peachsim 0.1.1965 → 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 +44 -10
- 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 +43 -9
- 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 +44 -10
- 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 +44 -10
- 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 +42 -8
- package/dist-lib/vite.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-compat/src/stubs/screen-transition-math.d.ts +15 -1
- package/package.json +1 -1
- package/src/swift-objc-standin.ts +31 -2
- package/src/swift-standin-emit.ts +21 -2
- package/src/swift-standins.ts +1 -1
|
@@ -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,11 +19929,16 @@ 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
|
-
import_node_fs29.default.readFileSync(import_node_path27.default.join(from, name3), "utf8").replace(/\bCoreFoundation\.(?=CG)/g, "CoreGraphics.").replace(/\bCoreFoundation\.(?=\w)/g, "Foundation.")
|
|
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(
|
|
19937
|
+
/\bFoundation\.Data\.(?=Base64(?:En|De)codingOptions\b)/g,
|
|
19938
|
+
"Foundation.NSData."
|
|
19939
|
+
)
|
|
19923
19940
|
);
|
|
19941
|
+
}
|
|
19924
19942
|
}
|
|
19925
19943
|
} else {
|
|
19926
19944
|
import_node_fs29.default.copyFileSync(surface.modulemap, import_node_path27.default.join(headersDir, "module.modulemap"));
|
|
@@ -20078,6 +20096,7 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
20078
20096
|
return name3 ? { name: name3, before: text6.slice(0, column - 1), after: rest.slice(name3.length) } : null;
|
|
20079
20097
|
};
|
|
20080
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();
|
|
20081
20100
|
for (let round = 0; ; round++) {
|
|
20082
20101
|
import_node_fs29.default.rmSync(out, { recursive: true, force: true });
|
|
20083
20102
|
import_node_fs29.default.mkdirSync(out, { recursive: true });
|
|
@@ -20115,6 +20134,21 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
20115
20134
|
`original Objective-C declarations do not import as Swift: ${run11.stderr.trim() || run11.stdout.trim()}`
|
|
20116
20135
|
);
|
|
20117
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
|
+
}
|
|
20118
20152
|
const learn = (name3, kind) => {
|
|
20119
20153
|
if (missing2.has(name3)) return;
|
|
20120
20154
|
missing2.set(name3, kind);
|
|
@@ -32664,7 +32698,7 @@ var init_swift_compile = __esm({
|
|
|
32664
32698
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
32665
32699
|
MULTI_MANIFEST_VERSION = 66;
|
|
32666
32700
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
32667
|
-
compilerSourceDigest = true ? "
|
|
32701
|
+
compilerSourceDigest = true ? "2e5698309de758f9fcfd857f44c8fe794ab3ef36f7b28f6a042e4326bbc8113a" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
32668
32702
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
32669
32703
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
32670
32704
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -38451,7 +38485,7 @@ var init_swift_standin_digest = __esm({
|
|
|
38451
38485
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
38452
38486
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
38453
38487
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
38454
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
38488
|
+
STANDIN_SOURCE_DIGEST = true ? "af579d23be157d779601d4f3373566fac852d588d01fe54fa87ad7cd82139fd8" : standinSourceDigest();
|
|
38455
38489
|
}
|
|
38456
38490
|
});
|
|
38457
38491
|
|
|
@@ -38941,7 +38975,7 @@ var init_expo_native_prebuilt = __esm({
|
|
|
38941
38975
|
init_swift_native_pin();
|
|
38942
38976
|
init_xcode_project();
|
|
38943
38977
|
EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
38944
|
-
EXPO_NATIVE_COMPILER_DIGEST = true ? "
|
|
38978
|
+
EXPO_NATIVE_COMPILER_DIGEST = true ? "57fd25419389163e0501e0681c919f48b6073cfe4f0f06d6b5495fc7b57d4dd3" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
38945
38979
|
IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
38946
38980
|
expoNativeEntryUrl = (key2, file) => `${NATIVE_PREBUILT_ORIGIN}/${nativeEntryPrefix("expo", EXPO_NATIVE_ENTRY_NAME, key2)}/${file}`;
|
|
38947
38981
|
isStringRecord = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
|
|
@@ -42672,7 +42706,7 @@ async function buildStandins(binaries, toolchain, provided, behavior) {
|
|
|
42672
42706
|
siblings.get(binary2)
|
|
42673
42707
|
);
|
|
42674
42708
|
console.error(
|
|
42675
|
-
`[swift-standins] ${binary2.target} ${typeof result === "string" ? `gap: ${result}` : "ready"} in ${Date.now() - started}ms`
|
|
42709
|
+
`[swift-standins] ${binary2.target} ${typeof result === "string" ? `gap: ${gapText(result)}` : "ready"} in ${Date.now() - started}ms`
|
|
42676
42710
|
);
|
|
42677
42711
|
if (typeof result === "string") {
|
|
42678
42712
|
gaps.set(binary2.target, result);
|
|
@@ -56381,7 +56415,7 @@ var init_nitro_superset = __esm({
|
|
|
56381
56415
|
init_swift_standin_digest();
|
|
56382
56416
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
56383
56417
|
packageVersion = (root) => JSON.parse((0, import_node_fs86.readFileSync)((0, import_node_path85.join)(root, "package.json"), "utf8")).version;
|
|
56384
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
56418
|
+
NITRO_COMPILER_DIGEST = true ? "4b41212fe6995ac10eed9503b03610aeba9098a905bc347b46e899b129e1032f" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
56385
56419
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
56386
56420
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
56387
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,11 +13361,16 @@ 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
|
-
import_node_fs26.default.readFileSync(import_node_path23.default.join(from, name3), "utf8").replace(/\bCoreFoundation\.(?=CG)/g, "CoreGraphics.").replace(/\bCoreFoundation\.(?=\w)/g, "Foundation.")
|
|
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(
|
|
13369
|
+
/\bFoundation\.Data\.(?=Base64(?:En|De)codingOptions\b)/g,
|
|
13370
|
+
"Foundation.NSData."
|
|
13371
|
+
)
|
|
13355
13372
|
);
|
|
13373
|
+
}
|
|
13356
13374
|
}
|
|
13357
13375
|
} else {
|
|
13358
13376
|
import_node_fs26.default.copyFileSync(surface.modulemap, import_node_path23.default.join(headersDir, "module.modulemap"));
|
|
@@ -13510,6 +13528,7 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
13510
13528
|
return name3 ? { name: name3, before: text5.slice(0, column - 1), after: rest.slice(name3.length) } : null;
|
|
13511
13529
|
};
|
|
13512
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();
|
|
13513
13532
|
for (let round = 0; ; round++) {
|
|
13514
13533
|
import_node_fs26.default.rmSync(out, { recursive: true, force: true });
|
|
13515
13534
|
import_node_fs26.default.mkdirSync(out, { recursive: true });
|
|
@@ -13547,6 +13566,21 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
13547
13566
|
`original Objective-C declarations do not import as Swift: ${run8.stderr.trim() || run8.stdout.trim()}`
|
|
13548
13567
|
);
|
|
13549
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
|
+
}
|
|
13550
13584
|
const learn = (name3, kind) => {
|
|
13551
13585
|
if (missing.has(name3)) return;
|
|
13552
13586
|
missing.set(name3, kind);
|
|
@@ -22164,7 +22198,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
22164
22198
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
22165
22199
|
var MULTI_MANIFEST_VERSION = 66;
|
|
22166
22200
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
22167
|
-
var compilerSourceDigest = true ? "
|
|
22201
|
+
var compilerSourceDigest = true ? "2e5698309de758f9fcfd857f44c8fe794ab3ef36f7b28f6a042e4326bbc8113a" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
22168
22202
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
22169
22203
|
const hash = (0, import_node_crypto17.createHash)("sha256");
|
|
22170
22204
|
hash.update(`swift-compile
|
|
@@ -31094,7 +31128,7 @@ function sourceClosureDigest(srcDir, entrypoints) {
|
|
|
31094
31128
|
return hash.digest("hex");
|
|
31095
31129
|
}
|
|
31096
31130
|
var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
31097
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
31131
|
+
var STANDIN_SOURCE_DIGEST = true ? "af579d23be157d779601d4f3373566fac852d588d01fe54fa87ad7cd82139fd8" : standinSourceDigest();
|
|
31098
31132
|
|
|
31099
31133
|
// src/expoSwiftContract.ts
|
|
31100
31134
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -31424,7 +31458,7 @@ async function packageTreeDigest(root) {
|
|
|
31424
31458
|
|
|
31425
31459
|
// src/expo-native-prebuilt.ts
|
|
31426
31460
|
var EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
31427
|
-
var EXPO_NATIVE_COMPILER_DIGEST = true ? "
|
|
31461
|
+
var EXPO_NATIVE_COMPILER_DIGEST = true ? "57fd25419389163e0501e0681c919f48b6073cfe4f0f06d6b5495fc7b57d4dd3" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
31428
31462
|
var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
31429
31463
|
function readSources(value) {
|
|
31430
31464
|
const sources = isRecord(value) ? value.sources : null;
|
|
@@ -35291,7 +35325,7 @@ async function buildStandins(binaries, toolchain, provided, behavior) {
|
|
|
35291
35325
|
siblings.get(binary2)
|
|
35292
35326
|
);
|
|
35293
35327
|
console.error(
|
|
35294
|
-
`[swift-standins] ${binary2.target} ${typeof result === "string" ? `gap: ${result}` : "ready"} in ${Date.now() - started}ms`
|
|
35328
|
+
`[swift-standins] ${binary2.target} ${typeof result === "string" ? `gap: ${gapText(result)}` : "ready"} in ${Date.now() - started}ms`
|
|
35295
35329
|
);
|
|
35296
35330
|
if (typeof result === "string") {
|
|
35297
35331
|
gaps.set(binary2.target, result);
|
|
@@ -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;
|