peachsim 0.1.2024 → 0.1.2025
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 +12 -7
- 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 +11 -6
- 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 +12 -7
- 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 +12 -7
- package/dist-lib/swift-compile.cjs +9 -4
- package/dist-lib/swift-compile.mjs +9 -4
- 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 +10 -5
- package/dist-lib/vite.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/package.json +1 -1
- package/src/swift-wasm-prune.ts +12 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2025 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/sdk.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2025 | (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/sdk.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2025 | (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/skills.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2025 | (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;
|
|
@@ -47277,8 +47277,13 @@ function pruneSwiftWasmLink(directory2, toolchainBin, moduleRoot, staticClangTar
|
|
|
47277
47277
|
} else if (!inStartLib) {
|
|
47278
47278
|
if (t.endsWith("/swiftrt.o")) {
|
|
47279
47279
|
swiftrtOrigPath = t;
|
|
47280
|
-
} else if (/\.(?:c|cc|cpp|cxx)\.o$/.test(t) && staticClangTargets.some((name3) => t.includes(`/${name3}.build/`))) {
|
|
47281
|
-
|
|
47280
|
+
} else if (/\.(?:c|cc|cpp|cxx|m|mm)\.o$/.test(t) && staticClangTargets.some((name3) => t.includes(`/${name3}.build/`))) {
|
|
47281
|
+
const obj = parseWasmObjectCached(t, false, false);
|
|
47282
|
+
if (obj.segNames.some(
|
|
47283
|
+
(name3) => name3 === "__objc_classes" || name3 === "__objc_cats"
|
|
47284
|
+
))
|
|
47285
|
+
eagerFiles.push(t);
|
|
47286
|
+
else lazyBuildObjects.set(t, obj);
|
|
47282
47287
|
} else {
|
|
47283
47288
|
eagerFiles.push(t);
|
|
47284
47289
|
}
|
|
@@ -57542,7 +57547,7 @@ var init_swift_compile = __esm({
|
|
|
57542
57547
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
57543
57548
|
MULTI_MANIFEST_VERSION = 68;
|
|
57544
57549
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
57545
|
-
compilerSourceDigest = true ? "
|
|
57550
|
+
compilerSourceDigest = true ? "fe103572785957edebe5d54673d572d1499fc7d0eafdd2179ec23d0870120986" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
57546
57551
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
57547
57552
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
57548
57553
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -63944,7 +63949,7 @@ var init_swift_standin_digest = __esm({
|
|
|
63944
63949
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
63945
63950
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
63946
63951
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
63947
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
63952
|
+
STANDIN_SOURCE_DIGEST = true ? "617f93092d86e6965b0aa7210cbe194fc406a251595265c3c0eec0b89c023dd5" : standinSourceDigest();
|
|
63948
63953
|
}
|
|
63949
63954
|
});
|
|
63950
63955
|
|
|
@@ -64674,7 +64679,7 @@ var init_expo_native_prebuilt = __esm({
|
|
|
64674
64679
|
init_swift_native_pin();
|
|
64675
64680
|
init_xcode_project();
|
|
64676
64681
|
EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
64677
|
-
EXPO_NATIVE_COMPILER_DIGEST = true ? "
|
|
64682
|
+
EXPO_NATIVE_COMPILER_DIGEST = true ? "0eff2bdac5e7fa74e4fd2e853b849811ef67b005a67309153cc9cbd0ff661cf4" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
64678
64683
|
IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
64679
64684
|
expoNativeEntryUrl = (key2, file) => `${NATIVE_PREBUILT_ORIGIN}/${nativeEntryPrefix("expo", EXPO_NATIVE_ENTRY_NAME, key2)}/${file}`;
|
|
64680
64685
|
isStringRecord = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
|
|
@@ -83225,7 +83230,7 @@ var init_nitro_superset = __esm({
|
|
|
83225
83230
|
init_swift_standin_digest();
|
|
83226
83231
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
83227
83232
|
packageVersion = (root) => JSON.parse((0, import_node_fs94.readFileSync)((0, import_node_path91.join)(root, "package.json"), "utf8")).version;
|
|
83228
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
83233
|
+
NITRO_COMPILER_DIGEST = true ? "63280962f90f49d0cbcdde9cd2a6df23fe1c7300df112b6e14bff4a511b8c783" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
83229
83234
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
83230
83235
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
83231
83236
|
published2 = /* @__PURE__ */ new Map();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2025 | (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;
|
|
@@ -5776,8 +5776,13 @@ function pruneSwiftWasmLink(directory, toolchainBin, moduleRoot, staticClangTarg
|
|
|
5776
5776
|
} else if (!inStartLib) {
|
|
5777
5777
|
if (t.endsWith("/swiftrt.o")) {
|
|
5778
5778
|
swiftrtOrigPath = t;
|
|
5779
|
-
} else if (/\.(?:c|cc|cpp|cxx)\.o$/.test(t) && staticClangTargets.some((name2) => t.includes(`/${name2}.build/`))) {
|
|
5780
|
-
|
|
5779
|
+
} else if (/\.(?:c|cc|cpp|cxx|m|mm)\.o$/.test(t) && staticClangTargets.some((name2) => t.includes(`/${name2}.build/`))) {
|
|
5780
|
+
const obj = parseWasmObjectCached(t, false, false);
|
|
5781
|
+
if (obj.segNames.some(
|
|
5782
|
+
(name2) => name2 === "__objc_classes" || name2 === "__objc_cats"
|
|
5783
|
+
))
|
|
5784
|
+
eagerFiles.push(t);
|
|
5785
|
+
else lazyBuildObjects.set(t, obj);
|
|
5781
5786
|
} else {
|
|
5782
5787
|
eagerFiles.push(t);
|
|
5783
5788
|
}
|
|
@@ -12415,7 +12420,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
12415
12420
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
12416
12421
|
var MULTI_MANIFEST_VERSION = 68;
|
|
12417
12422
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
12418
|
-
var compilerSourceDigest = true ? "
|
|
12423
|
+
var compilerSourceDigest = true ? "fe103572785957edebe5d54673d572d1499fc7d0eafdd2179ec23d0870120986" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
12419
12424
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
12420
12425
|
const hash = (0, import_node_crypto13.createHash)("sha256");
|
|
12421
12426
|
hash.update(`swift-compile
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2025 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
|
|
3
3
|
// src/swift-compile.ts
|
|
4
4
|
import {
|
|
@@ -5724,8 +5724,13 @@ function pruneSwiftWasmLink(directory, toolchainBin, moduleRoot, staticClangTarg
|
|
|
5724
5724
|
} else if (!inStartLib) {
|
|
5725
5725
|
if (t.endsWith("/swiftrt.o")) {
|
|
5726
5726
|
swiftrtOrigPath = t;
|
|
5727
|
-
} else if (/\.(?:c|cc|cpp|cxx)\.o$/.test(t) && staticClangTargets.some((name2) => t.includes(`/${name2}.build/`))) {
|
|
5728
|
-
|
|
5727
|
+
} else if (/\.(?:c|cc|cpp|cxx|m|mm)\.o$/.test(t) && staticClangTargets.some((name2) => t.includes(`/${name2}.build/`))) {
|
|
5728
|
+
const obj = parseWasmObjectCached(t, false, false);
|
|
5729
|
+
if (obj.segNames.some(
|
|
5730
|
+
(name2) => name2 === "__objc_classes" || name2 === "__objc_cats"
|
|
5731
|
+
))
|
|
5732
|
+
eagerFiles.push(t);
|
|
5733
|
+
else lazyBuildObjects.set(t, obj);
|
|
5729
5734
|
} else {
|
|
5730
5735
|
eagerFiles.push(t);
|
|
5731
5736
|
}
|
|
@@ -12397,7 +12402,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
12397
12402
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
12398
12403
|
var MULTI_MANIFEST_VERSION = 68;
|
|
12399
12404
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
12400
|
-
var compilerSourceDigest = true ? "
|
|
12405
|
+
var compilerSourceDigest = true ? "fe103572785957edebe5d54673d572d1499fc7d0eafdd2179ec23d0870120986" : swiftCompilerSourceDigest(import.meta.dirname);
|
|
12401
12406
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
12402
12407
|
const hash = createHash13("sha256");
|
|
12403
12408
|
hash.update(`swift-compile
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2025 | (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.2025 | (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.2025 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2025 | (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/vite-swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2025 | (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;
|
|
@@ -10454,8 +10454,13 @@ function pruneSwiftWasmLink(directory, toolchainBin, moduleRoot, staticClangTarg
|
|
|
10454
10454
|
} else if (!inStartLib) {
|
|
10455
10455
|
if (t.endsWith("/swiftrt.o")) {
|
|
10456
10456
|
swiftrtOrigPath = t;
|
|
10457
|
-
} else if (/\.(?:c|cc|cpp|cxx)\.o$/.test(t) && staticClangTargets.some((name3) => t.includes(`/${name3}.build/`))) {
|
|
10458
|
-
|
|
10457
|
+
} else if (/\.(?:c|cc|cpp|cxx|m|mm)\.o$/.test(t) && staticClangTargets.some((name3) => t.includes(`/${name3}.build/`))) {
|
|
10458
|
+
const obj = parseWasmObjectCached(t, false, false);
|
|
10459
|
+
if (obj.segNames.some(
|
|
10460
|
+
(name3) => name3 === "__objc_classes" || name3 === "__objc_cats"
|
|
10461
|
+
))
|
|
10462
|
+
eagerFiles.push(t);
|
|
10463
|
+
else lazyBuildObjects.set(t, obj);
|
|
10459
10464
|
} else {
|
|
10460
10465
|
eagerFiles.push(t);
|
|
10461
10466
|
}
|
|
@@ -16983,7 +16988,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
16983
16988
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
16984
16989
|
var MULTI_MANIFEST_VERSION = 68;
|
|
16985
16990
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
16986
|
-
var compilerSourceDigest = true ? "
|
|
16991
|
+
var compilerSourceDigest = true ? "fe103572785957edebe5d54673d572d1499fc7d0eafdd2179ec23d0870120986" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
16987
16992
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
16988
16993
|
const hash = (0, import_node_crypto13.createHash)("sha256");
|
|
16989
16994
|
hash.update(`swift-compile
|
|
@@ -29994,7 +29999,7 @@ function sourceClosureDigest(srcDir, entrypoints) {
|
|
|
29994
29999
|
return hash.digest("hex");
|
|
29995
30000
|
}
|
|
29996
30001
|
var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
29997
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
30002
|
+
var STANDIN_SOURCE_DIGEST = true ? "617f93092d86e6965b0aa7210cbe194fc406a251595265c3c0eec0b89c023dd5" : standinSourceDigest();
|
|
29998
30003
|
|
|
29999
30004
|
// src/swift-standins.ts
|
|
30000
30005
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
package/dist-lib/vite.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2025 | (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.2025 | (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/package.json
CHANGED
package/src/swift-wasm-prune.ts
CHANGED
|
@@ -1162,12 +1162,20 @@ export function pruneSwiftWasmLink(
|
|
|
1162
1162
|
if (t.endsWith('/swiftrt.o')) {
|
|
1163
1163
|
swiftrtOrigPath = t
|
|
1164
1164
|
} else if (
|
|
1165
|
-
/\.(?:c|cc|cpp|cxx)\.o$/.test(t) &&
|
|
1165
|
+
/\.(?:c|cc|cpp|cxx|m|mm)\.o$/.test(t) &&
|
|
1166
1166
|
staticClangTargets.some((name) => t.includes(`/${name}.build/`))
|
|
1167
1167
|
) {
|
|
1168
|
-
//
|
|
1169
|
-
//
|
|
1170
|
-
|
|
1168
|
+
// CocoaPods links a pod as a static archive under -ObjC, which loads
|
|
1169
|
+
// every member defining an Objective-C class or category; any other
|
|
1170
|
+
// member, Objective-C or not, is extracted only for a symbol it resolves.
|
|
1171
|
+
const obj = parseWasmObjectCached(t, false, false)
|
|
1172
|
+
if (
|
|
1173
|
+
obj.segNames.some(
|
|
1174
|
+
(name) => name === '__objc_classes' || name === '__objc_cats',
|
|
1175
|
+
)
|
|
1176
|
+
)
|
|
1177
|
+
eagerFiles.push(t)
|
|
1178
|
+
else lazyBuildObjects.set(t, obj)
|
|
1171
1179
|
} else {
|
|
1172
1180
|
eagerFiles.push(t)
|
|
1173
1181
|
}
|