peachsim 0.1.2302 → 0.1.2304
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 +165 -38
- 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 +3 -3
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +163 -36
- 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 +165 -38
- package/dist-lib/host/fetch-proxy-handler.cjs +6 -6
- 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 +22 -12
- 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 +22 -12
- package/dist-lib/native-app-identity-project.cjs +19 -9
- package/dist-lib/native-app-identity-project.mjs +19 -9
- 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 +2 -2
- 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 +167 -40
- package/dist-lib/swift-compile.cjs +3 -17
- package/dist-lib/swift-compile.mjs +3 -16
- 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 +96 -29
- package/dist-lib/vite.cjs +6 -6
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-compat/src/stubs/native-seams/react-native-gesture-handler.d.ts +5 -20
- package/dist-types/packages/peach-engine/src/engine/native-layout.d.ts +22 -5
- package/dist-types/packages/peach-engine/src/render-worker/gesture-arbitration-native.d.ts +15 -2
- package/dist-types/packages/peach-globals/src/webViewBridgeContract.d.ts +3 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Modules/module.modulemap +52 -0
- package/sdk/ios/System/Library/Frameworks/QuickLook.framework/Headers/QLPreviewController.h +1 -1
- package/src/core-data-model.ts +92 -3
- package/src/expo-discovery-cache.ts +2 -3
- package/src/expo-native-workspace.ts +30 -2
- package/src/expo-swift-host.ts +11 -0
- package/src/native-static-libraries.ts +4 -4
- package/src/podspec-sources.ts +12 -0
- package/src/reap-browser.ts +3 -1
- package/src/swift-compile.ts +1 -25
- package/src/swift-packages.ts +22 -1
- package/src/xcode-project.ts +23 -7
package/dist-lib/skills.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2304 | (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;
|
|
@@ -747,7 +747,7 @@ function processIdentity(pid) {
|
|
|
747
747
|
}
|
|
748
748
|
function softwareChromeAllowed(runtime = currentRuntime()) {
|
|
749
749
|
if (runtime.platform !== "linux") return false;
|
|
750
|
-
return runtime.env.CONTRAST_REMOTE_BUILD === "linux" || runtime.env.GITHUB_ACTIONS === "true" && runtime.env.RUNNER_OS === "Linux" || runtime.env.CONTRAST_CF_FACTORY_CONTAINER === "1" || runtime.env.PEACH_NATIVE_COMPOSITOR === "1";
|
|
750
|
+
return runtime.env.CONTRAST_REMOTE_BUILD === "linux" || runtime.env.CONTRAST_GPU_LESS_HOST === "1" || runtime.env.GITHUB_ACTIONS === "true" && runtime.env.RUNNER_OS === "Linux" || runtime.env.CONTRAST_CF_FACTORY_CONTAINER === "1" || runtime.env.PEACH_NATIVE_COMPOSITOR === "1";
|
|
751
751
|
}
|
|
752
752
|
function isSoftwareRendererArgument(value) {
|
|
753
753
|
const arg = String(value);
|
|
@@ -19165,7 +19165,7 @@ var init_registry = __esm({
|
|
|
19165
19165
|
coverage: 0,
|
|
19166
19166
|
note: "unsupported native libsodium bindings",
|
|
19167
19167
|
working: "no cryptographic operation is verified",
|
|
19168
|
-
missing: "the Libsodium native module
|
|
19168
|
+
missing: "the Libsodium native module: its install casts the bridge to RCTCxxBridge, which React Native 0.88 removed, so it builds only on 0.87 and earlier, where the turbo core lacks the legacy bridge Hermes executor"
|
|
19169
19169
|
}
|
|
19170
19170
|
]
|
|
19171
19171
|
},
|
|
@@ -37690,7 +37690,7 @@ var swiftCoverageProvenance;
|
|
|
37690
37690
|
var init_provenance = __esm({
|
|
37691
37691
|
"src/swift-coverage/provenance.ts"() {
|
|
37692
37692
|
"use strict";
|
|
37693
|
-
swiftCoverageProvenance = true ? JSON.parse('{"swift-coverage/indexdump.ts":"0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412","swift-coverage/indexing.ts":"633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272","swift-coverage/types.ts":"bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1","swift-coverage/source.ts":"c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee","swift-coverage/package.ts":"1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b","swift-coverage/xcode.ts":"65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa","swift-coverage/xcode-assets.ts":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"5c83f56357d880243ab485b260d23abd0094583ffa2287dac6e9e7eb18c3673d","swift-coverage/xcode-strings.ts":"f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"bfde06f157f52d3dd76577b3c6059c95c0393180b054ced773624ea89558992b","swift-package.ts":"338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb","swift-source-file.ts":"93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94","swift-toolchain.ts":"b60efa4eb7516378344cb7c48216aea5fa36590ace91a698655b48cfd0db96fe","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1","xcode-project.ts":"
|
|
37693
|
+
swiftCoverageProvenance = true ? JSON.parse('{"swift-coverage/indexdump.ts":"0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412","swift-coverage/indexing.ts":"633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272","swift-coverage/types.ts":"bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1","swift-coverage/source.ts":"c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee","swift-coverage/package.ts":"1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b","swift-coverage/xcode.ts":"65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa","swift-coverage/xcode-assets.ts":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"5c83f56357d880243ab485b260d23abd0094583ffa2287dac6e9e7eb18c3673d","swift-coverage/xcode-strings.ts":"f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"bfde06f157f52d3dd76577b3c6059c95c0393180b054ced773624ea89558992b","swift-package.ts":"338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb","swift-source-file.ts":"93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94","swift-toolchain.ts":"b60efa4eb7516378344cb7c48216aea5fa36590ace91a698655b48cfd0db96fe","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1","xcode-project.ts":"03246c9ea33ff804dd3fb3fd57c500b4f0011a53670a20135aa43d61b2d00258","xcode-target-members.ts":"2f25aaf5a3aa34395983c75935491c06bd68554c47ff1cb06b49c79499c03db0","xcode-json-project.ts":"41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6","openstep-plist.ts":"74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3"}') : swiftCoverageSourceDigests((0, import_node_path.join)(__sootsim_import_meta_dirname, ".."));
|
|
37694
37694
|
}
|
|
37695
37695
|
});
|
|
37696
37696
|
|
|
@@ -56248,18 +56248,6 @@ function lowerAVAssetURLCluster(source) {
|
|
|
56248
56248
|
out = out.slice(0, at) + insert + out.slice(at + remove);
|
|
56249
56249
|
return out;
|
|
56250
56250
|
}
|
|
56251
|
-
function lowerNSValueTimeBox(source) {
|
|
56252
|
-
const masked = swiftCodeMask(source);
|
|
56253
|
-
const pattern = /\bNSValue\s*\(\s*time\s*:/g;
|
|
56254
|
-
const edits = [];
|
|
56255
|
-
let hit;
|
|
56256
|
-
while ((hit = pattern.exec(masked)) !== null)
|
|
56257
|
-
edits.push([hit.index, "NSValue".length, "NSValue.boxedTime"]);
|
|
56258
|
-
let out = source;
|
|
56259
|
-
for (const [at, remove, insert] of edits.sort((a, b) => b[0] - a[0]))
|
|
56260
|
-
out = out.slice(0, at) + insert + out.slice(at + remove);
|
|
56261
|
-
return out;
|
|
56262
|
-
}
|
|
56263
56251
|
function swiftCodeMask(source) {
|
|
56264
56252
|
const chars = source.split("");
|
|
56265
56253
|
const blank = (from, to) => {
|
|
@@ -56471,7 +56459,7 @@ function swiftSourceAsIOS(source, overlayFrameworks, swiftPackage) {
|
|
|
56471
56459
|
continue;
|
|
56472
56460
|
}
|
|
56473
56461
|
}
|
|
56474
|
-
return
|
|
56462
|
+
return lowerAVAssetURLCluster(out + conditioned.slice(copied));
|
|
56475
56463
|
}
|
|
56476
56464
|
function swiftSourceClosure(files2, roots) {
|
|
56477
56465
|
const sources = /* @__PURE__ */ new Map();
|
|
@@ -59933,7 +59921,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
|
|
|
59933
59921
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
59934
59922
|
MULTI_MANIFEST_VERSION = 68;
|
|
59935
59923
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
59936
|
-
compilerSourceDigest = true ? "
|
|
59924
|
+
compilerSourceDigest = true ? "38c735ffbd31a005ec0e9662f0fa716aaed8b65aeec0d1592bde2e835f179458" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
59937
59925
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
59938
59926
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
59939
59927
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -62818,8 +62806,6 @@ ${output2}`
|
|
|
62818
62806
|
if (interfaceOutputs.has(output2))
|
|
62819
62807
|
throw new Error(`${targetName}: duplicate Interface Builder output ${output2}`);
|
|
62820
62808
|
interfaceOutputs.add(output2);
|
|
62821
|
-
import_node_fs58.default.rmSync(output2, { recursive: true, force: true });
|
|
62822
|
-
import_node_fs58.default.mkdirSync(import_node_path55.default.dirname(output2), { recursive: true });
|
|
62823
62809
|
const args = [
|
|
62824
62810
|
"ibtool",
|
|
62825
62811
|
"--compile",
|
|
@@ -62833,11 +62819,23 @@ ${output2}`
|
|
|
62833
62819
|
const families = settings("TARGETED_DEVICE_FAMILY").split(",").map((value) => value.trim());
|
|
62834
62820
|
if (families.includes("1")) args.push("--target-device", "iphone");
|
|
62835
62821
|
if (families.includes("2")) args.push("--target-device", "ipad");
|
|
62836
|
-
|
|
62837
|
-
|
|
62838
|
-
|
|
62839
|
-
|
|
62822
|
+
const stamp = `${output2}.peach-inputs`;
|
|
62823
|
+
const inputs = JSON.stringify({
|
|
62824
|
+
args,
|
|
62825
|
+
developer: settings("DEVELOPER_DIR"),
|
|
62826
|
+
source: (0, import_node_crypto27.createHash)("sha256").update(import_node_fs58.default.readFileSync(file)).digest("hex")
|
|
62840
62827
|
});
|
|
62828
|
+
if (!import_node_fs58.default.existsSync(output2) || !import_node_fs58.default.existsSync(stamp) || import_node_fs58.default.readFileSync(stamp, "utf8") !== inputs) {
|
|
62829
|
+
import_node_fs58.default.rmSync(output2, { recursive: true, force: true });
|
|
62830
|
+
import_node_fs58.default.rmSync(stamp, { force: true });
|
|
62831
|
+
import_node_fs58.default.mkdirSync(import_node_path55.default.dirname(output2), { recursive: true });
|
|
62832
|
+
(0, import_node_child_process35.execFileSync)("xcrun", args, {
|
|
62833
|
+
cwd: project2.projectDir,
|
|
62834
|
+
stdio: ["ignore", "pipe", "pipe"],
|
|
62835
|
+
timeout: runScriptTimeoutMs
|
|
62836
|
+
});
|
|
62837
|
+
import_node_fs58.default.writeFileSync(stamp, inputs);
|
|
62838
|
+
}
|
|
62841
62839
|
projectInputs.add(file);
|
|
62842
62840
|
resources.delete(file);
|
|
62843
62841
|
for (const compiled of isDirectory(output2) ? walkFiles(output2) : [output2])
|
|
@@ -65276,6 +65274,29 @@ var init_workspace_root = __esm({
|
|
|
65276
65274
|
});
|
|
65277
65275
|
|
|
65278
65276
|
// src/expo-native-workspace.ts
|
|
65277
|
+
function cleanWorkspaceGitEnv() {
|
|
65278
|
+
const env = { ...process.env };
|
|
65279
|
+
for (const key2 of [
|
|
65280
|
+
"GIT_DIR",
|
|
65281
|
+
"GIT_COMMON_DIR",
|
|
65282
|
+
"GIT_WORK_TREE",
|
|
65283
|
+
"GIT_INDEX_FILE",
|
|
65284
|
+
"GIT_OBJECT_DIRECTORY",
|
|
65285
|
+
"GIT_ALTERNATE_OBJECT_DIRECTORIES",
|
|
65286
|
+
"GIT_PREFIX",
|
|
65287
|
+
"GIT_SHALLOW_FILE",
|
|
65288
|
+
"GIT_GRAFT_FILE",
|
|
65289
|
+
"GIT_NAMESPACE",
|
|
65290
|
+
"GIT_IMPLICIT_WORK_TREE",
|
|
65291
|
+
"GIT_CONFIG",
|
|
65292
|
+
"GIT_CEILING_DIRECTORIES",
|
|
65293
|
+
"GIT_DISCOVERY_ACROSS_FILESYSTEM",
|
|
65294
|
+
"GIT_SUPER_PREFIX"
|
|
65295
|
+
]) {
|
|
65296
|
+
delete env[key2];
|
|
65297
|
+
}
|
|
65298
|
+
return { ...env, ...isolatedGitEnv };
|
|
65299
|
+
}
|
|
65279
65300
|
function reactNativePodsEnvironment() {
|
|
65280
65301
|
return {
|
|
65281
65302
|
RCT_USE_PREBUILT_RNCORE: process.env.RCT_USE_PREBUILT_RNCORE,
|
|
@@ -65710,10 +65731,13 @@ function nativeWorkspacesDir(root) {
|
|
|
65710
65731
|
mount = import_node_path62.default.dirname(mount);
|
|
65711
65732
|
return import_node_path62.default.join(mount, ".peach-cache", "expo-native-workspaces");
|
|
65712
65733
|
}
|
|
65734
|
+
function preparedExpoWorkspacesDir(app) {
|
|
65735
|
+
return nativeWorkspacesDir(findWorkspaceRoot(app));
|
|
65736
|
+
}
|
|
65713
65737
|
function trackedSourceEntries(root, work) {
|
|
65714
65738
|
const listed = (0, import_node_child_process39.spawnSync)("git", ["ls-files", "--stage", "-z"], {
|
|
65715
65739
|
cwd: root,
|
|
65716
|
-
env:
|
|
65740
|
+
env: cleanWorkspaceGitEnv(),
|
|
65717
65741
|
maxBuffer: 256 * 1024 * 1024
|
|
65718
65742
|
});
|
|
65719
65743
|
if (listed.status !== 0) return [];
|
|
@@ -65724,7 +65748,7 @@ function trackedSourceEntries(root, work) {
|
|
|
65724
65748
|
}
|
|
65725
65749
|
function initializeWorkspaceGit(root, work) {
|
|
65726
65750
|
requireNativeGit();
|
|
65727
|
-
const env =
|
|
65751
|
+
const env = cleanWorkspaceGitEnv();
|
|
65728
65752
|
(0, import_node_child_process39.execFileSync)("git", ["init", "--quiet"], { cwd: work, env });
|
|
65729
65753
|
(0, import_node_child_process39.execFileSync)(
|
|
65730
65754
|
"git",
|
|
@@ -66136,8 +66160,7 @@ function readExpoDiscovery(key2) {
|
|
|
66136
66160
|
if (!digestRecord(parsed.frameworks)) return void 0;
|
|
66137
66161
|
try {
|
|
66138
66162
|
for (const [file, expected] of Object.entries(parsed.dependencies)) {
|
|
66139
|
-
if ((
|
|
66140
|
-
return void 0;
|
|
66163
|
+
if (stampedFileHash(file) !== expected) return void 0;
|
|
66141
66164
|
}
|
|
66142
66165
|
for (const [directory2, expected] of Object.entries(parsed.frameworks)) {
|
|
66143
66166
|
if (frameworkDigest(directory2) !== expected) return void 0;
|
|
@@ -66602,7 +66625,7 @@ var init_swift_standin_digest = __esm({
|
|
|
66602
66625
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
66603
66626
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
66604
66627
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
66605
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
66628
|
+
STANDIN_SOURCE_DIGEST = true ? "6002e019e3756e603da7a6845af874da053d7724cb1f91276d6e7928d2546e5e" : standinSourceDigest();
|
|
66606
66629
|
}
|
|
66607
66630
|
});
|
|
66608
66631
|
|
|
@@ -67081,7 +67104,7 @@ __export(expo_native_prebuilt_exports, {
|
|
|
67081
67104
|
servedExpoSwift: () => servedExpoSwift
|
|
67082
67105
|
});
|
|
67083
67106
|
function expoNativeCompilerDigestValue() {
|
|
67084
|
-
return true ? "
|
|
67107
|
+
return true ? "c87e7134b76c5418e2c5e9e056b700b7dfc2c8ae0632c602561f4634aa4bcd8a" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
67085
67108
|
}
|
|
67086
67109
|
function readSources(value) {
|
|
67087
67110
|
const sources = isRecord(value) ? value.sources : null;
|
|
@@ -67632,12 +67655,12 @@ var init_native_static_libraries = __esm({
|
|
|
67632
67655
|
init_swift_wasm_prune();
|
|
67633
67656
|
init_swift_xcframework();
|
|
67634
67657
|
NATIVE_STATIC_LIBRARY_RECIPES = [
|
|
67635
|
-
// react-native-libsodium
|
|
67658
|
+
// react-native-libsodium 1.5.1 through 1.7.0 vendor this minimal apple build of 1.0.21
|
|
67636
67659
|
{
|
|
67637
67660
|
name: "libsodium",
|
|
67638
|
-
nativeSha256: "
|
|
67639
|
-
upstream: "
|
|
67640
|
-
recipe: "
|
|
67661
|
+
nativeSha256: "a7e8af90a9d712ce8a2474f310e21682b690cb57c7ef74ce4b02dbfeeca62aa8",
|
|
67662
|
+
upstream: "9e4285c7a419e82dedb0be63a72eea357d6943bc3e28e6735bf600dd4883feaf",
|
|
67663
|
+
recipe: "8c913c4ffeeb6443ae8300d3dc1ebd3d784ffa62c64f431986f80523cd90ef58",
|
|
67641
67664
|
archive: "libsodium.a"
|
|
67642
67665
|
},
|
|
67643
67666
|
{
|
|
@@ -68067,9 +68090,30 @@ async function fetchCheckout(checkouts, identity2, pin2, signal) {
|
|
|
68067
68090
|
if (preparedSwiftPin(checkouts, identity2, pin2.location, pin2.revision)) return;
|
|
68068
68091
|
requireNativeGit();
|
|
68069
68092
|
const key2 = checkoutKey(dir, pin2);
|
|
68093
|
+
const gitEnv = { ...process.env };
|
|
68094
|
+
for (const name3 of [
|
|
68095
|
+
"GIT_DIR",
|
|
68096
|
+
"GIT_COMMON_DIR",
|
|
68097
|
+
"GIT_WORK_TREE",
|
|
68098
|
+
"GIT_INDEX_FILE",
|
|
68099
|
+
"GIT_OBJECT_DIRECTORY",
|
|
68100
|
+
"GIT_ALTERNATE_OBJECT_DIRECTORIES",
|
|
68101
|
+
"GIT_PREFIX",
|
|
68102
|
+
"GIT_SHALLOW_FILE",
|
|
68103
|
+
"GIT_GRAFT_FILE",
|
|
68104
|
+
"GIT_NAMESPACE",
|
|
68105
|
+
"GIT_IMPLICIT_WORK_TREE",
|
|
68106
|
+
"GIT_CONFIG",
|
|
68107
|
+
"GIT_CEILING_DIRECTORIES",
|
|
68108
|
+
"GIT_DISCOVERY_ACROSS_FILESYSTEM",
|
|
68109
|
+
"GIT_SUPER_PREFIX"
|
|
68110
|
+
]) {
|
|
68111
|
+
delete gitEnv[name3];
|
|
68112
|
+
}
|
|
68113
|
+
gitEnv.GIT_TERMINAL_PROMPT = "0";
|
|
68070
68114
|
const git = async (cwd, ...args) => (await execFileAsync2("git", ["-C", cwd, ...args], {
|
|
68071
68115
|
encoding: "utf8",
|
|
68072
|
-
env:
|
|
68116
|
+
env: gitEnv,
|
|
68073
68117
|
signal
|
|
68074
68118
|
})).stdout.trim();
|
|
68075
68119
|
const lock = async () => {
|
|
@@ -75704,7 +75748,51 @@ function userInfo(source, owner) {
|
|
|
75704
75748
|
]);
|
|
75705
75749
|
return source.tools < 11 && owner.attrs.syncable !== "YES" ? [...entries, ["com.apple.syncservices.Syncable", "NO"]] : entries;
|
|
75706
75750
|
}
|
|
75751
|
+
function decimal(text6) {
|
|
75752
|
+
const match = /^([+-]?)(\d*)(?:\.(\d*))?(?:[eE]([+-]?\d+))?$/.exec(text6);
|
|
75753
|
+
if (!match) return null;
|
|
75754
|
+
const [, sign, whole = "", fraction = "", power] = match;
|
|
75755
|
+
if (whole + fraction === "") return null;
|
|
75756
|
+
let mantissa = BigInt(whole + fraction);
|
|
75757
|
+
let exponent = Number(power ?? 0) - fraction.length;
|
|
75758
|
+
if (mantissa === 0n) {
|
|
75759
|
+
if (power !== void 0) return null;
|
|
75760
|
+
const zero = {
|
|
75761
|
+
kind: "decimal",
|
|
75762
|
+
length: 0,
|
|
75763
|
+
negative: false,
|
|
75764
|
+
compact: false,
|
|
75765
|
+
mantissa: Buffer.alloc(16)
|
|
75766
|
+
};
|
|
75767
|
+
return { ...zero, exponent: sign === "-" ? 0 : exponent };
|
|
75768
|
+
}
|
|
75769
|
+
while (mantissa % 10n === 0n) {
|
|
75770
|
+
mantissa /= 10n;
|
|
75771
|
+
exponent++;
|
|
75772
|
+
}
|
|
75773
|
+
if (mantissa >> 128n !== 0n || exponent < -128 || exponent > 127) return null;
|
|
75774
|
+
const words2 = Buffer.alloc(16);
|
|
75775
|
+
let length = 0;
|
|
75776
|
+
for (let word = 0; word < 8; word++) {
|
|
75777
|
+
const value = Number(mantissa >> BigInt(16 * word) & 0xffffn);
|
|
75778
|
+
words2.writeUInt16LE(value, 2 * word);
|
|
75779
|
+
if (value !== 0) length = word + 1;
|
|
75780
|
+
}
|
|
75781
|
+
return {
|
|
75782
|
+
kind: "decimal",
|
|
75783
|
+
exponent,
|
|
75784
|
+
length,
|
|
75785
|
+
negative: sign === "-",
|
|
75786
|
+
compact: true,
|
|
75787
|
+
mantissa: words2
|
|
75788
|
+
};
|
|
75789
|
+
}
|
|
75707
75790
|
function defaultValue(model, member, type) {
|
|
75791
|
+
const interval = member.attrs.defaultDateTimeInterval;
|
|
75792
|
+
if (type === "Date" && interval !== void 0 && Number.isFinite(Number(interval)))
|
|
75793
|
+
return { kind: "date", time: Math.floor(Number(interval) / 60) * 60 };
|
|
75794
|
+
if (interval !== void 0)
|
|
75795
|
+
refuse3(model, `${member.attrs.name} has the ${type} date interval ${interval}`);
|
|
75708
75796
|
const text6 = member.attrs.defaultValueString;
|
|
75709
75797
|
if (text6 === void 0) return null;
|
|
75710
75798
|
if (type.startsWith("Integer ") && /^-?\d+$/.test(text6)) return Number(text6);
|
|
@@ -75712,6 +75800,8 @@ function defaultValue(model, member, type) {
|
|
|
75712
75800
|
return Number(text6);
|
|
75713
75801
|
if (type === "Boolean" && (text6 === "YES" || text6 === "NO")) return text6 === "YES";
|
|
75714
75802
|
if (type === "String") return text6;
|
|
75803
|
+
const scanned = type === "Decimal" ? decimal(text6) : null;
|
|
75804
|
+
if (scanned) return scanned;
|
|
75715
75805
|
refuse3(model, `${member.attrs.name} has the ${type} default ${JSON.stringify(text6)}`);
|
|
75716
75806
|
}
|
|
75717
75807
|
function attribute(source, member) {
|
|
@@ -75721,6 +75811,7 @@ function attribute(source, member) {
|
|
|
75721
75811
|
"transient",
|
|
75722
75812
|
"attributeType",
|
|
75723
75813
|
"defaultValueString",
|
|
75814
|
+
"defaultDateTimeInterval",
|
|
75724
75815
|
"usesScalarValueType",
|
|
75725
75816
|
"customClassName",
|
|
75726
75817
|
"valueTransformerName",
|
|
@@ -75880,6 +75971,20 @@ function readModel(model, contents) {
|
|
|
75880
75971
|
versionIdentifiers: [tag.attrs.userDefinedModelVersionIdentifier ?? ""]
|
|
75881
75972
|
};
|
|
75882
75973
|
}
|
|
75974
|
+
function archiveDefault(archive, value) {
|
|
75975
|
+
if (value === null) return NULL;
|
|
75976
|
+
if (typeof value !== "object") return archive.add(value);
|
|
75977
|
+
if (value.kind === "date")
|
|
75978
|
+
return archive.fill(archive.reserve(), "NSDate", { "NS.time": value.time });
|
|
75979
|
+
return archive.fill(archive.reserve(), "NSDecimalNumberPlaceholder", {
|
|
75980
|
+
"NS.compact": value.compact,
|
|
75981
|
+
"NS.exponent": value.exponent,
|
|
75982
|
+
"NS.length": value.length,
|
|
75983
|
+
"NS.mantissa": value.mantissa,
|
|
75984
|
+
"NS.mantissa.bo": 1,
|
|
75985
|
+
"NS.negative": value.negative
|
|
75986
|
+
});
|
|
75987
|
+
}
|
|
75883
75988
|
function archiveModel(model) {
|
|
75884
75989
|
const archive = new KeyedArchive();
|
|
75885
75990
|
const modelIndex = archive.reserve();
|
|
@@ -75910,7 +76015,7 @@ function archiveModel(model) {
|
|
|
75910
76015
|
...shared,
|
|
75911
76016
|
NSAttributeType: property2.type,
|
|
75912
76017
|
NSAttributeValueClassName: archive.string(property2.className),
|
|
75913
|
-
NSDefaultValue:
|
|
76018
|
+
NSDefaultValue: archiveDefault(archive, property2.defaultValue),
|
|
75914
76019
|
NSFlagsKey: property2.flags,
|
|
75915
76020
|
NSValueTransformerName: archive.string(property2.transformer),
|
|
75916
76021
|
...property2.transient ? { NSIsTransient: true } : {},
|
|
@@ -76152,7 +76257,15 @@ var init_core_data_model = __esm({
|
|
|
76152
76257
|
NSMutableDictionary: ["NSMutableDictionary", "NSDictionary", "NSObject"],
|
|
76153
76258
|
NSArray: ["NSArray", "NSObject"],
|
|
76154
76259
|
NSMutableArray: ["NSMutableArray", "NSArray", "NSObject"],
|
|
76155
|
-
NSSet: ["NSSet", "NSObject"]
|
|
76260
|
+
NSSet: ["NSSet", "NSObject"],
|
|
76261
|
+
NSDate: ["NSDate", "NSObject"],
|
|
76262
|
+
NSDecimalNumberPlaceholder: [
|
|
76263
|
+
"NSDecimalNumberPlaceholder",
|
|
76264
|
+
"NSDecimalNumber",
|
|
76265
|
+
"NSNumber",
|
|
76266
|
+
"NSValue",
|
|
76267
|
+
"NSObject"
|
|
76268
|
+
]
|
|
76156
76269
|
};
|
|
76157
76270
|
KeyedArchive = class {
|
|
76158
76271
|
objects = ["$null"];
|
|
@@ -81361,6 +81474,11 @@ var init_podspec_sources = __esm({
|
|
|
81361
81474
|
}
|
|
81362
81475
|
if (toks[3]?.t === "op" && toks[3].v === "=") {
|
|
81363
81476
|
const rhs = toks.slice(4);
|
|
81477
|
+
if (rhs[0]?.v === toks[0]?.v && rhs[1]?.v === toks[1]?.v && rhs[2]?.t === "id" && rhs[3]?.t === "op" && rhs[3].v === "=") {
|
|
81478
|
+
this.runSpecStatement(scope2, spec, rhs, line);
|
|
81479
|
+
this.runSpecStatement(scope2, spec, [...toks.slice(0, 4), ...rhs.slice(4)], line);
|
|
81480
|
+
return;
|
|
81481
|
+
}
|
|
81364
81482
|
if (name3 === "pod_target_xcconfig") {
|
|
81365
81483
|
const versions = rhs.flatMap(
|
|
81366
81484
|
(tok, index) => tok.t === "str" && tok.v === "SWIFT_VERSION" && rhs[index + 1]?.v === "=>" && rhs[index + 2]?.t === "str" ? [rhs[index + 2].v] : []
|
|
@@ -84909,7 +85027,7 @@ var init_react_native_core = __esm({
|
|
|
84909
85027
|
init_swift_distribution();
|
|
84910
85028
|
init_swift_package();
|
|
84911
85029
|
init_swiftContract();
|
|
84912
|
-
recipe = true ? "
|
|
85030
|
+
recipe = true ? "94bdffa4aff4ff16c60f96c0342d7ef854fdf80a49d5fd2cee48a92de5885962" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
|
|
84913
85031
|
strings4 = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
|
|
84914
85032
|
building = /* @__PURE__ */ new Map();
|
|
84915
85033
|
}
|
|
@@ -85156,6 +85274,15 @@ async function discoveryKey(root, installedWorkspace, prepareNative, iosTarget,
|
|
|
85156
85274
|
readExpoConfigAsync(root),
|
|
85157
85275
|
preparesWorkspace ? traceStore.exit(() => hashExpoWorkspace(root)) : null
|
|
85158
85276
|
]);
|
|
85277
|
+
if (preparesWorkspace)
|
|
85278
|
+
traceStore.exit(() => {
|
|
85279
|
+
const prepared = preparedExpoWorkspacesDir(root);
|
|
85280
|
+
for (const dir of [
|
|
85281
|
+
prepared,
|
|
85282
|
+
import_node_fs97.default.existsSync(prepared) ? import_node_fs97.default.realpathSync(prepared) : prepared
|
|
85283
|
+
])
|
|
85284
|
+
if (!ignoredRoots.includes(dir)) ignoredRoots.push(dir);
|
|
85285
|
+
});
|
|
85159
85286
|
return `${import_node_fs97.default.realpathSync(root)}\0${installedWorkspace ?? ""}\0${iosTarget ?? ""}\0${moduleRoot ?? ""}\0${prepareNative ? "1" : "0"}\0${JSON.stringify(config)}\0${JSON.stringify(expoConfig)}\0${workspace?.hash ?? ""}`;
|
|
85160
85287
|
}
|
|
85161
85288
|
function cloneNativeTarget(target) {
|
|
@@ -88832,7 +88959,7 @@ var init_nitro_superset = __esm({
|
|
|
88832
88959
|
init_nitroContract();
|
|
88833
88960
|
init_swift_standin_digest();
|
|
88834
88961
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
88835
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
88962
|
+
NITRO_COMPILER_DIGEST = true ? "da60a818ed68d0f1fc83c446f5843a8d9a758fb0d65180d262cfaead5d0a7ed3" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
88836
88963
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
88837
88964
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
88838
88965
|
published2 = /* @__PURE__ */ new Map();
|
|
@@ -89541,7 +89668,7 @@ var init_one_sdk_bundle = __esm({
|
|
|
89541
89668
|
var runtime_companion_default;
|
|
89542
89669
|
var init_runtime_companion = __esm({
|
|
89543
89670
|
"runtime-companion.json"() {
|
|
89544
|
-
runtime_companion_default = { abi: 1, sha256: "
|
|
89671
|
+
runtime_companion_default = { abi: 1, sha256: "398e7fb3724442c4c182acf71a5188023c983cf7e0438fa4e0d668c039ce3b07", file: "node/cli-398e7fb3724442c4c182acf71a5188023c983cf7e0438fa4e0d668c039ce3b07.cjs" };
|
|
89545
89672
|
}
|
|
89546
89673
|
});
|
|
89547
89674
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2304 | (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;
|
|
@@ -46,7 +46,6 @@ __export(swift_compile_exports, {
|
|
|
46
46
|
foundationOwnerOf: () => foundationOwnerOf,
|
|
47
47
|
frameworkLinkClosure: () => frameworkLinkClosure,
|
|
48
48
|
lowerAVAssetURLCluster: () => lowerAVAssetURLCluster,
|
|
49
|
-
lowerNSValueTimeBox: () => lowerNSValueTimeBox,
|
|
50
49
|
missingSwiftModules: () => missingSwiftModules,
|
|
51
50
|
neutralizedNativeMain: () => neutralizedNativeMain,
|
|
52
51
|
objcApplicationMainCall: () => objcApplicationMainCall,
|
|
@@ -13501,7 +13500,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
|
|
|
13501
13500
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
13502
13501
|
var MULTI_MANIFEST_VERSION = 68;
|
|
13503
13502
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
13504
|
-
var compilerSourceDigest = true ? "
|
|
13503
|
+
var compilerSourceDigest = true ? "38c735ffbd31a005ec0e9662f0fa716aaed8b65aeec0d1592bde2e835f179458" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
13505
13504
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
13506
13505
|
const hash = (0, import_node_crypto13.createHash)("sha256");
|
|
13507
13506
|
hash.update(`swift-compile
|
|
@@ -14050,18 +14049,6 @@ function lowerAVAssetURLCluster(source) {
|
|
|
14050
14049
|
out = out.slice(0, at) + insert + out.slice(at + remove);
|
|
14051
14050
|
return out;
|
|
14052
14051
|
}
|
|
14053
|
-
function lowerNSValueTimeBox(source) {
|
|
14054
|
-
const masked = swiftCodeMask(source);
|
|
14055
|
-
const pattern = /\bNSValue\s*\(\s*time\s*:/g;
|
|
14056
|
-
const edits = [];
|
|
14057
|
-
let hit;
|
|
14058
|
-
while ((hit = pattern.exec(masked)) !== null)
|
|
14059
|
-
edits.push([hit.index, "NSValue".length, "NSValue.boxedTime"]);
|
|
14060
|
-
let out = source;
|
|
14061
|
-
for (const [at, remove, insert] of edits.sort((a, b) => b[0] - a[0]))
|
|
14062
|
-
out = out.slice(0, at) + insert + out.slice(at + remove);
|
|
14063
|
-
return out;
|
|
14064
|
-
}
|
|
14065
14052
|
function swiftCodeMask(source) {
|
|
14066
14053
|
const chars = source.split("");
|
|
14067
14054
|
const blank = (from, to) => {
|
|
@@ -14784,7 +14771,7 @@ function swiftSourceAsIOS(source, overlayFrameworks, swiftPackage) {
|
|
|
14784
14771
|
continue;
|
|
14785
14772
|
}
|
|
14786
14773
|
}
|
|
14787
|
-
return
|
|
14774
|
+
return lowerAVAssetURLCluster(out + conditioned.slice(copied));
|
|
14788
14775
|
}
|
|
14789
14776
|
function swiftSourceClosure(files, roots) {
|
|
14790
14777
|
const sources = /* @__PURE__ */ new Map();
|
|
@@ -18104,7 +18091,6 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
18104
18091
|
foundationOwnerOf,
|
|
18105
18092
|
frameworkLinkClosure,
|
|
18106
18093
|
lowerAVAssetURLCluster,
|
|
18107
|
-
lowerNSValueTimeBox,
|
|
18108
18094
|
missingSwiftModules,
|
|
18109
18095
|
neutralizedNativeMain,
|
|
18110
18096
|
objcApplicationMainCall,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2304 | (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);
|
|
@@ -13487,7 +13487,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
|
|
|
13487
13487
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
13488
13488
|
var MULTI_MANIFEST_VERSION = 68;
|
|
13489
13489
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
13490
|
-
var compilerSourceDigest = true ? "
|
|
13490
|
+
var compilerSourceDigest = true ? "38c735ffbd31a005ec0e9662f0fa716aaed8b65aeec0d1592bde2e835f179458" : swiftCompilerSourceDigest(import.meta.dirname);
|
|
13491
13491
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
13492
13492
|
const hash = createHash13("sha256");
|
|
13493
13493
|
hash.update(`swift-compile
|
|
@@ -14036,18 +14036,6 @@ function lowerAVAssetURLCluster(source) {
|
|
|
14036
14036
|
out = out.slice(0, at) + insert + out.slice(at + remove);
|
|
14037
14037
|
return out;
|
|
14038
14038
|
}
|
|
14039
|
-
function lowerNSValueTimeBox(source) {
|
|
14040
|
-
const masked = swiftCodeMask(source);
|
|
14041
|
-
const pattern = /\bNSValue\s*\(\s*time\s*:/g;
|
|
14042
|
-
const edits = [];
|
|
14043
|
-
let hit;
|
|
14044
|
-
while ((hit = pattern.exec(masked)) !== null)
|
|
14045
|
-
edits.push([hit.index, "NSValue".length, "NSValue.boxedTime"]);
|
|
14046
|
-
let out = source;
|
|
14047
|
-
for (const [at, remove, insert] of edits.sort((a, b) => b[0] - a[0]))
|
|
14048
|
-
out = out.slice(0, at) + insert + out.slice(at + remove);
|
|
14049
|
-
return out;
|
|
14050
|
-
}
|
|
14051
14039
|
function swiftCodeMask(source) {
|
|
14052
14040
|
const chars = source.split("");
|
|
14053
14041
|
const blank = (from, to) => {
|
|
@@ -14770,7 +14758,7 @@ function swiftSourceAsIOS(source, overlayFrameworks, swiftPackage) {
|
|
|
14770
14758
|
continue;
|
|
14771
14759
|
}
|
|
14772
14760
|
}
|
|
14773
|
-
return
|
|
14761
|
+
return lowerAVAssetURLCluster(out + conditioned.slice(copied));
|
|
14774
14762
|
}
|
|
14775
14763
|
function swiftSourceClosure(files, roots) {
|
|
14776
14764
|
const sources = /* @__PURE__ */ new Map();
|
|
@@ -18089,7 +18077,6 @@ export {
|
|
|
18089
18077
|
foundationOwnerOf,
|
|
18090
18078
|
frameworkLinkClosure,
|
|
18091
18079
|
lowerAVAssetURLCluster,
|
|
18092
|
-
lowerNSValueTimeBox,
|
|
18093
18080
|
missingSwiftModules,
|
|
18094
18081
|
neutralizedNativeMain,
|
|
18095
18082
|
objcApplicationMainCall,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2304 | (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.2304 | (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.2304 | (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.2304 | (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;
|