peachsim 0.1.2555 → 0.1.2557
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +2 -2
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +5 -5
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +3 -3
- package/dist-lib/bundle-channel.cjs +65 -28
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +3 -3
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +3 -3
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +2 -2
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +7 -7
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +5 -5
- package/dist-lib/detox/index.cjs +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/esm-chunks/{acorn-QGBERFP4.mjs → acorn-V3R7N3DL.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-SGLUOFDE.mjs → chunk-2FDEFCSU.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-BD4GSBAX.mjs → chunk-5IIPWTU7.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-WPAVWBXZ.mjs → chunk-6LLBK46M.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-AEPG6X2A.mjs → chunk-6UFCQGIH.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-URVDUJR5.mjs → chunk-A4T2CSJ4.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-IBZRGZSN.mjs → chunk-ACTIO7HH.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-GBLCGD6K.mjs → chunk-B2QXNXK5.mjs} +37 -20
- package/dist-lib/esm-chunks/{chunk-ZQGHRQAL.mjs → chunk-B6DJM45J.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-3RGDV5BA.mjs → chunk-D2WS5SUW.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-7CBQLSCQ.mjs → chunk-EIA4DW74.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-ITW6N6UY.mjs → chunk-F3YDWIEV.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-VJACCP4Q.mjs → chunk-H4GYRFKG.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-QF2DG3F6.mjs → chunk-H5SL2GCI.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-TK6RYBA4.mjs → chunk-I63OIXP3.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-DMF7FQTL.mjs → chunk-JZF7QUEJ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-NDKIELVM.mjs → chunk-K263OIUK.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-MM7ZNQTG.mjs → chunk-NMPUFKOR.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-GAT7GWIU.mjs → chunk-RRW2LY5Q.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-66UHDKT4.mjs → chunk-SILECIIP.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-WIWQQFLS.mjs → chunk-ZDUQVQVO.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-4EX7EPFU.mjs → chunk-ZGZPS6IS.mjs} +1 -1
- package/dist-lib/esm-chunks/{metro-layout-parser-5YNBQ6DG.mjs → metro-layout-parser-7XLFV5XW.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-NEY7UZFN.mjs → swift-package-prebuilt-CSC3H35V.mjs} +10 -10
- package/dist-lib/esm-chunks/{swift-sdk-app-module-LUXB65NO.mjs → swift-sdk-app-module-37UYJ4L2.mjs} +13 -13
- package/dist-lib/esm-chunks/{swift-sdk-image-ZOVAPHPJ.mjs → swift-sdk-image-RANLYVSR.mjs} +13 -13
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-BK4XV5UM.mjs → swift-sdk-image-producer-UFYLUYQU.mjs} +4 -4
- package/dist-lib/expo-swift-bundle.cjs +64 -27
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +7 -7
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +67 -28
- package/dist-lib/host/fetch-proxy-handler.cjs +5 -5
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +2 -2
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +3 -3
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +3 -3
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +4 -4
- package/dist-lib/native-app-identity-project.cjs +2 -2
- package/dist-lib/native-app-identity-project.mjs +15 -15
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +6 -6
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +3 -3
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +2 -2
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +3 -3
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +79 -79
- package/dist-lib/public-origins-lib.json +69 -69
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +2 -2
- package/dist-lib/reap-browser.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +7 -7
- package/dist-lib/skills.cjs +67 -28
- package/dist-lib/swift-compile.cjs +26 -9
- package/dist-lib/swift-compile.mjs +10 -10
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +3 -3
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +5 -5
- package/dist-lib/swift-svg-raster.cjs +1 -1
- package/dist-lib/swift-svg-raster.mjs +2 -2
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
- package/dist-lib/vendor/@xmldom/xmldom.cjs +1 -1
- package/dist-lib/vendor/acorn.cjs +1 -1
- package/dist-lib/vendor/bplist-parser.cjs +1 -1
- package/dist-lib/vendor/ignore.cjs +1 -1
- package/dist-lib/vendor/magic-string.cjs +1 -1
- package/dist-lib/vendor/plist.cjs +1 -1
- package/dist-lib/vendor/smol-toml.cjs +1 -1
- package/dist-lib/vendor/stream-json.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
- package/dist-lib/vendor/sucrase.cjs +1 -1
- package/dist-lib/vendor/terser.cjs +1 -1
- package/dist-lib/vendor/valibot.cjs +1 -1
- package/dist-lib/vendor/ws.cjs +1 -1
- package/dist-lib/vendor/zod.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +3 -3
- package/dist-types/packages/peach-engine/src/settings/duo-fold.d.ts +2 -0
- package/kotlin/sdk.tar.gz +0 -0
- package/package.json +1 -1
- package/src/swift-compile.ts +13 -4
- package/src/swift-distribution-mirror.ts +20 -5
- package/src/turbo-source.ts +35 -15
- package/src/widget-extension-bundle.ts +4 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2557 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_AUTOLINK_LINKER,
|
|
4
4
|
SWIFT_CACHE_HOLD_MARKER,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
windowAdmission,
|
|
19
19
|
withSwiftRootLock,
|
|
20
20
|
writeSwiftAutolinkLinker
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-ZDUQVQVO.mjs";
|
|
22
22
|
import {
|
|
23
23
|
SWIFT_BINARY_TREES_DIR,
|
|
24
24
|
SWIFT_NATIVE_INPUT_ROOT,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
isSwiftResourcePath,
|
|
34
34
|
isSwiftSourceLinkGraph,
|
|
35
35
|
swiftProjectFilesProblems
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-6LLBK46M.mjs";
|
|
37
37
|
import {
|
|
38
38
|
OBJC_RESOURCE_ACCESSOR_BODY,
|
|
39
39
|
OBJC_RESOURCE_ACCESSOR_HEADER,
|
|
@@ -57,16 +57,16 @@ import {
|
|
|
57
57
|
swiftPackagePartition,
|
|
58
58
|
swiftTargetModuleName,
|
|
59
59
|
withoutGlogModuleMap
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-ACTIO7HH.mjs";
|
|
61
61
|
import {
|
|
62
62
|
rnxPublicBrand
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-JZF7QUEJ.mjs";
|
|
64
64
|
import {
|
|
65
65
|
isRecord
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-RRW2LY5Q.mjs";
|
|
67
67
|
import {
|
|
68
68
|
__publicField
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-I63OIXP3.mjs";
|
|
70
70
|
|
|
71
71
|
// src/swift-compile.ts
|
|
72
72
|
import {
|
|
@@ -4070,10 +4070,25 @@ function invalidateDependents(root, mirror, files) {
|
|
|
4070
4070
|
if (!entry.endsWith(".d")) continue;
|
|
4071
4071
|
const dependencies = path11.join(directory, entry);
|
|
4072
4072
|
if (!names(readFileSync6(dependencies))) continue;
|
|
4073
|
+
const outputMap = path11.join(directory, "output-file-map.json");
|
|
4074
|
+
if (existsSync2(outputMap)) {
|
|
4075
|
+
const outputs = JSON.parse(readFileSync6(outputMap, "utf8"));
|
|
4076
|
+
if (!isRecord(outputs)) throw new Error("invalid SwiftPM output file map");
|
|
4077
|
+
for (const output of Object.values(outputs)) {
|
|
4078
|
+
if (!isRecord(output))
|
|
4079
|
+
throw new Error("invalid SwiftPM output file map entry");
|
|
4080
|
+
for (const field of ["object", "swiftmodule"]) {
|
|
4081
|
+
const file = output[field];
|
|
4082
|
+
if (typeof file === "string" && path11.dirname(file) === directory)
|
|
4083
|
+
rmSync2(file, { force: true });
|
|
4084
|
+
}
|
|
4085
|
+
}
|
|
4086
|
+
rmSync2(path11.join(directory, `${name}.swiftmodule`), { force: true });
|
|
4087
|
+
rmSync2(path11.join(modules, `${name}.swiftmodule`), { force: true });
|
|
4088
|
+
break;
|
|
4089
|
+
}
|
|
4073
4090
|
const object2 = `${dependencies.slice(0, -".d".length)}.o`;
|
|
4074
|
-
rmSync2(
|
|
4075
|
-
force: true
|
|
4076
|
-
});
|
|
4091
|
+
rmSync2(object2, { force: true });
|
|
4077
4092
|
}
|
|
4078
4093
|
}
|
|
4079
4094
|
if (headersChanged)
|
|
@@ -13471,7 +13486,7 @@ async function compileGuestLink(options) {
|
|
|
13471
13486
|
};
|
|
13472
13487
|
const sdk = options.sdkImage;
|
|
13473
13488
|
const sdkCallers = sdk?.sdkInterface.guestCallers;
|
|
13474
|
-
const sdkObjects = sdk ? (await import("./swift-sdk-image-
|
|
13489
|
+
const sdkObjects = sdk ? (await import("./swift-sdk-image-RANLYVSR.mjs")).readSwiftSdkManifestIndex(sdk).guestObjects : void 0;
|
|
13475
13490
|
if (sdk && (!sdkCallers || !sdkObjects))
|
|
13476
13491
|
throw new Error("the SDK image has no guest link manifest");
|
|
13477
13492
|
const result = linkPrunedGuestImages({
|
|
@@ -13758,7 +13773,7 @@ async function compileGuestLink(options) {
|
|
|
13758
13773
|
finishSwiftAppModule,
|
|
13759
13774
|
linkSwiftAppModule,
|
|
13760
13775
|
readSwiftSdkUsage
|
|
13761
|
-
} = await import("./swift-sdk-app-module-
|
|
13776
|
+
} = await import("./swift-sdk-app-module-37UYJ4L2.mjs");
|
|
13762
13777
|
const project = options.project;
|
|
13763
13778
|
const work = project ? mkdtempSync2(path24.join(directory, "app-module-")) : path24.join(directory, "app-module");
|
|
13764
13779
|
if (project) chownSync(work, project.uid, project.gid);
|
|
@@ -16269,7 +16284,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
|
|
|
16269
16284
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
16270
16285
|
var MULTI_MANIFEST_VERSION = 76;
|
|
16271
16286
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
16272
|
-
var compilerSourceDigest = true ? "
|
|
16287
|
+
var compilerSourceDigest = true ? "7ad8331459e85954e940f382fd0f0f332c2df41859753dcb1e84f725f3e86120" : swiftCompilerSourceDigest(import.meta.dirname);
|
|
16273
16288
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
16274
16289
|
return swiftCompileInputHash(input, release).update(swiftModuleDigest(moduleRoot)).digest("hex");
|
|
16275
16290
|
}
|
|
@@ -20828,7 +20843,7 @@ async function compileSwiftProjectOnce(sources, options) {
|
|
|
20828
20843
|
const distribution = swiftDistributionAt(moduleRoot);
|
|
20829
20844
|
const mirrorDistribution = options.linkOnly || options.project ? null : distribution;
|
|
20830
20845
|
if (distribution) refreshSwiftCacheHold(moduleRoot);
|
|
20831
|
-
const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-
|
|
20846
|
+
const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-CSC3H35V.mjs")).useSwiftPackagePrebuilts(
|
|
20832
20847
|
sources,
|
|
20833
20848
|
moduleRoot,
|
|
20834
20849
|
options.toolchainBin
|
|
@@ -20842,7 +20857,7 @@ async function compileSwiftProjectOnce(sources, options) {
|
|
|
20842
20857
|
multi: compileTargets(input).length > 0
|
|
20843
20858
|
};
|
|
20844
20859
|
const sdkModule = options.sdkModule && !options.linkOnly;
|
|
20845
|
-
const sdkImage = sdkModule ? await (await import("./swift-sdk-image-
|
|
20860
|
+
const sdkImage = sdkModule ? await (await import("./swift-sdk-image-RANLYVSR.mjs")).buildSwiftSdkImage(
|
|
20846
20861
|
moduleRoot,
|
|
20847
20862
|
!!guestGraph,
|
|
20848
20863
|
distribution ? [] : linkedFrameworkTargets(moduleRoot, input).imports,
|
|
@@ -21114,6 +21129,8 @@ ${cap}` : "";
|
|
|
21114
21129
|
);
|
|
21115
21130
|
}
|
|
21116
21131
|
const jobs = swiftCompilerJobs();
|
|
21132
|
+
const incrementalPreview = sdkImage !== void 0 && !guestGraph && !options.project && !input.optimize && !input.unoptimized;
|
|
21133
|
+
const perFile = input.unoptimized || incrementalPreview;
|
|
21117
21134
|
const buildArgs = [
|
|
21118
21135
|
"build",
|
|
21119
21136
|
...projectProcess?.cacheOptions ?? swiftPackageCacheOptions(),
|
|
@@ -21130,9 +21147,8 @@ ${cap}` : "";
|
|
|
21130
21147
|
...preparation.targetToolset ? ["--toolset", path32.join(root, ".peach-target-toolset.json")] : [],
|
|
21131
21148
|
"-c",
|
|
21132
21149
|
"release",
|
|
21133
|
-
...input.unoptimized ? [
|
|
21134
|
-
|
|
21135
|
-
"-Onone",
|
|
21150
|
+
...input.unoptimized ? ["-Xswiftc", "-Onone"] : [],
|
|
21151
|
+
...perFile ? [
|
|
21136
21152
|
"-Xswiftc",
|
|
21137
21153
|
"-no-whole-module-optimization",
|
|
21138
21154
|
"-Xswiftc",
|
|
@@ -21140,6 +21156,7 @@ ${cap}` : "";
|
|
|
21140
21156
|
"-Xswiftc",
|
|
21141
21157
|
String(jobs)
|
|
21142
21158
|
] : [],
|
|
21159
|
+
...incrementalPreview ? ["-Xswiftc", "-incremental", "-Xswiftc", "-enable-batch-mode"] : [],
|
|
21143
21160
|
// the mirror finds a changed sdk header's readers in their
|
|
21144
21161
|
// dependency files, which omit system headers by default
|
|
21145
21162
|
...mirrorDistribution ? ["-Xswiftc", "-track-system-dependencies"] : [],
|
|
@@ -21149,7 +21166,7 @@ ${cap}` : "";
|
|
|
21149
21166
|
"-Xswiftc",
|
|
21150
21167
|
"-num-threads",
|
|
21151
21168
|
"-Xswiftc",
|
|
21152
|
-
String(
|
|
21169
|
+
String(perFile ? 1 : jobs),
|
|
21153
21170
|
...swiftReproducibleBuildFlags([
|
|
21154
21171
|
[path32.dirname(options.toolchainBin), "toolchain"],
|
|
21155
21172
|
[compileFrameworkRoot, "framework"],
|
|
@@ -21490,7 +21507,7 @@ ${cap}` : "";
|
|
|
21490
21507
|
if (sdkImage && binding)
|
|
21491
21508
|
sdkAsset = { key: sdkImage.key, sha256: sdkImage.sha256, binding };
|
|
21492
21509
|
} else if (sdkImage) {
|
|
21493
|
-
const { buildSwiftAppModule } = await import("./swift-sdk-app-module-
|
|
21510
|
+
const { buildSwiftAppModule } = await import("./swift-sdk-app-module-37UYJ4L2.mjs");
|
|
21494
21511
|
const binding = await buildSwiftAppModule({
|
|
21495
21512
|
buildRoot: root,
|
|
21496
21513
|
toolchainBin: options.toolchainBin,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2557 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isSwiftImageVariants
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-B6DJM45J.mjs";
|
|
5
5
|
import {
|
|
6
6
|
findBundleFooter
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-H4GYRFKG.mjs";
|
|
8
8
|
import {
|
|
9
9
|
isRecord
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RRW2LY5Q.mjs";
|
|
11
11
|
|
|
12
12
|
// src/android-string-value.ts
|
|
13
13
|
function compileAndroidStringValue(text, where) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2557 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
|
|
3
3
|
// ../../node_modules/acorn/dist/acorn.mjs
|
|
4
4
|
var astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 7, 9, 32, 4, 318, 1, 78, 5, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 68, 8, 2, 0, 3, 0, 2, 3, 2, 4, 2, 0, 15, 1, 83, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 7, 19, 58, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 199, 7, 137, 9, 54, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 55, 9, 266, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 10, 5350, 0, 7, 14, 11465, 27, 2343, 9, 87, 9, 39, 4, 60, 6, 26, 9, 535, 9, 470, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4178, 9, 519, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 245, 1, 2, 9, 233, 0, 3, 0, 8, 1, 6, 0, 475, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2557 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
var __create = Object.create;
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2557 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
__commonJS,
|
|
4
4
|
__toESM
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-I63OIXP3.mjs";
|
|
6
6
|
|
|
7
7
|
// ../../node_modules/@xmldom/xmldom/lib/conventions.js
|
|
8
8
|
var require_conventions = __commonJS({
|
package/dist-lib/esm-chunks/{metro-layout-parser-5YNBQ6DG.mjs → metro-layout-parser-7XLFV5XW.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
2
|
-
import "./chunk-
|
|
1
|
+
/*! peach v0.1.2557 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "./chunk-I63OIXP3.mjs";
|
|
3
3
|
|
|
4
4
|
// src/metro-layout-parser.ts
|
|
5
5
|
var whitespace = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/y;
|
|
@@ -8,7 +8,7 @@ var lineBreak = /[\r\n\u2028\u2029]/;
|
|
|
8
8
|
var metroLayoutParser;
|
|
9
9
|
async function loadMetroLayoutParser() {
|
|
10
10
|
if (metroLayoutParser) return metroLayoutParser;
|
|
11
|
-
const { Parser } = await import("./acorn-
|
|
11
|
+
const { Parser } = await import("./acorn-V3R7N3DL.mjs");
|
|
12
12
|
metroLayoutParser = Parser.extend(
|
|
13
13
|
(Base) => {
|
|
14
14
|
const parseFunctionBody = Reflect.get(Base.prototype, "parseFunctionBody");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2557 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
compileTargets,
|
|
4
4
|
fetchNativeEntry,
|
|
@@ -6,19 +6,19 @@ import {
|
|
|
6
6
|
swiftAvailableModules,
|
|
7
7
|
swiftDistributionAt,
|
|
8
8
|
swiftImportNames
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-B2QXNXK5.mjs";
|
|
10
|
+
import "./chunk-ZDUQVQVO.mjs";
|
|
11
11
|
import {
|
|
12
12
|
SWIFT_REMOTE_PACKAGES_DIR
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-6LLBK46M.mjs";
|
|
14
14
|
import {
|
|
15
15
|
manifestCalls
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-ACTIO7HH.mjs";
|
|
17
|
+
import "./chunk-B6DJM45J.mjs";
|
|
18
|
+
import "./chunk-JZF7QUEJ.mjs";
|
|
19
|
+
import "./chunk-F3YDWIEV.mjs";
|
|
20
|
+
import "./chunk-RRW2LY5Q.mjs";
|
|
21
|
+
import "./chunk-I63OIXP3.mjs";
|
|
22
22
|
|
|
23
23
|
// src/swift-package-prebuilt.ts
|
|
24
24
|
import { createHash } from "node:crypto";
|
package/dist-lib/esm-chunks/{swift-sdk-app-module-LUXB65NO.mjs → swift-sdk-app-module-37UYJ4L2.mjs}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2557 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
4
4
|
SWIFT_SDK_APP_TABLE_BASE,
|
|
5
5
|
SWIFT_SDK_MEMORY_BASE,
|
|
6
6
|
SWIFT_SDK_PIECE_FIELDS,
|
|
7
7
|
readSwiftSdkManifest
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-5IIPWTU7.mjs";
|
|
9
|
+
import "./chunk-6UFCQGIH.mjs";
|
|
10
|
+
import "./chunk-ZGZPS6IS.mjs";
|
|
11
11
|
import {
|
|
12
12
|
ADDEND_RELOCATIONS,
|
|
13
13
|
KEEP_WASM_NAMES,
|
|
@@ -35,17 +35,17 @@ import {
|
|
|
35
35
|
wasmReader,
|
|
36
36
|
wasmSections,
|
|
37
37
|
writeWasmCustomSection
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-B2QXNXK5.mjs";
|
|
39
39
|
import {
|
|
40
40
|
SWIFT_WASM_TRIPLE
|
|
41
|
-
} from "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
41
|
+
} from "./chunk-ZDUQVQVO.mjs";
|
|
42
|
+
import "./chunk-6LLBK46M.mjs";
|
|
43
|
+
import "./chunk-ACTIO7HH.mjs";
|
|
44
|
+
import "./chunk-B6DJM45J.mjs";
|
|
45
|
+
import "./chunk-JZF7QUEJ.mjs";
|
|
46
|
+
import "./chunk-F3YDWIEV.mjs";
|
|
47
|
+
import "./chunk-RRW2LY5Q.mjs";
|
|
48
|
+
import "./chunk-I63OIXP3.mjs";
|
|
49
49
|
|
|
50
50
|
// src/swift-sdk-app-module.ts
|
|
51
51
|
import { execFile } from "node:child_process";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2557 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
4
4
|
SWIFT_SDK_APP_TABLE_BASE,
|
|
@@ -15,18 +15,18 @@ import {
|
|
|
15
15
|
swiftSdkImageFile,
|
|
16
16
|
swiftSdkImageKey,
|
|
17
17
|
swiftSdkImageProducts
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-5IIPWTU7.mjs";
|
|
19
|
+
import "./chunk-6UFCQGIH.mjs";
|
|
20
|
+
import "./chunk-ZGZPS6IS.mjs";
|
|
21
|
+
import "./chunk-B2QXNXK5.mjs";
|
|
22
|
+
import "./chunk-ZDUQVQVO.mjs";
|
|
23
|
+
import "./chunk-6LLBK46M.mjs";
|
|
24
|
+
import "./chunk-ACTIO7HH.mjs";
|
|
25
|
+
import "./chunk-B6DJM45J.mjs";
|
|
26
|
+
import "./chunk-JZF7QUEJ.mjs";
|
|
27
|
+
import "./chunk-F3YDWIEV.mjs";
|
|
28
|
+
import "./chunk-RRW2LY5Q.mjs";
|
|
29
|
+
import "./chunk-I63OIXP3.mjs";
|
|
30
30
|
export {
|
|
31
31
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
32
32
|
SWIFT_SDK_APP_TABLE_BASE,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2557 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
swiftCacheDir,
|
|
4
4
|
windowAdmission,
|
|
5
5
|
withSwiftRootLock
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZDUQVQVO.mjs";
|
|
7
7
|
import {
|
|
8
8
|
isRecord
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-RRW2LY5Q.mjs";
|
|
10
|
+
import "./chunk-I63OIXP3.mjs";
|
|
11
11
|
|
|
12
12
|
// src/swift-sdk-image-producer.ts
|
|
13
13
|
import { execFile, execFileSync } from "node:child_process";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2557 | (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;
|
|
@@ -26242,13 +26242,13 @@ var init_swift_standin_digest = __esm({
|
|
|
26242
26242
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
26243
26243
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
26244
26244
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
26245
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
26245
|
+
STANDIN_SOURCE_DIGEST = true ? "fdba0d6c813e30afc036071732fba311bb7dfe395f5d78c861248832ce4f2866" : standinSourceDigest();
|
|
26246
26246
|
}
|
|
26247
26247
|
});
|
|
26248
26248
|
|
|
26249
26249
|
// src/expo-native-compiler-digest.ts
|
|
26250
26250
|
function expoNativeCompilerDigestValue() {
|
|
26251
|
-
return true ? "
|
|
26251
|
+
return true ? "53232213cd9c2ce1187bdc7451d442d3b67fb0622dbe1fe5b4401acc9c047218" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
26252
26252
|
}
|
|
26253
26253
|
var import_node_crypto17;
|
|
26254
26254
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -30391,10 +30391,25 @@ function invalidateDependents(root, mirror, files2) {
|
|
|
30391
30391
|
if (!entry.endsWith(".d")) continue;
|
|
30392
30392
|
const dependencies = import_node_path39.default.join(directory2, entry);
|
|
30393
30393
|
if (!names((0, import_node_fs41.readFileSync)(dependencies))) continue;
|
|
30394
|
+
const outputMap = import_node_path39.default.join(directory2, "output-file-map.json");
|
|
30395
|
+
if ((0, import_node_fs41.existsSync)(outputMap)) {
|
|
30396
|
+
const outputs = JSON.parse((0, import_node_fs41.readFileSync)(outputMap, "utf8"));
|
|
30397
|
+
if (!isRecord(outputs)) throw new Error("invalid SwiftPM output file map");
|
|
30398
|
+
for (const output of Object.values(outputs)) {
|
|
30399
|
+
if (!isRecord(output))
|
|
30400
|
+
throw new Error("invalid SwiftPM output file map entry");
|
|
30401
|
+
for (const field of ["object", "swiftmodule"]) {
|
|
30402
|
+
const file = output[field];
|
|
30403
|
+
if (typeof file === "string" && import_node_path39.default.dirname(file) === directory2)
|
|
30404
|
+
(0, import_node_fs41.rmSync)(file, { force: true });
|
|
30405
|
+
}
|
|
30406
|
+
}
|
|
30407
|
+
(0, import_node_fs41.rmSync)(import_node_path39.default.join(directory2, `${name3}.swiftmodule`), { force: true });
|
|
30408
|
+
(0, import_node_fs41.rmSync)(import_node_path39.default.join(modules, `${name3}.swiftmodule`), { force: true });
|
|
30409
|
+
break;
|
|
30410
|
+
}
|
|
30394
30411
|
const object7 = `${dependencies.slice(0, -".d".length)}.o`;
|
|
30395
|
-
(0, import_node_fs41.rmSync)(
|
|
30396
|
-
force: true
|
|
30397
|
-
});
|
|
30412
|
+
(0, import_node_fs41.rmSync)(object7, { force: true });
|
|
30398
30413
|
}
|
|
30399
30414
|
}
|
|
30400
30415
|
if (headersChanged)
|
|
@@ -51598,6 +51613,8 @@ ${cap}` : "";
|
|
|
51598
51613
|
);
|
|
51599
51614
|
}
|
|
51600
51615
|
const jobs = swiftCompilerJobs();
|
|
51616
|
+
const incrementalPreview = sdkImage !== void 0 && !guestGraph && !options2.project && !input.optimize && !input.unoptimized;
|
|
51617
|
+
const perFile = input.unoptimized || incrementalPreview;
|
|
51601
51618
|
const buildArgs = [
|
|
51602
51619
|
"build",
|
|
51603
51620
|
...projectProcess?.cacheOptions ?? swiftPackageCacheOptions(),
|
|
@@ -51614,9 +51631,8 @@ ${cap}` : "";
|
|
|
51614
51631
|
...preparation.targetToolset ? ["--toolset", import_node_path67.default.join(root, ".peach-target-toolset.json")] : [],
|
|
51615
51632
|
"-c",
|
|
51616
51633
|
"release",
|
|
51617
|
-
...input.unoptimized ? [
|
|
51618
|
-
|
|
51619
|
-
"-Onone",
|
|
51634
|
+
...input.unoptimized ? ["-Xswiftc", "-Onone"] : [],
|
|
51635
|
+
...perFile ? [
|
|
51620
51636
|
"-Xswiftc",
|
|
51621
51637
|
"-no-whole-module-optimization",
|
|
51622
51638
|
"-Xswiftc",
|
|
@@ -51624,6 +51640,7 @@ ${cap}` : "";
|
|
|
51624
51640
|
"-Xswiftc",
|
|
51625
51641
|
String(jobs)
|
|
51626
51642
|
] : [],
|
|
51643
|
+
...incrementalPreview ? ["-Xswiftc", "-incremental", "-Xswiftc", "-enable-batch-mode"] : [],
|
|
51627
51644
|
// the mirror finds a changed sdk header's readers in their
|
|
51628
51645
|
// dependency files, which omit system headers by default
|
|
51629
51646
|
...mirrorDistribution ? ["-Xswiftc", "-track-system-dependencies"] : [],
|
|
@@ -51633,7 +51650,7 @@ ${cap}` : "";
|
|
|
51633
51650
|
"-Xswiftc",
|
|
51634
51651
|
"-num-threads",
|
|
51635
51652
|
"-Xswiftc",
|
|
51636
|
-
String(
|
|
51653
|
+
String(perFile ? 1 : jobs),
|
|
51637
51654
|
...swiftReproducibleBuildFlags([
|
|
51638
51655
|
[import_node_path67.default.dirname(options2.toolchainBin), "toolchain"],
|
|
51639
51656
|
[compileFrameworkRoot, "framework"],
|
|
@@ -52271,7 +52288,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
52271
52288
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
52272
52289
|
MULTI_MANIFEST_VERSION = 76;
|
|
52273
52290
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
52274
|
-
compilerSourceDigest = true ? "
|
|
52291
|
+
compilerSourceDigest = true ? "7ad8331459e85954e940f382fd0f0f332c2df41859753dcb1e84f725f3e86120" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
52275
52292
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
52276
52293
|
MODULE_MAP_RESPONSE_FILE_RUN = 16;
|
|
52277
52294
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
@@ -93643,6 +93660,12 @@ std::unordered_map<int, int> fabricTagAliases;
|
|
|
93643
93660
|
using FabricComponentView = UIView<RCTComponentViewProtocol>;
|
|
93644
93661
|
std::unordered_map<int, FabricComponentView *> fabricPeers;
|
|
93645
93662
|
std::unordered_map<int, std::vector<int>> fabricChildren;
|
|
93663
|
+
|
|
93664
|
+
react::ShadowView fabricShadow(UIView *view) {
|
|
93665
|
+
react::ShadowView shadow;
|
|
93666
|
+
shadow.tag = static_cast<react::Tag>(view.tag);
|
|
93667
|
+
return shadow;
|
|
93668
|
+
}
|
|
93646
93669
|
int nextFabricView = 1;
|
|
93647
93670
|
UITextField *fabricFocusField = nil;
|
|
93648
93671
|
bool fabricFocusActive = false;
|
|
@@ -94253,18 +94276,36 @@ ${paper ? ` // the interop's state carries its coordinator, which only the sh
|
|
|
94253
94276
|
}
|
|
94254
94277
|
view.family->getEventEmitter()->setEnabled(false);
|
|
94255
94278
|
RCTComponentViewDescriptor descriptor = [fabricRegistry componentViewDescriptorWithTag:tag];
|
|
94279
|
+
react::ShadowViewMutationList mutations;
|
|
94280
|
+
for (const auto &[hostId, viewTag] : fabricTagAliases) {
|
|
94281
|
+
if (viewTag != tag) continue;
|
|
94282
|
+
for (const auto &[parent, children] : fabricChildren) {
|
|
94283
|
+
auto child = std::find(children.begin(), children.end(), hostId);
|
|
94284
|
+
if (child == children.end()) continue;
|
|
94285
|
+
mutations.push_back(react::ShadowViewMutation::RemoveMutation(
|
|
94286
|
+
fabricShadow(fabricPeers.at(parent)).tag, fabricShadow(descriptor.view),
|
|
94287
|
+
static_cast<int>(child - children.begin())));
|
|
94288
|
+
break;
|
|
94289
|
+
}
|
|
94290
|
+
}
|
|
94291
|
+
mutations.push_back(react::ShadowViewMutation::DeleteMutation(fabricShadow(descriptor.view)));
|
|
94292
|
+
const react::SurfaceTelemetry telemetry;
|
|
94293
|
+
const react::MountingTransaction transaction(
|
|
94294
|
+
-1, ++fabricTransactions, std::move(mutations), react::TransactionTelemetry{});
|
|
94295
|
+
fabricObservers.notifyObserversMountingTransactionWillMount(transaction, telemetry);
|
|
94256
94296
|
fabricObservers.unregisterViewComponentDescriptor(descriptor, -1);
|
|
94257
94297
|
for (const auto &[hostId, viewTag] : fabricTagAliases) {
|
|
94258
94298
|
if (viewTag != tag) continue;
|
|
94259
94299
|
detachFabricChildren(hostId);
|
|
94260
|
-
|
|
94261
|
-
|
|
94262
|
-
if (
|
|
94263
|
-
|
|
94264
|
-
|
|
94265
|
-
|
|
94300
|
+
for (auto &[parent, children] : fabricChildren) {
|
|
94301
|
+
auto child = std::find(children.begin(), children.end(), hostId);
|
|
94302
|
+
if (child == children.end()) continue;
|
|
94303
|
+
[fabricPeers.at(parent) unmountChildComponentView:fabricPeers.at(hostId)
|
|
94304
|
+
index:child - children.begin()];
|
|
94305
|
+
children.erase(child);
|
|
94306
|
+
if (children.empty()) fabricChildren.erase(parent);
|
|
94307
|
+
break;
|
|
94266
94308
|
}
|
|
94267
|
-
if (parentId) detachFabricChildren(*parentId);
|
|
94268
94309
|
fabricPeers.erase(hostId);
|
|
94269
94310
|
}
|
|
94270
94311
|
descriptor.view._peachDrawsInFabricSlot = NO;
|
|
@@ -94281,6 +94322,7 @@ ${paper ? ` // the interop's state carries its coordinator, which only the sh
|
|
|
94281
94322
|
if (it->second == tag) it = fabricTagAliases.erase(it);
|
|
94282
94323
|
else ++it;
|
|
94283
94324
|
}
|
|
94325
|
+
fabricObservers.notifyObserversMountingTransactionDidMount(transaction, telemetry);
|
|
94284
94326
|
return jsi::Value::undefined();
|
|
94285
94327
|
});
|
|
94286
94328
|
method("bindTag", 2, [](jsi::Runtime &, const jsi::Value &, const jsi::Value *args, size_t) -> jsi::Value {
|
|
@@ -94332,27 +94374,22 @@ ${paper ? ` // the interop's state carries its coordinator, which only the sh
|
|
|
94332
94374
|
// the mutations RCTMountingManager hands the views observing its
|
|
94333
94375
|
// transactions, such as a stack that pushes the screens mounted into it
|
|
94334
94376
|
react::ShadowViewMutationList mutations;
|
|
94335
|
-
auto shadow = [](UIView *view) {
|
|
94336
|
-
react::ShadowView shadow;
|
|
94337
|
-
shadow.tag = static_cast<react::Tag>(view.tag);
|
|
94338
|
-
return shadow;
|
|
94339
|
-
};
|
|
94340
94377
|
for (int parent : changedParents) {
|
|
94341
94378
|
const auto &previous = fabricChildren.at(parent);
|
|
94342
94379
|
const auto parentTag = static_cast<react::Tag>(fabricPeers.at(parent).tag);
|
|
94343
94380
|
for (size_t index = previous.size(); index > 0; --index)
|
|
94344
94381
|
mutations.push_back(react::ShadowViewMutation::RemoveMutation(
|
|
94345
|
-
parentTag,
|
|
94382
|
+
parentTag, fabricShadow(fabricPeers.at(previous[index - 1])), static_cast<int>(index - 1)));
|
|
94346
94383
|
}
|
|
94347
94384
|
for (const auto &[id, peer] : fabricPeers)
|
|
94348
|
-
if (!active.count(id) && peer.tag) mutations.push_back(react::ShadowViewMutation::DeleteMutation(
|
|
94385
|
+
if (!active.count(id) && peer.tag) mutations.push_back(react::ShadowViewMutation::DeleteMutation(fabricShadow(peer)));
|
|
94349
94386
|
for (const auto &[id, children] : next) {
|
|
94350
94387
|
auto mounted = fabricChildren.find(id);
|
|
94351
94388
|
if (mounted != fabricChildren.end() && mounted->second == children) continue;
|
|
94352
94389
|
const auto parentTag = static_cast<react::Tag>(fabricPeers.at(id).tag);
|
|
94353
94390
|
for (size_t index = 0; index < children.size(); ++index)
|
|
94354
94391
|
mutations.push_back(react::ShadowViewMutation::InsertMutation(
|
|
94355
|
-
parentTag,
|
|
94392
|
+
parentTag, fabricShadow(fabricPeers.at(children[index])), static_cast<int>(index)));
|
|
94356
94393
|
}
|
|
94357
94394
|
std::optional<react::MountingTransaction> transaction;
|
|
94358
94395
|
const react::SurfaceTelemetry telemetry;
|
|
@@ -95716,7 +95753,7 @@ var init_react_native_core = __esm({
|
|
|
95716
95753
|
init_swift_distribution();
|
|
95717
95754
|
init_swift_package();
|
|
95718
95755
|
init_swiftContract();
|
|
95719
|
-
recipe = true ? "
|
|
95756
|
+
recipe = true ? "d911acf7b89304f3e4eeec436bfaac80f151db044bccbdfd056978e6faca02d2" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
|
|
95720
95757
|
strings4 = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
|
|
95721
95758
|
building = /* @__PURE__ */ new Map();
|
|
95722
95759
|
}
|