peachsim 0.1.1899 → 0.1.1902
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/README.md +2 -2
- package/cli/account-gate.ts +1 -1
- package/cli/app-stubs.ts +1 -1
- package/cli/commands/box/checkout-plane.ts +1 -1
- package/cli/commands/box/search-command.ts +1 -1
- package/cli/commands/perf-record.ts +1 -1
- 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 +128 -58
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +1 -1
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +1 -1
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +1 -1
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +1 -1
- package/dist-lib/detox/index.cjs +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +49 -33
- 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 +138 -69
- package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +31 -30
- 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 +29 -28
- package/dist-lib/native-app-identity-project.cjs +21 -20
- package/dist-lib/native-app-identity-project.mjs +21 -20
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +1 -1
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +1 -1
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +24 -24
- package/dist-lib/public-origins-lib.json +53 -53
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/reap-browser.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +1 -1
- package/dist-lib/skills.cjs +173 -103
- package/dist-lib/swift-compile.cjs +25 -9
- package/dist-lib/swift-compile.mjs +25 -9
- 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 +3 -3
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +35 -19
- package/dist-lib/vite.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/kotlin/README.md +4 -4
- package/kotlin/sdk.tar.gz +0 -0
- package/package.json +1 -1
- package/src/assetCatalogContract.ts +1 -1
- package/src/bundle-channel.mjs +1 -1
- package/src/config.ts +2 -2
- package/src/device-catalog.ts +4 -4
- package/src/expo-native-prebuilt.ts +1 -1
- package/src/nitro-adapter.ts +1 -1
- package/src/nitro-dependencies.ts +1 -1
- package/src/settingsContract.ts +1 -1
- package/src/swift-compile.ts +23 -4
- package/src/swift-darwin-records.ts +1 -1
- package/src/swift-distribution-contract.ts +1 -1
- package/src/swift-distribution.ts +1 -1
- package/src/swift-guest-compile.ts +7 -1
- package/src/swift-guest-link.ts +3 -2
- package/src/swift-toolchain.ts +3 -2
- package/src/turbo-codegen-intake.ts +3 -0
- package/src/turbo-compile.ts +1 -0
- package/src/turbo-source.ts +62 -2
package/dist-lib/skills.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1902 | (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;
|
|
@@ -39,7 +39,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
39
39
|
var define_SWIFT_COVERAGE_SOURCE_DIGESTS_default;
|
|
40
40
|
var init_define_SWIFT_COVERAGE_SOURCE_DIGESTS = __esm({
|
|
41
41
|
"<define:__SWIFT_COVERAGE_SOURCE_DIGESTS__>"() {
|
|
42
|
-
define_SWIFT_COVERAGE_SOURCE_DIGESTS_default = { "swift-coverage/indexdump.ts": "0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412", "swift-coverage/indexing.ts": "633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272", "swift-coverage/types.ts": "5bd72edc235189d69835155cb0367a1aee14332405896366af3be606dbe8cce8", "swift-coverage/source.ts": "8b398ceb60faf4a5729842cab60f49c2e601d6fc6bbbc1faec9023ecb8141990", "swift-coverage/package.ts": "1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b", "swift-coverage/xcode.ts": "65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa", "swift-coverage/xcode-assets.ts": "99e03b74c961d2449afd58c2cbc415ba91d1d469a4f89e461c137fd6c305b27c", "swift-coverage/xcode-asset-symbols.ts": "1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671", "swift-coverage/xcode-bridging.ts": "33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11", "swift-coverage/xcode-packages.ts": "8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "4b7d4a715cdaf57468ead23f2ff9dce76d02c6a888d73d144d4baa2ae571ba3c", "swift-package.ts": "e66452b430a7dc749e0db64e21a2f3cd969ba48fa1ae31cd5de5c366c3783bf7", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "
|
|
42
|
+
define_SWIFT_COVERAGE_SOURCE_DIGESTS_default = { "swift-coverage/indexdump.ts": "0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412", "swift-coverage/indexing.ts": "633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272", "swift-coverage/types.ts": "5bd72edc235189d69835155cb0367a1aee14332405896366af3be606dbe8cce8", "swift-coverage/source.ts": "8b398ceb60faf4a5729842cab60f49c2e601d6fc6bbbc1faec9023ecb8141990", "swift-coverage/package.ts": "1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b", "swift-coverage/xcode.ts": "65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa", "swift-coverage/xcode-assets.ts": "99e03b74c961d2449afd58c2cbc415ba91d1d469a4f89e461c137fd6c305b27c", "swift-coverage/xcode-asset-symbols.ts": "1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671", "swift-coverage/xcode-bridging.ts": "33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11", "swift-coverage/xcode-packages.ts": "8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "4b7d4a715cdaf57468ead23f2ff9dce76d02c6a888d73d144d4baa2ae571ba3c", "swift-package.ts": "e66452b430a7dc749e0db64e21a2f3cd969ba48fa1ae31cd5de5c366c3783bf7", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "450ee02b48bcdbbacbb4e94cd161308f1dac1bdb540ed5033c2433f717f738d2", "home-paths.ts": "744d0e29fcc4baae6748161da45dd75e357348703331dad685c74ec813abcc83", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "0669e4cca53dc8db00059018d7f93ff9139915fc0f4fb0c82a938febb7862dfe", "xcode-target-members.ts": "75a23a5fc54cc6f5e952d545f2f0f86241ff36525ab4e568c172e83c3bfb9da4", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
|
|
@@ -8172,7 +8172,7 @@ var init_registry = __esm({
|
|
|
8172
8172
|
{
|
|
8173
8173
|
range: ">=0.20.0",
|
|
8174
8174
|
coverage: 0.95,
|
|
8175
|
-
note: 'real local notification delivery via browser Notification + sootsim in-engine overlay, plus push notifications from Detox sendUserNotification and launchApp({ userNotification }) dispatched the way DetoxUserNotificationDispatcher dispatches them (willPresent for an active app, the tap response otherwise and at launch, held until the emitter exists); full upstream API surface present; matches iOS-simulator behavior where APNs registration silently fails. per docs/compat-scoring.md "score it high only when the full public API surface is present and returns the same unavailable/clean state an app should expect in development."',
|
|
8175
|
+
note: 'real local notification delivery via browser Notification + sootsim in-engine overlay, plus push notifications from Detox sendUserNotification and launchApp({ userNotification }) dispatched the way DetoxUserNotificationDispatcher dispatches them (willPresent for an active app, the tap response otherwise and at launch, held until the emitter exists); full upstream API surface present; matches iOS-simulator behavior where APNs registration silently fails. per docs/peach/conformance/compat-scoring.md "score it high only when the full public API surface is present and returns the same unavailable/clean state an app should expect in development."',
|
|
8176
8176
|
working: "getPermissionsAsync/requestPermissionsAsync through the shared system permission registry, scheduleNotificationAsync (fires real browser Notification when host capability allows, plus the in-engine banner), cancelScheduledNotificationAsync, cancelAllScheduledNotificationsAsync, getAllScheduledNotificationsAsync, getPresentedNotificationsAsync, dismissNotificationAsync, dismissAllNotificationsAsync, setBadgeCountAsync (navigator.setAppBadge if available), getBadgeCountAsync, addNotificationReceivedListener/ResponseReceivedListener/DroppedListener/PushTokenListener, getLastNotificationResponseAsync + sync, clearLastNotificationResponseAsync + sync, useLastNotificationResponse hook, getNextTriggerDateAsync, setNotificationHandler, presentNotificationAsync, push notifications dispatched like Detox (onDidReceiveNotification with trigger { type: push, payload } and data from the user info body, tap responses with action identifier and user text, the launch tap as the last response), the native handler timeout presenting with the default options, channel + channel-group CRUD, category CRUD, AndroidImportance/AndroidNotificationVisibility/IosAuthorizationStatus/PermissionStatus enums",
|
|
8177
8177
|
missing: "real push token registration (getDevicePushTokenAsync returns a placeholder UUID \u2014 there is no FCM/APNs provisioning, service-worker push subscription, or backend-uploadable token); background task delivery (registerTaskAsync/unregisterTaskAsync/isTaskRegisteredAsync are noops \u2014 service-worker push wiring is not implemented); scheduled-notification persistence across reload (setTimeout-only \u2014 page refresh drops the queue); subscribeToTopicAsync/unsubscribeFromTopicAsync FCM topic binding; setAutoServerRegistrationEnabledAsync; push notifications arriving from APNs or simctl push (only the Detox dispatch path exists, so there is no system banner for a push to a backgrounded app and no didReceiveRemoteNotification background delivery)"
|
|
8178
8178
|
}
|
|
@@ -8935,7 +8935,7 @@ var init_registry = __esm({
|
|
|
8935
8935
|
{
|
|
8936
8936
|
range: ">=26.4.0",
|
|
8937
8937
|
coverage: 0.55,
|
|
8938
|
-
note: "published RNFB 26.4 and 27 JavaScript runs unchanged (the 26.4.0, 26.4.1 and 27.0.0 native specs and iOS behavior match: 27 moves the error, status and task-registry mapping into Swift without changing it) over NativeRNFBTurboStorage backed by firebase/storage, the shared native Auth adapter and sandbox VFS; see docs/firebase-storage
|
|
8938
|
+
note: "published RNFB 26.4 and 27 JavaScript runs unchanged (the 26.4.0, 26.4.1 and 27.0.0 native specs and iOS behavior match: 27 moves the error, status and task-registry mapping into Swift without changing it) over NativeRNFBTurboStorage backed by firebase/storage, the shared native Auth adapter and sandbox VFS; see docs/peach/native-seams/firebase-storage.md",
|
|
8939
8939
|
working: "real upload/list/metadata/update/download/delete backend effects, VFS putFile/writeToFile, native task snapshots and progress events, upload pause/resume/cancel, retry settings and emulator configuration; signed-in rules and signed-out denial verified on local emulators",
|
|
8940
8940
|
missing: "native Photos asset transcoding, App Check interop, exact OS network error causes, Android-specific parity; downloads buffer the object before writing the VFS"
|
|
8941
8941
|
}
|
|
@@ -8950,7 +8950,7 @@ var init_registry = __esm({
|
|
|
8950
8950
|
coverage: 0.8,
|
|
8951
8951
|
note: "published RNFB 27 JS runs unchanged over NativeRNFBTurboFunctions using firebase/functions for one-shot calls and Apple native streaming transport with the shared native Auth adapter; callable SSE messages and final completion are verified before HTTP EOF",
|
|
8952
8952
|
working: "callables by name and URL, emulator/custom-domain routing, native Auth tokens and sign-out, remote code/message/details, timeout, incremental streaming messages, terminal results, duplicate listener rejection and suppression after native removal",
|
|
8953
|
-
missing: "App Check and FCM token interop, one-shot Apple UNKNOWN network-error parity, underlying OS network diagnostics, Android-specific parity and production callable certification; see docs/firebase-functions
|
|
8953
|
+
missing: "App Check and FCM token interop, one-shot Apple UNKNOWN network-error parity, underlying OS network diagnostics, Android-specific parity and production callable certification; see docs/peach/native-seams/firebase-functions.md"
|
|
8954
8954
|
}
|
|
8955
8955
|
]
|
|
8956
8956
|
},
|
|
@@ -10091,7 +10091,7 @@ var init_registry = __esm({
|
|
|
10091
10091
|
{
|
|
10092
10092
|
range: ">=1.0.0",
|
|
10093
10093
|
coverage: 0.95,
|
|
10094
|
-
note: "analytics SDK with full noop surface per the docs/compat-scoring.md rule \u2014 all 1.x Mixpanel methods accepted; delivery intentionally absent in browser preview.",
|
|
10094
|
+
note: "analytics SDK with full noop surface per the docs/peach/conformance/compat-scoring.md rule \u2014 all 1.x Mixpanel methods accepted; delivery intentionally absent in browser preview.",
|
|
10095
10095
|
working: "init stores token, all method signatures match 1.x API (track, identify, alias, reset, flush, superProperties, timeEvent, optIn/Out), people object with set/setOnce/increment/append/union/deleteUser/trackCharge",
|
|
10096
10096
|
missing: "no event delivery to Mixpanel \u2014 same constraint as every analytics SDK in browser preview"
|
|
10097
10097
|
}
|
|
@@ -10233,7 +10233,7 @@ var init_registry = __esm({
|
|
|
10233
10233
|
{
|
|
10234
10234
|
range: ">=4.0.0",
|
|
10235
10235
|
coverage: 0.95,
|
|
10236
|
-
note: "attribution-analytics SDK with full noop surface per the docs/compat-scoring.md rule \u2014 Adjust.create/trackEvent accepted, all config/event class shapes present, getter callbacks invoke with stub values. delivery is intentionally absent in the browser preview.",
|
|
10236
|
+
note: "attribution-analytics SDK with full noop surface per the docs/peach/conformance/compat-scoring.md rule \u2014 Adjust.create/trackEvent accepted, all config/event class shapes present, getter callbacks invoke with stub values. delivery is intentionally absent in the browser preview.",
|
|
10237
10237
|
working: 'AdjustConfig/AdjustEvent/AdjustAdRevenue/AdjustThirdPartySharing class shapes, all getter callbacks invoked with stub values (getAdid returns "stub-adid"), isEnabled returns false, trackEvent/trackAdRevenue/trackThirdPartySharing accepted, addSessionPartnerParameter / addSessionCallbackParameter, setOfflineMode',
|
|
10238
10238
|
missing: "no real attribution delivery \u2014 same constraint as every analytics SDK in browser preview; getIdfa/getIdfv return empty (per docs, intentional and acceptable); validatePurchase deferred (real receipt validation needs Apple/Google endpoints)"
|
|
10239
10239
|
}
|
|
@@ -11148,7 +11148,7 @@ var init_registry = __esm({
|
|
|
11148
11148
|
]
|
|
11149
11149
|
},
|
|
11150
11150
|
// load-safe noop SDKs — analytics / crash / attribution / session replay.
|
|
11151
|
-
// per docs/compat-scoring.md: scored 0.5 because the public API loads and
|
|
11151
|
+
// per docs/peach/conformance/compat-scoring.md: scored 0.5 because the public API loads and
|
|
11152
11152
|
// calls don't crash, but no telemetry is delivered from sootsim. all 11
|
|
11153
11153
|
// share packages/peach-compat/src/stubs/noop-sdks.ts.
|
|
11154
11154
|
"@intercom/intercom-react-native": {
|
|
@@ -11195,7 +11195,7 @@ var init_registry = __esm({
|
|
|
11195
11195
|
{
|
|
11196
11196
|
range: ">=8.0.0",
|
|
11197
11197
|
coverage: 0.95,
|
|
11198
|
-
note: "crash-reporting SDK with full noop surface per the docs/compat-scoring.md rule \u2014 Bugsnag.start/notify/leaveBreadcrumb/setUser/addMetadata + onError handlers all accepted; delivery is intentionally absent in the browser preview.",
|
|
11198
|
+
note: "crash-reporting SDK with full noop surface per the docs/peach/conformance/compat-scoring.md rule \u2014 Bugsnag.start/notify/leaveBreadcrumb/setUser/addMetadata + onError handlers all accepted; delivery is intentionally absent in the browser preview.",
|
|
11199
11199
|
working: "Bugsnag singleton, start/notify/leaveBreadcrumb/setUser/clearUser/addMetadata/clearMetadata/getMetadata, addFeatureFlag/clearFeatureFlag/clearFeatureFlags, startSession/pauseSession/resumeSession, getContext/setContext, onError/onSession/onBreadcrumb listeners",
|
|
11200
11200
|
missing: "no error reports delivered, no breadcrumbs sent \u2014 same constraint as every crash-reporting SDK in browser preview (matches docs guidance)"
|
|
11201
11201
|
}
|
|
@@ -11208,7 +11208,7 @@ var init_registry = __esm({
|
|
|
11208
11208
|
{
|
|
11209
11209
|
range: ">=2.0.0",
|
|
11210
11210
|
coverage: 0.95,
|
|
11211
|
-
note: "performance-analytics SDK with full noop surface per the docs/compat-scoring.md rule \u2014 start/startSpan/startNavigationSpan return noop spans; delivery intentionally absent in browser preview.",
|
|
11211
|
+
note: "performance-analytics SDK with full noop surface per the docs/peach/conformance/compat-scoring.md rule \u2014 start/startSpan/startNavigationSpan return noop spans; delivery intentionally absent in browser preview.",
|
|
11212
11212
|
missing: "no spans delivered \u2014 same constraint as every performance-analytics SDK in browser preview"
|
|
11213
11213
|
}
|
|
11214
11214
|
]
|
|
@@ -11233,7 +11233,7 @@ var init_registry = __esm({
|
|
|
11233
11233
|
{
|
|
11234
11234
|
range: ">=1.0.0",
|
|
11235
11235
|
coverage: 0.95,
|
|
11236
|
-
note: "native-seam only: the real posthog-react-native-session-replay runs from the bundle (start/startSession/endSession/identify/startRecording/stopRecording/isEnabled + default export \u2014 all upstream JS). its published surface is fully covered by the shared PosthogReactNativeSessionReplay module, which also carries the renamed plugin superset: recording actions resolve without capturing and isEnabled() reports false \u2014 the same clean state an app sees with replay unconfigured. per docs/compat-scoring.md session-replay rule, delivery is intentionally absent",
|
|
11236
|
+
note: "native-seam only: the real posthog-react-native-session-replay runs from the bundle (start/startSession/endSession/identify/startRecording/stopRecording/isEnabled + default export \u2014 all upstream JS). its published surface is fully covered by the shared PosthogReactNativeSessionReplay module, which also carries the renamed plugin superset: recording actions resolve without capturing and isEnabled() reports false \u2014 the same clean state an app sees with replay unconfigured. per docs/peach/conformance/compat-scoring.md session-replay rule, delivery is intentionally absent",
|
|
11237
11237
|
working: "full upstream JS surface (named exports + default module), start/startSession/endSession/identify/startRecording/stopRecording resolve, isEnabled resolves false",
|
|
11238
11238
|
missing: "no session capture, no canvas recording, no replay upload \u2014 intentionally absent for the development simulator (no PostHog replay backend)"
|
|
11239
11239
|
}
|
|
@@ -11246,7 +11246,7 @@ var init_registry = __esm({
|
|
|
11246
11246
|
{
|
|
11247
11247
|
range: ">=4.6.0",
|
|
11248
11248
|
coverage: 0,
|
|
11249
|
-
note: "the reference iOS simulator performs this package's behavior. Peach currently provides only this unsupported shape: native-seam only: the real customerio-reactnative runs from the bundle (CustomerIO object, CioRegion/CioLogLevel/CioPushPermissionStatus enums, in-app/push/notification-inbox wrappers : all upstream JS, no fabricated values). 4.6.0 is the first TurboModule release (4.0.0-4.5.2 use the old bridge module names, which this seam does not provide). we stub the six codegen modules (NativeCustomerIO/Logging/Location/MessagingPush/MessagingInApp/LiveActivities), mirroring src/specs/modules/*@7.2.0 exactly; its emitter properties also answer the earlier 4.6.0-6.x emitter calls, so every TurboModule line from 4.6.0 runs: calls accepted, getMessages/token empty, push permission reports NOTDETERMINED (fresh-sim), event-emitter properties return removable no-op subscriptions, live activities reject with live_activity_module_unavailable the way the real iOS wrapper does without its optional pod, and the nullable geofence module stays absent. the package's full JS surface imports and stays inert on Peach at 7.2.0. per docs/compat-scoring.md analytics rule, delivery is intentionally absent. imports and API shape receive no behavior credit",
|
|
11249
|
+
note: "the reference iOS simulator performs this package's behavior. Peach currently provides only this unsupported shape: native-seam only: the real customerio-reactnative runs from the bundle (CustomerIO object, CioRegion/CioLogLevel/CioPushPermissionStatus enums, in-app/push/notification-inbox wrappers : all upstream JS, no fabricated values). 4.6.0 is the first TurboModule release (4.0.0-4.5.2 use the old bridge module names, which this seam does not provide). we stub the six codegen modules (NativeCustomerIO/Logging/Location/MessagingPush/MessagingInApp/LiveActivities), mirroring src/specs/modules/*@7.2.0 exactly; its emitter properties also answer the earlier 4.6.0-6.x emitter calls, so every TurboModule line from 4.6.0 runs: calls accepted, getMessages/token empty, push permission reports NOTDETERMINED (fresh-sim), event-emitter properties return removable no-op subscriptions, live activities reject with live_activity_module_unavailable the way the real iOS wrapper does without its optional pod, and the nullable geofence module stays absent. the package's full JS surface imports and stays inert on Peach at 7.2.0. per docs/peach/conformance/compat-scoring.md analytics rule, delivery is intentionally absent. imports and API shape receive no behavior credit",
|
|
11250
11250
|
working: "full upstream JS surface (CustomerIO object + correct enums + in-app/push/inbox wrappers); initialize/identify/track/screen, profile+device attributes, device-token register/delete, trackMetric, deep-link routing ready + handler registration (no URL is ever delivered), push receipt/permission APIs, in-app dismiss + color scheme + inbox getMessages/mark/track, inbox event listener registration, all event-emitter subscriptions (no-op removable), live activities handleWidgetUrl pass-through with start/update/end reporting the native unavailable code",
|
|
11251
11251
|
missing: "no events sent, no profile sync, no in-app messages displayed, push token not registered, no deep link delivered, no live activity started, no geofence refresh"
|
|
11252
11252
|
}
|
|
@@ -11299,7 +11299,7 @@ var init_registry = __esm({
|
|
|
11299
11299
|
{
|
|
11300
11300
|
range: ">=1.0.0",
|
|
11301
11301
|
coverage: 0,
|
|
11302
|
-
note: "the reference iOS simulator performs this package's behavior. Peach currently provides only this unsupported shape: native-seam only: the real @iterable/react-native-sdk runs from the bundle (the Iterable class, inbox/embedded/in-app managers, and the authoritative enums : all upstream JS, no fabricated enum values). we stub only the RNIterableAPI TurboModule, mirroring src/api/NativeRNIterableAPI.ts@2.x (Spec) exactly: init resolves true (SDK initialized but offline), every getter returns the inert no-data value, handleAppLink resolves false so app routing takes over. per docs/compat-scoring.md analytics rule, delivery is intentionally absent. imports and API shape receive no behavior credit",
|
|
11302
|
+
note: "the reference iOS simulator performs this package's behavior. Peach currently provides only this unsupported shape: native-seam only: the real @iterable/react-native-sdk runs from the bundle (the Iterable class, inbox/embedded/in-app managers, and the authoritative enums : all upstream JS, no fabricated enum values). we stub only the RNIterableAPI TurboModule, mirroring src/api/NativeRNIterableAPI.ts@2.x (Spec) exactly: init resolves true (SDK initialized but offline), every getter returns the inert no-data value, handleAppLink resolves false so app routing takes over. per docs/peach/conformance/compat-scoring.md analytics rule, delivery is intentionally absent. imports and API shape receive no behavior credit",
|
|
11303
11303
|
working: "full upstream JS surface (Iterable class + inbox/embedded managers + correct enums); initialize, setEmail/UserId, in-app + inbox + embedded message getters (empty), track* events, commerce, updateUser/Email/subscriptions, attribution, session + embedded-impression tracking, auth token, listener registration",
|
|
11304
11304
|
missing: "no push registration with Iterable backend, no in-app/embedded message fetch, no email/userId persisted server-side \u2014 intentionally absent for the development simulator (no Iterable backend)"
|
|
11305
11305
|
}
|
|
@@ -12307,7 +12307,7 @@ var init_registry = __esm({
|
|
|
12307
12307
|
{
|
|
12308
12308
|
range: ">=9.0.0",
|
|
12309
12309
|
coverage: 0,
|
|
12310
|
-
note: "unchanged JS and native sources (StreamVideoThumbnail.mm + StreamVideoThumbnailGenerator.swift, StreamMultipartUploader.mm + StreamMultipartUploadTask.swift + StreamMultipartStream.swift) compile into the app PeachTurboApp wasm executable (`specs/peach
|
|
12310
|
+
note: "unchanged JS and native sources (StreamVideoThumbnail.mm + StreamVideoThumbnailGenerator.swift, StreamMultipartUploader.mm + StreamMultipartUploadTask.swift + StreamMultipartStream.swift) compile into the app PeachTurboApp wasm executable (`specs/peach/swift/turbo-modules.md`); the replacement JS stub has been removed.",
|
|
12311
12311
|
working: "StreamVideoThumbnail.createVideoThumbnails([]) resolves an empty array; createVideoThumbnails with an unsupported URL resolves the per-URI error result; StreamMultipartUploader.cancelUpload for an absent upload id resolves",
|
|
12312
12312
|
missing: "thumbnail extraction is unproved (AVAssetImageGenerator copyCGImage throws and generateCGImages traps for existing or remote assets until an asset decode backend exists) and StreamMultipartUploader.uploadFiles is unproved; background URLSession upload tasks follow the SDK URLSession implementation"
|
|
12313
12313
|
}
|
|
@@ -13502,7 +13502,7 @@ var init_registry = __esm({
|
|
|
13502
13502
|
{
|
|
13503
13503
|
range: ">=5.0.0",
|
|
13504
13504
|
coverage: 0.95,
|
|
13505
|
-
note: "native-seam only: the real react-native-ux-cam runs from the bundle (the UXCam JS class + types \u2014 all upstream). we stub only the RNUxcam TurboModule, mirroring src/NativeRNUxcam.ts@6.x exactly: recording actions are accepted but nothing is captured/uploaded and every opt-in/recording status reports false \u2014 the same clean state an app sees with UXCam unconfigured. per docs/compat-scoring.md session-replay rule, delivery is intentionally absent. (replaces a drifted JS stub that exposed non-existent methods like startWithKey/hideStatusGUI)",
|
|
13505
|
+
note: "native-seam only: the real react-native-ux-cam runs from the bundle (the UXCam JS class + types \u2014 all upstream). we stub only the RNUxcam TurboModule, mirroring src/NativeRNUxcam.ts@6.x exactly: recording actions are accepted but nothing is captured/uploaded and every opt-in/recording status reports false \u2014 the same clean state an app sees with UXCam unconfigured. per docs/peach/conformance/compat-scoring.md session-replay rule, delivery is intentionally absent. (replaces a drifted JS stub that exposed non-existent methods like startWithKey/hideStatusGUI)",
|
|
13506
13506
|
working: "full upstream JS surface (UXCam class + enums); startWithConfiguration, opt-in/out overall+schematic+video, session start/stop/cancel, tagScreenName, logEvent, setUser/Session properties, occlusion APIs, urlForCurrentSession/User (resolve null), listener registration",
|
|
13507
13507
|
missing: "no real UXCam session recording, heatmaps, or upload \u2014 intentionally absent for the development simulator (no UXCam backend)"
|
|
13508
13508
|
}
|
|
@@ -14378,7 +14378,7 @@ var init_registry = __esm({
|
|
|
14378
14378
|
{
|
|
14379
14379
|
range: ">=1.0.0",
|
|
14380
14380
|
coverage: 0.95,
|
|
14381
|
-
note: 'native-seam only: the real rollbar-react-native runs from the bundle (Rollbar, Client, Configuration, telemetry, error transforms \u2014 all upstream JS). we stub only the RollbarReactNative native module, mirroring src/Client.js native usage exactly: init/setPerson/clearPerson accepted, deviceAttributes() returns "{}" (parsing to the same empty object upstream uses with no native side). per docs/compat-scoring.md crash-reporting rule, delivery is intentionally absent. (replaces a drifted JS stub that fabricated default/Client/Configuration classes)',
|
|
14381
|
+
note: 'native-seam only: the real rollbar-react-native runs from the bundle (Rollbar, Client, Configuration, telemetry, error transforms \u2014 all upstream JS). we stub only the RollbarReactNative native module, mirroring src/Client.js native usage exactly: init/setPerson/clearPerson accepted, deviceAttributes() returns "{}" (parsing to the same empty object upstream uses with no native side). per docs/peach/conformance/compat-scoring.md crash-reporting rule, delivery is intentionally absent. (replaces a drifted JS stub that fabricated default/Client/Configuration classes)',
|
|
14382
14382
|
working: "full upstream JS surface (Rollbar/Client/Configuration, telemetry, log/debug/info/warning/error/critical, captureUncaught/unhandledRejection wiring, setPerson/clearPerson, native init path)",
|
|
14383
14383
|
missing: "no real Rollbar occurrence delivery \u2014 intentionally absent for the development simulator (no Rollbar backend)"
|
|
14384
14384
|
}
|
|
@@ -14487,7 +14487,7 @@ var init_registry = __esm({
|
|
|
14487
14487
|
{
|
|
14488
14488
|
range: ">=1.0.0",
|
|
14489
14489
|
coverage: 0.95,
|
|
14490
|
-
note: "attribution-analytics SDK with full noop surface per the docs/compat-scoring.md rule \u2014 initialize/identify/logout/trackEvent/trackContentEvent accepted; delivery intentionally absent in browser preview.",
|
|
14490
|
+
note: "attribution-analytics SDK with full noop surface per the docs/peach/conformance/compat-scoring.md rule \u2014 initialize/identify/logout/trackEvent/trackContentEvent accepted; delivery intentionally absent in browser preview.",
|
|
14491
14491
|
missing: "no real TikTok analytics \u2014 same constraint as every analytics SDK in browser preview"
|
|
14492
14492
|
}
|
|
14493
14493
|
]
|
|
@@ -14659,7 +14659,7 @@ var init_registry = __esm({
|
|
|
14659
14659
|
{
|
|
14660
14660
|
range: ">=15.0.0",
|
|
14661
14661
|
coverage: 0,
|
|
14662
|
-
note: "the reference iOS simulator performs this package's behavior. Peach currently provides only this unsupported shape: native-seam only: the real @shakebugs/react-native-shake runs from the bundle (the full ~670-line Shake JS object : all upstream). we stub only the Shake TurboModule, mirroring src/NativeShake.ts@17.x exactly: every config setter is accepted, every getter returns the inert unconfigured-SDK value, start/silentReport resolve without delivery. per docs/compat-scoring.md (crash/QA noop), delivery is intentionally absent. held one notch below the 0.95 analytics tier because the in-app report UI (show()) has no backend content. (replaces a drifted JS stub exposing non-Spec methods like setEnabled/setUserMetadata). imports and API shape receive no behavior credit",
|
|
14662
|
+
note: "the reference iOS simulator performs this package's behavior. Peach currently provides only this unsupported shape: native-seam only: the real @shakebugs/react-native-shake runs from the bundle (the full ~670-line Shake JS object : all upstream). we stub only the Shake TurboModule, mirroring src/NativeShake.ts@17.x exactly: every config setter is accepted, every getter returns the inert unconfigured-SDK value, start/silentReport resolve without delivery. per docs/peach/conformance/compat-scoring.md (crash/QA noop), delivery is intentionally absent. held one notch below the 0.95 analytics tier because the in-app report UI (show()) has no backend content. (replaces a drifted JS stub exposing non-Spec methods like setEnabled/setUserMetadata). imports and API shape receive no behavior credit",
|
|
14663
14663
|
working: "full upstream JS surface (Shake object + enums); start, show, all config setters/getters (feedback/blackbox/activity-history/floating-button/screenshot/threshold/intro/video/console toggles), metadata, private views, network/notification capture APIs, user registration, tags, listener registration",
|
|
14664
14664
|
missing: "no shake-to-report delivery, no rendered Shake report form content, no black-box/activity-history/video capture upload \u2014 intentionally absent for the development simulator (no Shake backend)"
|
|
14665
14665
|
}
|
|
@@ -16384,7 +16384,7 @@ var init_registry = __esm({
|
|
|
16384
16384
|
// named TurboModule/NativeModule as a structurally-correct noop.
|
|
16385
16385
|
// rudderstack device-mode analytics integrations — each is a one-line
|
|
16386
16386
|
// `NativeModules.RudderIntegration<Name>ReactNative.setup()` wrapper. delivery
|
|
16387
|
-
// intentionally absent per docs/compat-scoring.md.
|
|
16387
|
+
// intentionally absent per docs/peach/conformance/compat-scoring.md.
|
|
16388
16388
|
"@rudderstack/rudder-integration-facebook-react-native": {
|
|
16389
16389
|
category: "Analytics",
|
|
16390
16390
|
stubType: "native",
|
|
@@ -21308,7 +21308,7 @@ var init_applyReviver = __esm({
|
|
|
21308
21308
|
// ../../node_modules/yaml/browser/dist/nodes/toJS.js
|
|
21309
21309
|
function toJS(value, arg, ctx) {
|
|
21310
21310
|
if (Array.isArray(value))
|
|
21311
|
-
return value.map((
|
|
21311
|
+
return value.map((v6, i) => toJS(v6, String(i), ctx));
|
|
21312
21312
|
if (value && typeof value.toJSON === "function") {
|
|
21313
21313
|
if (!ctx || !hasAnchor(value))
|
|
21314
21314
|
return value.toJSON(arg, ctx);
|
|
@@ -21597,18 +21597,18 @@ var init_createNode = __esm({
|
|
|
21597
21597
|
|
|
21598
21598
|
// ../../node_modules/yaml/browser/dist/nodes/Collection.js
|
|
21599
21599
|
function collectionFromPath(schema4, path124, value) {
|
|
21600
|
-
let
|
|
21600
|
+
let v6 = value;
|
|
21601
21601
|
for (let i = path124.length - 1; i >= 0; --i) {
|
|
21602
21602
|
const k = path124[i];
|
|
21603
21603
|
if (typeof k === "number" && Number.isInteger(k) && k >= 0) {
|
|
21604
21604
|
const a = [];
|
|
21605
|
-
a[k] =
|
|
21606
|
-
|
|
21605
|
+
a[k] = v6;
|
|
21606
|
+
v6 = a;
|
|
21607
21607
|
} else {
|
|
21608
|
-
|
|
21608
|
+
v6 = /* @__PURE__ */ new Map([[k, v6]]);
|
|
21609
21609
|
}
|
|
21610
21610
|
}
|
|
21611
|
-
return createNode(
|
|
21611
|
+
return createNode(v6, void 0, {
|
|
21612
21612
|
aliasDuplicateObjects: false,
|
|
21613
21613
|
keepUndefined: false,
|
|
21614
21614
|
onAnchor: () => {
|
|
@@ -22556,8 +22556,8 @@ var init_addPairToJSMap = __esm({
|
|
|
22556
22556
|
// ../../node_modules/yaml/browser/dist/nodes/Pair.js
|
|
22557
22557
|
function createPair(key2, value, ctx) {
|
|
22558
22558
|
const k = createNode(key2, void 0, ctx);
|
|
22559
|
-
const
|
|
22560
|
-
return new Pair(k,
|
|
22559
|
+
const v6 = createNode(value, void 0, ctx);
|
|
22560
|
+
return new Pair(k, v6);
|
|
22561
22561
|
}
|
|
22562
22562
|
var Pair;
|
|
22563
22563
|
var init_Pair = __esm({
|
|
@@ -24215,7 +24215,7 @@ var init_Document = __esm({
|
|
|
24215
24215
|
value = replacer.call({ "": value }, "", value);
|
|
24216
24216
|
_replacer = replacer;
|
|
24217
24217
|
} else if (Array.isArray(replacer)) {
|
|
24218
|
-
const keyToStr = (
|
|
24218
|
+
const keyToStr = (v6) => typeof v6 === "number" || v6 instanceof String || v6 instanceof Number;
|
|
24219
24219
|
const asStr = replacer.filter(keyToStr).map(String);
|
|
24220
24220
|
if (asStr.length > 0)
|
|
24221
24221
|
replacer = replacer.concat(asStr);
|
|
@@ -24251,8 +24251,8 @@ var init_Document = __esm({
|
|
|
24251
24251
|
*/
|
|
24252
24252
|
createPair(key2, value, options = {}) {
|
|
24253
24253
|
const k = this.createNode(key2, null, options);
|
|
24254
|
-
const
|
|
24255
|
-
return new Pair(k,
|
|
24254
|
+
const v6 = this.createNode(value, null, options);
|
|
24255
|
+
return new Pair(k, v6);
|
|
24256
24256
|
}
|
|
24257
24257
|
/**
|
|
24258
24258
|
* Removes a value from the document.
|
|
@@ -29071,16 +29071,16 @@ function runtimeTarballCacheName(product, version2) {
|
|
|
29071
29071
|
return import_node_path4.default.posix.basename(product.tarballPath(version2));
|
|
29072
29072
|
}
|
|
29073
29073
|
function compareSemver(a, b) {
|
|
29074
|
-
const
|
|
29075
|
-
const hyphen =
|
|
29076
|
-
const core = hyphen >= 0 ?
|
|
29077
|
-
const pre = hyphen >= 0 ?
|
|
29074
|
+
const parse13 = (v6) => {
|
|
29075
|
+
const hyphen = v6.indexOf("-");
|
|
29076
|
+
const core = hyphen >= 0 ? v6.slice(0, hyphen) : v6;
|
|
29077
|
+
const pre = hyphen >= 0 ? v6.slice(hyphen + 1) : "";
|
|
29078
29078
|
const parts = core.split(".").map((n) => Number.parseInt(n, 10));
|
|
29079
|
-
if (parts.some((n) => !Number.isFinite(n))) return [[Number.POSITIVE_INFINITY],
|
|
29079
|
+
if (parts.some((n) => !Number.isFinite(n))) return [[Number.POSITIVE_INFINITY], v6];
|
|
29080
29080
|
return [parts, pre];
|
|
29081
29081
|
};
|
|
29082
|
-
const [an, ap] =
|
|
29083
|
-
const [bn, bp] =
|
|
29082
|
+
const [an, ap] = parse13(a);
|
|
29083
|
+
const [bn, bp] = parse13(b);
|
|
29084
29084
|
for (let i = 0; i < Math.max(an.length, bn.length); i++) {
|
|
29085
29085
|
const av = an[i] ?? 0;
|
|
29086
29086
|
const bv = bn[i] ?? 0;
|
|
@@ -32256,7 +32256,7 @@ var require_parse = __commonJS({
|
|
|
32256
32256
|
var token;
|
|
32257
32257
|
var key2;
|
|
32258
32258
|
var root;
|
|
32259
|
-
module2.exports = function
|
|
32259
|
+
module2.exports = function parse13(text6, reviver) {
|
|
32260
32260
|
source = String(text6);
|
|
32261
32261
|
parseState = "start";
|
|
32262
32262
|
stack = [];
|
|
@@ -33111,12 +33111,12 @@ var require_stringify = __commonJS({
|
|
|
33111
33111
|
replacerFunc = replacer;
|
|
33112
33112
|
} else if (Array.isArray(replacer)) {
|
|
33113
33113
|
propertyList = [];
|
|
33114
|
-
for (const
|
|
33114
|
+
for (const v6 of replacer) {
|
|
33115
33115
|
let item;
|
|
33116
|
-
if (typeof
|
|
33117
|
-
item =
|
|
33118
|
-
} else if (typeof
|
|
33119
|
-
item = String(
|
|
33116
|
+
if (typeof v6 === "string") {
|
|
33117
|
+
item = v6;
|
|
33118
|
+
} else if (typeof v6 === "number" || v6 instanceof String || v6 instanceof Number) {
|
|
33119
|
+
item = String(v6);
|
|
33120
33120
|
}
|
|
33121
33121
|
if (item !== void 0 && propertyList.indexOf(item) < 0) {
|
|
33122
33122
|
propertyList.push(item);
|
|
@@ -33314,10 +33314,10 @@ var require_stringify = __commonJS({
|
|
|
33314
33314
|
var require_lib = __commonJS({
|
|
33315
33315
|
"../../node_modules/json5/lib/index.js"(exports2, module2) {
|
|
33316
33316
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
33317
|
-
var
|
|
33317
|
+
var parse13 = require_parse();
|
|
33318
33318
|
var stringify4 = require_stringify();
|
|
33319
33319
|
var JSON53 = {
|
|
33320
|
-
parse:
|
|
33320
|
+
parse: parse13,
|
|
33321
33321
|
stringify: stringify4
|
|
33322
33322
|
};
|
|
33323
33323
|
module2.exports = JSON53;
|
|
@@ -35605,8 +35605,8 @@ function nativeAppIdentityFromIos(files2, parseInfoPlist, iosTarget, resourceUri
|
|
|
35605
35605
|
if (typeof configId === "string") {
|
|
35606
35606
|
const configObj = objects[configId];
|
|
35607
35607
|
if (isRecord(configObj) && configObj.name === "Release" && isRecord(configObj.buildSettings)) {
|
|
35608
|
-
for (const [k,
|
|
35609
|
-
if (typeof
|
|
35608
|
+
for (const [k, v6] of Object.entries(configObj.buildSettings)) {
|
|
35609
|
+
if (typeof v6 === "string") settings[k] = v6;
|
|
35610
35610
|
}
|
|
35611
35611
|
}
|
|
35612
35612
|
}
|
|
@@ -35621,8 +35621,8 @@ function nativeAppIdentityFromIos(files2, parseInfoPlist, iosTarget, resourceUri
|
|
|
35621
35621
|
if (typeof configId === "string") {
|
|
35622
35622
|
const configObj = objects[configId];
|
|
35623
35623
|
if (isRecord(configObj) && configObj.name === "Release" && isRecord(configObj.buildSettings)) {
|
|
35624
|
-
for (const [k,
|
|
35625
|
-
if (typeof
|
|
35624
|
+
for (const [k, v6] of Object.entries(configObj.buildSettings)) {
|
|
35625
|
+
if (typeof v6 === "string") settings[k] = v6;
|
|
35626
35626
|
}
|
|
35627
35627
|
}
|
|
35628
35628
|
}
|
|
@@ -41738,7 +41738,7 @@ function swiftToolchainBin(release) {
|
|
|
41738
41738
|
return import_node_path26.default.join(peachHome(), "swift", "toolchains", release, "usr/bin");
|
|
41739
41739
|
return (process.env.PATH ?? "").split(import_node_path26.default.delimiter).find((dir) => dir && import_node_fs31.default.existsSync(import_node_path26.default.join(dir, "swift"))) ?? image;
|
|
41740
41740
|
}
|
|
41741
|
-
function writeSwiftAutolinkLinker(directory2, toolchainBin) {
|
|
41741
|
+
function writeSwiftAutolinkLinker(directory2, toolchainBin, omitLibraries = []) {
|
|
41742
41742
|
const linker = import_node_path26.default.join(directory2, SWIFT_AUTOLINK_LINKER);
|
|
41743
41743
|
const script = `#!/bin/sh
|
|
41744
41744
|
set -eu
|
|
@@ -41746,7 +41746,7 @@ for arg in "$@"; do
|
|
|
41746
41746
|
case $arg in
|
|
41747
41747
|
@*)
|
|
41748
41748
|
rsp=\${arg#@}
|
|
41749
|
-
awk 'BEGIN { RS = " "; ORS = " " } /^"-l/ { if (seen[$0]++) next } { print }' "$rsp" > "$rsp.dedup"
|
|
41749
|
+
awk 'BEGIN { RS = " "; ORS = " " } /^"-l/ { if (seen[$0]++) next }${omitLibraries.map((name3) => ` $0 == "\\"-l${name3}\\"" { next }`).join("")} { print }' "$rsp" > "$rsp.dedup"
|
|
41750
41750
|
mv "$rsp.dedup" "$rsp"
|
|
41751
41751
|
if [ "\${PEACH_DEFER_WASM_LINK:-}" = "1" ] && grep -q '"--start-lib"' "$rsp"; then
|
|
41752
41752
|
cp "$rsp" ${JSON.stringify(import_node_path26.default.join(directory2, ".peach-link.rsp"))}
|
|
@@ -48813,7 +48813,7 @@ function emitGuestImageProjection(images) {
|
|
|
48813
48813
|
lines.push("const struct peach_guest_image __peach_guest_images[] = {");
|
|
48814
48814
|
for (const [i, image] of images.entries()) {
|
|
48815
48815
|
const uuid = image.uuid.match(/../g).map((byte) => `0x${byte}`).join(", ");
|
|
48816
|
-
const version2 = (
|
|
48816
|
+
const version2 = (v6) => (v6.major * 65536 + v6.minor * 256 + v6.patch).toString();
|
|
48817
48817
|
lines.push(
|
|
48818
48818
|
` {${cString(image.installName)}, ${image.fileType === "executable" ? 2 : 6}u, {${uuid}}, ${image.buildVersion.platform}u, ${version2(image.buildVersion.minimum)}u, ${version2(image.buildVersion.sdk)}u, ${image.regions.length}u, ${image.regions.length ? `regions_${i}` : "0"}},`
|
|
48819
48819
|
);
|
|
@@ -50559,8 +50559,8 @@ function verifyGuestSymbolScopes(options) {
|
|
|
50559
50559
|
providers: /* @__PURE__ */ new Map(),
|
|
50560
50560
|
physicalModule: false
|
|
50561
50561
|
};
|
|
50562
|
-
if (object6 === "<internal>"
|
|
50563
|
-
record3.physicalModule = true;
|
|
50562
|
+
if (object6 === "<internal>") {
|
|
50563
|
+
if (kind === "definition of") record3.physicalModule = true;
|
|
50564
50564
|
} else {
|
|
50565
50565
|
const image = options.owners.get(object6);
|
|
50566
50566
|
if (image === void 0)
|
|
@@ -51535,9 +51535,14 @@ async function compileGuestLink(options) {
|
|
|
51535
51535
|
systemProviders,
|
|
51536
51536
|
hostImports: scope2.hostImports
|
|
51537
51537
|
});
|
|
51538
|
+
const wrapped = new Set(
|
|
51539
|
+
prepared.args.flatMap(
|
|
51540
|
+
(arg) => arg.startsWith("--wrap=") ? [arg.slice(7), `__wrap_${arg.slice(7)}`] : []
|
|
51541
|
+
)
|
|
51542
|
+
);
|
|
51538
51543
|
return {
|
|
51539
51544
|
...plan,
|
|
51540
|
-
symbols: scope2.definitions,
|
|
51545
|
+
symbols: scope2.definitions.filter((symbol2) => !wrapped.has(symbol2)),
|
|
51541
51546
|
directBindings: verified2.directBindings
|
|
51542
51547
|
};
|
|
51543
51548
|
}
|
|
@@ -56569,7 +56574,17 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
56569
56574
|
report("framework revision changed; rebuilding the app link");
|
|
56570
56575
|
const nativeToolset = needsNativeToolset(input, prebuilt);
|
|
56571
56576
|
const preparation = writeSwiftProject(layout2, input, frameworkRoot, prebuilt);
|
|
56572
|
-
|
|
56577
|
+
const productFile = import_node_path46.default.join(frameworkRoot, SWIFT_FRAMEWORK_PRODUCT_FILE);
|
|
56578
|
+
writeSwiftAutolinkLinker(
|
|
56579
|
+
root,
|
|
56580
|
+
options.toolchainBin,
|
|
56581
|
+
(0, import_node_fs49.existsSync)(productFile) ? [
|
|
56582
|
+
v5.parse(
|
|
56583
|
+
swiftFrameworkProductSchema,
|
|
56584
|
+
JSON.parse((0, import_node_fs49.readFileSync)(productFile, "utf8"))
|
|
56585
|
+
).product.name
|
|
56586
|
+
] : []
|
|
56587
|
+
);
|
|
56573
56588
|
const projectProcess = options.project ? prepareSwiftProjectProcess(root, options.project) : void 0;
|
|
56574
56589
|
const appOptions = projectProcess ? {
|
|
56575
56590
|
...buildOptions,
|
|
@@ -56795,7 +56810,7 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
56795
56810
|
options.signal
|
|
56796
56811
|
);
|
|
56797
56812
|
}
|
|
56798
|
-
var import_node_child_process30, import_node_crypto23, import_node_fs49, import_node_os12, import_node_path46, WASM_TRIPLE, SWIFTPM_PROGRESS, SWIFTPM_NOISE, admittedCores, SWIFT_BUILD_JOBS, BUILD_JOBS, SWIFT_BUILDER_TRANSPORT_MARGIN_MS, SWIFT_BUILDER_DEFAULT_COMPILE_MS, clangInterfaceHeader, swiftInterfaceDeclarations, linkedModuleDigests, SYSTEM_MODULE_LIBRARIES, SYSTEM_MODULE_IMPORT, OPTIONAL_FRAMEWORK_DEPENDENCIES, OPTIONAL_FRAMEWORKS, SWIFT_IMPORT, kleeneNot, kleeneAnd, kleeneOr, sdkPaths, availableModules, sdkOverlayFrameworks, ONE_PRODUCT, SPRITEKIT_PRODUCT, importsSpriteKit, FOUNDATION_IMPLICIT_MODULES, FOUNDATION_IMPLICIT_FLAGS, ONE_IMPLICIT_FLAGS, executableLinkFlags, darwinRecordsRegion, REACTOR_FLAG, MULTI_MANIFEST_VERSION, SWIFT_HEADER_PRODUCTS_TARGET, compilerSourceDigest, nativeCxxCompilerFlags, cFlagArray, cxxFlagArray, DIRECTIVE, OS_IOS, DELEGATE_CLASS, REUSABLE_INIT, REUSABLE_VIEW_BASES, CLASS_BASE, FRAME_INIT, FOUNDATION_NETWORKING_TYPES, FOUNDATION_OVERLAY_TYPES, FOUNDATION_OVERLAY_GLOBALS, CORE_FOUNDATION_OVERLAY_GLOBALS, CORE_FOUNDATION_GEOMETRY_TYPES, CORE_FOUNDATION_GRAPHICS_TYPES, CORE_FOUNDATION_HANDLE_IMPORTS, emptyMacroEnvironment, cPredefineTable, cPredefineCache, HIDDEN_UNITS, LIBXML_REFERENCE, LIBXML_SOURCE, ROOT_LOCKS, host, rootLocks, SHARED_ARTIFACT_BUDGET_BYTES, SHARED_ARTIFACT_GRACE_MS, RETIRED_PREFIX, retainedArtifacts, FRAMEWORK_LINK_TARGET, SWIFT_LINK_STAMP, SWIFT_FRAMEWORK_SLOTS, SWIFT_FRAMEWORK_SLOT_KEY;
|
|
56813
|
+
var import_node_child_process30, import_node_crypto23, import_node_fs49, import_node_os12, import_node_path46, v5, WASM_TRIPLE, SWIFTPM_PROGRESS, SWIFTPM_NOISE, admittedCores, SWIFT_BUILD_JOBS, BUILD_JOBS, SWIFT_BUILDER_TRANSPORT_MARGIN_MS, SWIFT_BUILDER_DEFAULT_COMPILE_MS, clangInterfaceHeader, swiftInterfaceDeclarations, linkedModuleDigests, SYSTEM_MODULE_LIBRARIES, SYSTEM_MODULE_IMPORT, OPTIONAL_FRAMEWORK_DEPENDENCIES, OPTIONAL_FRAMEWORKS, SWIFT_IMPORT, kleeneNot, kleeneAnd, kleeneOr, sdkPaths, availableModules, sdkOverlayFrameworks, ONE_PRODUCT, SPRITEKIT_PRODUCT, importsSpriteKit, FOUNDATION_IMPLICIT_MODULES, FOUNDATION_IMPLICIT_FLAGS, ONE_IMPLICIT_FLAGS, executableLinkFlags, darwinRecordsRegion, REACTOR_FLAG, MULTI_MANIFEST_VERSION, SWIFT_HEADER_PRODUCTS_TARGET, compilerSourceDigest, nativeCxxCompilerFlags, cFlagArray, cxxFlagArray, DIRECTIVE, OS_IOS, DELEGATE_CLASS, REUSABLE_INIT, REUSABLE_VIEW_BASES, CLASS_BASE, FRAME_INIT, FOUNDATION_NETWORKING_TYPES, FOUNDATION_OVERLAY_TYPES, FOUNDATION_OVERLAY_GLOBALS, CORE_FOUNDATION_OVERLAY_GLOBALS, CORE_FOUNDATION_GEOMETRY_TYPES, CORE_FOUNDATION_GRAPHICS_TYPES, CORE_FOUNDATION_HANDLE_IMPORTS, emptyMacroEnvironment, cPredefineTable, cPredefineCache, HIDDEN_UNITS, LIBXML_REFERENCE, LIBXML_SOURCE, ROOT_LOCKS, host, rootLocks, SHARED_ARTIFACT_BUDGET_BYTES, SHARED_ARTIFACT_GRACE_MS, RETIRED_PREFIX, retainedArtifacts, FRAMEWORK_LINK_TARGET, SWIFT_LINK_STAMP, SWIFT_FRAMEWORK_SLOTS, SWIFT_FRAMEWORK_SLOT_KEY;
|
|
56799
56814
|
var init_swift_compile = __esm({
|
|
56800
56815
|
"src/swift-compile.ts"() {
|
|
56801
56816
|
"use strict";
|
|
@@ -56805,6 +56820,7 @@ var init_swift_compile = __esm({
|
|
|
56805
56820
|
import_node_fs49 = require("node:fs");
|
|
56806
56821
|
import_node_os12 = __toESM(require("node:os"), 1);
|
|
56807
56822
|
import_node_path46 = __toESM(require("node:path"), 1);
|
|
56823
|
+
v5 = __toESM(require("valibot"), 1);
|
|
56808
56824
|
init_admitted_mac_build();
|
|
56809
56825
|
init_swift_c_predefines();
|
|
56810
56826
|
init_process_group();
|
|
@@ -56829,6 +56845,7 @@ var init_swift_compile = __esm({
|
|
|
56829
56845
|
init_swift_uniform_type_constants();
|
|
56830
56846
|
init_swift_wasm_prune();
|
|
56831
56847
|
init_swiftContract();
|
|
56848
|
+
init_swiftRuntimeProductContract();
|
|
56832
56849
|
init_wasm_optimize();
|
|
56833
56850
|
init_write_build_file();
|
|
56834
56851
|
init_xcode_header_search();
|
|
@@ -56966,7 +56983,7 @@ var init_swift_compile = __esm({
|
|
|
56966
56983
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
56967
56984
|
MULTI_MANIFEST_VERSION = 66;
|
|
56968
56985
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
56969
|
-
compilerSourceDigest = true ? "
|
|
56986
|
+
compilerSourceDigest = true ? "8768dadacf2e909cf808df3a31fe261832d51fb29d48f2b45bd4df5c117c6f69" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
56970
56987
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
56971
56988
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
56972
56989
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -63241,7 +63258,7 @@ var init_swift_standin_digest = __esm({
|
|
|
63241
63258
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
63242
63259
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
63243
63260
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
63244
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
63261
|
+
STANDIN_SOURCE_DIGEST = true ? "ae26db314b6d3703c6fc172d019e3cb0fe28a018e5f614bb804fae720ab78ff8" : standinSourceDigest();
|
|
63245
63262
|
}
|
|
63246
63263
|
});
|
|
63247
63264
|
|
|
@@ -63356,14 +63373,14 @@ function readNativeAppIdentityFromXcodeTarget(app, parseInfoPlist = parsePlistSo
|
|
|
63356
63373
|
const querySchemes = dictionary2.LSApplicationQueriesSchemes;
|
|
63357
63374
|
const urlQuerySchemes = Array.isArray(querySchemes) ? querySchemes : [];
|
|
63358
63375
|
const intentIds = dictionary2.OneAppIntentIdentifiers;
|
|
63359
|
-
const appIntentIdentifiers = Array.isArray(intentIds) && intentIds.every((
|
|
63376
|
+
const appIntentIdentifiers = Array.isArray(intentIds) && intentIds.every((v6) => typeof v6 === "string") ? intentIds : [];
|
|
63360
63377
|
const backgroundIds = dictionary2.BGTaskSchedulerPermittedIdentifiers;
|
|
63361
|
-
const backgroundTaskIdentifiers = Array.isArray(backgroundIds) && backgroundIds.every((
|
|
63378
|
+
const backgroundTaskIdentifiers = Array.isArray(backgroundIds) && backgroundIds.every((v6) => typeof v6 === "string") ? backgroundIds : [];
|
|
63362
63379
|
const declaredModes = dictionary2.UIBackgroundModes;
|
|
63363
|
-
const backgroundModes = Array.isArray(declaredModes) && declaredModes.every((
|
|
63364
|
-
const supportedInterfaceOrientations = Array.isArray(dictionary2.UISupportedInterfaceOrientations) && dictionary2.UISupportedInterfaceOrientations.every((
|
|
63380
|
+
const backgroundModes = Array.isArray(declaredModes) && declaredModes.every((v6) => typeof v6 === "string") ? declaredModes : [];
|
|
63381
|
+
const supportedInterfaceOrientations = Array.isArray(dictionary2.UISupportedInterfaceOrientations) && dictionary2.UISupportedInterfaceOrientations.every((v6) => typeof v6 === "string") ? dictionary2.UISupportedInterfaceOrientations : [];
|
|
63365
63382
|
const ipadSupportedInterfaceOrientations = Array.isArray(dictionary2["UISupportedInterfaceOrientations~ipad"]) && dictionary2["UISupportedInterfaceOrientations~ipad"].every(
|
|
63366
|
-
(
|
|
63383
|
+
(v6) => typeof v6 === "string"
|
|
63367
63384
|
) ? dictionary2["UISupportedInterfaceOrientations~ipad"] : [];
|
|
63368
63385
|
const defaultScreenOrientationMask = nonEmptyString2(
|
|
63369
63386
|
dictionary2.EXDefaultScreenOrientationMask
|
|
@@ -63971,7 +63988,7 @@ var init_expo_native_prebuilt = __esm({
|
|
|
63971
63988
|
init_swift_native_pin();
|
|
63972
63989
|
init_xcode_project();
|
|
63973
63990
|
EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
63974
|
-
EXPO_NATIVE_COMPILER_DIGEST = true ? "
|
|
63991
|
+
EXPO_NATIVE_COMPILER_DIGEST = true ? "29a14998cfeca34c65cb911c55de6c6ef5be82e64eaba75effc6a290999cc322" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
63975
63992
|
IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
63976
63993
|
expoNativeEntryUrl = (key2, file) => `${NATIVE_PREBUILT_ORIGIN}/${nativeEntryPrefix("expo", EXPO_NATIVE_ENTRY_NAME, key2)}/${file}`;
|
|
63977
63994
|
isStringRecord = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
|
|
@@ -74399,7 +74416,7 @@ function tokenize2(src, file) {
|
|
|
74399
74416
|
const fail = (message) => {
|
|
74400
74417
|
throw new UnsupportedPodspec(`${file}:${line}: ${message}`);
|
|
74401
74418
|
};
|
|
74402
|
-
const push = (t,
|
|
74419
|
+
const push = (t, v6) => toks.push({ t, v: v6, line });
|
|
74403
74420
|
while (i < src.length) {
|
|
74404
74421
|
const c = src[i];
|
|
74405
74422
|
if (c === "\n") {
|
|
@@ -74525,7 +74542,7 @@ function tokenize2(src, file) {
|
|
|
74525
74542
|
}
|
|
74526
74543
|
return toks;
|
|
74527
74544
|
}
|
|
74528
|
-
function
|
|
74545
|
+
function parse7(src, file) {
|
|
74529
74546
|
const parser = new Parser2(tokenize2(src, file), file);
|
|
74530
74547
|
const body = parser.body();
|
|
74531
74548
|
if (parser.i < parser.toks.length) parser.fail(`unexpected ${parser.toks[parser.i].v}`);
|
|
@@ -74575,7 +74592,7 @@ function loadPodspec(file, appRoot = null) {
|
|
|
74575
74592
|
])
|
|
74576
74593
|
);
|
|
74577
74594
|
global.vars.set("__dir__", import_node_path78.default.dirname(import_node_path78.default.resolve(file)));
|
|
74578
|
-
evaluator.run(global,
|
|
74595
|
+
evaluator.run(global, parse7(import_node_fs81.default.readFileSync(file, "utf8"), file));
|
|
74579
74596
|
if (evaluator.roots.length !== 1)
|
|
74580
74597
|
throw new UnsupportedPodspec(
|
|
74581
74598
|
`${file}: expected one Pod::Spec, found ${evaluator.roots.length}`
|
|
@@ -74792,9 +74809,9 @@ var init_podspec_sources = __esm({
|
|
|
74792
74809
|
`${this.file}:${this.toks[this.i]?.line ?? "end"}: ${message}`
|
|
74793
74810
|
);
|
|
74794
74811
|
}
|
|
74795
|
-
at(
|
|
74812
|
+
at(v6) {
|
|
74796
74813
|
const tok = this.toks[this.i];
|
|
74797
|
-
return tok?.t === "id" && tok.v ===
|
|
74814
|
+
return tok?.t === "id" && tok.v === v6;
|
|
74798
74815
|
}
|
|
74799
74816
|
body() {
|
|
74800
74817
|
const out = [];
|
|
@@ -74989,12 +75006,12 @@ var init_podspec_sources = __esm({
|
|
|
74989
75006
|
while (this.depth > 0 && this.toks[this.i]?.t === "nl") this.i++;
|
|
74990
75007
|
return this.toks[this.i];
|
|
74991
75008
|
}
|
|
74992
|
-
isOp(
|
|
75009
|
+
isOp(v6) {
|
|
74993
75010
|
const tok = this.peek();
|
|
74994
|
-
return tok?.t === "op" && tok.v ===
|
|
75011
|
+
return tok?.t === "op" && tok.v === v6;
|
|
74995
75012
|
}
|
|
74996
|
-
eatOp(
|
|
74997
|
-
if (!this.isOp(
|
|
75013
|
+
eatOp(v6) {
|
|
75014
|
+
if (!this.isOp(v6)) return false;
|
|
74998
75015
|
this.i++;
|
|
74999
75016
|
return true;
|
|
75000
75017
|
}
|
|
@@ -75006,8 +75023,8 @@ var init_podspec_sources = __esm({
|
|
|
75006
75023
|
`${this.file}:${this.toks[this.i]?.line ?? "end"}: ${why}`
|
|
75007
75024
|
);
|
|
75008
75025
|
}
|
|
75009
|
-
expect(
|
|
75010
|
-
if (!this.eatOp(
|
|
75026
|
+
expect(v6) {
|
|
75027
|
+
if (!this.eatOp(v6)) this.fail(`expected ${v6}`);
|
|
75011
75028
|
}
|
|
75012
75029
|
done() {
|
|
75013
75030
|
this.skipNl();
|
|
@@ -75409,8 +75426,8 @@ var init_podspec_sources = __esm({
|
|
|
75409
75426
|
const l = this.ev(scope2, node.l);
|
|
75410
75427
|
const r = this.ev(scope2, node.r);
|
|
75411
75428
|
if (node.op === "==" || node.op === "!=") {
|
|
75412
|
-
if (Array.isArray(l) && Array.isArray(r) && [...l, ...r].every((
|
|
75413
|
-
return (l.length === r.length && l.every((
|
|
75429
|
+
if (Array.isArray(l) && Array.isArray(r) && [...l, ...r].every((v6) => typeof v6 === "string"))
|
|
75430
|
+
return (l.length === r.length && l.every((v6, index) => v6 === r[index])) === (node.op === "==");
|
|
75414
75431
|
if (typeof l === "object" && l !== null) this.fail("object comparison");
|
|
75415
75432
|
return l === r === (node.op === "==");
|
|
75416
75433
|
}
|
|
@@ -75512,7 +75529,7 @@ var init_podspec_sources = __esm({
|
|
|
75512
75529
|
return value;
|
|
75513
75530
|
if (Array.isArray(value)) return value.map(json);
|
|
75514
75531
|
if (typeof value !== "object") return new Opaque("a JSON number");
|
|
75515
|
-
return new Map(Object.entries(value).map(([k,
|
|
75532
|
+
return new Map(Object.entries(value).map(([k, v6]) => [k, json(v6)]));
|
|
75516
75533
|
};
|
|
75517
75534
|
let parsed;
|
|
75518
75535
|
try {
|
|
@@ -75592,7 +75609,7 @@ var init_podspec_sources = __esm({
|
|
|
75592
75609
|
if (name3 === "select" && block2)
|
|
75593
75610
|
return new Map(
|
|
75594
75611
|
[...recv.entries()].filter(
|
|
75595
|
-
([k,
|
|
75612
|
+
([k, v6]) => truthy(this.yieldBlock(scope2, block2, [k, v6]))
|
|
75596
75613
|
)
|
|
75597
75614
|
);
|
|
75598
75615
|
return void 0;
|
|
@@ -75750,7 +75767,7 @@ var init_podspec_sources = __esm({
|
|
|
75750
75767
|
const outer = this.current;
|
|
75751
75768
|
this.current = file;
|
|
75752
75769
|
try {
|
|
75753
|
-
this.exec(new Scope(this.constants),
|
|
75770
|
+
this.exec(new Scope(this.constants), parse7(import_node_fs81.default.readFileSync(file, "utf8"), file));
|
|
75754
75771
|
} finally {
|
|
75755
75772
|
this.current = outer;
|
|
75756
75773
|
}
|
|
@@ -76173,6 +76190,9 @@ var init_turbo_codegen_intake = __esm({
|
|
|
76173
76190
|
];
|
|
76174
76191
|
LEGACY_BRIDGE_PODS = /* @__PURE__ */ new Set([
|
|
76175
76192
|
"React-Core",
|
|
76193
|
+
"React-hermes",
|
|
76194
|
+
"React-jsi",
|
|
76195
|
+
"React-logger",
|
|
76176
76196
|
"React-cxxreact",
|
|
76177
76197
|
"React-jsinspector",
|
|
76178
76198
|
"React-jsinspectortracing",
|
|
@@ -77037,6 +77057,13 @@ async function collectTurboSources(options) {
|
|
|
77037
77057
|
);
|
|
77038
77058
|
return;
|
|
77039
77059
|
}
|
|
77060
|
+
if (hermesHeaders && include.startsWith("hermes/") && import_node_fs83.default.existsSync(import_node_path80.default.join(hermesHeaders, include))) {
|
|
77061
|
+
alias(
|
|
77062
|
+
`${core}/include/${include}`,
|
|
77063
|
+
original(TURBO_CORE_TARGET, "hermes-engine", hermesHeaders, include, false)
|
|
77064
|
+
);
|
|
77065
|
+
return;
|
|
77066
|
+
}
|
|
77040
77067
|
const nativeReactMaps = pod?.reactHeaderMaps ?? [];
|
|
77041
77068
|
const mappedReact = (quoted ? [
|
|
77042
77069
|
...nativeReactMaps.filter(({ flag }) => flag === "-iquote"),
|
|
@@ -77181,6 +77208,7 @@ async function collectTurboSources(options) {
|
|
|
77181
77208
|
let objc = false;
|
|
77182
77209
|
let fabric = false;
|
|
77183
77210
|
let legacyBridge = false;
|
|
77211
|
+
let hermesHeaders = null;
|
|
77184
77212
|
const objcClasses = /* @__PURE__ */ new Set();
|
|
77185
77213
|
const unregisteredObjcClasses = /* @__PURE__ */ new Set();
|
|
77186
77214
|
const deferredDepUnits = [];
|
|
@@ -77658,7 +77686,47 @@ ${declared.map((symbol2) => `extern "C" void ${symbol2}();
|
|
|
77658
77686
|
}
|
|
77659
77687
|
}
|
|
77660
77688
|
if (fabric || legacyBridge) {
|
|
77661
|
-
if (!fabric)
|
|
77689
|
+
if (!fabric) {
|
|
77690
|
+
result.targets[0].cxxDefines = [...defines, "USE_HERMES=1"];
|
|
77691
|
+
hermesHeaders = import_node_path80.default.join(
|
|
77692
|
+
options.projectRoot,
|
|
77693
|
+
"ios/Pods/hermes-engine/destroot/include"
|
|
77694
|
+
);
|
|
77695
|
+
if (!import_node_fs83.default.existsSync(import_node_path80.default.join(hermesHeaders, "hermes/hermes.h")))
|
|
77696
|
+
throw new Error(
|
|
77697
|
+
`the legacy bridge needs the installed hermes-engine headers in ${hermesHeaders}`
|
|
77698
|
+
);
|
|
77699
|
+
const runtimeUnit = `${core}/PeachHermesRuntime.cpp`;
|
|
77700
|
+
add2(
|
|
77701
|
+
runtimeUnit,
|
|
77702
|
+
[
|
|
77703
|
+
"#include <hermes/hermes.h>",
|
|
77704
|
+
"#include <stdexcept>",
|
|
77705
|
+
"",
|
|
77706
|
+
"namespace hermes::vm {",
|
|
77707
|
+
"CrashManager::~CrashManager() = default;",
|
|
77708
|
+
"NopCrashManager::~NopCrashManager() = default;",
|
|
77709
|
+
"} // namespace hermes::vm",
|
|
77710
|
+
"",
|
|
77711
|
+
"namespace facebook::hermes {",
|
|
77712
|
+
"std::unique_ptr<HermesRuntime> makeHermesRuntime(const ::hermes::vm::RuntimeConfig &) {",
|
|
77713
|
+
' throw std::logic_error("no native Hermes runtime in Peach: this app started the legacy bridge");',
|
|
77714
|
+
"}",
|
|
77715
|
+
"} // namespace facebook::hermes",
|
|
77716
|
+
""
|
|
77717
|
+
].join("\n")
|
|
77718
|
+
);
|
|
77719
|
+
scanText(
|
|
77720
|
+
{
|
|
77721
|
+
key: runtimeUnit,
|
|
77722
|
+
targetName: TURBO_CORE_TARGET,
|
|
77723
|
+
label: "peach",
|
|
77724
|
+
root: reactNative.root,
|
|
77725
|
+
relative: "PeachHermesRuntime.cpp"
|
|
77726
|
+
},
|
|
77727
|
+
result.files[runtimeUnit]
|
|
77728
|
+
);
|
|
77729
|
+
}
|
|
77662
77730
|
addPodSources(
|
|
77663
77731
|
installedFabricSources(reactNative.root, { legacyBridge, bridgeOnly: !fabric })
|
|
77664
77732
|
);
|
|
@@ -78314,6 +78382,7 @@ var init_turbo_source = __esm({
|
|
|
78314
78382
|
{ from: "Libraries/TypeSafety", to: "RCTTypeSafety" },
|
|
78315
78383
|
{ from: "Libraries/FBLazyVector/FBLazyVector", to: "FBLazyVector" },
|
|
78316
78384
|
{ from: "ReactApple/RCTSwiftUIWrapper", to: "RCTSwiftUIWrapper" },
|
|
78385
|
+
{ from: "ReactCommon/hermes/executor", to: "reacthermes" },
|
|
78317
78386
|
{
|
|
78318
78387
|
from: "ReactApple/Libraries/RCTFoundation/RCTDeprecation/Exported",
|
|
78319
78388
|
to: "RCTDeprecation"
|
|
@@ -81964,7 +82033,7 @@ var init_nitro_superset = __esm({
|
|
|
81964
82033
|
init_swift_standin_digest();
|
|
81965
82034
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
81966
82035
|
packageVersion = (root) => JSON.parse((0, import_node_fs92.readFileSync)((0, import_node_path89.join)(root, "package.json"), "utf8")).version;
|
|
81967
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
82036
|
+
NITRO_COMPILER_DIGEST = true ? "dfa17c6e2cbecb906db123df784c6bf7a048b88c14fb188da27719440bbe221c" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
81968
82037
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
81969
82038
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
81970
82039
|
published2 = /* @__PURE__ */ new Map();
|
|
@@ -82456,7 +82525,8 @@ async function compileTurboModule(options) {
|
|
|
82456
82525
|
reactNativeRoot: options.reactNativeRoot,
|
|
82457
82526
|
providers: options.providers,
|
|
82458
82527
|
codegenDir: import_node_path93.default.join(scratch2, "codegen"),
|
|
82459
|
-
installedPods: options.installedPods
|
|
82528
|
+
installedPods: options.installedPods,
|
|
82529
|
+
projectRoot: options.projectRoot
|
|
82460
82530
|
});
|
|
82461
82531
|
const swiftTargets = collection.targets.filter(
|
|
82462
82532
|
(target) => Object.keys(collection.files).some(
|
|
@@ -84865,8 +84935,8 @@ var init_dev_server_scanner = __esm({
|
|
|
84865
84935
|
// src/agent-events.ts
|
|
84866
84936
|
function isAgentEvent(value) {
|
|
84867
84937
|
if (!value || typeof value !== "object") return false;
|
|
84868
|
-
const
|
|
84869
|
-
return typeof
|
|
84938
|
+
const v6 = value;
|
|
84939
|
+
return typeof v6.type === "string" && typeof v6.ts === "number";
|
|
84870
84940
|
}
|
|
84871
84941
|
function parseAgentEventLine(line) {
|
|
84872
84942
|
const trimmed = line.trim();
|
|
@@ -92213,7 +92283,7 @@ function readExpoTypes(output2) {
|
|
|
92213
92283
|
};
|
|
92214
92284
|
});
|
|
92215
92285
|
}
|
|
92216
|
-
async function scanSources(tool,
|
|
92286
|
+
async function scanSources(tool, parse13, toolchain, moduleRoot, files2) {
|
|
92217
92287
|
const digest3 = (0, import_node_crypto59.createHash)("sha256").update(JSON.stringify(toolchain.compiler));
|
|
92218
92288
|
const sdk = await loadKotlinSdk(moduleRoot, toolchain);
|
|
92219
92289
|
digest3.update(import_node_fs111.default.readFileSync(import_node_path112.default.join(moduleRoot, "sdk.tar.gz")));
|
|
@@ -92244,7 +92314,7 @@ async function scanSources(tool, parse12, toolchain, moduleRoot, files2) {
|
|
|
92244
92314
|
});
|
|
92245
92315
|
toolScans.set(key2, scan2);
|
|
92246
92316
|
}
|
|
92247
|
-
return
|
|
92317
|
+
return parse13(await scan2);
|
|
92248
92318
|
}
|
|
92249
92319
|
async function scanExpoTypes(toolchain, moduleRoot, sources) {
|
|
92250
92320
|
const candidates = sources.filter(
|
|
@@ -93781,7 +93851,7 @@ function iosDevice(spec) {
|
|
|
93781
93851
|
const profile = {
|
|
93782
93852
|
// normal-scale dynamic split providers share this intrinsic height and
|
|
93783
93853
|
// linked-sdk whole-point rounding. safe areas are independent.
|
|
93784
|
-
// source receipt: docs/ios
|
|
93854
|
+
// source receipt: docs/ios/framework-oracle/status-bar-hit-region-and-scene-routing.md
|
|
93785
93855
|
statusBarHeight: "statusBarHeight" in spec ? spec.statusBarHeight : Math.round(53.666666666666664),
|
|
93786
93856
|
scale: 3,
|
|
93787
93857
|
landscapeStatusBarHeight: 0,
|
|
@@ -94283,7 +94353,7 @@ var init_device_catalog = __esm({
|
|
|
94283
94353
|
safeAreaInsets: { top: 0, bottom: 34, left: 0, right: 84 },
|
|
94284
94354
|
iosVersion: "27.1",
|
|
94285
94355
|
// ios 27.1 24a94425: ordinary qwerty host (0,413,466,265)pt;
|
|
94286
|
-
// docs/ios
|
|
94356
|
+
// docs/ios/framework-oracle/keyboard-tray-accessibility-and-duo-recipes.md.
|
|
94287
94357
|
// the cover keyboard cells report number pad 269; emoji keeps 338.
|
|
94288
94358
|
keyboardPanelHeights: { qwerty: 265, pad: 269, emoji: 338 },
|
|
94289
94359
|
physicalPPI: 460,
|
|
@@ -94328,7 +94398,7 @@ var init_device_catalog = __esm({
|
|
|
94328
94398
|
// an iPadOS app window the user resizes, on the iPad Pro 13-inch (M5). the
|
|
94329
94399
|
// profile is the launch window; the host sizes it with withWindowSize.
|
|
94330
94400
|
// numbers are the iOS 27.0 Stage Manager window in
|
|
94331
|
-
// docs/ios
|
|
94401
|
+
// docs/ios/ipad-window-geometry.md.
|
|
94332
94402
|
dynamic: {
|
|
94333
94403
|
.../* @__PURE__ */ ipadProDevice("dynamic", "Dynamic Window", 375, 753, 13, 403),
|
|
94334
94404
|
// the window starts below the screen's status strip and no home indicator
|
|
@@ -100936,9 +101006,9 @@ function createBridge(wsPort, opts = {}) {
|
|
|
100936
101006
|
lineageBySimId.get(payload.simId)?.hostPid
|
|
100937
101007
|
);
|
|
100938
101008
|
pending.set(id, {
|
|
100939
|
-
resolve: (
|
|
101009
|
+
resolve: (v6) => {
|
|
100940
101010
|
clearTimeoutFn();
|
|
100941
|
-
resolve13(
|
|
101011
|
+
resolve13(v6);
|
|
100942
101012
|
},
|
|
100943
101013
|
reject: (e) => {
|
|
100944
101014
|
clearTimeoutFn();
|
|
@@ -104347,8 +104417,8 @@ function option(flag, description, hidden) {
|
|
|
104347
104417
|
function example(command, description, hidden) {
|
|
104348
104418
|
return hidden ? { command, description, hidden } : { command, description };
|
|
104349
104419
|
}
|
|
104350
|
-
function verb(
|
|
104351
|
-
return { verb:
|
|
104420
|
+
function verb(v6, description, usage, examples, notes, extras) {
|
|
104421
|
+
return { verb: v6, description, usage, examples, notes, ...extras };
|
|
104352
104422
|
}
|
|
104353
104423
|
function inspectVerbPathKey(group, verb2) {
|
|
104354
104424
|
return `${group ?? ""}:${verb2}`;
|
|
@@ -105469,7 +105539,7 @@ var init_meta = __esm({
|
|
|
105469
105539
|
],
|
|
105470
105540
|
options: [
|
|
105471
105541
|
option("--device <model>", "pick a specific device model"),
|
|
105472
|
-
// nano is experimental and never documented publicly (specs/
|
|
105542
|
+
// nano is experimental and never documented publicly (specs/peach/cloud/box-nano.md)
|
|
105473
105543
|
option("--nano", "use the experimental nano simulator service", true)
|
|
105474
105544
|
],
|
|
105475
105545
|
examples: [
|
|
@@ -110517,9 +110587,9 @@ async function runtimeList(_args) {
|
|
|
110517
110587
|
if (installed2.length === 0) {
|
|
110518
110588
|
console.log(` (none)`);
|
|
110519
110589
|
} else {
|
|
110520
|
-
for (const
|
|
110521
|
-
const marker =
|
|
110522
|
-
console.log(` ${marker} ${
|
|
110590
|
+
for (const v6 of installed2) {
|
|
110591
|
+
const marker = v6 === active ? "*" : " ";
|
|
110592
|
+
console.log(` ${marker} ${v6}`);
|
|
110523
110593
|
}
|
|
110524
110594
|
}
|
|
110525
110595
|
try {
|
|
@@ -110531,7 +110601,7 @@ async function runtimeList(_args) {
|
|
|
110531
110601
|
const hosted = Object.keys(manifest.versions).sort(compareSemver).reverse();
|
|
110532
110602
|
if (hosted.length > 1) {
|
|
110533
110603
|
console.log(`hosted versions:`);
|
|
110534
|
-
for (const
|
|
110604
|
+
for (const v6 of hosted) console.log(` ${v6}`);
|
|
110535
110605
|
}
|
|
110536
110606
|
} catch (err) {
|
|
110537
110607
|
console.log(`available: (could not fetch manifest: ${describeError(err)})`);
|
|
@@ -122701,7 +122771,7 @@ var init_maestro_js = __esm({
|
|
|
122701
122771
|
const previous = this.envScopeStack.pop();
|
|
122702
122772
|
if (previous) {
|
|
122703
122773
|
this.envBinding.clear();
|
|
122704
|
-
for (const [k,
|
|
122774
|
+
for (const [k, v6] of previous) this.envBinding.set(k, v6);
|
|
122705
122775
|
}
|
|
122706
122776
|
}
|
|
122707
122777
|
// evaluate a JS snippet in the shared context. mirrors upstream
|
|
@@ -122713,7 +122783,7 @@ var init_maestro_js = __esm({
|
|
|
122713
122783
|
if (env && Object.keys(env).length > 0) {
|
|
122714
122784
|
this.enterEnvScope();
|
|
122715
122785
|
try {
|
|
122716
|
-
for (const [k,
|
|
122786
|
+
for (const [k, v6] of Object.entries(env)) this.envBinding.set(k, v6);
|
|
122717
122787
|
return this.evalRaw(script);
|
|
122718
122788
|
} finally {
|
|
122719
122789
|
this.leaveEnvScope();
|
|
@@ -125690,7 +125760,7 @@ var init_bridge_flow_runner = __esm({
|
|
|
125690
125760
|
this.js.enterEnvScope();
|
|
125691
125761
|
try {
|
|
125692
125762
|
if (env) {
|
|
125693
|
-
for (const [k,
|
|
125763
|
+
for (const [k, v6] of Object.entries(env)) this.js.putEnv(k, v6);
|
|
125694
125764
|
}
|
|
125695
125765
|
if (file) {
|
|
125696
125766
|
const flowPath = path122.resolve(this.opts.flowDir, file);
|