peachsim 0.1.2556 → 0.1.2558
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 +59 -24
- 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-RCPNZLBX.mjs → acorn-H5R5WL5Z.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-4DSAFUSF.mjs → chunk-2SYI7AVZ.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-JNPP5UNM.mjs → chunk-3CNKMHAV.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-UY3C7IJK.mjs → chunk-4DMMDRV6.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-NUKLGH7N.mjs → chunk-A623GXE7.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-SRDVSEJC.mjs → chunk-C7PWBR6L.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-AZNFJSB3.mjs → chunk-CQWRCZ2S.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-5ET5LENW.mjs → chunk-EN7JZYP3.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-TL6GNIDT.mjs → chunk-FQZVZ3RN.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-QZSDVXSS.mjs → chunk-FUJTMA7V.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-QEQ4HQXJ.mjs → chunk-IWJFMVZG.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-7T32EV4Z.mjs → chunk-IWOFT2QS.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-RMDYAU43.mjs → chunk-KRSE7SL3.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-4XSQO6IQ.mjs → chunk-LICG36EA.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-HZK4WLJ2.mjs → chunk-NBO7K7VD.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-QIOK33NM.mjs → chunk-S77TRLUF.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-4CMQ2URA.mjs → chunk-TFIAX3CA.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-K4PFFIXV.mjs → chunk-W2BNVL5R.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-5IPH3F7P.mjs → chunk-YUNUP7LH.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-CM2EFPAJ.mjs → chunk-YYNGYSWZ.mjs} +31 -16
- package/dist-lib/esm-chunks/{chunk-Z65WYJKN.mjs → chunk-ZLY5YVA4.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-RAT7PHJI.mjs → chunk-ZUZRRO4N.mjs} +5 -5
- package/dist-lib/esm-chunks/{metro-layout-parser-DEUINMJY.mjs → metro-layout-parser-FX64FVAZ.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-YRFHVQPA.mjs → swift-package-prebuilt-ZJBVLMDF.mjs} +10 -10
- package/dist-lib/esm-chunks/{swift-sdk-app-module-GQFCU4PX.mjs → swift-sdk-app-module-SRFVRBWU.mjs} +13 -13
- package/dist-lib/esm-chunks/{swift-sdk-image-24EUGZET.mjs → swift-sdk-image-6HY3OCSX.mjs} +13 -13
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-4WWKKIOB.mjs → swift-sdk-image-producer-KPCU6FCS.mjs} +4 -4
- package/dist-lib/expo-swift-bundle.cjs +58 -23
- 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 +61 -24
- 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 +61 -24
- package/dist-lib/swift-compile.cjs +20 -5
- 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/kotlin/sdk.tar.gz +0 -0
- package/package.json +1 -1
- package/src/swift-distribution-mirror.ts +20 -5
- package/src/turbo-source.ts +35 -15
- package/src/widget-extension-bundle.ts +4 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2558 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isSwiftImageVariants
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3CNKMHAV.mjs";
|
|
5
5
|
import {
|
|
6
6
|
findBundleFooter
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KRSE7SL3.mjs";
|
|
8
8
|
import {
|
|
9
9
|
isRecord
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-W2BNVL5R.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.2558 | (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-CQWRCZ2S.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-C7PWBR6L.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-EN7JZYP3.mjs";
|
|
61
61
|
import {
|
|
62
62
|
rnxPublicBrand
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-IWOFT2QS.mjs";
|
|
64
64
|
import {
|
|
65
65
|
isRecord
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-W2BNVL5R.mjs";
|
|
67
67
|
import {
|
|
68
68
|
__publicField
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-A623GXE7.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-6HY3OCSX.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-SRFVRBWU.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-ZJBVLMDF.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-6HY3OCSX.mjs")).buildSwiftSdkImage(
|
|
20846
20861
|
moduleRoot,
|
|
20847
20862
|
!!guestGraph,
|
|
20848
20863
|
distribution ? [] : linkedFrameworkTargets(moduleRoot, input).imports,
|
|
@@ -21492,7 +21507,7 @@ ${cap}` : "";
|
|
|
21492
21507
|
if (sdkImage && binding)
|
|
21493
21508
|
sdkAsset = { key: sdkImage.key, sha256: sdkImage.sha256, binding };
|
|
21494
21509
|
} else if (sdkImage) {
|
|
21495
|
-
const { buildSwiftAppModule } = await import("./swift-sdk-app-module-
|
|
21510
|
+
const { buildSwiftAppModule } = await import("./swift-sdk-app-module-SRFVRBWU.mjs");
|
|
21496
21511
|
const binding = await buildSwiftAppModule({
|
|
21497
21512
|
buildRoot: root,
|
|
21498
21513
|
toolchainBin: options.toolchainBin,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2558 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
__commonJS,
|
|
4
4
|
__toESM
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-A623GXE7.mjs";
|
|
6
6
|
|
|
7
7
|
// ../../node_modules/@xmldom/xmldom/lib/conventions.js
|
|
8
8
|
var require_conventions = __commonJS({
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2558 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
LAUNCH_METADATA_KEYS,
|
|
4
4
|
LAUNCH_METADATA_KEYS_PATH
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-S77TRLUF.mjs";
|
|
6
6
|
import {
|
|
7
7
|
parseSwiftDistributionLock,
|
|
8
8
|
readActiveRuntime,
|
|
9
9
|
runtimeDir,
|
|
10
10
|
swiftDistributionAt,
|
|
11
11
|
swiftModuleSdk
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-YYNGYSWZ.mjs";
|
|
13
13
|
import {
|
|
14
14
|
SWIFT_WASM_TRIPLE,
|
|
15
15
|
registerSwiftHostCompiler,
|
|
16
16
|
swiftCompiler,
|
|
17
17
|
swiftToolchain
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-CQWRCZ2S.mjs";
|
|
19
19
|
import {
|
|
20
20
|
isRecord
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-W2BNVL5R.mjs";
|
|
22
22
|
|
|
23
23
|
// src/swift-distribution.ts
|
|
24
24
|
import fs2 from "node:fs";
|
package/dist-lib/esm-chunks/{metro-layout-parser-DEUINMJY.mjs → metro-layout-parser-FX64FVAZ.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
2
|
-
import "./chunk-
|
|
1
|
+
/*! peach v0.1.2558 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "./chunk-A623GXE7.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-H5R5WL5Z.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.2558 | (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-YYNGYSWZ.mjs";
|
|
10
|
+
import "./chunk-CQWRCZ2S.mjs";
|
|
11
11
|
import {
|
|
12
12
|
SWIFT_REMOTE_PACKAGES_DIR
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-C7PWBR6L.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-EN7JZYP3.mjs";
|
|
17
|
+
import "./chunk-3CNKMHAV.mjs";
|
|
18
|
+
import "./chunk-IWOFT2QS.mjs";
|
|
19
|
+
import "./chunk-FQZVZ3RN.mjs";
|
|
20
|
+
import "./chunk-W2BNVL5R.mjs";
|
|
21
|
+
import "./chunk-A623GXE7.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-GQFCU4PX.mjs → swift-sdk-app-module-SRFVRBWU.mjs}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2558 | (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-2SYI7AVZ.mjs";
|
|
9
|
+
import "./chunk-ZUZRRO4N.mjs";
|
|
10
|
+
import "./chunk-S77TRLUF.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-YYNGYSWZ.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-CQWRCZ2S.mjs";
|
|
42
|
+
import "./chunk-C7PWBR6L.mjs";
|
|
43
|
+
import "./chunk-EN7JZYP3.mjs";
|
|
44
|
+
import "./chunk-3CNKMHAV.mjs";
|
|
45
|
+
import "./chunk-IWOFT2QS.mjs";
|
|
46
|
+
import "./chunk-FQZVZ3RN.mjs";
|
|
47
|
+
import "./chunk-W2BNVL5R.mjs";
|
|
48
|
+
import "./chunk-A623GXE7.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.2558 | (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-2SYI7AVZ.mjs";
|
|
19
|
+
import "./chunk-ZUZRRO4N.mjs";
|
|
20
|
+
import "./chunk-S77TRLUF.mjs";
|
|
21
|
+
import "./chunk-YYNGYSWZ.mjs";
|
|
22
|
+
import "./chunk-CQWRCZ2S.mjs";
|
|
23
|
+
import "./chunk-C7PWBR6L.mjs";
|
|
24
|
+
import "./chunk-EN7JZYP3.mjs";
|
|
25
|
+
import "./chunk-3CNKMHAV.mjs";
|
|
26
|
+
import "./chunk-IWOFT2QS.mjs";
|
|
27
|
+
import "./chunk-FQZVZ3RN.mjs";
|
|
28
|
+
import "./chunk-W2BNVL5R.mjs";
|
|
29
|
+
import "./chunk-A623GXE7.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.2558 | (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-CQWRCZ2S.mjs";
|
|
7
7
|
import {
|
|
8
8
|
isRecord
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-W2BNVL5R.mjs";
|
|
10
|
+
import "./chunk-A623GXE7.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.2558 | (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)
|
|
@@ -52273,7 +52288,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
52273
52288
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
52274
52289
|
MULTI_MANIFEST_VERSION = 76;
|
|
52275
52290
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
52276
|
-
compilerSourceDigest = true ? "
|
|
52291
|
+
compilerSourceDigest = true ? "7ad8331459e85954e940f382fd0f0f332c2df41859753dcb1e84f725f3e86120" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
52277
52292
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
52278
52293
|
MODULE_MAP_RESPONSE_FILE_RUN = 16;
|
|
52279
52294
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
@@ -93645,6 +93660,12 @@ std::unordered_map<int, int> fabricTagAliases;
|
|
|
93645
93660
|
using FabricComponentView = UIView<RCTComponentViewProtocol>;
|
|
93646
93661
|
std::unordered_map<int, FabricComponentView *> fabricPeers;
|
|
93647
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
|
+
}
|
|
93648
93669
|
int nextFabricView = 1;
|
|
93649
93670
|
UITextField *fabricFocusField = nil;
|
|
93650
93671
|
bool fabricFocusActive = false;
|
|
@@ -94255,18 +94276,36 @@ ${paper ? ` // the interop's state carries its coordinator, which only the sh
|
|
|
94255
94276
|
}
|
|
94256
94277
|
view.family->getEventEmitter()->setEnabled(false);
|
|
94257
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);
|
|
94258
94296
|
fabricObservers.unregisterViewComponentDescriptor(descriptor, -1);
|
|
94259
94297
|
for (const auto &[hostId, viewTag] : fabricTagAliases) {
|
|
94260
94298
|
if (viewTag != tag) continue;
|
|
94261
94299
|
detachFabricChildren(hostId);
|
|
94262
|
-
|
|
94263
|
-
|
|
94264
|
-
if (
|
|
94265
|
-
|
|
94266
|
-
|
|
94267
|
-
|
|
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;
|
|
94268
94308
|
}
|
|
94269
|
-
if (parentId) detachFabricChildren(*parentId);
|
|
94270
94309
|
fabricPeers.erase(hostId);
|
|
94271
94310
|
}
|
|
94272
94311
|
descriptor.view._peachDrawsInFabricSlot = NO;
|
|
@@ -94283,6 +94322,7 @@ ${paper ? ` // the interop's state carries its coordinator, which only the sh
|
|
|
94283
94322
|
if (it->second == tag) it = fabricTagAliases.erase(it);
|
|
94284
94323
|
else ++it;
|
|
94285
94324
|
}
|
|
94325
|
+
fabricObservers.notifyObserversMountingTransactionDidMount(transaction, telemetry);
|
|
94286
94326
|
return jsi::Value::undefined();
|
|
94287
94327
|
});
|
|
94288
94328
|
method("bindTag", 2, [](jsi::Runtime &, const jsi::Value &, const jsi::Value *args, size_t) -> jsi::Value {
|
|
@@ -94334,27 +94374,22 @@ ${paper ? ` // the interop's state carries its coordinator, which only the sh
|
|
|
94334
94374
|
// the mutations RCTMountingManager hands the views observing its
|
|
94335
94375
|
// transactions, such as a stack that pushes the screens mounted into it
|
|
94336
94376
|
react::ShadowViewMutationList mutations;
|
|
94337
|
-
auto shadow = [](UIView *view) {
|
|
94338
|
-
react::ShadowView shadow;
|
|
94339
|
-
shadow.tag = static_cast<react::Tag>(view.tag);
|
|
94340
|
-
return shadow;
|
|
94341
|
-
};
|
|
94342
94377
|
for (int parent : changedParents) {
|
|
94343
94378
|
const auto &previous = fabricChildren.at(parent);
|
|
94344
94379
|
const auto parentTag = static_cast<react::Tag>(fabricPeers.at(parent).tag);
|
|
94345
94380
|
for (size_t index = previous.size(); index > 0; --index)
|
|
94346
94381
|
mutations.push_back(react::ShadowViewMutation::RemoveMutation(
|
|
94347
|
-
parentTag,
|
|
94382
|
+
parentTag, fabricShadow(fabricPeers.at(previous[index - 1])), static_cast<int>(index - 1)));
|
|
94348
94383
|
}
|
|
94349
94384
|
for (const auto &[id, peer] : fabricPeers)
|
|
94350
|
-
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)));
|
|
94351
94386
|
for (const auto &[id, children] : next) {
|
|
94352
94387
|
auto mounted = fabricChildren.find(id);
|
|
94353
94388
|
if (mounted != fabricChildren.end() && mounted->second == children) continue;
|
|
94354
94389
|
const auto parentTag = static_cast<react::Tag>(fabricPeers.at(id).tag);
|
|
94355
94390
|
for (size_t index = 0; index < children.size(); ++index)
|
|
94356
94391
|
mutations.push_back(react::ShadowViewMutation::InsertMutation(
|
|
94357
|
-
parentTag,
|
|
94392
|
+
parentTag, fabricShadow(fabricPeers.at(children[index])), static_cast<int>(index)));
|
|
94358
94393
|
}
|
|
94359
94394
|
std::optional<react::MountingTransaction> transaction;
|
|
94360
94395
|
const react::SurfaceTelemetry telemetry;
|
|
@@ -95718,7 +95753,7 @@ var init_react_native_core = __esm({
|
|
|
95718
95753
|
init_swift_distribution();
|
|
95719
95754
|
init_swift_package();
|
|
95720
95755
|
init_swiftContract();
|
|
95721
|
-
recipe = true ? "
|
|
95756
|
+
recipe = true ? "d911acf7b89304f3e4eeec436bfaac80f151db044bccbdfd056978e6faca02d2" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
|
|
95722
95757
|
strings4 = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
|
|
95723
95758
|
building = /* @__PURE__ */ new Map();
|
|
95724
95759
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2558 | (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,19 +1,19 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2558 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isSwiftResourcePath
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-C7PWBR6L.mjs";
|
|
5
5
|
import {
|
|
6
6
|
isNativeAppIdentity
|
|
7
|
-
} from "./esm-chunks/chunk-
|
|
8
|
-
import "./esm-chunks/chunk-
|
|
7
|
+
} from "./esm-chunks/chunk-YUNUP7LH.mjs";
|
|
8
|
+
import "./esm-chunks/chunk-3CNKMHAV.mjs";
|
|
9
9
|
import {
|
|
10
10
|
insertBundleGlobalFooter,
|
|
11
11
|
readBundleGlobalFooter
|
|
12
|
-
} from "./esm-chunks/chunk-
|
|
12
|
+
} from "./esm-chunks/chunk-KRSE7SL3.mjs";
|
|
13
13
|
import {
|
|
14
14
|
isRecord
|
|
15
|
-
} from "./esm-chunks/chunk-
|
|
16
|
-
import "./esm-chunks/chunk-
|
|
15
|
+
} from "./esm-chunks/chunk-W2BNVL5R.mjs";
|
|
16
|
+
import "./esm-chunks/chunk-A623GXE7.mjs";
|
|
17
17
|
|
|
18
18
|
// src/expoSwiftContract.ts
|
|
19
19
|
function strings(value) {
|
package/dist-lib/home-paths.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2558 | (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;
|