peachsim 0.1.2622 → 0.1.2624
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 +693 -306
- 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-FYCW5KQE.mjs → acorn-DH6VFUJ3.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-UQ3ACQY7.mjs → chunk-265THLTP.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-5SDBXLYL.mjs → chunk-2YHIYKY2.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-SKVUSWJU.mjs → chunk-3XA5HYI5.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-W7AGZLTK.mjs → chunk-A2WMBGJO.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-HY7D6BBU.mjs → chunk-AV7G5PTE.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-HMWCDFVQ.mjs → chunk-CM2NU5MS.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-C2QXEBC5.mjs → chunk-EFQFJ7M6.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-7Z4ESZI7.mjs → chunk-HKPKCJI5.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-N3LFPMVM.mjs → chunk-IMI2NE4A.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-G7NMIYJW.mjs → chunk-JHMD4G4V.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-67RCWRPX.mjs → chunk-LCO2EXKF.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-DOCJYFRP.mjs → chunk-LD7Z3NDO.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-7DFBTAWA.mjs → chunk-LMWSFXYN.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-IEVIGGKG.mjs → chunk-LOQBWIPM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-X62EBL6H.mjs → chunk-LT533AHJ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-P64OR3XD.mjs → chunk-N4ZJZUCO.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-UR2EIB2I.mjs → chunk-OLAYY7SG.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-G4CIR7M6.mjs → chunk-QNXV766K.mjs} +565 -290
- package/dist-lib/esm-chunks/{chunk-3XZWIVAA.mjs → chunk-QZ5HTMWV.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-V7CGV5XO.mjs → chunk-T7C6Z5UH.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-Y2RPOAEE.mjs → chunk-UJORQHAE.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-IRUQ2NMF.mjs → chunk-VH4BJS5V.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-5UDR743S.mjs → chunk-XONCLAVA.mjs} +8 -7
- package/dist-lib/esm-chunks/{chunk-WRQCYESG.mjs → chunk-YOD53JTM.mjs} +2 -2
- package/dist-lib/esm-chunks/{metro-layout-parser-GR4EJUCZ.mjs → metro-layout-parser-MDVTDJ65.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-CW6VQ6A5.mjs → swift-package-prebuilt-ZN7I4FYC.mjs} +12 -12
- package/dist-lib/esm-chunks/{swift-sdk-app-module-NULACNZJ.mjs → swift-sdk-app-module-DUVE2OXH.mjs} +107 -20
- package/dist-lib/esm-chunks/{swift-sdk-image-ZFATI6XZ.mjs → swift-sdk-image-YSWQBCYV.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-WKVRKIRF.mjs → swift-sdk-image-producer-MZ235WSK.mjs} +5 -5
- package/dist-lib/expo-swift-bundle.cjs +686 -299
- 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 +691 -304
- package/dist-lib/host/fetch-proxy-handler.cjs +7 -7
- 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 +30 -15
- package/dist-lib/native-app-identity-project.mjs +44 -29
- 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 +85 -85
- package/dist-lib/public-origins-lib.json +64 -64
- 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 +691 -304
- package/dist-lib/swift-compile.cjs +638 -280
- package/dist-lib/swift-compile.mjs +12 -12
- 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/acorn.cjs +1 -1
- package/dist-lib/vendor/magic-string.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/package.json +1 -1
- package/src/bazel-project.ts +34 -18
- package/src/binaryen.lock.json +3 -3
- package/src/swift-compile.ts +8 -0
- package/src/swift-distribution.lock.json +8 -3
- package/src/swift-guest-compile.ts +170 -160
- package/src/swift-guest-dyld-table.ts +22 -9
- package/src/swift-guest-link.ts +116 -42
- package/src/swift-guest-linked-spans.ts +63 -14
- package/src/swift-guest-projection-storage.ts +7 -6
- package/src/swift-guest-source-inputs.ts +35 -21
- package/src/swift-objc-compile.ts +1 -0
- package/src/swift-sdk-app-module.ts +118 -15
- package/src/swift-sdk-image-wasm.ts +119 -17
- package/src/swift-sdk-image.ts +4 -1
- package/src/swift-wasm-prune.ts +71 -41
- package/src/wasm-narrow-boundary.ts +31 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2624 | (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;
|
|
@@ -989,13 +989,13 @@ var init_swift_standin_digest = __esm({
|
|
|
989
989
|
import_node_crypto5 = require("node:crypto");
|
|
990
990
|
import_node_fs11 = require("node:fs");
|
|
991
991
|
import_node_path12 = __toESM(require("node:path"), 1);
|
|
992
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
992
|
+
STANDIN_SOURCE_DIGEST = true ? "7f9a1a548c5ea58c56b73bfc2a755a05031acbd1b10c1c79dc32b1d6c9bea9e4" : standinSourceDigest();
|
|
993
993
|
}
|
|
994
994
|
});
|
|
995
995
|
|
|
996
996
|
// src/expo-native-compiler-digest.ts
|
|
997
997
|
function expoNativeCompilerDigestValue() {
|
|
998
|
-
return true ? "
|
|
998
|
+
return true ? "ee97927d0c41fd6dd7d1290da2bbe36d7c9ec0fe81e3d5a7aa101cd4d446e5ab" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
999
999
|
}
|
|
1000
1000
|
var import_node_crypto6;
|
|
1001
1001
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -5309,17 +5309,17 @@ var init_binaryen_lock = __esm({
|
|
|
5309
5309
|
"linux-x64": {
|
|
5310
5310
|
asset: "x86_64-linux",
|
|
5311
5311
|
upstreamSha256: "195ddc94f9bc89f45abdabb0b9eea86023d727ba90eac8b35b80f2544fc30572",
|
|
5312
|
-
sha256: "
|
|
5312
|
+
sha256: "40062fb1ebbad7f04f361c1e3bb309dffb1d2318dd2e12235a0e7e820e18d6c9"
|
|
5313
5313
|
},
|
|
5314
5314
|
"linux-arm64": {
|
|
5315
5315
|
asset: "aarch64-linux",
|
|
5316
5316
|
upstreamSha256: "c58562417836c5d0493d89bdefc434933bdc097db641b483df86bcfa557a107f",
|
|
5317
|
-
sha256: "
|
|
5317
|
+
sha256: "d79b09d5b66f62f9e4bb691517b174b42bcdc0b7f40769d1993b7c565b0a54c7"
|
|
5318
5318
|
},
|
|
5319
5319
|
"darwin-arm64": {
|
|
5320
5320
|
asset: "arm64-macos",
|
|
5321
5321
|
upstreamSha256: "98aad827847af7ef990ed7098d885725c8e5b5aae75073403635617ae4e259aa",
|
|
5322
|
-
sha256: "
|
|
5322
|
+
sha256: "29342632a4fa52466c4feea846698fe5aa56ff46226a914d60b65b8735373d63"
|
|
5323
5323
|
}
|
|
5324
5324
|
}
|
|
5325
5325
|
};
|
|
@@ -5816,7 +5816,7 @@ var init_swift_compile = __esm({
|
|
|
5816
5816
|
ExpoModulesCore: []
|
|
5817
5817
|
};
|
|
5818
5818
|
OPTIONAL_FRAMEWORKS = new Set(Object.keys(OPTIONAL_FRAMEWORK_DEPENDENCIES));
|
|
5819
|
-
compilerSourceDigest = true ? "
|
|
5819
|
+
compilerSourceDigest = true ? "ab7e385f5b9ca10737de11d59802a2b57ee084a172b96aa971acb4c26a58a573" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
5820
5820
|
NOT_ON_IOS = new RegExp(
|
|
5821
5821
|
`\\b(?:os\\(\\s*WASI\\s*\\)|canImport\\(\\s*(?:${[...NON_IOS_MODULES].join("|")})\\s*\\))`,
|
|
5822
5822
|
"g"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2624 | (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,5 +1,5 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
2
|
-
import "../esm-chunks/chunk-
|
|
1
|
+
/*! peach v0.1.2624 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "../esm-chunks/chunk-LD7Z3NDO.mjs";
|
|
3
3
|
|
|
4
4
|
// src/host/fetch-proxy-overrides.ts
|
|
5
5
|
var FETCH_PROXY_NATIVE_USER_AGENT_HEADER = "x-sootsim-native-user-agent";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2624 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2624 | (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/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2624 | (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/kotlin-host.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2624 | (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/menu.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2624 | (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/menu.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2624 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
rnxPublicBrand
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
5
|
-
import "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-265THLTP.mjs";
|
|
5
|
+
import "./esm-chunks/chunk-LD7Z3NDO.mjs";
|
|
6
6
|
|
|
7
7
|
// src/menuContract.ts
|
|
8
8
|
var SOOTSIM_ENGINE_EVENT_NAME = "sootsim:engine-event";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2624 | (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,8 +1,8 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2624 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isRecord
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
5
|
-
import "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-AV7G5PTE.mjs";
|
|
5
|
+
import "./esm-chunks/chunk-LD7Z3NDO.mjs";
|
|
6
6
|
|
|
7
7
|
// src/metro-fingerprint-registry.ts
|
|
8
8
|
var RNX_METRO_FINGERPRINT_SCHEMA_VERSION = 2;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2624 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2624 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
findBundleFooter
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
5
|
-
import "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-UJORQHAE.mjs";
|
|
5
|
+
import "./esm-chunks/chunk-LD7Z3NDO.mjs";
|
|
6
6
|
|
|
7
7
|
// src/metro-production-bundle.ts
|
|
8
8
|
var RNXSIM_METRO_MODULE_PATHS_PREFIX = "globalThis.__sootsimModulePaths=";
|
|
@@ -131,7 +131,7 @@ function metroCalls(expression) {
|
|
|
131
131
|
return [];
|
|
132
132
|
}
|
|
133
133
|
async function readRNXMetroBundleLayout(source) {
|
|
134
|
-
const { loadMetroLayoutParser } = await import("./esm-chunks/metro-layout-parser-
|
|
134
|
+
const { loadMetroLayoutParser } = await import("./esm-chunks/metro-layout-parser-MDVTDJ65.mjs");
|
|
135
135
|
const MetroLayoutParser = await loadMetroLayoutParser();
|
|
136
136
|
const program = MetroLayoutParser.parse(source, {
|
|
137
137
|
ecmaVersion: "latest",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2624 | (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;
|
|
@@ -1912,6 +1912,11 @@ var import_node_fs6 = __toESM(require("node:fs"), 1);
|
|
|
1912
1912
|
var import_node_os2 = __toESM(require("node:os"), 1);
|
|
1913
1913
|
var import_node_path8 = __toESM(require("node:path"), 1);
|
|
1914
1914
|
var LIBRARY_RULES = /* @__PURE__ */ new Set(["swift_library", "objc_library", "cc_library"]);
|
|
1915
|
+
function sha256Hex(bytes) {
|
|
1916
|
+
if (typeof Bun !== "undefined")
|
|
1917
|
+
return new Bun.CryptoHasher("sha256").update(bytes).digest("hex");
|
|
1918
|
+
return (0, import_node_crypto4.createHash)("sha256").update(bytes).digest("hex");
|
|
1919
|
+
}
|
|
1915
1920
|
var QUERIED_RULES = [
|
|
1916
1921
|
"swift_library",
|
|
1917
1922
|
"objc_library",
|
|
@@ -2553,6 +2558,18 @@ ${published.map(
|
|
|
2553
2558
|
`bazel application has ${missing.length} unbuilt inputs: ${missing.slice(0, 5).map((file) => import_node_path8.default.relative(root, file)).join(", ")}`
|
|
2554
2559
|
);
|
|
2555
2560
|
const archives = /* @__PURE__ */ new Map();
|
|
2561
|
+
let outputOwner;
|
|
2562
|
+
const ownerOfOutput = (file) => {
|
|
2563
|
+
if (!outputOwner) {
|
|
2564
|
+
outputOwner = /* @__PURE__ */ new Map();
|
|
2565
|
+
for (const item of graph.rules.values())
|
|
2566
|
+
for (const output of item.outputs) {
|
|
2567
|
+
const outputPath = files.path(output);
|
|
2568
|
+
if (!outputOwner.has(outputPath)) outputOwner.set(outputPath, item);
|
|
2569
|
+
}
|
|
2570
|
+
}
|
|
2571
|
+
return outputOwner.get(file);
|
|
2572
|
+
};
|
|
2556
2573
|
for (const rule of order) {
|
|
2557
2574
|
for (const dep of rule.attrs.get("deps")?.list ?? []) {
|
|
2558
2575
|
const owner = ruleOf(dep, rule.label);
|
|
@@ -2570,9 +2587,7 @@ ${published.map(
|
|
|
2570
2587
|
for (const raw of rule.attrs.get("srcs")?.list ?? []) {
|
|
2571
2588
|
const label2 = canonicalLabel(raw, rule.label);
|
|
2572
2589
|
for (const archive of files.expand([raw], rule.label).filter((file) => file.endsWith(".a"))) {
|
|
2573
|
-
const owner =
|
|
2574
|
-
(item) => item.outputs.some((output) => files.path(output) === archive)
|
|
2575
|
-
);
|
|
2590
|
+
const owner = ownerOfOutput(archive);
|
|
2576
2591
|
const key = owner?.label ?? label2;
|
|
2577
2592
|
const entry = archives.get(key) ?? {
|
|
2578
2593
|
library: import_node_path8.default.basename(archive),
|
|
@@ -2598,6 +2613,13 @@ ${published.map(
|
|
|
2598
2613
|
)
|
|
2599
2614
|
)
|
|
2600
2615
|
);
|
|
2616
|
+
const matchesAppInclude = (name) => {
|
|
2617
|
+
if (appIncludes.has(name)) return true;
|
|
2618
|
+
for (let slash = name.indexOf("/"); slash >= 0; slash = name.indexOf("/", slash + 1)) {
|
|
2619
|
+
if (appIncludes.has(name.slice(slash + 1))) return true;
|
|
2620
|
+
}
|
|
2621
|
+
return false;
|
|
2622
|
+
};
|
|
2601
2623
|
let generatedBy;
|
|
2602
2624
|
const generators = () => {
|
|
2603
2625
|
if (!generatedBy) {
|
|
@@ -2678,9 +2700,7 @@ ${published.map(
|
|
|
2678
2700
|
[...linkers].filter((rule) => rule.attrs.get("module_name")?.value).flatMap((rule) => files.expand(rule.attrs.get("hdrs")?.list ?? [], rule.label))
|
|
2679
2701
|
);
|
|
2680
2702
|
const entries = headers.filter(
|
|
2681
|
-
(header) => imported.has(header.file) ||
|
|
2682
|
-
(include) => header.name === include || header.name.endsWith(`/${include}`)
|
|
2683
|
-
)
|
|
2703
|
+
(header) => imported.has(header.file) || matchesAppInclude(header.name)
|
|
2684
2704
|
);
|
|
2685
2705
|
const bundle = import_node_path8.default.join(products, "archives", `${name}.xcframework`);
|
|
2686
2706
|
const slice = import_node_path8.default.join(bundle, "ios-arm64-simulator");
|
|
@@ -2726,14 +2746,9 @@ ${published.map(
|
|
|
2726
2746
|
]
|
|
2727
2747
|
)
|
|
2728
2748
|
]);
|
|
2729
|
-
const digest = (
|
|
2730
|
-
JSON.stringify(
|
|
2731
|
-
|
|
2732
|
-
file,
|
|
2733
|
-
(0, import_node_crypto4.createHash)("sha256").update(bytes).digest("hex")
|
|
2734
|
-
])
|
|
2735
|
-
)
|
|
2736
|
-
).digest("hex");
|
|
2749
|
+
const digest = sha256Hex(
|
|
2750
|
+
JSON.stringify([...contents].map(([file, bytes]) => [file, sha256Hex(bytes)]))
|
|
2751
|
+
);
|
|
2737
2752
|
const stamp = import_node_path8.default.join(bundle, ".peach-digest");
|
|
2738
2753
|
if (!import_node_fs6.default.existsSync(stamp) || import_node_fs6.default.readFileSync(stamp, "utf8") !== digest) {
|
|
2739
2754
|
import_node_fs6.default.rmSync(bundle, { recursive: true, force: true });
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2624 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
swiftNativePin
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
5
|
-
import "./esm-chunks/chunk-
|
|
6
|
-
import "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-CM2NU5MS.mjs";
|
|
5
|
+
import "./esm-chunks/chunk-LCO2EXKF.mjs";
|
|
6
|
+
import "./esm-chunks/chunk-HKPKCJI5.mjs";
|
|
7
7
|
import {
|
|
8
8
|
NATIVE_GRAPH_SDK_VERSION,
|
|
9
9
|
cacheDir
|
|
10
|
-
} from "./esm-chunks/chunk-
|
|
10
|
+
} from "./esm-chunks/chunk-3XA5HYI5.mjs";
|
|
11
11
|
import {
|
|
12
12
|
privateSwiftRelease,
|
|
13
13
|
swiftEnvironment,
|
|
14
14
|
swiftToolchainBin
|
|
15
|
-
} from "./esm-chunks/chunk-
|
|
16
|
-
import "./esm-chunks/chunk-
|
|
15
|
+
} from "./esm-chunks/chunk-IMI2NE4A.mjs";
|
|
16
|
+
import "./esm-chunks/chunk-OLAYY7SG.mjs";
|
|
17
17
|
import {
|
|
18
18
|
SWIFT_OBJCXX_LANGUAGE_FLAG,
|
|
19
19
|
isSwiftNativeTranslationUnit,
|
|
20
20
|
moduleMapName
|
|
21
|
-
} from "./esm-chunks/chunk-
|
|
21
|
+
} from "./esm-chunks/chunk-N4ZJZUCO.mjs";
|
|
22
22
|
import {
|
|
23
23
|
androidMergedResourceValuesDirectory,
|
|
24
24
|
extractNativeAppIdentityFromFiles,
|
|
@@ -36,22 +36,22 @@ import {
|
|
|
36
36
|
xcodeBuildFileBuildsForIos,
|
|
37
37
|
xcodePathResolver,
|
|
38
38
|
xcodeTargetMemberVisitor
|
|
39
|
-
} from "./esm-chunks/chunk-
|
|
40
|
-
import "./esm-chunks/chunk-
|
|
39
|
+
} from "./esm-chunks/chunk-2YHIYKY2.mjs";
|
|
40
|
+
import "./esm-chunks/chunk-QZ5HTMWV.mjs";
|
|
41
41
|
import {
|
|
42
42
|
buildPlist,
|
|
43
43
|
parsePlist,
|
|
44
44
|
parsePlistSource,
|
|
45
45
|
parseXmlPlist
|
|
46
|
-
} from "./esm-chunks/chunk-
|
|
47
|
-
import "./esm-chunks/chunk-
|
|
48
|
-
import "./esm-chunks/chunk-
|
|
46
|
+
} from "./esm-chunks/chunk-EFQFJ7M6.mjs";
|
|
47
|
+
import "./esm-chunks/chunk-LT533AHJ.mjs";
|
|
48
|
+
import "./esm-chunks/chunk-UJORQHAE.mjs";
|
|
49
49
|
import {
|
|
50
50
|
isRecord
|
|
51
|
-
} from "./esm-chunks/chunk-
|
|
51
|
+
} from "./esm-chunks/chunk-AV7G5PTE.mjs";
|
|
52
52
|
import {
|
|
53
53
|
__publicField
|
|
54
|
-
} from "./esm-chunks/chunk-
|
|
54
|
+
} from "./esm-chunks/chunk-LD7Z3NDO.mjs";
|
|
55
55
|
|
|
56
56
|
// src/native-app-identity-project.ts
|
|
57
57
|
import fs6 from "node:fs";
|
|
@@ -203,6 +203,11 @@ import fs from "node:fs";
|
|
|
203
203
|
import os from "node:os";
|
|
204
204
|
import path from "node:path";
|
|
205
205
|
var LIBRARY_RULES = /* @__PURE__ */ new Set(["swift_library", "objc_library", "cc_library"]);
|
|
206
|
+
function sha256Hex(bytes) {
|
|
207
|
+
if (typeof Bun !== "undefined")
|
|
208
|
+
return new Bun.CryptoHasher("sha256").update(bytes).digest("hex");
|
|
209
|
+
return createHash("sha256").update(bytes).digest("hex");
|
|
210
|
+
}
|
|
206
211
|
var QUERIED_RULES = [
|
|
207
212
|
"swift_library",
|
|
208
213
|
"objc_library",
|
|
@@ -844,6 +849,18 @@ ${published.map(
|
|
|
844
849
|
`bazel application has ${missing.length} unbuilt inputs: ${missing.slice(0, 5).map((file) => path.relative(root, file)).join(", ")}`
|
|
845
850
|
);
|
|
846
851
|
const archives = /* @__PURE__ */ new Map();
|
|
852
|
+
let outputOwner;
|
|
853
|
+
const ownerOfOutput = (file) => {
|
|
854
|
+
if (!outputOwner) {
|
|
855
|
+
outputOwner = /* @__PURE__ */ new Map();
|
|
856
|
+
for (const item of graph.rules.values())
|
|
857
|
+
for (const output of item.outputs) {
|
|
858
|
+
const outputPath = files.path(output);
|
|
859
|
+
if (!outputOwner.has(outputPath)) outputOwner.set(outputPath, item);
|
|
860
|
+
}
|
|
861
|
+
}
|
|
862
|
+
return outputOwner.get(file);
|
|
863
|
+
};
|
|
847
864
|
for (const rule of order) {
|
|
848
865
|
for (const dep of rule.attrs.get("deps")?.list ?? []) {
|
|
849
866
|
const owner = ruleOf(dep, rule.label);
|
|
@@ -861,9 +878,7 @@ ${published.map(
|
|
|
861
878
|
for (const raw of rule.attrs.get("srcs")?.list ?? []) {
|
|
862
879
|
const label2 = canonicalLabel(raw, rule.label);
|
|
863
880
|
for (const archive of files.expand([raw], rule.label).filter((file) => file.endsWith(".a"))) {
|
|
864
|
-
const owner =
|
|
865
|
-
(item) => item.outputs.some((output) => files.path(output) === archive)
|
|
866
|
-
);
|
|
881
|
+
const owner = ownerOfOutput(archive);
|
|
867
882
|
const key = owner?.label ?? label2;
|
|
868
883
|
const entry = archives.get(key) ?? {
|
|
869
884
|
library: path.basename(archive),
|
|
@@ -889,6 +904,13 @@ ${published.map(
|
|
|
889
904
|
)
|
|
890
905
|
)
|
|
891
906
|
);
|
|
907
|
+
const matchesAppInclude = (name) => {
|
|
908
|
+
if (appIncludes.has(name)) return true;
|
|
909
|
+
for (let slash = name.indexOf("/"); slash >= 0; slash = name.indexOf("/", slash + 1)) {
|
|
910
|
+
if (appIncludes.has(name.slice(slash + 1))) return true;
|
|
911
|
+
}
|
|
912
|
+
return false;
|
|
913
|
+
};
|
|
892
914
|
let generatedBy;
|
|
893
915
|
const generators = () => {
|
|
894
916
|
if (!generatedBy) {
|
|
@@ -969,9 +991,7 @@ ${published.map(
|
|
|
969
991
|
[...linkers].filter((rule) => rule.attrs.get("module_name")?.value).flatMap((rule) => files.expand(rule.attrs.get("hdrs")?.list ?? [], rule.label))
|
|
970
992
|
);
|
|
971
993
|
const entries = headers.filter(
|
|
972
|
-
(header) => imported.has(header.file) ||
|
|
973
|
-
(include) => header.name === include || header.name.endsWith(`/${include}`)
|
|
974
|
-
)
|
|
994
|
+
(header) => imported.has(header.file) || matchesAppInclude(header.name)
|
|
975
995
|
);
|
|
976
996
|
const bundle = path.join(products, "archives", `${name}.xcframework`);
|
|
977
997
|
const slice = path.join(bundle, "ios-arm64-simulator");
|
|
@@ -1017,14 +1037,9 @@ ${published.map(
|
|
|
1017
1037
|
]
|
|
1018
1038
|
)
|
|
1019
1039
|
]);
|
|
1020
|
-
const digest =
|
|
1021
|
-
JSON.stringify(
|
|
1022
|
-
|
|
1023
|
-
file,
|
|
1024
|
-
createHash("sha256").update(bytes).digest("hex")
|
|
1025
|
-
])
|
|
1026
|
-
)
|
|
1027
|
-
).digest("hex");
|
|
1040
|
+
const digest = sha256Hex(
|
|
1041
|
+
JSON.stringify([...contents].map(([file, bytes]) => [file, sha256Hex(bytes)]))
|
|
1042
|
+
);
|
|
1028
1043
|
const stamp = path.join(bundle, ".peach-digest");
|
|
1029
1044
|
if (!fs.existsSync(stamp) || fs.readFileSync(stamp, "utf8") !== digest) {
|
|
1030
1045
|
fs.rmSync(bundle, { recursive: true, force: true });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2624 | (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.2624 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
NATIVE_APP_IDENTITY_HEADER,
|
|
4
4
|
applyNativeAppIdentity,
|
|
@@ -22,11 +22,11 @@ import {
|
|
|
22
22
|
readRootModuleName,
|
|
23
23
|
readSiriEntitlement,
|
|
24
24
|
selectNativeAppIdentityReader
|
|
25
|
-
} from "./esm-chunks/chunk-
|
|
26
|
-
import "./esm-chunks/chunk-
|
|
27
|
-
import "./esm-chunks/chunk-
|
|
28
|
-
import "./esm-chunks/chunk-
|
|
29
|
-
import "./esm-chunks/chunk-
|
|
25
|
+
} from "./esm-chunks/chunk-2YHIYKY2.mjs";
|
|
26
|
+
import "./esm-chunks/chunk-QZ5HTMWV.mjs";
|
|
27
|
+
import "./esm-chunks/chunk-UJORQHAE.mjs";
|
|
28
|
+
import "./esm-chunks/chunk-AV7G5PTE.mjs";
|
|
29
|
+
import "./esm-chunks/chunk-LD7Z3NDO.mjs";
|
|
30
30
|
export {
|
|
31
31
|
NATIVE_APP_IDENTITY_HEADER,
|
|
32
32
|
applyNativeAppIdentity,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2624 | (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,8 +1,8 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2624 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
findBundleFooter
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
5
|
-
import "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-UJORQHAE.mjs";
|
|
5
|
+
import "./esm-chunks/chunk-LD7Z3NDO.mjs";
|
|
6
6
|
|
|
7
7
|
// src/native-firebase-metadata.ts
|
|
8
8
|
var PREFIX = "globalThis.__peachNativeFirebaseConfig=";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2624 | (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,5 +1,5 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
2
|
-
import "./esm-chunks/chunk-
|
|
1
|
+
/*! peach v0.1.2624 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "./esm-chunks/chunk-LD7Z3NDO.mjs";
|
|
3
3
|
|
|
4
4
|
// src/pdfium-raster.ts
|
|
5
5
|
import { PDFiumLibrary } from "@hyzyla/pdfium/inline";
|
package/dist-lib/plist.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2624 | (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/plist.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2624 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
buildPlist,
|
|
4
4
|
parsePlist,
|
|
5
5
|
parsePlistSource,
|
|
6
6
|
parseXmlPlist
|
|
7
|
-
} from "./esm-chunks/chunk-
|
|
8
|
-
import "./esm-chunks/chunk-
|
|
7
|
+
} from "./esm-chunks/chunk-EFQFJ7M6.mjs";
|
|
8
|
+
import "./esm-chunks/chunk-LD7Z3NDO.mjs";
|
|
9
9
|
export {
|
|
10
10
|
buildPlist as build,
|
|
11
11
|
buildPlist,
|
package/dist-lib/profiles.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2624 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2624 | (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;
|