peachsim 0.1.2583 → 0.1.2585
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 +217 -22
- 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-KJDUWXKA.mjs → acorn-LDXT22UO.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-VB7YMHIV.mjs → chunk-5A7MW6AP.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-HDIGMVW3.mjs → chunk-A7FZGG2S.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-5EZQ2X47.mjs → chunk-BNGB7KE3.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-H5QCGXIM.mjs → chunk-EHYHN3HO.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-JDRDX7GD.mjs → chunk-IMW47JXH.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-OSJLWFBW.mjs → chunk-KCHIN7QL.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-WUPWE3GM.mjs → chunk-KUKQWU26.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-VUQU4RHT.mjs → chunk-M4Y4JQIF.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-RQINUPIV.mjs → chunk-MOGNFYJI.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-QHE754TD.mjs → chunk-MPBZNRHK.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-P7QX5AZ7.mjs → chunk-PLUWGO4T.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-E63AEEFF.mjs → chunk-Q4NA5FTS.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-BCVOLC6I.mjs → chunk-QGAH3NER.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-WN7CGW3X.mjs → chunk-QVCTM3TX.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-75MU3BRS.mjs → chunk-QZM6XIZD.mjs} +12 -12
- package/dist-lib/esm-chunks/{chunk-U3YP4LGG.mjs → chunk-R465NOUG.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-GDJ7IR2Z.mjs → chunk-RD2NKEZA.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-KHPJUBZM.mjs → chunk-RFV7WODY.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-CTZKF4CT.mjs → chunk-SFJLRTKT.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-KAKBXXG7.mjs → chunk-VKKM72YW.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-XNODUYM2.mjs → chunk-XVR3ZLTD.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-6BX5JWHW.mjs → chunk-Y4D7QJRI.mjs} +1 -1
- package/dist-lib/esm-chunks/{metro-layout-parser-KVLGK3C5.mjs → metro-layout-parser-L24YQRPD.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-ZLDAPPOL.mjs → swift-package-prebuilt-ULLFZLF2.mjs} +10 -10
- package/dist-lib/esm-chunks/{swift-sdk-app-module-5LMMG244.mjs → swift-sdk-app-module-Z2TLEB5O.mjs} +14 -14
- package/dist-lib/esm-chunks/{swift-sdk-image-OFU6JW3D.mjs → swift-sdk-image-BGHO5BE3.mjs} +14 -14
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-76YATE4I.mjs → swift-sdk-image-producer-OJ6YMFRP.mjs} +4 -4
- package/dist-lib/expo-swift-bundle.cjs +216 -21
- 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 +1264 -824
- package/dist-lib/host/fetch-proxy-handler.cjs +26 -15
- 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 +1 -1
- package/dist-lib/native-app-identity-project.mjs +16 -16
- 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 +81 -81
- package/dist-lib/public-origins-lib.json +81 -74
- 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 +8 -8
- package/dist-lib/skills.cjs +1688 -1248
- package/dist-lib/swift-compile.cjs +1 -1
- 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 +6 -6
- 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/genrule-archives.ts +1 -1
- package/src/genrule-library-builds.ts +1 -1
- package/src/one-native-controls-package.ts +86 -43
- package/src/one-native-source.ts +7 -0
- package/src/swift-objc-compile.ts +2 -2
- package/src/swift-wasm64-native-source.ts +115 -0
- package/src/swift-wasm64-wamr.ts +171 -0
- package/src/swift-wasm64-source-header.ts +0 -57
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2585 | (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;
|
|
@@ -26243,13 +26243,13 @@ var init_swift_standin_digest = __esm({
|
|
|
26243
26243
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
26244
26244
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
26245
26245
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
26246
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
26246
|
+
STANDIN_SOURCE_DIGEST = true ? "f9c7192135f0d9ee6cc78cbd2401aa19d73d0b5e5e6b3138b21fcbc7c062213f" : standinSourceDigest();
|
|
26247
26247
|
}
|
|
26248
26248
|
});
|
|
26249
26249
|
|
|
26250
26250
|
// src/expo-native-compiler-digest.ts
|
|
26251
26251
|
function expoNativeCompilerDigestValue() {
|
|
26252
|
-
return true ? "
|
|
26252
|
+
return true ? "b5ae0afd141dcff04a04aa6feaf69f35959555ec359d65980438b5435eaa5fbc" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
26253
26253
|
}
|
|
26254
26254
|
var import_node_crypto17;
|
|
26255
26255
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -75383,33 +75383,198 @@ var init_ffmpeg_source_build = __esm({
|
|
|
75383
75383
|
}
|
|
75384
75384
|
});
|
|
75385
75385
|
|
|
75386
|
-
// src/swift-wasm64-
|
|
75387
|
-
function
|
|
75388
|
-
const
|
|
75386
|
+
// src/swift-wasm64-wamr.ts
|
|
75387
|
+
function wasm64NativeDispatch() {
|
|
75388
|
+
const groups = /* @__PURE__ */ new Map();
|
|
75389
|
+
for (const signature2 of wasm64NativeSignatures) {
|
|
75390
|
+
const end = signature2.indexOf(")");
|
|
75391
|
+
const params = [...signature2.slice(1, end)].map((marker) => {
|
|
75392
|
+
const type = nativeArgumentTypes.get(marker);
|
|
75393
|
+
if (!type) throw new Error(`Unknown WAMR argument marker: ${marker}`);
|
|
75394
|
+
return type;
|
|
75395
|
+
});
|
|
75396
|
+
const result = signature2.endsWith("i") ? "uint32" : "void";
|
|
75397
|
+
const key2 = [result, ...params].join(" ");
|
|
75398
|
+
const group = groups.get(key2) ?? { signatures: [], params, result };
|
|
75399
|
+
group.signatures.push(signature2);
|
|
75400
|
+
groups.set(key2, group);
|
|
75401
|
+
}
|
|
75402
|
+
const cases = [...groups.values()].map(({ signatures, params, result }) => {
|
|
75403
|
+
const condition = signatures.map((signature2) => `strcmp(signature, "${signature2}") == 0`).join(" ||\n ");
|
|
75404
|
+
const types2 = ["WASMExecEnv *", ...params].join(", ");
|
|
75405
|
+
const inputs2 = [
|
|
75406
|
+
"exec_env",
|
|
75407
|
+
...params.map((type, index) => `(${type})args[${index}]`)
|
|
75408
|
+
].join(", ");
|
|
75409
|
+
const assign = result === "void" ? "" : "args[0] = ";
|
|
75410
|
+
return ` if (${condition}) {
|
|
75411
|
+
typedef ${result} (*TypedFunction)(${types2});
|
|
75412
|
+
${assign}((TypedFunction)func_ptr)(${inputs2});
|
|
75413
|
+
return true;
|
|
75414
|
+
}`;
|
|
75415
|
+
}).join("\n");
|
|
75416
|
+
return `#if ${wasm64Interpreter}
|
|
75417
|
+
static bool
|
|
75418
|
+
invoke_wasm64_native(WASMExecEnv *exec_env, void *func_ptr,
|
|
75419
|
+
const char *signature, uint64 *args)
|
|
75420
|
+
{
|
|
75421
|
+
if (!signature)
|
|
75422
|
+
return false;
|
|
75423
|
+
${cases}
|
|
75424
|
+
return false;
|
|
75425
|
+
}
|
|
75426
|
+
#endif
|
|
75427
|
+
|
|
75428
|
+
`;
|
|
75429
|
+
}
|
|
75430
|
+
function deriveWamrWasm64Runtime(source) {
|
|
75431
|
+
const dispatchStart = "/**\n * Implementation of wasm_runtime_invoke_native()";
|
|
75432
|
+
const dispatchEnd = "|| defined(BUILD_TARGET_RISCV64_LP64) */\n\nbool\nwasm_runtime_call_indirect(";
|
|
75433
|
+
const entryPoint = (name3, raw2) => `bool
|
|
75434
|
+
${name3}(WASMExecEnv *exec_env, void *func_ptr,
|
|
75435
|
+
const WASMFuncType *func_type, const char *signature,
|
|
75436
|
+
void *attachment, uint32 *argv, uint32 argc, uint32 *argv_ret)
|
|
75437
|
+
{
|
|
75438
|
+
return invoke_checked_native(exec_env, func_ptr, func_type, signature,
|
|
75439
|
+
attachment, argv, argc, argv_ret, ${raw2});
|
|
75440
|
+
}
|
|
75441
|
+
`;
|
|
75442
|
+
return source.replace(
|
|
75443
|
+
`bool
|
|
75444
|
+
wasm_runtime_invoke_native_raw(WASMExecEnv *exec_env, void *func_ptr,
|
|
75445
|
+
const WASMFuncType *func_type,
|
|
75446
|
+
const char *signature, void *attachment,
|
|
75447
|
+
uint32 *argv, uint32 argc, uint32 *argv_ret)
|
|
75448
|
+
`,
|
|
75449
|
+
() => `${wasm64NativeDispatch()}static bool
|
|
75450
|
+
invoke_checked_native(WASMExecEnv *exec_env, void *func_ptr,
|
|
75451
|
+
const WASMFuncType *func_type, const char *signature,
|
|
75452
|
+
void *attachment, uint32 *argv, uint32 argc,
|
|
75453
|
+
uint32 *argv_ret, bool raw)
|
|
75454
|
+
`
|
|
75455
|
+
).replace(
|
|
75456
|
+
" exec_env->attachment = attachment;\n invoke_native_raw(exec_env, argv1);\n exec_env->attachment = NULL;\n",
|
|
75457
|
+
` exec_env->attachment = attachment;
|
|
75458
|
+
#if ${wasm64Interpreter}
|
|
75459
|
+
if (!raw) {
|
|
75460
|
+
if (!invoke_wasm64_native(exec_env, func_ptr, signature, argv1)) {
|
|
75461
|
+
exec_env->attachment = NULL;
|
|
75462
|
+
wasm_runtime_set_exception(module, "unsupported Wasm64 native signature");
|
|
75463
|
+
goto fail;
|
|
75464
|
+
}
|
|
75465
|
+
}
|
|
75466
|
+
else
|
|
75467
|
+
#endif
|
|
75468
|
+
invoke_native_raw(exec_env, argv1);
|
|
75469
|
+
exec_env->attachment = NULL;
|
|
75470
|
+
`
|
|
75471
|
+
).replace(
|
|
75472
|
+
dispatchStart,
|
|
75473
|
+
() => entryPoint("wasm_runtime_invoke_native_raw", true) + `
|
|
75474
|
+
#if ${wasm64Interpreter}
|
|
75475
|
+
` + entryPoint("wasm_runtime_invoke_native", false) + "#else\n" + dispatchStart
|
|
75476
|
+
).replace(
|
|
75477
|
+
dispatchEnd,
|
|
75478
|
+
"|| defined(BUILD_TARGET_RISCV64_LP64) */\n#endif\n\nbool\nwasm_runtime_call_indirect("
|
|
75479
|
+
);
|
|
75480
|
+
}
|
|
75481
|
+
function deriveWamrWasm64Wasi(source) {
|
|
75482
|
+
return source.replace(
|
|
75483
|
+
/^(wasi_sock_set_(?:recv|send)_buf_size\(wasm_exec_env_t exec_env, wasi_fd_t fd, )size_t size\)$/gm,
|
|
75484
|
+
"$1uint32 size)"
|
|
75485
|
+
);
|
|
75486
|
+
}
|
|
75487
|
+
var wasm64NativeSignatures, nativeArgumentTypes, wasm64Interpreter;
|
|
75488
|
+
var init_swift_wasm64_wamr = __esm({
|
|
75489
|
+
"src/swift-wasm64-wamr.ts"() {
|
|
75490
|
+
"use strict";
|
|
75491
|
+
wasm64NativeSignatures = [
|
|
75492
|
+
"(**)i",
|
|
75493
|
+
"(i*)i",
|
|
75494
|
+
"(iI*)i",
|
|
75495
|
+
"(i*~)i",
|
|
75496
|
+
"(i*i)i",
|
|
75497
|
+
"(i)i",
|
|
75498
|
+
"(i*iI*)i",
|
|
75499
|
+
"(i*~I*)i",
|
|
75500
|
+
"(i*i*)i",
|
|
75501
|
+
"(ii)i",
|
|
75502
|
+
"(iIi*)i",
|
|
75503
|
+
"(iII)i",
|
|
75504
|
+
"(iIIi)i",
|
|
75505
|
+
"(ii*~i*~)i",
|
|
75506
|
+
"(ii*~iIIi*)i",
|
|
75507
|
+
"(i*~*~*)i",
|
|
75508
|
+
"(i*~i*~)i",
|
|
75509
|
+
"(iI)i",
|
|
75510
|
+
"(ii*~*)i",
|
|
75511
|
+
"(ii*~IIi)i",
|
|
75512
|
+
"(*~i*~)i",
|
|
75513
|
+
"(**i*)i",
|
|
75514
|
+
"(i)",
|
|
75515
|
+
"(*~)i",
|
|
75516
|
+
"(ii*)i",
|
|
75517
|
+
"($$**i*)i",
|
|
75518
|
+
"(i**)i",
|
|
75519
|
+
"(iii*)i",
|
|
75520
|
+
"(i*ii**)i",
|
|
75521
|
+
"(i*ii*)i",
|
|
75522
|
+
"(iii)i",
|
|
75523
|
+
"()i",
|
|
75524
|
+
"(*~)",
|
|
75525
|
+
"(*~*~)i"
|
|
75526
|
+
];
|
|
75527
|
+
nativeArgumentTypes = /* @__PURE__ */ new Map([
|
|
75528
|
+
["i", "uint32"],
|
|
75529
|
+
["~", "uint32"],
|
|
75530
|
+
["I", "uint64"],
|
|
75531
|
+
["*", "uintptr_t"],
|
|
75532
|
+
["$", "uintptr_t"]
|
|
75533
|
+
]);
|
|
75534
|
+
wasm64Interpreter = "defined(__wasm64__) && defined(BUILD_TARGET_AARCH64) && WASM_ENABLE_INTERP != 0 && WASM_ENABLE_AOT == 0 && WASM_ENABLE_JIT == 0 && WASM_ENABLE_FAST_JIT == 0";
|
|
75535
|
+
}
|
|
75536
|
+
});
|
|
75537
|
+
|
|
75538
|
+
// src/swift-wasm64-native-source.ts
|
|
75539
|
+
function deriveSource(file, bytes, backport) {
|
|
75389
75540
|
if (!backport || (0, import_node_crypto63.createHash)("sha256").update(bytes).digest("hex") !== backport.originalSha256)
|
|
75390
75541
|
return null;
|
|
75542
|
+
const source = bytes.toString("utf8");
|
|
75391
75543
|
const derived = Buffer.from(
|
|
75392
|
-
|
|
75544
|
+
"rewrite" in backport ? backport.rewrite(source) : source.replace(backport.before, backport.after)
|
|
75393
75545
|
);
|
|
75394
75546
|
if ((0, import_node_crypto63.createHash)("sha256").update(derived).digest("hex") !== backport.derivedSha256)
|
|
75395
|
-
throw new Error(`Native
|
|
75547
|
+
throw new Error(`Native source derivation differs: ${file}`);
|
|
75396
75548
|
return {
|
|
75397
75549
|
bytes: derived,
|
|
75398
75550
|
upstreamCommit: backport.upstreamCommit,
|
|
75399
75551
|
originalSha256: backport.originalSha256
|
|
75400
75552
|
};
|
|
75401
75553
|
}
|
|
75402
|
-
|
|
75403
|
-
|
|
75404
|
-
|
|
75554
|
+
function deriveWasm64Header(file, bytes) {
|
|
75555
|
+
return deriveSource(file, bytes, headerDerivations.get(import_node_path102.default.basename(file)));
|
|
75556
|
+
}
|
|
75557
|
+
function deriveWasm64NativeSource(file, bytes) {
|
|
75558
|
+
const name3 = import_node_path102.default.basename(file);
|
|
75559
|
+
return deriveSource(
|
|
75560
|
+
file,
|
|
75561
|
+
bytes,
|
|
75562
|
+
sourceDerivations.get(name3) ?? headerDerivations.get(name3)
|
|
75563
|
+
);
|
|
75564
|
+
}
|
|
75565
|
+
var import_node_crypto63, import_node_path102, webrtcUnknownArchitecture, boringsslWordSize2, wamrCommit, headerDerivations, sourceDerivations;
|
|
75566
|
+
var init_swift_wasm64_native_source = __esm({
|
|
75567
|
+
"src/swift-wasm64-native-source.ts"() {
|
|
75405
75568
|
"use strict";
|
|
75406
75569
|
import_node_crypto63 = require("node:crypto");
|
|
75407
75570
|
import_node_path102 = __toESM(require("node:path"), 1);
|
|
75408
75571
|
init_nitro_dependencies();
|
|
75572
|
+
init_swift_wasm64_wamr();
|
|
75409
75573
|
init_swiftWasm64ConfigContract();
|
|
75410
75574
|
webrtcUnknownArchitecture = "#else\n#error Please add support for your architecture in rtc_base/system/arch.h";
|
|
75411
75575
|
boringsslWordSize2 = swiftWasm64PlatformGates["swift-nio-ssl/wasm64-word-size"];
|
|
75412
|
-
|
|
75576
|
+
wamrCommit = "25bd7eb63e828e4bd242cc9b38d260b4b31c6605";
|
|
75577
|
+
headerDerivations = /* @__PURE__ */ new Map([
|
|
75413
75578
|
["utils.h", DOUBLE_CONVERSION_WASM64_BACKPORT],
|
|
75414
75579
|
[
|
|
75415
75580
|
"target.h",
|
|
@@ -75438,6 +75603,36 @@ var init_swift_wasm64_source_header = __esm({
|
|
|
75438
75603
|
}
|
|
75439
75604
|
]
|
|
75440
75605
|
]);
|
|
75606
|
+
sourceDerivations = /* @__PURE__ */ new Map([
|
|
75607
|
+
[
|
|
75608
|
+
"wasm_runtime_common.c",
|
|
75609
|
+
{
|
|
75610
|
+
upstreamCommit: wamrCommit,
|
|
75611
|
+
originalSha256: "d2f8ce6f2a826e0bf8c733309e61f62597b446d33f66d8eab04d67625719e4e7",
|
|
75612
|
+
derivedSha256: "a4ac5cecff71f1fc3db347189a9afea2bab22b0240262969d40f4fe7cdd14309",
|
|
75613
|
+
rewrite: deriveWamrWasm64Runtime
|
|
75614
|
+
}
|
|
75615
|
+
],
|
|
75616
|
+
[
|
|
75617
|
+
"libc_wasi_wrapper.c",
|
|
75618
|
+
{
|
|
75619
|
+
upstreamCommit: wamrCommit,
|
|
75620
|
+
originalSha256: "bbfb6df14a2928d9b023701002473ecbf8437d42cd68a725faa736ddf88067ac",
|
|
75621
|
+
derivedSha256: "3df712348b50a065f465304dc7027ffbdfe8e633ba9ed535803592c3ace7f5f5",
|
|
75622
|
+
rewrite: deriveWamrWasm64Wasi
|
|
75623
|
+
}
|
|
75624
|
+
],
|
|
75625
|
+
[
|
|
75626
|
+
"POPAnimationExtras.mm",
|
|
75627
|
+
{
|
|
75628
|
+
upstreamCommit: "fb0e62ba8a147f0821da6aa63c09da7d79a10111",
|
|
75629
|
+
originalSha256: "9f7f063b3f7a45ebc51d35a9dcf143dd3c3348396a476e1083061578618d917b",
|
|
75630
|
+
derivedSha256: "1be70de0cb0be9950b48e1540d57da2eed46bf054d347ea0d4a75718b487947a",
|
|
75631
|
+
before: "UIKIT_EXTERN CGFloat UIAnimationDragCoefficient();",
|
|
75632
|
+
after: "UIKIT_EXTERN float UIAnimationDragCoefficient();"
|
|
75633
|
+
}
|
|
75634
|
+
]
|
|
75635
|
+
]);
|
|
75441
75636
|
}
|
|
75442
75637
|
});
|
|
75443
75638
|
|
|
@@ -75588,7 +75783,7 @@ var init_genrule_library_builds = __esm({
|
|
|
75588
75783
|
import_node_child_process50 = require("node:child_process");
|
|
75589
75784
|
import_node_fs101 = __toESM(require("node:fs"), 1);
|
|
75590
75785
|
import_node_path103 = __toESM(require("node:path"), 1);
|
|
75591
|
-
|
|
75786
|
+
init_swift_wasm64_native_source();
|
|
75592
75787
|
init_swiftTargetContract();
|
|
75593
75788
|
opusBuilder = {
|
|
75594
75789
|
name: "opus",
|
|
@@ -76324,7 +76519,7 @@ var init_genrule_archives = __esm({
|
|
|
76324
76519
|
init_swift_compile();
|
|
76325
76520
|
init_swift_distribution();
|
|
76326
76521
|
init_swift_toolchain();
|
|
76327
|
-
|
|
76522
|
+
init_swift_wasm64_native_source();
|
|
76328
76523
|
init_swiftRuntimeProductContract();
|
|
76329
76524
|
init_swiftTargetContract();
|
|
76330
76525
|
BUILDERS = [ffmpegBuilder, ...GENRULE_LIBRARY_BUILDERS];
|
|
@@ -80095,7 +80290,7 @@ function* xcodeObjCInputSteps(app, binaries, moduleRoot, products, sourceRoot =
|
|
|
80095
80290
|
const regularFiles = /* @__PURE__ */ new Map();
|
|
80096
80291
|
const parents = /* @__PURE__ */ new Map();
|
|
80097
80292
|
const links = {};
|
|
80098
|
-
const
|
|
80293
|
+
const derivations = {};
|
|
80099
80294
|
const checkouts = remoteSwiftCheckouts(app.rootDir);
|
|
80100
80295
|
const externalFrameworkDirs = [
|
|
80101
80296
|
...new Set(
|
|
@@ -80134,10 +80329,10 @@ function* xcodeObjCInputSteps(app, binaries, moduleRoot, products, sourceRoot =
|
|
|
80134
80329
|
resolved,
|
|
80135
80330
|
Infinity
|
|
80136
80331
|
);
|
|
80137
|
-
const derived =
|
|
80332
|
+
const derived = deriveWasm64NativeSource(file, bytes);
|
|
80138
80333
|
sources.set(file, derived?.bytes ?? bytes);
|
|
80139
80334
|
if (derived) {
|
|
80140
|
-
|
|
80335
|
+
derivations[file] = {
|
|
80141
80336
|
upstreamCommit: derived.upstreamCommit,
|
|
80142
80337
|
originalSha256: derived.originalSha256
|
|
80143
80338
|
};
|
|
@@ -80515,7 +80710,7 @@ function* xcodeObjCInputSteps(app, binaries, moduleRoot, products, sourceRoot =
|
|
|
80515
80710
|
});
|
|
80516
80711
|
}
|
|
80517
80712
|
for (const file of generated.keys()) add(file);
|
|
80518
|
-
return { sources, links, derivations
|
|
80713
|
+
return { sources, links, derivations, targets, externalFrameworkDirs };
|
|
80519
80714
|
}
|
|
80520
80715
|
function prepareXcodeSwiftProducts(app, binaries, moduleRoot) {
|
|
80521
80716
|
const targets = app.frameworks.filter(
|
|
@@ -80888,7 +81083,7 @@ async function prepareXcodeNativeInputs(app, binaries, moduleRoot, purpose) {
|
|
|
80888
81083
|
const toolchain = swiftModuleToolchain(moduleRoot);
|
|
80889
81084
|
const sdk2 = swiftSdkPaths(moduleRoot, toolchain.toolchainBin);
|
|
80890
81085
|
const products = prepareXcodeSwiftProducts(app, binaries, moduleRoot);
|
|
80891
|
-
const { sources, links, derivations
|
|
81086
|
+
const { sources, links, derivations, targets, externalFrameworkDirs } = xcodeObjCInputs(
|
|
80892
81087
|
app,
|
|
80893
81088
|
binaries,
|
|
80894
81089
|
moduleRoot,
|
|
@@ -80918,7 +81113,7 @@ async function prepareXcodeNativeInputs(app, binaries, moduleRoot, purpose) {
|
|
|
80918
81113
|
externalFrameworkDirs,
|
|
80919
81114
|
inputs: inputs2,
|
|
80920
81115
|
links,
|
|
80921
|
-
derivations
|
|
81116
|
+
derivations,
|
|
80922
81117
|
swiftProducts: products?.receipt
|
|
80923
81118
|
};
|
|
80924
81119
|
const parent = import_node_path110.default.join(cacheDir(), "swift-objc-implementations");
|
|
@@ -81282,7 +81477,7 @@ var init_swift_objc_compile = __esm({
|
|
|
81282
81477
|
init_swift_standin_digest();
|
|
81283
81478
|
init_swift_standins();
|
|
81284
81479
|
init_swift_toolchain();
|
|
81285
|
-
|
|
81480
|
+
init_swift_wasm64_native_source();
|
|
81286
81481
|
init_swiftTargetContract();
|
|
81287
81482
|
init_xcode_header_search();
|
|
81288
81483
|
SwiftObjCCompilationError = class extends Error {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2585 | (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.2585 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isSwiftResourcePath
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-Q4NA5FTS.mjs";
|
|
5
5
|
import {
|
|
6
6
|
isNativeAppIdentity
|
|
7
|
-
} from "./esm-chunks/chunk-
|
|
8
|
-
import "./esm-chunks/chunk-
|
|
7
|
+
} from "./esm-chunks/chunk-QVCTM3TX.mjs";
|
|
8
|
+
import "./esm-chunks/chunk-5A7MW6AP.mjs";
|
|
9
9
|
import {
|
|
10
10
|
insertBundleGlobalFooter,
|
|
11
11
|
readBundleGlobalFooter
|
|
12
|
-
} from "./esm-chunks/chunk-
|
|
12
|
+
} from "./esm-chunks/chunk-RFV7WODY.mjs";
|
|
13
13
|
import {
|
|
14
14
|
isRecord
|
|
15
|
-
} from "./esm-chunks/chunk-
|
|
16
|
-
import "./esm-chunks/chunk-
|
|
15
|
+
} from "./esm-chunks/chunk-VKKM72YW.mjs";
|
|
16
|
+
import "./esm-chunks/chunk-PLUWGO4T.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.2585 | (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;
|