peachsim 0.1.2935 → 0.1.2937
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/LICENSE +6 -8
- package/cli/account-gate.ts +20 -3
- package/cli/app-bundle-resources.ts +66 -19
- package/cli/catalog/meta.ts +2 -106
- package/cli/command-agent.ts +7 -0
- package/cli/command-registry.ts +0 -1
- package/cli/commands/control.ts +13 -5
- package/cli/commands/daemon.ts +4 -2
- package/cli/commands/device.ts +78 -8
- package/cli/commands/do-chain.ts +11 -8
- package/cli/commands/inspect/core.ts +4 -9
- package/cli/commands/inspect/settling.ts +1 -0
- package/cli/commands/logout.ts +6 -1
- package/cli/commands/map.ts +2 -6
- package/cli/commands/package.ts +112 -57
- package/cli/commands/shell-url.ts +0 -1
- package/cli/download-auth.ts +2 -0
- package/cli/drivers/playwright-provisioning.ts +10 -38
- package/cli/github-workflow-identity.ts +8 -0
- package/cli/internal-child-contract.ts +1 -0
- package/cli/internal-child.ts +5 -0
- package/cli/main.ts +2 -10
- package/cli/outbound-endpoints.ts +26 -0
- package/detox/index.ts +227 -131
- 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 +47 -3
- package/dist-lib/bridge-contract-input.mjs +6 -6
- package/dist-lib/bridge-contract.cjs +10 -1
- package/dist-lib/bridge-contract.mjs +3 -3
- package/dist-lib/bundle-channel.cjs +12779 -9515
- package/dist-lib/capture-contract.cjs +39 -17
- 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 +8 -8
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +6 -6
- package/dist-lib/detox/index.cjs +200 -132
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/esm-chunks/{acorn-Q5TRRYSO.mjs → acorn-IIBLEO25.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-UDWBTBVG.mjs → chunk-4FTPQKPT.mjs} +10 -1
- package/dist-lib/esm-chunks/chunk-4WIDTRBB.mjs +10232 -0
- package/dist-lib/esm-chunks/{chunk-LCMFYMT7.mjs → chunk-5QZOQ3NZ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-BJ2OGUX7.mjs → chunk-CIY67HNL.mjs} +39 -17
- package/dist-lib/esm-chunks/{chunk-SKQTNQYE.mjs → chunk-CQFEMJ64.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-AXWVXRHX.mjs → chunk-CWVMCW23.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-MTALOHQR.mjs → chunk-F6DZ4DS2.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-I4R7IZRD.mjs → chunk-HJMF6O7L.mjs} +74 -46
- package/dist-lib/esm-chunks/chunk-I6T4PXJF.mjs +154 -0
- package/dist-lib/esm-chunks/{chunk-XWAUZKIA.mjs → chunk-IJU3JMWM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-CXWUIOCH.mjs → chunk-KODEPXQC.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-WJE5QHSD.mjs → chunk-LD4K2VBL.mjs} +155 -36
- package/dist-lib/esm-chunks/{chunk-2TSM64HI.mjs → chunk-LTE7YMEG.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-3GGOXUJA.mjs → chunk-M3CSKAJE.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-7G5UETIG.mjs → chunk-NA6DJPB6.mjs} +43 -1
- package/dist-lib/esm-chunks/{chunk-MSUHMNAI.mjs → chunk-NNAX24FS.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-VDJA4LP4.mjs → chunk-PZPJJBAS.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-UEEEJVQA.mjs → chunk-QXSTHMWN.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-S2RJB5I7.mjs → chunk-RBPVK5YI.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-VRAXNGYT.mjs → chunk-SCT5OFDV.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-T3M73LGP.mjs → chunk-U3CJGYSP.mjs} +50 -6
- package/dist-lib/esm-chunks/{chunk-SLUGTGQQ.mjs → chunk-VXTOQ522.mjs} +12 -6
- package/dist-lib/esm-chunks/{chunk-EL44SZMV.mjs → chunk-WMSVGYTH.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-FEDEPSEV.mjs → chunk-WRWINRWK.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-BNO52N2S.mjs → chunk-YZF2USRD.mjs} +1905 -8760
- package/dist-lib/esm-chunks/{chunk-TQLKYMVP.mjs → chunk-ZNHR6C3L.mjs} +1 -1
- package/dist-lib/esm-chunks/{download-auth-registry-G75MIT55.mjs → download-auth-registry-AHS5MSIB.mjs} +4 -4
- package/dist-lib/esm-chunks/{metro-layout-parser-FXLUDTYT.mjs → metro-layout-parser-24ZYK5UP.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-524D4MA2.mjs → swift-package-prebuilt-L4YNXQRD.mjs} +15 -15
- package/dist-lib/esm-chunks/{swift-sdk-app-module-EX544YJY.mjs → swift-sdk-app-module-RM652JSW.mjs} +87 -71
- package/dist-lib/esm-chunks/{swift-sdk-image-LOTMWVM7.mjs → swift-sdk-image-5PQ44UJT.mjs} +15 -15
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-UO6B3M4U.mjs → swift-sdk-image-producer-GD3SM6YI.mjs} +5 -5
- package/dist-lib/esm-chunks/swift-sdk-later-data-62QYJ2KH.mjs +590 -0
- package/dist-lib/expo-swift-bundle.cjs +21037 -17896
- package/dist-lib/expo-swift-metadata.cjs +8 -2
- package/dist-lib/expo-swift-metadata.mjs +9 -8
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +22481 -18741
- package/dist-lib/host/fetch-proxy-handler.cjs +21079 -17980
- 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 +68 -38
- package/dist-lib/kotlin-host.cjs +97 -21
- 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 +23 -1
- package/dist-lib/metro-production-bundle.mjs +24 -4
- package/dist-lib/native-app-identity-project.cjs +3582 -571
- package/dist-lib/native-app-identity-project.mjs +1024 -398
- 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 +132 -116
- package/dist-lib/public-origins-lib.json +215 -173
- 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 +17 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +6 -7
- package/dist-lib/sdk.mjs +13 -14
- package/dist-lib/skills.cjs +23216 -19650
- package/dist-lib/swift-compile.cjs +4337 -2905
- package/dist-lib/swift-compile.mjs +15 -13
- 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 +19 -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/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 +94 -32
- package/dist-lib/vendor/zod.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +8 -5
- package/dist-lib/worklet-executable.mjs +9 -6
- package/dist-types/packages/peach-engine/src/canvaskit-artifact-urls.d.ts +2 -1
- package/dist-types/packages/peach-engine/src/capture/compositor-presentation-recording.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/generated/canvaskit-artifact-hashes.d.ts +26 -0
- package/dist-types/packages/peach-engine/src/engine/guest-scene-inspect.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/engine/inspect-info.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/metalTypes.d.ts +32 -2
- package/dist-types/packages/peach-engine/src/engine/portalContract.d.ts +24 -0
- package/dist-types/packages/peach-engine/src/engine/remote-display-protocol.d.ts +12 -2
- package/dist-types/packages/peach-engine/src/guest/http-cookie-storage.d.ts +73 -0
- package/dist-types/packages/peach-engine/src/guest/native-evaluation-lease.d.ts +5 -0
- package/dist-types/packages/peach-engine/src/guest/nitro-jsi-host.d.ts +3 -1
- package/dist-types/packages/peach-engine/src/ios/apps/canvas-map-data.d.ts +225 -9
- package/dist-types/packages/peach-engine/src/ios/chrome-metrics.d.ts +4 -1
- package/dist-types/packages/peach-engine/src/ios/duo-vertical-bar-geometry.d.ts +0 -1
- package/dist-types/packages/peach-engine/src/native-preview-bundle.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/remote-stream/canvas-display-compositor.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/remote-stream/canvas-display-contract.d.ts +44 -10
- package/dist-types/packages/peach-engine/src/remote-stream/cloud-display.d.ts +4 -3
- package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +2 -4
- package/dist-types/packages/peach-engine/src/render-worker/metro-bundle-metadata.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/render-worker/native-widgetContract.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/protocol.d.ts +15 -27
- package/dist-types/packages/peach-engine/src/render-worker/reanimated-readiness.d.ts +2 -6
- package/dist-types/packages/peach-engine/src/render-worker/shell-protocol.d.ts +11 -3
- package/dist-types/packages/peach-engine/src/settings/devices.d.ts +3 -1
- package/dist-types/packages/peach-engine/src/settings/duo-fold.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/webview-automation-host.d.ts +1 -1
- package/dist-types/packages/peach-globals/src/app-bundle-resources.d.ts +10 -0
- package/dist-types/packages/peach-globals/src/compositorBridgeContract.d.ts +1 -1
- package/dist-types/packages/peach-globals/src/hostStorageBridgeContract.d.ts +1 -0
- package/dist-types/packages/peach-globals/src/index.d.ts +2 -2
- package/dist-types/packages/peach-globals/src/lockstepCaptureBridgeContract.d.ts +9 -6
- package/dist-types/packages/peach-globals/src/nodeContract.d.ts +11 -0
- package/dist-types/packages/peach-globals/src/oneWidgetContract.d.ts +28 -0
- package/package.json +2 -2
- package/runtime-companion.json +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreHaptics.framework/Headers/CoreHaptics.h +251 -0
- package/sdk/ios/System/Library/Frameworks/Intents.framework/Headers/INImage.h +14 -0
- package/sdk/ios/System/Library/Frameworks/Intents.framework/Headers/INIntent.h +18 -0
- package/sdk/ios/System/Library/Frameworks/Intents.framework/Headers/INIntentIdentifiers.h +30 -0
- package/sdk/ios/System/Library/Frameworks/Intents.framework/Headers/INIntentResponse.h +12 -0
- package/sdk/ios/System/Library/Frameworks/Intents.framework/Headers/INInteraction.h +35 -0
- package/sdk/ios/System/Library/Frameworks/Intents.framework/Headers/INObjectCollection.h +0 -7
- package/sdk/ios/System/Library/Frameworks/Intents.framework/Headers/INObjectSection.h +0 -7
- package/sdk/ios/System/Library/Frameworks/Intents.framework/Headers/INOutgoingMessageType.h +7 -0
- package/sdk/ios/System/Library/Frameworks/Intents.framework/Headers/INPerson.h +36 -0
- package/sdk/ios/System/Library/Frameworks/Intents.framework/Headers/INPersonHandle.h +22 -0
- package/sdk/ios/System/Library/Frameworks/Intents.framework/Headers/INSendMessageIntent+UserNotifications.h +6 -0
- package/sdk/ios/System/Library/Frameworks/Intents.framework/Headers/INSendMessageIntent.h +33 -0
- package/sdk/ios/System/Library/Frameworks/Intents.framework/Headers/INSpeakableString.h +24 -0
- package/sdk/ios/System/Library/Frameworks/Intents.framework/Headers/Intents.h +11 -7
- package/sdk/ios/System/Library/Frameworks/MessageUI.framework/Headers/MFMailComposeViewController.h +1 -1
- package/sdk/ios/System/Library/Frameworks/MessageUI.framework/Headers/MFMessageComposeViewController.h +1 -1
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLRenderCommandEncoder.h +0 -8
- package/sdk/ios/System/Library/Frameworks/MetalTypes.framework/Headers/MetalTypes.h +8 -0
- package/sdk/ios/System/Library/Frameworks/Social.framework/Headers/SLServiceTypes.h +9 -0
- package/sdk/ios/System/Library/Frameworks/Social.framework/Headers/Social.h +1 -0
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotification.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAction.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationCategory.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationResponse.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSound.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationTrigger.h +5 -5
- package/sdk/ios/usr/lib/swift/UIKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface +4 -0
- package/sdk/ios/wasm/include/unistd.h +1 -0
- package/src/acorn-program.ts +3 -0
- package/src/audio-codec-archives.ts +141 -0
- package/src/bridge-contract-input.ts +61 -1
- package/src/bridge-contract.ts +45 -4
- package/src/bundle-channel.mjs +44 -30
- package/src/capture-contract.ts +57 -39
- package/src/conformance-comparison-contract.ts +2 -0
- package/src/expo-discovery-cache.ts +0 -2
- package/src/expo-macro-host.ts +8 -3
- package/src/expo-native-compiler-digest.ts +0 -1
- package/src/expo-native-prebuilt.ts +1 -1
- package/src/expo-native-workspace.ts +83 -45
- package/src/expo-pod-prebuilt.ts +1 -0
- package/src/expo-swift-host.ts +158 -77
- package/src/expo-swift-legacy-runtime-source.ts +12 -1
- package/src/expo-swift-view-source.ts +51 -20
- package/src/expo-workspace-exclusion.ts +7 -1
- package/src/expoSwiftContract.ts +10 -1
- package/src/ffmpeg-source-build.ts +123 -59
- package/src/genrule-archives.ts +7 -2
- package/src/genrule-library-builds.ts +101 -18
- package/src/host/bridge-host.ts +10 -1
- package/src/installed-native-libraries.ts +147 -23
- package/src/installed-package-versions.ts +30 -0
- package/src/ios-rn-bundle-request.ts +3 -1
- package/src/ios-rn-bundle.ts +38 -27
- package/src/ios-rn-compile.ts +23 -6
- package/src/ios-rn-startup.ts +2 -1
- package/src/java-module-abi.ts +4 -3
- package/src/kotlin-host.ts +4 -4
- package/src/kotlin-library-sources.ts +8 -5
- package/src/metro-production-bundle.ts +24 -0
- package/src/native-firebase-config.ts +2 -0
- package/src/native-framework-compiler.ts +5 -0
- package/src/native-package-slice-build.ts +3 -0
- package/src/native-package-slice.ts +15 -10
- package/src/native-preparation.ts +4 -1
- package/src/native-static-libraries.ts +107 -33
- package/src/nativeRuntimePackageIndex.ts +1 -4
- package/src/nitro-adapter.lock.json +286 -286
- package/src/nitro-app-providers.ts +20 -8
- package/src/nitro-compile.ts +131 -37
- package/src/nitro-dependencies.ts +42 -8
- package/src/nitro-source.ts +40 -36
- package/src/nitro-superset.lock.json +4 -4
- package/src/nitroAdapterContract.ts +32 -7
- package/src/nitroContract.ts +21 -37
- package/src/one-direct-host-source.ts +247 -140
- package/src/one-fabric.ts +129 -0
- package/src/one-native-controls-package.ts +95 -21
- package/src/one-native-controls-release.ts +147 -14
- package/src/one-native-source.ts +4 -1
- package/src/one-nitro-inputs.ts +1 -1
- package/src/one-nitro-source.ts +45 -1
- package/src/one-sdk/source.ts +10 -41
- package/src/one-widget-metadata.ts +2 -2
- package/src/one-widget-package.ts +1 -1
- package/src/oneSdkContract.ts +3 -0
- package/src/playwright-browser-paths.ts +30 -0
- package/src/pods-install.ts +6 -2
- package/src/pods-post-install.ts +2 -2
- package/src/pods-project.ts +10 -0
- package/src/podspec-ruby-stdlib.ts +73 -0
- package/src/podspec-ruby.ts +1 -1
- package/src/podspec-sources.ts +31 -13
- package/src/process-group.ts +135 -5
- package/src/published-swift-sdk.ts +25 -1
- package/src/react-native-bridge-modules.ts +35 -3
- package/src/react-native-core-build.ts +14 -2
- package/src/react-native-core.ts +12 -2
- package/src/rive-runtime-dependencies.ts +178 -40
- package/src/serverDiscoveryContract.ts +1 -1
- package/src/storageSnapshotContract.ts +1 -1
- package/src/swift-app-data-store.ts +35 -0
- package/src/swift-compile.ts +403 -121
- package/src/swift-compiler-digest.ts +4 -0
- package/src/swift-darwin-records.ts +6 -0
- package/src/swift-distribution-mirror.ts +10 -1
- package/src/swift-distribution.lock.json +19 -18
- package/src/swift-distribution.ts +17 -1
- package/src/swift-entry-module.ts +1 -0
- package/src/swift-guest-compile.ts +8 -1
- package/src/swift-host.ts +79 -23
- package/src/swift-installed-targets.ts +51 -20
- package/src/swift-objc-standin.ts +60 -8
- package/src/swift-packages.ts +104 -24
- package/src/swift-project-user.ts +2 -1
- package/src/swift-reproducible.ts +99 -1
- package/src/swift-root-lock.ts +52 -46
- package/src/swift-sdk-app-module.ts +65 -13
- package/src/swift-sdk-image-producer.ts +2 -1
- package/src/swift-sdk-image.ts +23 -8
- package/src/swift-sdk-later-data.ts +294 -44
- package/src/swift-sdk-surface.ts +233 -55
- package/src/swift-shared-sdk.ts +7 -0
- package/src/swift-standin-builtin-behavior.ts +18 -0
- package/src/swift-standin-emit.ts +242 -54
- package/src/swift-standins.ts +184 -38
- package/src/swift-startup-split.ts +19 -9
- package/src/swift-toolchain.ts +18 -0
- package/src/swift-wasm-prune.ts +179 -9
- package/src/swift-xcframework.ts +16 -0
- package/src/swiftContract.ts +4 -1
- package/src/swiftSdkLinkContract.ts +2 -0
- package/src/swiftTargetContract.ts +1 -0
- package/src/turbo-bundle.ts +6 -3
- package/src/turbo-codegen-intake.ts +106 -16
- package/src/turbo-compile.ts +89 -68
- package/src/turbo-fabric-app.ts +287 -23
- package/src/turbo-provider-host.ts +122 -31
- package/src/turbo-runtime.lock.json +26 -26
- package/src/turbo-source.ts +374 -157
- package/src/vite-plugin.ts +48 -112
- package/src/wasm-binary-sections.ts +40 -0
- package/src/wasm-code-immediates.ts +35 -5
- package/src/widget-extension-bundle.ts +15 -1
- package/src/worklet-executable.ts +2 -1
- package/src/worklet-kernel.ts +5 -3
- package/src/worklets-babel.ts +2 -1
- package/src/xcode-project.ts +151 -53
- package/src/xcode-scheme-actions.ts +104 -0
- package/cli/commands/canvas.ts +0 -1204
- package/dist-lib/esm-chunks/chunk-B5QD2KEV.mjs +0 -2787
- package/dist-lib/vendor/magic-string.cjs +0 -1693
- package/dist-types/packages/peach-compat/src/stubs/native-seams/react-native-cookies.d.ts +0 -127
- package/src/appBundleResourcesContract.ts +0 -51
- package/src/canvas-groups.ts +0 -28
- package/src/canvas-map-layout.ts +0 -161
- package/src/oneWidgetContract.ts +0 -134
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
FABRIC_APP_INCLUDES,
|
|
7
7
|
FABRIC_APP_INSTALL,
|
|
8
8
|
FABRIC_APP_METHODS,
|
|
9
|
+
FABRIC_APP_PAPER_UI_MANAGER,
|
|
9
10
|
FABRIC_APP_TEARDOWN,
|
|
10
11
|
fabricAppPresenterSource,
|
|
11
12
|
} from './turbo-fabric-app'
|
|
@@ -34,16 +35,24 @@ class JsCallInvoker final : public react::CallInvoker,
|
|
|
34
35
|
});
|
|
35
36
|
return;
|
|
36
37
|
}
|
|
37
|
-
|
|
38
|
+
{
|
|
39
|
+
std::lock_guard lock(pendingMutex);
|
|
40
|
+
pending.push_back(std::move(func));
|
|
41
|
+
}
|
|
38
42
|
peach::jsi_runtime::scheduleDrain();
|
|
39
43
|
}
|
|
40
44
|
void invokeSync(react::CallFunc&& func) override {
|
|
41
45
|
func(runtime);
|
|
42
46
|
}
|
|
43
47
|
void drain() {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
48
|
+
for (;;) {
|
|
49
|
+
react::CallFunc work;
|
|
50
|
+
{
|
|
51
|
+
std::lock_guard lock(pendingMutex);
|
|
52
|
+
if (pending.empty()) return;
|
|
53
|
+
work = std::move(pending.front());
|
|
54
|
+
pending.pop_front();
|
|
55
|
+
}
|
|
47
56
|
work(runtime);
|
|
48
57
|
}
|
|
49
58
|
}
|
|
@@ -54,6 +63,7 @@ class JsCallInvoker final : public react::CallInvoker,
|
|
|
54
63
|
react::CallFunc function;
|
|
55
64
|
};
|
|
56
65
|
jsi::Runtime& runtime;
|
|
66
|
+
std::mutex pendingMutex;
|
|
57
67
|
std::deque<react::CallFunc> pending;
|
|
58
68
|
};
|
|
59
69
|
|
|
@@ -71,6 +81,7 @@ export function turboHostSource(withRuntime: boolean): string {
|
|
|
71
81
|
#include <deque>
|
|
72
82
|
#include <dispatch/dispatch.h>
|
|
73
83
|
#include <memory>
|
|
84
|
+
#include <mutex>
|
|
74
85
|
#include <pthread.h>
|
|
75
86
|
#include <stdexcept>
|
|
76
87
|
#include <string>
|
|
@@ -181,6 +192,7 @@ export function turboObjCHostSource(
|
|
|
181
192
|
viewManagerInterop: boolean,
|
|
182
193
|
hasEventDispatcher: boolean,
|
|
183
194
|
fabric: boolean,
|
|
195
|
+
paper: boolean,
|
|
184
196
|
): string {
|
|
185
197
|
const classNamesList = objcClasses.map((name) => `@${JSON.stringify(name)}`).join(', ')
|
|
186
198
|
const unregisteredList = unregisteredClasses
|
|
@@ -218,6 +230,7 @@ ${moduleProviders ? '#import <ReactCodegen/RCTModuleProviders.h>' : ''}
|
|
|
218
230
|
#include <dispatch/dispatch.h>
|
|
219
231
|
#include <limits>
|
|
220
232
|
#include <memory>
|
|
233
|
+
#include <mutex>
|
|
221
234
|
#include <pthread.h>
|
|
222
235
|
#include <stdexcept>
|
|
223
236
|
#include <string>
|
|
@@ -504,6 +517,16 @@ ${
|
|
|
504
517
|
const char *types = method_getTypeEncoding(class_getInstanceMethod([RCTUIManager class], @selector(methodQueue))) ?: "@@:";
|
|
505
518
|
class_addMethod(uiManagerProxyClass, @selector(methodQueue), (IMP)peachUIManagerProxyMethodQueue, types);
|
|
506
519
|
}
|
|
520
|
+
${
|
|
521
|
+
paper
|
|
522
|
+
? ` // paper animation batching is implemented on RCTUIManager.
|
|
523
|
+
class_addMethod(uiManagerProxyClass, sel_registerName("isExecutingUpdatesBatch"), (IMP)+[](id receiver, SEL selector) -> bool {
|
|
524
|
+
IMP implementation = class_getMethodImplementation([RCTUIManager class], selector);
|
|
525
|
+
return reinterpret_cast<bool (*)(id, SEL)>(implementation)(receiver, selector);
|
|
526
|
+
}, "B@:");
|
|
527
|
+
`
|
|
528
|
+
: ''
|
|
529
|
+
}
|
|
507
530
|
}
|
|
508
531
|
${hasEventDispatcher ? ' if (![RCTGetModuleClasses() containsObject:[RCTEventDispatcher class]])\n RCTRegisterModule([RCTEventDispatcher class]);\n' : ''}`
|
|
509
532
|
: ''
|
|
@@ -586,6 +609,12 @@ extern "C" __attribute__((export_name("peach_turbo_post_shake"))) void peachTurb
|
|
|
586
609
|
[[NSNotificationCenter defaultCenter] postNotificationName:@"RCTShowDevMenuNotification" object:nil];
|
|
587
610
|
}
|
|
588
611
|
|
|
612
|
+
// the instance the module registry holds for a module class, created on first
|
|
613
|
+
// use as RCTInstance creates it
|
|
614
|
+
extern "C" void *peachTurboModuleForClass(Class moduleClass) {
|
|
615
|
+
return (__bridge void *)[manager moduleForName:RCTBridgeModuleNameForClass(moduleClass).UTF8String];
|
|
616
|
+
}
|
|
617
|
+
|
|
589
618
|
// the names the process answers, newline separated, for the host to claim:
|
|
590
619
|
// the global C++ map, the codegen module providers and each registered
|
|
591
620
|
// Objective-C TurboModule class
|
|
@@ -625,6 +654,7 @@ const FABRIC_HOST_INCLUDES = `#import <Foundation/Foundation.h>
|
|
|
625
654
|
#import <React/RCTComponentViewFactory.h>
|
|
626
655
|
#import <React/RCTComponentViewProtocol.h>
|
|
627
656
|
#import <React/RCTComponentViewRegistry.h>
|
|
657
|
+
#import <React/RCTLegacyViewManagerInteropComponentView.h>
|
|
628
658
|
#import <React/RCTMountingTransactionObserverCoordinator.h>
|
|
629
659
|
#import <React/RCTViewComponentView.h>
|
|
630
660
|
#import <ReactCommon/RCTTurboModule.h>
|
|
@@ -673,6 +703,16 @@ using namespace facebook;
|
|
|
673
703
|
|
|
674
704
|
@implementation RNFabricRendererView
|
|
675
705
|
@end
|
|
706
|
+
|
|
707
|
+
@interface RNFabricSlotView : UIView
|
|
708
|
+
@end
|
|
709
|
+
|
|
710
|
+
@implementation RNFabricSlotView
|
|
711
|
+
- (void)layoutIfNeeded {
|
|
712
|
+
[super layoutIfNeeded];
|
|
713
|
+
[self._peachFabricSlotContent layoutIfNeeded];
|
|
714
|
+
}
|
|
715
|
+
@end
|
|
676
716
|
`
|
|
677
717
|
|
|
678
718
|
// what the legacy view manager interop reads: the bridge proxy and module
|
|
@@ -1199,6 +1239,7 @@ export function fabricHostSource(
|
|
|
1199
1239
|
views: readonly FabricComponent[],
|
|
1200
1240
|
paperClasses: readonly string[],
|
|
1201
1241
|
appPresenter: boolean,
|
|
1242
|
+
paperApp: boolean,
|
|
1202
1243
|
reactNativeVersion: string,
|
|
1203
1244
|
): string {
|
|
1204
1245
|
const entries = views
|
|
@@ -1230,30 +1271,50 @@ void retireFabricContentHost(int host) {
|
|
|
1230
1271
|
fabricContentHosts.erase(found);
|
|
1231
1272
|
}
|
|
1232
1273
|
|
|
1274
|
+
UIView *mountedFabricView(UIView *component) {
|
|
1275
|
+
// paper parents mount the wrapped view directly into their UIKit container.
|
|
1276
|
+
if ([component isKindOfClass:[RCTLegacyViewManagerInteropComponentView class]]) {
|
|
1277
|
+
UIView *paperView = ((RCTLegacyViewManagerInteropComponentView *)component).contentView;
|
|
1278
|
+
if (paperView && paperView.superview != component) return paperView;
|
|
1279
|
+
}
|
|
1280
|
+
return component;
|
|
1281
|
+
}
|
|
1282
|
+
|
|
1283
|
+
void markFabricChildPlacement(int tag, uint64_t owner, UIView *view) {
|
|
1284
|
+
if (!view) return;
|
|
1285
|
+
const auto existing = fabricContentHosts.find(tag);
|
|
1286
|
+
if (existing != fabricContentHosts.end() && existing->second == view) return;
|
|
1287
|
+
retireFabricContentHost(tag);
|
|
1288
|
+
view._peachReactContentHost = [NSString stringWithFormat:@"__peach_fabric_child:%llu:%d",
|
|
1289
|
+
(unsigned long long)owner, tag];
|
|
1290
|
+
fabricContentHosts[tag] = view;
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1233
1293
|
// mountChildComponentView chooses the UIKit container for the React children.
|
|
1234
1294
|
template <class Children, class Resolve>
|
|
1235
|
-
|
|
1295
|
+
bool tagFabricContentHost(int host, uint64_t node, UIView *component,
|
|
1236
1296
|
const Children &children, Resolve resolve) {
|
|
1297
|
+
component = mountedFabricView(component);
|
|
1237
1298
|
UIView *mountView = nil;
|
|
1238
1299
|
for (const auto &child : children) {
|
|
1239
|
-
UIView *
|
|
1240
|
-
|
|
1241
|
-
if (
|
|
1242
|
-
(mountView && superview != mountView)) {
|
|
1300
|
+
UIView *superview = mountedFabricView(resolve(child)).superview;
|
|
1301
|
+
if (!superview || ![superview isDescendantOfView:component]) continue;
|
|
1302
|
+
if (mountView && superview != mountView) {
|
|
1243
1303
|
mountView = nil;
|
|
1244
1304
|
break;
|
|
1245
1305
|
}
|
|
1246
1306
|
mountView = superview;
|
|
1247
1307
|
}
|
|
1248
1308
|
const auto existing = fabricContentHosts.find(host);
|
|
1249
|
-
if (existing != fabricContentHosts.end() && existing->second == mountView) return;
|
|
1309
|
+
if (existing != fabricContentHosts.end() && existing->second == mountView) return true;
|
|
1250
1310
|
retireFabricContentHost(host);
|
|
1251
|
-
if (!mountView) return;
|
|
1311
|
+
if (!mountView) return false;
|
|
1252
1312
|
mountView._peachReactContentHost = [NSString stringWithFormat:@"__peach_one_content:%llu", (unsigned long long)node];
|
|
1253
1313
|
fabricContentHosts[host] = mountView;
|
|
1314
|
+
return true;
|
|
1254
1315
|
}
|
|
1255
1316
|
}
|
|
1256
|
-
${appPresenter ? fabricAppPresenterSource(comparePackageVersions(reactNativeVersion, '0.80.0') >= 0) : ''}
|
|
1317
|
+
${appPresenter ? fabricAppPresenterSource(comparePackageVersions(reactNativeVersion, '0.80.0') >= 0, paper && paperApp) : ''}
|
|
1257
1318
|
@interface RNFabricComponents : NSObject <RCTComponentViewFactoryComponentProvider>
|
|
1258
1319
|
@end
|
|
1259
1320
|
|
|
@@ -1798,10 +1859,10 @@ const char *fabricCodegenNames = ${JSON.stringify(views.map(({ name }) => name).
|
|
|
1798
1859
|
std::string fabricNames = fabricCodegenNames;
|
|
1799
1860
|
${
|
|
1800
1861
|
paper
|
|
1801
|
-
? `// the providers' RCTViewManager classes, and the component
|
|
1802
|
-
// RCTViewManagerModuleNameForClass gives
|
|
1862
|
+
? `// the providers' RCTViewManager classes, and the linked ones by the component
|
|
1863
|
+
// name RCTViewManagerModuleNameForClass gives them
|
|
1803
1864
|
NSArray<NSString *> *fabricPaperClasses = @[${paperClasses.map((name) => `@${JSON.stringify(name)}`).join(', ')}];
|
|
1804
|
-
std::
|
|
1865
|
+
std::unordered_map<std::string, Class> fabricPaperManagers;
|
|
1805
1866
|
`
|
|
1806
1867
|
: ''
|
|
1807
1868
|
}
|
|
@@ -1840,10 +1901,14 @@ uint64_t projectCompiledPeer(int compiled, UIView *peer, const react::Layoutable
|
|
|
1840
1901
|
view.adoptionDirty = true;
|
|
1841
1902
|
view.placed = true;
|
|
1842
1903
|
view.layoutMetrics = metrics;
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
peer.
|
|
1846
|
-
|
|
1904
|
+
UIView *mounted = mountedFabricView(peer);
|
|
1905
|
+
UIView *previous = view.slotView._peachFabricSlotContent;
|
|
1906
|
+
if (previous != mounted && previous != peer) previous._peachDrawsInFabricSlot = NO;
|
|
1907
|
+
if (mounted != peer) peer._peachDrawsInFabricSlot = YES;
|
|
1908
|
+
view.parentMountedComponent = drawnByParent ? mounted : nil;
|
|
1909
|
+
mounted._peachDrawsInFabricSlot = !drawnByParent;
|
|
1910
|
+
mounted._peachFabricLayoutOrigin = mounted.frame.origin;
|
|
1911
|
+
view.slotView._peachFabricSlotContent = drawnByParent ? nil : mounted;
|
|
1847
1912
|
return view.sceneNode;
|
|
1848
1913
|
}
|
|
1849
1914
|
`
|
|
@@ -2118,11 +2183,19 @@ ${
|
|
|
2118
2183
|
${
|
|
2119
2184
|
paper
|
|
2120
2185
|
? `static IMP peachOrigEventDispatcherDispatchEvent = nullptr;
|
|
2186
|
+
static auto paperFabricEventView(int tag) {
|
|
2187
|
+
auto view = fabricViews.find(tag);
|
|
2188
|
+
if (view != fabricViews.end()) return view;
|
|
2189
|
+
auto alias = fabricTagAliases.find(tag);
|
|
2190
|
+
return alias == fabricTagAliases.end() ? fabricViews.end() : fabricViews.find(alias->second);
|
|
2191
|
+
}
|
|
2192
|
+
|
|
2121
2193
|
static void peachEventDispatcherDispatchEvent(id self, SEL _cmd, id<RCTEvent> event) {
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2194
|
+
NSString *moduleDotMethod = [[event class] moduleDotMethod];
|
|
2195
|
+
// sendEvent already notified Fabric. an unmounted view has no target.
|
|
2196
|
+
if ([moduleDotMethod isEqualToString:@"RCTEventEmitter.receiveEvent"] ||
|
|
2197
|
+
([moduleDotMethod hasPrefix:@"RCTEventEmitter."] &&
|
|
2198
|
+
paperFabricEventView(event.viewTag.intValue) != fabricViews.end())) return;
|
|
2126
2199
|
if (peachOrigEventDispatcherDispatchEvent) {
|
|
2127
2200
|
((void (*)(id, SEL, id))peachOrigEventDispatcherDispatchEvent)(self, _cmd, event);
|
|
2128
2201
|
}
|
|
@@ -2136,7 +2209,7 @@ static void peachEventDispatcherDispatchEvent(id self, SEL _cmd, id<RCTEvent> ev
|
|
|
2136
2209
|
{
|
|
2137
2210
|
NSNumber *reactTag = event.viewTag;
|
|
2138
2211
|
if (!reactTag) return;
|
|
2139
|
-
auto found =
|
|
2212
|
+
auto found = paperFabricEventView(reactTag.intValue);
|
|
2140
2213
|
if (found == fabricViews.end() || !found->second.family ||
|
|
2141
2214
|
!dynamic_cast<const react::LegacyViewManagerInteropComponentDescriptor *>(found->second.descriptor)) return;
|
|
2142
2215
|
NSArray *args = [event arguments];
|
|
@@ -2392,12 +2465,12 @@ ${
|
|
|
2392
2465
|
}
|
|
2393
2466
|
}
|
|
2394
2467
|
fabricNames = fabricCodegenNames;
|
|
2395
|
-
|
|
2468
|
+
fabricPaperManagers.clear();
|
|
2396
2469
|
for (NSString *className in fabricPaperClasses) {
|
|
2397
2470
|
Class managerClass = NSClassFromString(className);
|
|
2398
2471
|
if (!managerClass) continue;
|
|
2399
2472
|
std::string name = RCTViewManagerModuleNameForClass(managerClass).UTF8String;
|
|
2400
|
-
|
|
2473
|
+
fabricPaperManagers.emplace(name, managerClass);
|
|
2401
2474
|
if (!fabricNames.empty()) fabricNames += '\\n';
|
|
2402
2475
|
fabricNames += name;
|
|
2403
2476
|
}
|
|
@@ -2414,7 +2487,7 @@ ${
|
|
|
2414
2487
|
std::weak_ptr<react::EventLogger>());
|
|
2415
2488
|
react::ComponentDescriptorParameters parameters{fabricDispatcher, fabricContext, nullptr};
|
|
2416
2489
|
fabricDescriptors = [factory createComponentDescriptorRegistryWithParameters:parameters];
|
|
2417
|
-
${appPresenter ? FABRIC_APP_INSTALL : ''}
|
|
2490
|
+
${appPresenter ? FABRIC_APP_INSTALL : ''}${appPresenter && paperApp ? FABRIC_APP_PAPER_UI_MANAGER : ''}
|
|
2418
2491
|
[[(RCTBridgeModuleDecorator *)moduleDecorator viewRegistry_DEPRECATED] setBridgelessComponentViewProvider:^UIView *(NSNumber *reactTag) {
|
|
2419
2492
|
const auto tag = reactTag.intValue;
|
|
2420
2493
|
${appPresenter ? ' if (auto *view = [appSurfacePresenter findComponentViewWithTag_DO_NOT_USE_DEPRECATED:tag]) return view;' : ''}
|
|
@@ -2464,13 +2537,13 @@ ${
|
|
|
2464
2537
|
paper
|
|
2465
2538
|
? ` // the interop's state carries its coordinator, which only the shadow
|
|
2466
2539
|
// node's adopt gives it
|
|
2467
|
-
if (
|
|
2540
|
+
if (fabricPaperManagers.count(name))
|
|
2468
2541
|
view.state = descriptor.createShadowNode({.props = view.props, .state = view.state}, family)->getState();
|
|
2469
2542
|
`
|
|
2470
2543
|
: ''
|
|
2471
2544
|
} family->setMostRecentState(view.state);
|
|
2472
2545
|
family->getEventEmitter()->setEnabled(true);
|
|
2473
|
-
UIView *slotView = [[
|
|
2546
|
+
UIView *slotView = [[RNFabricSlotView alloc] initWithFrame:CGRectZero];
|
|
2474
2547
|
slotView.clipsToBounds = NO;
|
|
2475
2548
|
slotView.opaque = NO;
|
|
2476
2549
|
slotView.backgroundColor = nil;
|
|
@@ -2505,6 +2578,7 @@ ${appPresenter ? '' : ' ensureStandaloneFabricPeer(tag);'}
|
|
|
2505
2578
|
}
|
|
2506
2579
|
view.family->getEventEmitter()->setEnabled(false);
|
|
2507
2580
|
if (![fabricRegistry findComponentViewWithTag:tag]) {
|
|
2581
|
+
view.slotView._peachFabricSlotContent._peachDrawsInFabricSlot = NO;
|
|
2508
2582
|
view.slotView._peachFabricSlotContent = nil;
|
|
2509
2583
|
[view.slotView removeFromSuperview];
|
|
2510
2584
|
std::erase_if(fabricTagAliases, [&](const auto &entry) { return entry.second == tag; });
|
|
@@ -2681,7 +2755,7 @@ ${appPresenter ? ' if (appShadowTree) appShadowTree->project(fabricProjectionRo
|
|
|
2681
2755
|
auto &projection = view.projection;
|
|
2682
2756
|
bool visibilityChanged = false;
|
|
2683
2757
|
if (mode != 0 || view.adoptionDirty) {
|
|
2684
|
-
UIView *component = view.parentMountedComponent;
|
|
2758
|
+
UIView *component = mountedFabricView(view.parentMountedComponent);
|
|
2685
2759
|
const bool hidden = component && (component.hidden || !component.window);
|
|
2686
2760
|
visibilityChanged = projection.hidden != hidden;
|
|
2687
2761
|
projection.hidden = hidden;
|
|
@@ -2693,6 +2767,12 @@ ${appPresenter ? ' if (appShadowTree) appShadowTree->project(fabricProjectionRo
|
|
|
2693
2767
|
view.adoptionDirty = false;
|
|
2694
2768
|
projection.tag = tag;
|
|
2695
2769
|
fabricProjectionRows.push_back(projection);
|
|
2770
|
+
// the UIKit mount determines whether the companion drawing slot is in use.
|
|
2771
|
+
FabricProjectionRow drawing{};
|
|
2772
|
+
drawing.tag = -tag;
|
|
2773
|
+
drawing.hidden = view.parentMountedComponent != nil;
|
|
2774
|
+
drawing.style.fill(NAN);
|
|
2775
|
+
fabricProjectionRows.push_back(drawing);
|
|
2696
2776
|
}
|
|
2697
2777
|
return fabricProjectionRows.size();
|
|
2698
2778
|
}
|
|
@@ -2870,7 +2950,18 @@ export function platformHermesRuntime(hermesHeader: string): string {
|
|
|
2870
2950
|
const hasGetHermesRootAPI = /\bgetHermesRootAPI\s*\(/.test(hermesHeader)
|
|
2871
2951
|
const hasMakeHermesRootAPI = /\bmakeHermesRootAPI\s*\(/.test(hermesHeader)
|
|
2872
2952
|
const hasSHUnitCreator = /\busing\s+SHUnitCreator\b/.test(hermesHeader)
|
|
2873
|
-
const
|
|
2953
|
+
const inheritsHermesSHUnit =
|
|
2954
|
+
/^class\s+(?:\w+\s+)?(?:HermesRuntime|IHermes)\b\s*(?:final\s*)?:[^;{]*\bIHermesSHUnit\b/m.test(
|
|
2955
|
+
hermesHeader,
|
|
2956
|
+
)
|
|
2957
|
+
const hasGetSHUnitCreator = /\bgetSHUnitCreator\s*\(/.test(
|
|
2958
|
+
inheritsHermesSHUnit
|
|
2959
|
+
? hermesHeader
|
|
2960
|
+
: hermesHeader.replace(
|
|
2961
|
+
/^class\s+(?:\w+\s+)?IHermesSHUnit\b[^;{]*\{[\s\S]*?^};/gm,
|
|
2962
|
+
'',
|
|
2963
|
+
),
|
|
2964
|
+
)
|
|
2874
2965
|
const hasEvaluateSHUnit = /\bevaluateSHUnit\s*\(/.test(hermesHeader)
|
|
2875
2966
|
const hasGetSHRuntime = /\bgetSHRuntime\s*\(/.test(hermesHeader)
|
|
2876
2967
|
const hasGetVMRuntimeUnsafe = /\bgetVMRuntimeUnsafe\s*\(/.test(hermesHeader)
|
|
@@ -4,87 +4,87 @@
|
|
|
4
4
|
"target": "wasm64-unknown-wasip1-threads",
|
|
5
5
|
"recipe": "43a344d7a876c588a63686a10ff978d6f301eeed51c78f43540c504ffcdf03ed",
|
|
6
6
|
"adapter": {
|
|
7
|
-
"sha256": "
|
|
7
|
+
"sha256": "f389c7c5242069762915336fc01510cdde91ded00a42a7427fcce6e310f77c20"
|
|
8
8
|
},
|
|
9
|
-
"compiler": "swift-6.4.0-RELEASE-custom-
|
|
9
|
+
"compiler": "swift-6.4.0-RELEASE-custom-79968b9717d332cb",
|
|
10
10
|
"sdk": {
|
|
11
|
-
"id": "swift-6.4.0-RELEASE_wasm-peach-
|
|
12
|
-
"checksum": "
|
|
11
|
+
"id": "swift-6.4.0-RELEASE_wasm-peach-1f09147d",
|
|
12
|
+
"checksum": "380189a8064140c7dc8e1e9c93b6a2d0ec0c1deb07a240c2f88b1d76316e0f79"
|
|
13
13
|
},
|
|
14
14
|
"framework": {
|
|
15
|
-
"distribution": "
|
|
16
|
-
"wireAbi": "
|
|
15
|
+
"distribution": "8c81bd894a1a30e3",
|
|
16
|
+
"wireAbi": "fa7804017408320b07ae3bd54eee0acd105f07f323b03b60cd4289ca21d2d923"
|
|
17
17
|
},
|
|
18
18
|
"archives": [
|
|
19
19
|
{
|
|
20
20
|
"headers": {
|
|
21
21
|
"reactNativeJsi": "0f8c2defbca69a27a848a81ae72363073bf9602fd316e57a75811be1a0528358"
|
|
22
22
|
},
|
|
23
|
-
"sha256": "
|
|
24
|
-
"size":
|
|
23
|
+
"sha256": "4946cfb9dcb2dece9d04e85b77dda3fb31006e9deae4ac33494e1ba3be3d07a8",
|
|
24
|
+
"size": 50175
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
"headers": {
|
|
28
28
|
"reactNativeJsi": "21a624ea24fd17d56bf26832d496fc1177067f89640414c20e6486c7984dfb0a"
|
|
29
29
|
},
|
|
30
|
-
"sha256": "
|
|
31
|
-
"size":
|
|
30
|
+
"sha256": "f12c7092a07ebab570f6ae0e17e7cce55a8cff7f3c4c3fe2813f24f3d57ead64",
|
|
31
|
+
"size": 52174
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
"headers": {
|
|
35
35
|
"reactNativeJsi": "324aefd8591d9ce688bce7589c4c2b516cd33ecb95d35c47239a87a8fcf6a8da"
|
|
36
36
|
},
|
|
37
|
-
"sha256": "
|
|
38
|
-
"size":
|
|
37
|
+
"sha256": "fd9f6f0e4b1eab4502eb0a2f8fa1ae636a06edcdcb9cc29981fa58806db1c2e5",
|
|
38
|
+
"size": 50167
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
41
|
"headers": {
|
|
42
42
|
"reactNativeJsi": "33596664ee7d7a6623f0796a6feb429543316c3a41b211150acda6e1d835286c"
|
|
43
43
|
},
|
|
44
|
-
"sha256": "
|
|
45
|
-
"size":
|
|
44
|
+
"sha256": "4ca7907c8ef7c705f5a7e79b3dbe6938bdfa1b0c811bf39fa120dd46548c9f4a",
|
|
45
|
+
"size": 49338
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
48
|
"headers": {
|
|
49
49
|
"reactNativeJsi": "66b2cd5a38511195207f6c8a76aba735f9b9cc66a52a0d00780ffe5d331623f7"
|
|
50
50
|
},
|
|
51
|
-
"sha256": "
|
|
52
|
-
"size":
|
|
51
|
+
"sha256": "7322031e84f279f0a8f63915ff8768095e02914f4e3c7ea0c904fe3005f97cb7",
|
|
52
|
+
"size": 50058
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
55
|
"headers": {
|
|
56
56
|
"reactNativeJsi": "96db4e758dd53e9320cef7cad485e00aa06e7a982cefd920f17007de8a5bd9f9"
|
|
57
57
|
},
|
|
58
|
-
"sha256": "
|
|
59
|
-
"size":
|
|
58
|
+
"sha256": "dff81bba7b215c2d16d9cd4adbe20055411f6238e2b528c82820af9c2f5db53f",
|
|
59
|
+
"size": 51976
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
62
|
"headers": {
|
|
63
63
|
"reactNativeJsi": "aeab590ddd1218df963462242d3954ce467b0fa88f70e91429e4ffc74d230893"
|
|
64
64
|
},
|
|
65
|
-
"sha256": "
|
|
66
|
-
"size":
|
|
65
|
+
"sha256": "795094636f74a9e7dc85e84829dce78d3f50b24e5c265933f86a6579c84b6ab6",
|
|
66
|
+
"size": 52174
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
69
|
"headers": {
|
|
70
70
|
"reactNativeJsi": "b5fb260522384dd7ab07d740cdc534b529922446fcec798341c7817d9eaa49f4"
|
|
71
71
|
},
|
|
72
|
-
"sha256": "
|
|
73
|
-
"size":
|
|
72
|
+
"sha256": "dcb28463c58e932a1ee9df6942a4c3c7907281c16451a4e694857411913ff0f0",
|
|
73
|
+
"size": 49608
|
|
74
74
|
},
|
|
75
75
|
{
|
|
76
76
|
"headers": {
|
|
77
77
|
"reactNativeJsi": "c6b391a1e870ccf7cdd534be63582862840f8245b99ebd253317deece1e6ffd5"
|
|
78
78
|
},
|
|
79
|
-
"sha256": "
|
|
80
|
-
"size":
|
|
79
|
+
"sha256": "e3482034bd3f8a701307fe7c355c66a71c255d2b7ddccaa4b6aa01b4395756b3",
|
|
80
|
+
"size": 51976
|
|
81
81
|
},
|
|
82
82
|
{
|
|
83
83
|
"headers": {
|
|
84
84
|
"reactNativeJsi": "c8270f1315745ecc204c4209a4f50f58ff6f14b4a385ad6820a69800270b53c6"
|
|
85
85
|
},
|
|
86
|
-
"sha256": "
|
|
87
|
-
"size":
|
|
86
|
+
"sha256": "8daa19212b9525226efe69b5e04c3f71d0eb9ac439e461150b4990d4c5a8f020",
|
|
87
|
+
"size": 49197
|
|
88
88
|
}
|
|
89
89
|
]
|
|
90
90
|
}
|