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
|
@@ -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;
|
|
@@ -5129,7 +5129,7 @@ var swiftCoverageProvenance;
|
|
|
5129
5129
|
var init_provenance = __esm({
|
|
5130
5130
|
"src/swift-coverage/provenance.ts"() {
|
|
5131
5131
|
"use strict";
|
|
5132
|
-
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":"
|
|
5132
|
+
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, ".."));
|
|
5133
5133
|
}
|
|
5134
5134
|
});
|
|
5135
5135
|
|
|
@@ -21604,18 +21604,6 @@ function lowerAVAssetURLCluster(source) {
|
|
|
21604
21604
|
out = out.slice(0, at) + insert + out.slice(at + remove);
|
|
21605
21605
|
return out;
|
|
21606
21606
|
}
|
|
21607
|
-
function lowerNSValueTimeBox(source) {
|
|
21608
|
-
const masked = swiftCodeMask(source);
|
|
21609
|
-
const pattern = /\bNSValue\s*\(\s*time\s*:/g;
|
|
21610
|
-
const edits = [];
|
|
21611
|
-
let hit;
|
|
21612
|
-
while ((hit = pattern.exec(masked)) !== null)
|
|
21613
|
-
edits.push([hit.index, "NSValue".length, "NSValue.boxedTime"]);
|
|
21614
|
-
let out = source;
|
|
21615
|
-
for (const [at, remove, insert] of edits.sort((a, b) => b[0] - a[0]))
|
|
21616
|
-
out = out.slice(0, at) + insert + out.slice(at + remove);
|
|
21617
|
-
return out;
|
|
21618
|
-
}
|
|
21619
21607
|
function swiftCodeMask(source) {
|
|
21620
21608
|
const chars = source.split("");
|
|
21621
21609
|
const blank = (from, to) => {
|
|
@@ -21827,7 +21815,7 @@ function swiftSourceAsIOS(source, overlayFrameworks, swiftPackage) {
|
|
|
21827
21815
|
continue;
|
|
21828
21816
|
}
|
|
21829
21817
|
}
|
|
21830
|
-
return
|
|
21818
|
+
return lowerAVAssetURLCluster(out + conditioned.slice(copied));
|
|
21831
21819
|
}
|
|
21832
21820
|
function swiftSourceClosure(files2, roots) {
|
|
21833
21821
|
const sources = /* @__PURE__ */ new Map();
|
|
@@ -25270,7 +25258,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
|
|
|
25270
25258
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
25271
25259
|
MULTI_MANIFEST_VERSION = 68;
|
|
25272
25260
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
25273
|
-
compilerSourceDigest = true ? "
|
|
25261
|
+
compilerSourceDigest = true ? "38c735ffbd31a005ec0e9662f0fa716aaed8b65aeec0d1592bde2e835f179458" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
25274
25262
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
25275
25263
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
25276
25264
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -27994,8 +27982,6 @@ ${output2}`
|
|
|
27994
27982
|
if (interfaceOutputs.has(output2))
|
|
27995
27983
|
throw new Error(`${targetName}: duplicate Interface Builder output ${output2}`);
|
|
27996
27984
|
interfaceOutputs.add(output2);
|
|
27997
|
-
import_node_fs52.default.rmSync(output2, { recursive: true, force: true });
|
|
27998
|
-
import_node_fs52.default.mkdirSync(import_node_path50.default.dirname(output2), { recursive: true });
|
|
27999
27985
|
const args = [
|
|
28000
27986
|
"ibtool",
|
|
28001
27987
|
"--compile",
|
|
@@ -28009,11 +27995,23 @@ ${output2}`
|
|
|
28009
27995
|
const families = settings("TARGETED_DEVICE_FAMILY").split(",").map((value) => value.trim());
|
|
28010
27996
|
if (families.includes("1")) args.push("--target-device", "iphone");
|
|
28011
27997
|
if (families.includes("2")) args.push("--target-device", "ipad");
|
|
28012
|
-
|
|
28013
|
-
|
|
28014
|
-
|
|
28015
|
-
|
|
27998
|
+
const stamp = `${output2}.peach-inputs`;
|
|
27999
|
+
const inputs = JSON.stringify({
|
|
28000
|
+
args,
|
|
28001
|
+
developer: settings("DEVELOPER_DIR"),
|
|
28002
|
+
source: (0, import_node_crypto22.createHash)("sha256").update(import_node_fs52.default.readFileSync(file)).digest("hex")
|
|
28016
28003
|
});
|
|
28004
|
+
if (!import_node_fs52.default.existsSync(output2) || !import_node_fs52.default.existsSync(stamp) || import_node_fs52.default.readFileSync(stamp, "utf8") !== inputs) {
|
|
28005
|
+
import_node_fs52.default.rmSync(output2, { recursive: true, force: true });
|
|
28006
|
+
import_node_fs52.default.rmSync(stamp, { force: true });
|
|
28007
|
+
import_node_fs52.default.mkdirSync(import_node_path50.default.dirname(output2), { recursive: true });
|
|
28008
|
+
(0, import_node_child_process31.execFileSync)("xcrun", args, {
|
|
28009
|
+
cwd: project.projectDir,
|
|
28010
|
+
stdio: ["ignore", "pipe", "pipe"],
|
|
28011
|
+
timeout: runScriptTimeoutMs
|
|
28012
|
+
});
|
|
28013
|
+
import_node_fs52.default.writeFileSync(stamp, inputs);
|
|
28014
|
+
}
|
|
28017
28015
|
projectInputs.add(file);
|
|
28018
28016
|
resources.delete(file);
|
|
28019
28017
|
for (const compiled of isDirectory(output2) ? walkFiles(output2) : [output2])
|
|
@@ -29471,7 +29469,7 @@ var init_swift_standin_digest = __esm({
|
|
|
29471
29469
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
29472
29470
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
29473
29471
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
29474
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
29472
|
+
STANDIN_SOURCE_DIGEST = true ? "6002e019e3756e603da7a6845af874da053d7724cb1f91276d6e7928d2546e5e" : standinSourceDigest();
|
|
29475
29473
|
}
|
|
29476
29474
|
});
|
|
29477
29475
|
|
|
@@ -30000,12 +29998,12 @@ var init_native_static_libraries = __esm({
|
|
|
30000
29998
|
init_swift_wasm_prune();
|
|
30001
29999
|
init_swift_xcframework();
|
|
30002
30000
|
NATIVE_STATIC_LIBRARY_RECIPES = [
|
|
30003
|
-
// react-native-libsodium
|
|
30001
|
+
// react-native-libsodium 1.5.1 through 1.7.0 vendor this minimal apple build of 1.0.21
|
|
30004
30002
|
{
|
|
30005
30003
|
name: "libsodium",
|
|
30006
|
-
nativeSha256: "
|
|
30007
|
-
upstream: "
|
|
30008
|
-
recipe: "
|
|
30004
|
+
nativeSha256: "a7e8af90a9d712ce8a2474f310e21682b690cb57c7ef74ce4b02dbfeeca62aa8",
|
|
30005
|
+
upstream: "9e4285c7a419e82dedb0be63a72eea357d6943bc3e28e6735bf600dd4883feaf",
|
|
30006
|
+
recipe: "8c913c4ffeeb6443ae8300d3dc1ebd3d784ffa62c64f431986f80523cd90ef58",
|
|
30009
30007
|
archive: "libsodium.a"
|
|
30010
30008
|
},
|
|
30011
30009
|
{
|
|
@@ -30425,9 +30423,30 @@ async function fetchCheckout(checkouts, identity2, pin2, signal) {
|
|
|
30425
30423
|
if (preparedSwiftPin(checkouts, identity2, pin2.location, pin2.revision)) return;
|
|
30426
30424
|
requireNativeGit();
|
|
30427
30425
|
const key2 = checkoutKey(dir, pin2);
|
|
30426
|
+
const gitEnv = { ...process.env };
|
|
30427
|
+
for (const name3 of [
|
|
30428
|
+
"GIT_DIR",
|
|
30429
|
+
"GIT_COMMON_DIR",
|
|
30430
|
+
"GIT_WORK_TREE",
|
|
30431
|
+
"GIT_INDEX_FILE",
|
|
30432
|
+
"GIT_OBJECT_DIRECTORY",
|
|
30433
|
+
"GIT_ALTERNATE_OBJECT_DIRECTORIES",
|
|
30434
|
+
"GIT_PREFIX",
|
|
30435
|
+
"GIT_SHALLOW_FILE",
|
|
30436
|
+
"GIT_GRAFT_FILE",
|
|
30437
|
+
"GIT_NAMESPACE",
|
|
30438
|
+
"GIT_IMPLICIT_WORK_TREE",
|
|
30439
|
+
"GIT_CONFIG",
|
|
30440
|
+
"GIT_CEILING_DIRECTORIES",
|
|
30441
|
+
"GIT_DISCOVERY_ACROSS_FILESYSTEM",
|
|
30442
|
+
"GIT_SUPER_PREFIX"
|
|
30443
|
+
]) {
|
|
30444
|
+
delete gitEnv[name3];
|
|
30445
|
+
}
|
|
30446
|
+
gitEnv.GIT_TERMINAL_PROMPT = "0";
|
|
30428
30447
|
const git = async (cwd, ...args) => (await execFileAsync2("git", ["-C", cwd, ...args], {
|
|
30429
30448
|
encoding: "utf8",
|
|
30430
|
-
env:
|
|
30449
|
+
env: gitEnv,
|
|
30431
30450
|
signal
|
|
30432
30451
|
})).stdout.trim();
|
|
30433
30452
|
const lock = async () => {
|
|
@@ -37351,7 +37370,51 @@ function userInfo(source, owner) {
|
|
|
37351
37370
|
]);
|
|
37352
37371
|
return source.tools < 11 && owner.attrs.syncable !== "YES" ? [...entries, ["com.apple.syncservices.Syncable", "NO"]] : entries;
|
|
37353
37372
|
}
|
|
37373
|
+
function decimal(text6) {
|
|
37374
|
+
const match = /^([+-]?)(\d*)(?:\.(\d*))?(?:[eE]([+-]?\d+))?$/.exec(text6);
|
|
37375
|
+
if (!match) return null;
|
|
37376
|
+
const [, sign, whole = "", fraction = "", power] = match;
|
|
37377
|
+
if (whole + fraction === "") return null;
|
|
37378
|
+
let mantissa = BigInt(whole + fraction);
|
|
37379
|
+
let exponent = Number(power ?? 0) - fraction.length;
|
|
37380
|
+
if (mantissa === 0n) {
|
|
37381
|
+
if (power !== void 0) return null;
|
|
37382
|
+
const zero = {
|
|
37383
|
+
kind: "decimal",
|
|
37384
|
+
length: 0,
|
|
37385
|
+
negative: false,
|
|
37386
|
+
compact: false,
|
|
37387
|
+
mantissa: Buffer.alloc(16)
|
|
37388
|
+
};
|
|
37389
|
+
return { ...zero, exponent: sign === "-" ? 0 : exponent };
|
|
37390
|
+
}
|
|
37391
|
+
while (mantissa % 10n === 0n) {
|
|
37392
|
+
mantissa /= 10n;
|
|
37393
|
+
exponent++;
|
|
37394
|
+
}
|
|
37395
|
+
if (mantissa >> 128n !== 0n || exponent < -128 || exponent > 127) return null;
|
|
37396
|
+
const words2 = Buffer.alloc(16);
|
|
37397
|
+
let length = 0;
|
|
37398
|
+
for (let word = 0; word < 8; word++) {
|
|
37399
|
+
const value = Number(mantissa >> BigInt(16 * word) & 0xffffn);
|
|
37400
|
+
words2.writeUInt16LE(value, 2 * word);
|
|
37401
|
+
if (value !== 0) length = word + 1;
|
|
37402
|
+
}
|
|
37403
|
+
return {
|
|
37404
|
+
kind: "decimal",
|
|
37405
|
+
exponent,
|
|
37406
|
+
length,
|
|
37407
|
+
negative: sign === "-",
|
|
37408
|
+
compact: true,
|
|
37409
|
+
mantissa: words2
|
|
37410
|
+
};
|
|
37411
|
+
}
|
|
37354
37412
|
function defaultValue(model, member, type) {
|
|
37413
|
+
const interval = member.attrs.defaultDateTimeInterval;
|
|
37414
|
+
if (type === "Date" && interval !== void 0 && Number.isFinite(Number(interval)))
|
|
37415
|
+
return { kind: "date", time: Math.floor(Number(interval) / 60) * 60 };
|
|
37416
|
+
if (interval !== void 0)
|
|
37417
|
+
refuse3(model, `${member.attrs.name} has the ${type} date interval ${interval}`);
|
|
37355
37418
|
const text6 = member.attrs.defaultValueString;
|
|
37356
37419
|
if (text6 === void 0) return null;
|
|
37357
37420
|
if (type.startsWith("Integer ") && /^-?\d+$/.test(text6)) return Number(text6);
|
|
@@ -37359,6 +37422,8 @@ function defaultValue(model, member, type) {
|
|
|
37359
37422
|
return Number(text6);
|
|
37360
37423
|
if (type === "Boolean" && (text6 === "YES" || text6 === "NO")) return text6 === "YES";
|
|
37361
37424
|
if (type === "String") return text6;
|
|
37425
|
+
const scanned = type === "Decimal" ? decimal(text6) : null;
|
|
37426
|
+
if (scanned) return scanned;
|
|
37362
37427
|
refuse3(model, `${member.attrs.name} has the ${type} default ${JSON.stringify(text6)}`);
|
|
37363
37428
|
}
|
|
37364
37429
|
function attribute(source, member) {
|
|
@@ -37368,6 +37433,7 @@ function attribute(source, member) {
|
|
|
37368
37433
|
"transient",
|
|
37369
37434
|
"attributeType",
|
|
37370
37435
|
"defaultValueString",
|
|
37436
|
+
"defaultDateTimeInterval",
|
|
37371
37437
|
"usesScalarValueType",
|
|
37372
37438
|
"customClassName",
|
|
37373
37439
|
"valueTransformerName",
|
|
@@ -37527,6 +37593,20 @@ function readModel(model, contents) {
|
|
|
37527
37593
|
versionIdentifiers: [tag.attrs.userDefinedModelVersionIdentifier ?? ""]
|
|
37528
37594
|
};
|
|
37529
37595
|
}
|
|
37596
|
+
function archiveDefault(archive, value) {
|
|
37597
|
+
if (value === null) return NULL;
|
|
37598
|
+
if (typeof value !== "object") return archive.add(value);
|
|
37599
|
+
if (value.kind === "date")
|
|
37600
|
+
return archive.fill(archive.reserve(), "NSDate", { "NS.time": value.time });
|
|
37601
|
+
return archive.fill(archive.reserve(), "NSDecimalNumberPlaceholder", {
|
|
37602
|
+
"NS.compact": value.compact,
|
|
37603
|
+
"NS.exponent": value.exponent,
|
|
37604
|
+
"NS.length": value.length,
|
|
37605
|
+
"NS.mantissa": value.mantissa,
|
|
37606
|
+
"NS.mantissa.bo": 1,
|
|
37607
|
+
"NS.negative": value.negative
|
|
37608
|
+
});
|
|
37609
|
+
}
|
|
37530
37610
|
function archiveModel(model) {
|
|
37531
37611
|
const archive = new KeyedArchive();
|
|
37532
37612
|
const modelIndex = archive.reserve();
|
|
@@ -37557,7 +37637,7 @@ function archiveModel(model) {
|
|
|
37557
37637
|
...shared,
|
|
37558
37638
|
NSAttributeType: property.type,
|
|
37559
37639
|
NSAttributeValueClassName: archive.string(property.className),
|
|
37560
|
-
NSDefaultValue:
|
|
37640
|
+
NSDefaultValue: archiveDefault(archive, property.defaultValue),
|
|
37561
37641
|
NSFlagsKey: property.flags,
|
|
37562
37642
|
NSValueTransformerName: archive.string(property.transformer),
|
|
37563
37643
|
...property.transient ? { NSIsTransient: true } : {},
|
|
@@ -37799,7 +37879,15 @@ var init_core_data_model = __esm({
|
|
|
37799
37879
|
NSMutableDictionary: ["NSMutableDictionary", "NSDictionary", "NSObject"],
|
|
37800
37880
|
NSArray: ["NSArray", "NSObject"],
|
|
37801
37881
|
NSMutableArray: ["NSMutableArray", "NSArray", "NSObject"],
|
|
37802
|
-
NSSet: ["NSSet", "NSObject"]
|
|
37882
|
+
NSSet: ["NSSet", "NSObject"],
|
|
37883
|
+
NSDate: ["NSDate", "NSObject"],
|
|
37884
|
+
NSDecimalNumberPlaceholder: [
|
|
37885
|
+
"NSDecimalNumberPlaceholder",
|
|
37886
|
+
"NSDecimalNumber",
|
|
37887
|
+
"NSNumber",
|
|
37888
|
+
"NSValue",
|
|
37889
|
+
"NSObject"
|
|
37890
|
+
]
|
|
37803
37891
|
};
|
|
37804
37892
|
KeyedArchive = class {
|
|
37805
37893
|
objects = ["$null"];
|
|
@@ -42164,6 +42252,11 @@ var init_podspec_sources = __esm({
|
|
|
42164
42252
|
}
|
|
42165
42253
|
if (toks[3]?.t === "op" && toks[3].v === "=") {
|
|
42166
42254
|
const rhs = toks.slice(4);
|
|
42255
|
+
if (rhs[0]?.v === toks[0]?.v && rhs[1]?.v === toks[1]?.v && rhs[2]?.t === "id" && rhs[3]?.t === "op" && rhs[3].v === "=") {
|
|
42256
|
+
this.runSpecStatement(scope2, spec, rhs, line);
|
|
42257
|
+
this.runSpecStatement(scope2, spec, [...toks.slice(0, 4), ...rhs.slice(4)], line);
|
|
42258
|
+
return;
|
|
42259
|
+
}
|
|
42167
42260
|
if (name3 === "pod_target_xcconfig") {
|
|
42168
42261
|
const versions = rhs.flatMap(
|
|
42169
42262
|
(tok, index) => tok.t === "str" && tok.v === "SWIFT_VERSION" && rhs[index + 1]?.v === "=>" && rhs[index + 2]?.t === "str" ? [rhs[index + 2].v] : []
|
|
@@ -45366,7 +45459,7 @@ var init_react_native_core = __esm({
|
|
|
45366
45459
|
init_swift_distribution();
|
|
45367
45460
|
init_swift_package();
|
|
45368
45461
|
init_swiftContract();
|
|
45369
|
-
recipe = true ? "
|
|
45462
|
+
recipe = true ? "94bdffa4aff4ff16c60f96c0342d7ef854fdf80a49d5fd2cee48a92de5885962" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
|
|
45370
45463
|
strings4 = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
|
|
45371
45464
|
building = /* @__PURE__ */ new Map();
|
|
45372
45465
|
}
|
|
@@ -49619,6 +49712,29 @@ var isolatedGitEnv = {
|
|
|
49619
49712
|
GIT_CONFIG_GLOBAL: "/dev/null",
|
|
49620
49713
|
GIT_CONFIG_SYSTEM: "/dev/null"
|
|
49621
49714
|
};
|
|
49715
|
+
function cleanWorkspaceGitEnv() {
|
|
49716
|
+
const env = { ...process.env };
|
|
49717
|
+
for (const key2 of [
|
|
49718
|
+
"GIT_DIR",
|
|
49719
|
+
"GIT_COMMON_DIR",
|
|
49720
|
+
"GIT_WORK_TREE",
|
|
49721
|
+
"GIT_INDEX_FILE",
|
|
49722
|
+
"GIT_OBJECT_DIRECTORY",
|
|
49723
|
+
"GIT_ALTERNATE_OBJECT_DIRECTORIES",
|
|
49724
|
+
"GIT_PREFIX",
|
|
49725
|
+
"GIT_SHALLOW_FILE",
|
|
49726
|
+
"GIT_GRAFT_FILE",
|
|
49727
|
+
"GIT_NAMESPACE",
|
|
49728
|
+
"GIT_IMPLICIT_WORK_TREE",
|
|
49729
|
+
"GIT_CONFIG",
|
|
49730
|
+
"GIT_CEILING_DIRECTORIES",
|
|
49731
|
+
"GIT_DISCOVERY_ACROSS_FILESYSTEM",
|
|
49732
|
+
"GIT_SUPER_PREFIX"
|
|
49733
|
+
]) {
|
|
49734
|
+
delete env[key2];
|
|
49735
|
+
}
|
|
49736
|
+
return { ...env, ...isolatedGitEnv };
|
|
49737
|
+
}
|
|
49622
49738
|
var utf8Env = { ...process.env, LANG: "en_US.UTF-8", LC_ALL: "en_US.UTF-8" };
|
|
49623
49739
|
function reactNativePodsEnvironment() {
|
|
49624
49740
|
return {
|
|
@@ -50073,10 +50189,13 @@ function nativeWorkspacesDir(root) {
|
|
|
50073
50189
|
mount = import_node_path57.default.dirname(mount);
|
|
50074
50190
|
return import_node_path57.default.join(mount, ".peach-cache", "expo-native-workspaces");
|
|
50075
50191
|
}
|
|
50192
|
+
function preparedExpoWorkspacesDir(app) {
|
|
50193
|
+
return nativeWorkspacesDir(findWorkspaceRoot(app));
|
|
50194
|
+
}
|
|
50076
50195
|
function trackedSourceEntries(root, work) {
|
|
50077
50196
|
const listed = (0, import_node_child_process35.spawnSync)("git", ["ls-files", "--stage", "-z"], {
|
|
50078
50197
|
cwd: root,
|
|
50079
|
-
env:
|
|
50198
|
+
env: cleanWorkspaceGitEnv(),
|
|
50080
50199
|
maxBuffer: 256 * 1024 * 1024
|
|
50081
50200
|
});
|
|
50082
50201
|
if (listed.status !== 0) return [];
|
|
@@ -50087,7 +50206,7 @@ function trackedSourceEntries(root, work) {
|
|
|
50087
50206
|
}
|
|
50088
50207
|
function initializeWorkspaceGit(root, work) {
|
|
50089
50208
|
requireNativeGit();
|
|
50090
|
-
const env =
|
|
50209
|
+
const env = cleanWorkspaceGitEnv();
|
|
50091
50210
|
(0, import_node_child_process35.execFileSync)("git", ["init", "--quiet"], { cwd: work, env });
|
|
50092
50211
|
(0, import_node_child_process35.execFileSync)(
|
|
50093
50212
|
"git",
|
|
@@ -50480,8 +50599,7 @@ function readExpoDiscovery(key2) {
|
|
|
50480
50599
|
if (!digestRecord(parsed.frameworks)) return void 0;
|
|
50481
50600
|
try {
|
|
50482
50601
|
for (const [file, expected] of Object.entries(parsed.dependencies)) {
|
|
50483
|
-
if ((
|
|
50484
|
-
return void 0;
|
|
50602
|
+
if (stampedFileHash(file) !== expected) return void 0;
|
|
50485
50603
|
}
|
|
50486
50604
|
for (const [directory2, expected] of Object.entries(parsed.frameworks)) {
|
|
50487
50605
|
if (frameworkDigest(directory2) !== expected) return void 0;
|
|
@@ -50929,7 +51047,7 @@ init_swift_native_pin();
|
|
|
50929
51047
|
init_xcode_project();
|
|
50930
51048
|
var EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
50931
51049
|
function expoNativeCompilerDigestValue() {
|
|
50932
|
-
return true ? "
|
|
51050
|
+
return true ? "c87e7134b76c5418e2c5e9e056b700b7dfc2c8ae0632c602561f4634aa4bcd8a" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
50933
51051
|
}
|
|
50934
51052
|
var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
50935
51053
|
function readSources(value) {
|
|
@@ -51991,6 +52109,15 @@ async function discoveryKey(root, installedWorkspace, prepareNative, iosTarget,
|
|
|
51991
52109
|
readExpoConfigAsync(root),
|
|
51992
52110
|
preparesWorkspace ? traceStore.exit(() => hashExpoWorkspace(root)) : null
|
|
51993
52111
|
]);
|
|
52112
|
+
if (preparesWorkspace)
|
|
52113
|
+
traceStore.exit(() => {
|
|
52114
|
+
const prepared = preparedExpoWorkspacesDir(root);
|
|
52115
|
+
for (const dir of [
|
|
52116
|
+
prepared,
|
|
52117
|
+
import_node_fs87.default.existsSync(prepared) ? import_node_fs87.default.realpathSync(prepared) : prepared
|
|
52118
|
+
])
|
|
52119
|
+
if (!ignoredRoots.includes(dir)) ignoredRoots.push(dir);
|
|
52120
|
+
});
|
|
51994
52121
|
return `${import_node_fs87.default.realpathSync(root)}\0${installedWorkspace ?? ""}\0${iosTarget ?? ""}\0${moduleRoot ?? ""}\0${prepareNative ? "1" : "0"}\0${JSON.stringify(config)}\0${JSON.stringify(expoConfig)}\0${workspace?.hash ?? ""}`;
|
|
51995
52122
|
}
|
|
51996
52123
|
function cloneNativeTarget(target) {
|
|
@@ -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;
|
package/dist-lib/home-paths.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;
|