@lynx-js/react 0.127.0 → 0.129.0
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/CHANGELOG.md +38 -0
- package/components/tsconfig.tsbuildinfo +1 -1
- package/package.json +6 -14
- package/refresh/.turbo/turbo-build.log +1 -1
- package/runtime/__test__/core/entry-re-eval.test.ts +161 -0
- package/runtime/__test__/core/reload-scoped-dual-thread-communication.test.ts +129 -0
- package/runtime/__test__/core/thread-function-call.test.ts +1 -0
- package/runtime/__test__/element-template/fixtures/background/render/_shared.tsx +2 -0
- package/runtime/__test__/element-template/internal/legacy-internal-guardrail.test.ts +1 -1
- package/runtime/__test__/element-template/native/index.test.ts +8 -0
- package/runtime/__test__/element-template/native/main-thread-ref-init-value.test.ts +100 -0
- package/runtime/__test__/element-template/native/reload-dual-thread-communication.test.ts +101 -0
- package/runtime/__test__/element-template/native/reload.test.ts +50 -1
- package/runtime/__test__/element-template/runtime/background/commit-hook.test.ts +104 -47
- package/runtime/__test__/element-template/runtime/background/event/compiled-fixtures.test.tsx +39 -48
- package/runtime/__test__/element-template/runtime/background/main-thread-function/compiled-fixtures.test.tsx +14 -10
- package/runtime/__test__/element-template/runtime/background/re-eval-reload.test.ts +69 -0
- package/runtime/__test__/element-template/runtime/hydration/hydration-listener.test.ts +31 -5
- package/runtime/__test__/element-template/runtime/patch/element-template-patch.test.tsx +17 -3
- package/runtime/__test__/element-template/runtime/render/render-transform.contract.test.ts +8 -3
- package/runtime/__test__/element-template/runtime/template/main-thread-function.test.ts +89 -2
- package/runtime/__test__/element-template/test-utils/debug/compiledFixtureModule.ts +5 -0
- package/runtime/__test__/element-template/test-utils/mock/globals.js +6 -0
- package/runtime/__test__/element-template/vitest.config.ts +4 -0
- package/runtime/__test__/snapshot/lifecycle/re-eval-reload.test.jsx +114 -0
- package/runtime/__test__/snapshot/lifecycle/reload-background-function.test.jsx +169 -0
- package/runtime/__test__/snapshot/lifecycle/reload-delayed-background.test.jsx +63 -0
- package/runtime/__test__/snapshot/lifecycle/reload-delayed-main-thread.test.jsx +103 -0
- package/runtime/__test__/snapshot/lifecycle.test.jsx +61 -1
- package/runtime/__test__/snapshot/lynx/lazy-effect-scheduling.test.jsx +105 -0
- package/runtime/__test__/snapshot/ssr.test.jsx +2 -2
- package/runtime/__test__/snapshot/worklet/runOnBackground.test.js +6 -11
- package/runtime/__test__/snapshot/worklet/runOnMainThread.test.jsx +1 -1
- package/runtime/__test__/snapshot/worklet/workletRef.test.jsx +24 -1
- package/runtime/__test__/worklet-runtime/initEntry.test.js +109 -0
- package/runtime/__test__/worklet-runtime/jsFunctionLifecycle.test.js +15 -1
- package/runtime/__test__/worklet-runtime/mainThreadObject.test.js +46 -0
- package/runtime/__test__/worklet-runtime/object-methods.test.js +2 -3
- package/runtime/__test__/worklet-runtime/runOnMainThread.test.js +3 -3
- package/runtime/lazy/element-template-internal.js +0 -1
- package/runtime/lazy/internal.js +0 -1
- package/runtime/lib/core/background-function/exec-map.d.ts +2 -0
- package/runtime/lib/core/background-function/exec-map.js +7 -0
- package/runtime/lib/core/background-function/exec-map.js.map +1 -1
- package/runtime/lib/core/background-function/handle.js.map +1 -1
- package/runtime/lib/core/background-function/run-on-background.js +15 -16
- package/runtime/lib/core/background-function/run-on-background.js.map +1 -1
- package/runtime/lib/core/capture-main-thread-object.js.map +1 -1
- package/runtime/lib/core/card-lifetime.d.ts +5 -0
- package/runtime/lib/core/card-lifetime.js +17 -0
- package/runtime/lib/core/card-lifetime.js.map +1 -0
- package/runtime/lib/core/commit-context.js.map +1 -1
- package/runtime/lib/core/compat/legacy-react-runtime.js.map +1 -1
- package/runtime/lib/core/compat/lynxComponent.js.map +1 -1
- package/runtime/lib/core/component.js.map +1 -1
- package/runtime/lib/core/entry-reload.d.ts +7 -0
- package/runtime/lib/core/entry-reload.js +49 -0
- package/runtime/lib/core/entry-reload.js.map +1 -0
- package/runtime/lib/core/forceRootRender.js.map +1 -1
- package/runtime/lib/core/globalProps.js.map +1 -1
- package/runtime/lib/core/hooks/mainThread.js.map +1 -1
- package/runtime/lib/core/hooks/mainThreadImpl.js.map +1 -1
- package/runtime/lib/core/hooks/react.js.map +1 -1
- package/runtime/lib/core/hooks/useLynxGlobalEventListener.js.map +1 -1
- package/runtime/lib/core/initData.js.map +1 -1
- package/runtime/lib/core/lynx/dynamic-import.js.map +1 -1
- package/runtime/lib/core/lynx/lazy-bundle.js +4 -1
- package/runtime/lib/core/lynx/lazy-bundle.js.map +1 -1
- package/runtime/lib/core/lynx/runtime-backend.js.map +1 -1
- package/runtime/lib/core/lynx/runtime-version.js.map +1 -1
- package/runtime/lib/core/lynx-data-processors.js.map +1 -1
- package/runtime/lib/core/lynx-page-data.js.map +1 -1
- package/runtime/lib/core/lynx-update-data.js.map +1 -1
- package/runtime/lib/core/main-thread-function.js.map +1 -1
- package/runtime/lib/core/main-thread-object-handle-registry.js.map +1 -1
- package/runtime/lib/core/main-thread-object.js +1 -4
- package/runtime/lib/core/main-thread-object.js.map +1 -1
- package/runtime/lib/core/main-thread-ref-id.js +4 -4
- package/runtime/lib/core/main-thread-ref-id.js.map +1 -1
- package/runtime/lib/core/main-thread-ref-init-value.js.map +1 -1
- package/runtime/lib/core/main-thread-ref.js.map +1 -1
- package/runtime/lib/core/mts-capability.js.map +1 -1
- package/runtime/lib/core/performance.js.map +1 -1
- package/runtime/lib/core/ref.js.map +1 -1
- package/runtime/lib/core/reload-scoped-event.d.ts +5 -0
- package/runtime/lib/core/reload-scoped-event.js +26 -0
- package/runtime/lib/core/reload-scoped-event.js.map +1 -0
- package/runtime/lib/core/reload-version.js +4 -3
- package/runtime/lib/core/reload-version.js.map +1 -1
- package/runtime/lib/core/runtime-destroy.d.ts +2 -0
- package/runtime/lib/core/runtime-destroy.js +9 -0
- package/runtime/lib/core/runtime-destroy.js.map +1 -1
- package/runtime/lib/core/thread-function-call/main-thread.js +5 -4
- package/runtime/lib/core/thread-function-call/main-thread.js.map +1 -1
- package/runtime/lib/core/thread-function-call/return-value.js +6 -5
- package/runtime/lib/core/thread-function-call/return-value.js.map +1 -1
- package/runtime/lib/document.js.map +1 -1
- package/runtime/lib/element-template/background/attr-slots.js.map +1 -1
- package/runtime/lib/element-template/background/commit-context.js.map +1 -1
- package/runtime/lib/element-template/background/commit-hook.js +19 -16
- package/runtime/lib/element-template/background/commit-hook.js.map +1 -1
- package/runtime/lib/element-template/background/destroy.js.map +1 -1
- package/runtime/lib/element-template/background/document.js.map +1 -1
- package/runtime/lib/element-template/background/hydrate.js.map +1 -1
- package/runtime/lib/element-template/background/hydration-listener.js +2 -6
- package/runtime/lib/element-template/background/hydration-listener.js.map +1 -1
- package/runtime/lib/element-template/background/instance.js.map +1 -1
- package/runtime/lib/element-template/background/manager.js.map +1 -1
- package/runtime/lib/element-template/background/page-root-hydrate.js.map +1 -1
- package/runtime/lib/element-template/background/render-scope.js.map +1 -1
- package/runtime/lib/element-template/client/root.js.map +1 -1
- package/runtime/lib/element-template/debug/alog.js.map +1 -1
- package/runtime/lib/element-template/debug/elementPAPICall.js.map +1 -1
- package/runtime/lib/element-template/debug/profile.js.map +1 -1
- package/runtime/lib/element-template/hydration-map.js.map +1 -1
- package/runtime/lib/element-template/index.js.map +1 -1
- package/runtime/lib/element-template/internal.d.ts +0 -1
- package/runtime/lib/element-template/internal.js +0 -1
- package/runtime/lib/element-template/internal.js.map +1 -1
- package/runtime/lib/element-template/jsx-dev-runtime/index.js.map +1 -1
- package/runtime/lib/element-template/jsx-runtime/index.js.map +1 -1
- package/runtime/lib/element-template/lynx/env.js.map +1 -1
- package/runtime/lib/element-template/lynx/performance.js.map +1 -1
- package/runtime/lib/element-template/main-thread-ref-init-value.d.ts +3 -0
- package/runtime/lib/element-template/main-thread-ref-init-value.js +38 -0
- package/runtime/lib/element-template/main-thread-ref-init-value.js.map +1 -0
- package/runtime/lib/element-template/native/callDestroyLifetimeFun.js.map +1 -1
- package/runtime/lib/element-template/native/index.js +2 -0
- package/runtime/lib/element-template/native/index.js.map +1 -1
- package/runtime/lib/element-template/native/main-thread-api.js.map +1 -1
- package/runtime/lib/element-template/native/mts-destroy.js +2 -0
- package/runtime/lib/element-template/native/mts-destroy.js.map +1 -1
- package/runtime/lib/element-template/native/patch-listener.js +1 -4
- package/runtime/lib/element-template/native/patch-listener.js.map +1 -1
- package/runtime/lib/element-template/native/reload-background.d.ts +1 -1
- package/runtime/lib/element-template/native/reload-background.js +12 -1
- package/runtime/lib/element-template/native/reload-background.js.map +1 -1
- package/runtime/lib/element-template/native/reload-main-thread.d.ts +6 -0
- package/runtime/lib/element-template/native/reload-main-thread.js +18 -2
- package/runtime/lib/element-template/native/reload-main-thread.js.map +1 -1
- package/runtime/lib/element-template/prop-adapters/event-value.js.map +1 -1
- package/runtime/lib/element-template/prop-adapters/event.js.map +1 -1
- package/runtime/lib/element-template/prop-adapters/ref.js.map +1 -1
- package/runtime/lib/element-template/prop-adapters/spread.js.map +1 -1
- package/runtime/lib/element-template/protocol/lifecycle-constant.d.ts +2 -1
- package/runtime/lib/element-template/protocol/lifecycle-constant.js +1 -0
- package/runtime/lib/element-template/protocol/lifecycle-constant.js.map +1 -1
- package/runtime/lib/element-template/protocol/opcodes.js.map +1 -1
- package/runtime/lib/element-template/protocol/page.js.map +1 -1
- package/runtime/lib/element-template/protocol/template-type.js.map +1 -1
- package/runtime/lib/element-template/protocol/types.d.ts +0 -2
- package/runtime/lib/element-template/protocol/types.js.map +1 -1
- package/runtime/lib/element-template/protocol/update-event.js.map +1 -1
- package/runtime/lib/element-template/runtime/list/list.js.map +1 -1
- package/runtime/lib/element-template/runtime/page/authored-page.js.map +1 -1
- package/runtime/lib/element-template/runtime/page/page.js.map +1 -1
- package/runtime/lib/element-template/runtime/page/root-instance.js.map +1 -1
- package/runtime/lib/element-template/runtime/patch.js.map +1 -1
- package/runtime/lib/element-template/runtime/render/create-rendered-host.js.map +1 -1
- package/runtime/lib/element-template/runtime/render/host.js.map +1 -1
- package/runtime/lib/element-template/runtime/render/render-components.js.map +1 -1
- package/runtime/lib/element-template/runtime/render/render-direct.js.map +1 -1
- package/runtime/lib/element-template/runtime/render/render-main-thread.js.map +1 -1
- package/runtime/lib/element-template/runtime/template/attr-slot-plan.js.map +1 -1
- package/runtime/lib/element-template/runtime/template/handle.js.map +1 -1
- package/runtime/lib/element-template/runtime/template/main-thread-background-function.js.map +1 -1
- package/runtime/lib/element-template/runtime/template/main-thread-dynamic-attr-state.js.map +1 -1
- package/runtime/lib/element-template/runtime/template/main-thread-event-ctx.js.map +1 -1
- package/runtime/lib/element-template/runtime/template/main-thread-function.js.map +1 -1
- package/runtime/lib/element-template/runtime/template/main-thread-ref-ctx.js.map +1 -1
- package/runtime/lib/element-template/runtime/template/registry.js.map +1 -1
- package/runtime/lib/element-template/runtime/template/typed-attributes.js.map +1 -1
- package/runtime/lib/element-template/runtime-marker.js.map +1 -1
- package/runtime/lib/index.js.map +1 -1
- package/runtime/lib/internal.d.ts +0 -1
- package/runtime/lib/internal.js +0 -1
- package/runtime/lib/internal.js.map +1 -1
- package/runtime/lib/lynx-api.js.map +1 -1
- package/runtime/lib/lynx.js.map +1 -1
- package/runtime/lib/root.js.map +1 -1
- package/runtime/lib/runtime-marker.js.map +1 -1
- package/runtime/lib/shared/attribute-name.js.map +1 -1
- package/runtime/lib/shared/component-stack.js.map +1 -1
- package/runtime/lib/shared/index-map.d.ts +4 -1
- package/runtime/lib/shared/index-map.js +5 -2
- package/runtime/lib/shared/index-map.js.map +1 -1
- package/runtime/lib/shared/profile.js.map +1 -1
- package/runtime/lib/shared/render-constants.js.map +1 -1
- package/runtime/lib/snapshot/alog/elementPAPICall.js.map +1 -1
- package/runtime/lib/snapshot/alog/index.js.map +1 -1
- package/runtime/lib/snapshot/alog/render.js.map +1 -1
- package/runtime/lib/snapshot/compat/componentIs.js.map +1 -1
- package/runtime/lib/snapshot/debug/debug.js.map +1 -1
- package/runtime/lib/snapshot/debug/describeInvalidValue.js.map +1 -1
- package/runtime/lib/snapshot/debug/formatPatch.js.map +1 -1
- package/runtime/lib/snapshot/debug/printSnapshot.js.map +1 -1
- package/runtime/lib/snapshot/debug/profileHooks.js.map +1 -1
- package/runtime/lib/snapshot/debug/vnodeSource.js.map +1 -1
- package/runtime/lib/snapshot/gesture/processGesture.js.map +1 -1
- package/runtime/lib/snapshot/gesture/processGestureBagkround.js.map +1 -1
- package/runtime/lib/snapshot/gesture/types.js.map +1 -1
- package/runtime/lib/snapshot/index.js.map +1 -1
- package/runtime/lib/snapshot/lifecycle/constant.js.map +1 -1
- package/runtime/lib/snapshot/lifecycle/destroy.js +6 -0
- package/runtime/lib/snapshot/lifecycle/destroy.js.map +1 -1
- package/runtime/lib/snapshot/lifecycle/event/delayEvents.js.map +1 -1
- package/runtime/lib/snapshot/lifecycle/event/delayLifecycleEvents.js.map +1 -1
- package/runtime/lib/snapshot/lifecycle/event/firstScreenSync.d.ts +6 -2
- package/runtime/lib/snapshot/lifecycle/event/firstScreenSync.js +21 -18
- package/runtime/lib/snapshot/lifecycle/event/firstScreenSync.js.map +1 -1
- package/runtime/lib/snapshot/lifecycle/isRendering.js.map +1 -1
- package/runtime/lib/snapshot/lifecycle/patch/commit.js.map +1 -1
- package/runtime/lib/snapshot/lifecycle/patch/error.js.map +1 -1
- package/runtime/lib/snapshot/lifecycle/patch/globalState.js.map +1 -1
- package/runtime/lib/snapshot/lifecycle/patch/isMainThreadHydrating.js.map +1 -1
- package/runtime/lib/snapshot/lifecycle/patch/nodesRefApply.js.map +1 -1
- package/runtime/lib/snapshot/lifecycle/patch/snapshotPatch.js.map +1 -1
- package/runtime/lib/snapshot/lifecycle/patch/snapshotPatchApply.js.map +1 -1
- package/runtime/lib/snapshot/lifecycle/patch/updateMainThread.js.map +1 -1
- package/runtime/lib/snapshot/lifecycle/ref/delay.js.map +1 -1
- package/runtime/lib/snapshot/lifecycle/reload.d.ts +9 -2
- package/runtime/lib/snapshot/lifecycle/reload.js +29 -8
- package/runtime/lib/snapshot/lifecycle/reload.js.map +1 -1
- package/runtime/lib/snapshot/lifecycle/render.js.map +1 -1
- package/runtime/lib/snapshot/list/list.js +3 -2
- package/runtime/lib/snapshot/list/list.js.map +1 -1
- package/runtime/lib/snapshot/list/listUpdateInfo.js.map +1 -1
- package/runtime/lib/snapshot/list/pendingListUpdates.js.map +1 -1
- package/runtime/lib/snapshot/lynx/calledByNative.js +3 -3
- package/runtime/lib/snapshot/lynx/calledByNative.js.map +1 -1
- package/runtime/lib/snapshot/lynx/children.js.map +1 -1
- package/runtime/lib/snapshot/lynx/element.js.map +1 -1
- package/runtime/lib/snapshot/lynx/env.js.map +1 -1
- package/runtime/lib/snapshot/lynx/injectLepusMethods.js.map +1 -1
- package/runtime/lib/snapshot/lynx/lazyBundleConstants.js.map +1 -1
- package/runtime/lib/snapshot/lynx/nodesRef.js.map +1 -1
- package/runtime/lib/snapshot/lynx/performance.js.map +1 -1
- package/runtime/lib/snapshot/lynx/portals.js.map +1 -1
- package/runtime/lib/snapshot/lynx/portalsPending.js.map +1 -1
- package/runtime/lib/snapshot/lynx/prepareLazyBundleMTS.js.map +1 -1
- package/runtime/lib/snapshot/lynx/runWithForce.js.map +1 -1
- package/runtime/lib/snapshot/lynx/suspense.js.map +1 -1
- package/runtime/lib/snapshot/lynx/tt.js.map +1 -1
- package/runtime/lib/snapshot/renderToOpcodes/hydrate.js.map +1 -1
- package/runtime/lib/snapshot/renderToOpcodes/index.js.map +1 -1
- package/runtime/lib/snapshot/renderToOpcodes/opcodes.js.map +1 -1
- package/runtime/lib/snapshot/snapshot/backgroundSnapshot.js.map +1 -1
- package/runtime/lib/snapshot/snapshot/constants.js.map +1 -1
- package/runtime/lib/snapshot/snapshot/definition.js.map +1 -1
- package/runtime/lib/snapshot/snapshot/dynamicPartType.js.map +1 -1
- package/runtime/lib/snapshot/snapshot/event.js.map +1 -1
- package/runtime/lib/snapshot/snapshot/gesture.js.map +1 -1
- package/runtime/lib/snapshot/snapshot/index.js.map +1 -1
- package/runtime/lib/snapshot/snapshot/list.js +2 -1
- package/runtime/lib/snapshot/snapshot/list.js.map +1 -1
- package/runtime/lib/snapshot/snapshot/platformInfo.js.map +1 -1
- package/runtime/lib/snapshot/snapshot/reconstructInstanceTree.js.map +1 -1
- package/runtime/lib/snapshot/snapshot/ref.js.map +1 -1
- package/runtime/lib/snapshot/snapshot/snapshot.js.map +1 -1
- package/runtime/lib/snapshot/snapshot/snapshotCreatorMap.js.map +1 -1
- package/runtime/lib/snapshot/snapshot/snapshotInstanceHydrationMap.js.map +1 -1
- package/runtime/lib/snapshot/snapshot/snapshotInstanceManager.d.ts +4 -2
- package/runtime/lib/snapshot/snapshot/snapshotInstanceManager.js +11 -11
- package/runtime/lib/snapshot/snapshot/snapshotInstanceManager.js.map +1 -1
- package/runtime/lib/snapshot/snapshot/spread.js.map +1 -1
- package/runtime/lib/snapshot/snapshot/types.js.map +1 -1
- package/runtime/lib/snapshot/snapshot/utils.js.map +1 -1
- package/runtime/lib/snapshot/snapshot/workletEvent.js.map +1 -1
- package/runtime/lib/snapshot/snapshot/workletRef.js.map +1 -1
- package/runtime/lib/snapshot/worklet/call/runOnMainThread.d.ts +1 -0
- package/runtime/lib/snapshot/worklet/call/runOnMainThread.js +6 -1
- package/runtime/lib/snapshot/worklet/call/runOnMainThread.js.map +1 -1
- package/runtime/lib/snapshot/worklet/ctx.d.ts +1 -1
- package/runtime/lib/snapshot/worklet/ctx.js +6 -1
- package/runtime/lib/snapshot/worklet/ctx.js.map +1 -1
- package/runtime/lib/snapshot/worklet/destroy.js.map +1 -1
- package/runtime/lib/snapshot/worklet/functionality.js.map +1 -1
- package/runtime/lib/snapshot/worklet/hmr.js.map +1 -1
- package/runtime/lib/snapshot/worklet/ref/updateInitValue.js +6 -0
- package/runtime/lib/snapshot/worklet/ref/updateInitValue.js.map +1 -1
- package/runtime/lib/tsconfig.tsbuildinfo +1 -1
- package/runtime/lib/utils.js.map +1 -1
- package/runtime/lib/worklet-runtime/api/animation/animation.js.map +1 -1
- package/runtime/lib/worklet-runtime/api/animation/effect.js.map +1 -1
- package/runtime/lib/worklet-runtime/api/element.js.map +1 -1
- package/runtime/lib/worklet-runtime/api/lepusQuerySelector.js.map +1 -1
- package/runtime/lib/worklet-runtime/api/lynxApi.js.map +1 -1
- package/runtime/lib/worklet-runtime/bindings/bindings.js.map +1 -1
- package/runtime/lib/worklet-runtime/bindings/events.js.map +1 -1
- package/runtime/lib/worklet-runtime/bindings/index.d.ts +0 -1
- package/runtime/lib/worklet-runtime/bindings/index.js +0 -1
- package/runtime/lib/worklet-runtime/bindings/index.js.map +1 -1
- package/runtime/lib/worklet-runtime/bindings/observers.js.map +1 -1
- package/runtime/lib/worklet-runtime/bindings/types.js.map +1 -1
- package/runtime/lib/worklet-runtime/delayRunOnBackground.js +3 -1
- package/runtime/lib/worklet-runtime/delayRunOnBackground.js.map +1 -1
- package/runtime/lib/worklet-runtime/delayWorkletEvent.js.map +1 -1
- package/runtime/lib/worklet-runtime/eomImpl.js.map +1 -1
- package/runtime/lib/worklet-runtime/eventPropagation.js.map +1 -1
- package/runtime/lib/worklet-runtime/global.js.map +1 -1
- package/runtime/lib/worklet-runtime/hydrate.js.map +1 -1
- package/runtime/lib/worklet-runtime/index.js +6 -0
- package/runtime/lib/worklet-runtime/index.js.map +1 -1
- package/runtime/lib/worklet-runtime/jsFunctionLifecycle.js +2 -1
- package/runtime/lib/worklet-runtime/jsFunctionLifecycle.js.map +1 -1
- package/runtime/lib/worklet-runtime/listeners.js +2 -2
- package/runtime/lib/worklet-runtime/listeners.js.map +1 -1
- package/runtime/lib/worklet-runtime/mainThreadObject.js +3 -1
- package/runtime/lib/worklet-runtime/mainThreadObject.js.map +1 -1
- package/runtime/lib/worklet-runtime/runOnMainThread.js +4 -3
- package/runtime/lib/worklet-runtime/runOnMainThread.js.map +1 -1
- package/runtime/lib/worklet-runtime/utils/mainThreadFlushLoopGuard.js.map +1 -1
- package/runtime/lib/worklet-runtime/utils/profile.js.map +1 -1
- package/runtime/lib/worklet-runtime/utils/version.js.map +1 -1
- package/runtime/lib/worklet-runtime/workletRef.js.map +1 -1
- package/runtime/lib/worklet-runtime/workletRuntime.js.map +1 -1
- package/runtime/src/core/background-function/exec-map.ts +9 -0
- package/runtime/src/core/background-function/run-on-background.ts +14 -16
- package/runtime/src/core/card-lifetime.ts +18 -0
- package/runtime/src/core/entry-reload.ts +63 -0
- package/runtime/src/core/lynx/lazy-bundle.ts +4 -1
- package/runtime/src/core/main-thread-object.ts +1 -8
- package/runtime/src/core/main-thread-ref-id.ts +5 -4
- package/runtime/src/core/reload-scoped-event.ts +35 -0
- package/runtime/src/core/reload-version.ts +5 -3
- package/runtime/src/core/runtime-destroy.ts +11 -0
- package/runtime/src/core/thread-function-call/main-thread.ts +4 -4
- package/runtime/src/core/thread-function-call/return-value.ts +6 -5
- package/runtime/src/element-template/background/commit-hook.ts +20 -17
- package/runtime/src/element-template/background/hydration-listener.ts +2 -6
- package/runtime/src/element-template/internal.ts +0 -1
- package/runtime/src/element-template/main-thread-ref-init-value.ts +44 -0
- package/runtime/src/element-template/native/index.ts +2 -0
- package/runtime/src/element-template/native/mts-destroy.ts +3 -0
- package/runtime/src/element-template/native/patch-listener.ts +0 -5
- package/runtime/src/element-template/native/reload-background.ts +13 -1
- package/runtime/src/element-template/native/reload-main-thread.ts +30 -2
- package/runtime/src/element-template/protocol/lifecycle-constant.ts +1 -0
- package/runtime/src/element-template/protocol/types.ts +0 -2
- package/runtime/src/internal.ts +0 -1
- package/runtime/src/shared/index-map.ts +3 -2
- package/runtime/src/snapshot/lifecycle/destroy.ts +7 -0
- package/runtime/src/snapshot/lifecycle/event/firstScreenSync.ts +26 -19
- package/runtime/src/snapshot/lifecycle/reload.ts +47 -11
- package/runtime/src/snapshot/list/list.ts +9 -2
- package/runtime/src/snapshot/lynx/calledByNative.ts +3 -4
- package/runtime/src/snapshot/snapshot/list.ts +5 -1
- package/runtime/src/snapshot/snapshot/snapshotInstanceManager.ts +19 -12
- package/runtime/src/snapshot/worklet/call/runOnMainThread.ts +10 -1
- package/runtime/src/snapshot/worklet/ctx.ts +10 -1
- package/runtime/src/snapshot/worklet/ref/updateInitValue.ts +6 -0
- package/runtime/src/worklet-runtime/README.md +13 -0
- package/runtime/src/worklet-runtime/bindings/index.ts +0 -1
- package/runtime/src/worklet-runtime/delayRunOnBackground.ts +3 -1
- package/runtime/src/worklet-runtime/index.ts +7 -0
- package/runtime/src/worklet-runtime/jsFunctionLifecycle.ts +2 -1
- package/runtime/src/worklet-runtime/listeners.ts +4 -7
- package/runtime/src/worklet-runtime/mainThreadObject.ts +2 -1
- package/runtime/src/worklet-runtime/runOnMainThread.ts +4 -3
- package/runtime/tsconfig.json +2 -0
- package/runtime/types/types.d.ts +3 -1
- package/runtime/vitest.config.ts +4 -0
- package/testing-library/.turbo/turbo-build.log +12 -12
- package/testing-library/dist/env/index.js +3 -15
- package/testing-library/dist/plugins/index.js +10 -0
- package/testing-library/dist/rstest-config.js +15 -0
- package/testing-library/dist/setupFiles/common/worklet-runtime-init.js +11 -0
- package/testing-library/rstest.config.ts +3 -0
- package/testing-library/src/__tests__/rstest-config.test.js +34 -1
- package/testing-library/src/__tests__/worklet.test.jsx +51 -37
- package/testing-library/src/plugins/vitest.ts +5 -1
- package/testing-library/src/rstest-config.ts +17 -1
- package/testing-library/src/setupFiles/common/worklet-runtime-init.js +22 -0
- package/transform/.turbo/turbo-build$colon$wasm.log +345 -150
- package/transform/__test__/defines.spec.js +187 -12
- package/transform/__test__/fixture.spec.js +166 -48
- package/transform/__test__/object-methods.spec.js +1 -3
- package/transform/crates/swc_plugin_worklet/definition_imports.rs +97 -0
- package/transform/crates/swc_plugin_worklet/gen_stmt.rs +26 -10
- package/transform/crates/swc_plugin_worklet/lib.rs +138 -153
- package/transform/crates/swc_plugin_worklet/napi.rs +10 -1
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_capture_env_lepus.js +4 -4
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_expose_object_method_capture_channels_lepus.js +3 -5
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_extract_ident_from_this_lepus.js +2 -4
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_extract_member_expr_2_lepus.js +4 -4
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_extract_member_expr_3_lepus.js +3 -5
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_extract_member_expr_4_lepus.js +2 -4
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_extract_member_expr_lepus.js +4 -4
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_not_capture_computed_object_method_key_lepus.js +2 -4
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_not_capture_globals.js +2 -4
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_not_capture_object_method_local_decls_lepus.js +2 -4
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_not_capture_type_annotations.js +2 -4
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_not_destructure_from_closure.js +2 -4
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_not_extract_catch_clause_params.js +2 -4
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_not_extract_idents_inside_of_ctx.js +2 -4
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_not_transform_recursively.js +2 -4
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_preserve_main_thread_objects_in_class_lepus.js +6 -6
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_skip_shared_identifiers_lepus.js +2 -4
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_transform_arrow_function.js +2 -4
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_transform_fn_decl_lepus.js +2 -4
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_transform_function_expr.js +2 -4
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_transform_in_class_lepus.js +2 -4
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_transform_in_class_property_lepus.js +2 -4
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_transform_in_class_static_lepus.js +2 -4
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_transform_in_class_static_property_lepus.js +2 -4
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_transform_js_fn_in_run_on_js_lepus.js +2 -4
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_transform_lepus.js +4 -4
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_transform_lepus_alias.js +2 -4
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_transform_lepus_general.js +2 -4
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_transform_lepus_general_mixed.js +2 -4
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_transform_multiple_worklets.js +3 -5
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_transform_multiple_worklets_in_func.js +3 -5
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_transform_object_methods_lepus.js +2 -4
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_transform_ui_worklet_lepus.js +2 -4
- package/transform/dist/wasm.cjs +1 -1
- package/transform/index.d.ts +27 -1
- package/transform/src/lib.rs +354 -23
- package/transform/swc-plugin-reactlynx/.turbo/turbo-build.log +53 -52
- package/transform/swc-plugin-reactlynx/swc_plugin_reactlynx.wasm +0 -0
- package/transform/swc-plugin-reactlynx-compat/.turbo/turbo-build.log +63 -293
- package/runtime/lib/worklet-runtime/bindings/loadRuntime.d.ts +0 -8
- package/runtime/lib/worklet-runtime/bindings/loadRuntime.js +0 -23
- package/runtime/lib/worklet-runtime/bindings/loadRuntime.js.map +0 -1
- package/runtime/src/worklet-runtime/bindings/loadRuntime.ts +0 -25
- package/runtime/worklet-runtime/dev.js +0 -775
- package/runtime/worklet-runtime/main.js +0 -1
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_add_worklet_runtime_ident_with_inner_ident.js +0 -13
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_add_worklet_runtime_ident_with_outer_ident.js +0 -13
|
@@ -2,31 +2,36 @@ $ node ./build.js
|
|
|
2
2
|
Blocking waiting for file lock on package cache
|
|
3
3
|
Blocking waiting for file lock on package cache
|
|
4
4
|
Blocking waiting for file lock on package cache
|
|
5
|
+
Downloading crates ...
|
|
6
|
+
Downloaded cbor4ii v1.2.2
|
|
7
|
+
Downloaded swc_plugin_macro v2.0.0
|
|
8
|
+
Downloaded swc_plugin_proxy v30.0.0
|
|
9
|
+
Downloaded swc_plugin v1.0.1
|
|
5
10
|
Blocking waiting for file lock on package cache
|
|
6
11
|
Blocking waiting for file lock on build directory
|
|
7
12
|
Compiling foldhash v0.2.0
|
|
8
13
|
Compiling zerovec v0.11.6
|
|
9
14
|
Compiling getrandom v0.3.4
|
|
10
15
|
Compiling ahash v0.8.12
|
|
11
|
-
Compiling hashbrown v0.17.1
|
|
12
16
|
Compiling either v1.17.0
|
|
17
|
+
Compiling hashbrown v0.17.1
|
|
13
18
|
Compiling swc_visit v2.0.2
|
|
14
19
|
Compiling hashbrown v0.14.5
|
|
15
20
|
Compiling aho-corasick v1.1.4
|
|
16
21
|
Compiling indexmap v2.14.0
|
|
22
|
+
Compiling hstr v4.0.0
|
|
17
23
|
Compiling tinystr v0.8.3
|
|
18
|
-
Compiling potential_utf v0.1.5
|
|
19
24
|
Compiling icu_locale_core v2.2.0
|
|
20
|
-
Compiling
|
|
25
|
+
Compiling potential_utf v0.1.5
|
|
21
26
|
Compiling serde_json v1.0.151
|
|
22
|
-
Compiling
|
|
27
|
+
Compiling icu_collections v2.2.0
|
|
23
28
|
Compiling icu_provider v2.2.0
|
|
24
29
|
Compiling swc_atoms v10.0.0
|
|
25
30
|
Compiling regex-automata v0.4.16
|
|
26
|
-
Compiling icu_normalizer v2.2.0
|
|
27
31
|
Compiling icu_properties v2.2.0
|
|
28
|
-
Compiling
|
|
32
|
+
Compiling icu_normalizer v2.2.0
|
|
29
33
|
Compiling typenum v1.20.1
|
|
34
|
+
Compiling swc_ecma_regexp_common v0.0.1
|
|
30
35
|
Compiling crossbeam-utils v0.8.22
|
|
31
36
|
Compiling idna_adapter v1.2.2
|
|
32
37
|
Compiling idna v1.1.0
|
|
@@ -35,105 +40,101 @@ $ node ./build.js
|
|
|
35
40
|
Compiling url v2.5.8
|
|
36
41
|
Compiling hashbrown v0.16.1
|
|
37
42
|
Compiling swc_sourcemap v10.0.2
|
|
38
|
-
Compiling bstr v1.13.0
|
|
39
43
|
Compiling regex v1.13.1
|
|
40
|
-
Compiling
|
|
41
|
-
Compiling swc_common v26.0.0
|
|
44
|
+
Compiling bstr v1.13.0
|
|
42
45
|
Compiling regress v0.11.1
|
|
46
|
+
Compiling swc_common v26.0.0
|
|
43
47
|
Compiling swc_ecma_ast v29.0.0
|
|
44
48
|
Compiling swc_ecma_regexp_ast v3.0.0
|
|
49
|
+
Compiling swc_ecma_regexp_visit v0.15.0
|
|
50
|
+
Compiling globset v0.4.19
|
|
51
|
+
Compiling swc_ecma_compat_regexp v9.0.0
|
|
52
|
+
Compiling swc_ecma_regexp v0.15.0
|
|
45
53
|
Compiling block-buffer v0.10.4
|
|
46
54
|
Compiling crypto-common v0.1.7
|
|
47
|
-
Compiling swc_config_macro v1.0.1
|
|
48
|
-
Compiling digest v0.10.7
|
|
49
55
|
Compiling swc_config v6.0.0
|
|
56
|
+
Compiling digest v0.10.7
|
|
50
57
|
Compiling arrayvec v0.7.8
|
|
51
|
-
Compiling swc_ecma_regexp_visit v0.15.0
|
|
52
|
-
Compiling swc_ecma_transforms_macros v1.0.1
|
|
53
58
|
Compiling fixedbitset v0.5.7
|
|
54
|
-
Compiling swc_ecma_regexp v0.15.0
|
|
55
|
-
Compiling swc_ecma_compat_regexp v9.0.0
|
|
56
|
-
Compiling petgraph v0.7.1
|
|
57
|
-
Compiling zmij v1.0.23
|
|
58
59
|
Compiling swc_allocator v5.0.0
|
|
59
60
|
Compiling sha1 v0.10.7
|
|
61
|
+
Compiling petgraph v0.7.1
|
|
60
62
|
Compiling chrono v0.4.45
|
|
61
|
-
Compiling browserslist-data v0.2.0
|
|
62
63
|
Compiling swc_error_reporters v28.0.0
|
|
63
64
|
Compiling matchers v0.2.0
|
|
65
|
+
Compiling browserslist-data v0.2.0
|
|
64
66
|
Compiling itertools v0.15.0
|
|
65
67
|
Compiling nom v8.0.0
|
|
66
|
-
Compiling static-map-macro v0.3.4
|
|
67
|
-
Compiling foldhash v0.1.5
|
|
68
|
-
Compiling precomputed-map v0.2.0
|
|
69
|
-
Compiling swc_ecma_preset_env v63.0.0
|
|
70
|
-
Compiling swc_ecma_visit v29.0.0
|
|
71
|
-
Compiling swc_ecma_parser v45.1.1
|
|
72
68
|
Compiling tracing-subscriber v0.3.23
|
|
73
|
-
Compiling browserslist-rs v0.20.0
|
|
74
69
|
Compiling st-map v0.2.4
|
|
75
70
|
Compiling cargo_metadata v0.18.1
|
|
71
|
+
Compiling swc_ecma_visit v29.0.0
|
|
72
|
+
Compiling swc_ecma_parser v45.1.1
|
|
73
|
+
Compiling browserslist-rs v0.20.0
|
|
76
74
|
Compiling par-iter v2.0.0
|
|
77
75
|
Compiling ryu-js v1.0.3
|
|
78
76
|
Compiling radix_fmt v1.0.0
|
|
79
77
|
Compiling pathdiff v0.2.3
|
|
80
78
|
Compiling testing v27.0.0
|
|
81
79
|
Compiling preset_env_base v9.0.0
|
|
80
|
+
Compiling swc_ecma_preset_env v63.0.0
|
|
82
81
|
Compiling sha2 v0.10.9
|
|
83
82
|
Compiling lru v0.18.4
|
|
84
83
|
Compiling path-clean v1.0.1
|
|
85
|
-
Compiling
|
|
84
|
+
Compiling foldhash v0.1.5
|
|
85
|
+
Compiling precomputed-map v0.2.0
|
|
86
86
|
Compiling swc_ecma_loader v27.0.0
|
|
87
|
+
Compiling swc_ecma_testing v27.0.0
|
|
88
|
+
Compiling swc_transform_common v20.0.0
|
|
89
|
+
Compiling swc_node_comments v27.0.0
|
|
90
|
+
Compiling jsonc-parser v0.26.3
|
|
91
|
+
Compiling swc_core v77.1.2
|
|
92
|
+
Compiling swc_plugin_proxy v30.0.0
|
|
93
|
+
Compiling sha-1 v0.10.1
|
|
94
|
+
Compiling hybrid-array v0.4.13
|
|
95
|
+
Compiling crypto-common v0.2.2
|
|
96
|
+
Compiling block-buffer v0.12.1
|
|
97
|
+
Compiling const-oid v0.10.2
|
|
87
98
|
Compiling swc_ecma_utils v35.0.0
|
|
88
99
|
Compiling swc_ecma_hooks v1.0.0
|
|
100
|
+
Compiling digest v0.11.3
|
|
101
|
+
Compiling sha2 v0.11.0
|
|
89
102
|
Compiling swc_ecma_transforms_base v49.0.1
|
|
90
103
|
Compiling swc_ecma_codegen v32.0.0
|
|
104
|
+
Compiling swc_ecma_ext_transforms v35.0.0
|
|
91
105
|
Compiling swc_ecma_transformer v21.0.1
|
|
92
106
|
Compiling swc_ecma_transforms_classes v49.0.0
|
|
93
|
-
Compiling swc_ecma_transforms_optimization v52.0.0
|
|
94
107
|
Compiling swc_ecma_compat_common v45.0.0
|
|
95
108
|
Compiling swc_ecma_compat_es2015 v55.0.0
|
|
96
109
|
Compiling swc_ecma_compat_es2022 v53.0.0
|
|
97
|
-
Compiling
|
|
110
|
+
Compiling swc_ecma_transforms_optimization v52.0.0
|
|
98
111
|
Compiling swc_ecma_compat_es2020 v53.0.0
|
|
99
112
|
Compiling swc_ecma_compat_es2016 v50.0.0
|
|
100
|
-
Compiling swc_ecma_compat_es2019 v50.0.0
|
|
101
113
|
Compiling swc_ecma_compat_es2018 v51.0.0
|
|
114
|
+
Compiling swc_ecma_compat_es2019 v50.0.0
|
|
102
115
|
Compiling swc_ecma_compat_es2021 v50.0.0
|
|
116
|
+
Compiling swc_ecma_compat_bugfixes v56.0.0
|
|
103
117
|
Compiling swc_ecma_compat_es2017 v50.0.0
|
|
104
118
|
Compiling swc_ecma_transforms_react v55.0.1
|
|
105
119
|
Compiling swc_ecma_transforms_compat v57.0.1
|
|
106
120
|
Compiling swc_ecma_transforms_typescript v55.0.1
|
|
107
121
|
Compiling swc_ecma_transforms_proposal v49.0.0
|
|
108
|
-
Compiling swc_ecma_minifier v61.0.4
|
|
109
122
|
Compiling swc_ecma_transforms v62.0.0
|
|
110
|
-
Compiling
|
|
111
|
-
Compiling swc_compiler_base v64.0.0
|
|
112
|
-
Compiling swc_node_comments v27.0.0
|
|
113
|
-
Compiling swc_transform_common v20.0.0
|
|
114
|
-
Compiling jsonc-parser v0.26.3
|
|
115
|
-
Compiling swc_core v77.1.2
|
|
123
|
+
Compiling swc_ecma_minifier v61.0.4
|
|
116
124
|
Compiling swc_ecma_transforms_testing v53.0.0
|
|
125
|
+
Compiling swc_plugin_define_dce v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_define_dce)
|
|
126
|
+
Compiling swc_compiler_base v64.0.0
|
|
117
127
|
Compiling swc v75.0.1
|
|
118
|
-
Compiling swc_plugin_proxy v30.0.0
|
|
119
|
-
Compiling sha-1 v0.10.1
|
|
120
|
-
Compiling hybrid-array v0.4.13
|
|
121
|
-
Compiling block-buffer v0.12.1
|
|
122
|
-
Compiling crypto-common v0.2.2
|
|
123
128
|
Compiling swc_plugins_shared v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugins_shared)
|
|
124
|
-
Compiling const-oid v0.10.2
|
|
125
|
-
Compiling digest v0.11.3
|
|
126
|
-
Compiling sha2 v0.11.0
|
|
127
|
-
Compiling swc_plugin_define_dce v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_define_dce)
|
|
128
|
-
Compiling swc_plugin_directive_dce v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_directive_dce)
|
|
129
|
-
Compiling swc_plugin_element_template v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_element_template)
|
|
130
|
-
Compiling swc_plugin_text v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_text)
|
|
131
129
|
Compiling swc_plugin_list v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_list)
|
|
132
|
-
Compiling swc_plugin_dynamic_import v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_dynamic_import)
|
|
133
|
-
Compiling swc_plugin_snapshot v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_snapshot)
|
|
134
130
|
Compiling swc_plugin_worklet v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_worklet)
|
|
135
|
-
Compiling swc_plugin_css_scope v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_css_scope)
|
|
136
131
|
Compiling swc_plugin_shake v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_shake)
|
|
132
|
+
Compiling swc_plugin_css_scope v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_css_scope)
|
|
133
|
+
Compiling swc_plugin_element_template v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_element_template)
|
|
134
|
+
Compiling swc_plugin_directive_dce v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_directive_dce)
|
|
135
|
+
Compiling swc_plugin_dynamic_import v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_dynamic_import)
|
|
136
|
+
Compiling swc_plugin_text v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_text)
|
|
137
137
|
Compiling swc_plugin_inject v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_inject)
|
|
138
|
+
Compiling swc_plugin_snapshot v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_snapshot)
|
|
138
139
|
Compiling swc_plugin_reactlynx v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/swc-plugin-reactlynx)
|
|
139
|
-
Finished `release` profile [optimized] target(s) in
|
|
140
|
+
Finished `release` profile [optimized] target(s) in 6m 41s
|
|
Binary file
|
|
@@ -1,392 +1,162 @@
|
|
|
1
1
|
$ node ./build.js
|
|
2
|
-
Updating crates.io index
|
|
3
2
|
Blocking waiting for file lock on package cache
|
|
4
3
|
Blocking waiting for file lock on package cache
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Downloaded phf_shared v0.11.3
|
|
8
|
-
Downloaded potential_utf v0.1.5
|
|
9
|
-
Downloaded par-core v2.0.0
|
|
10
|
-
Downloaded rustc-hash v2.1.3
|
|
11
|
-
Downloaded scoped-tls v1.0.1
|
|
12
|
-
Downloaded vsimd v0.8.0
|
|
13
|
-
Downloaded zerofrom v0.1.8
|
|
14
|
-
Downloaded zerofrom-derive v0.1.7
|
|
15
|
-
Downloaded cpufeatures v0.2.17
|
|
16
|
-
Downloaded scopeguard v1.2.0
|
|
17
|
-
Downloaded seq-macro v0.3.6
|
|
18
|
-
Downloaded siphasher v0.3.11
|
|
19
|
-
Downloaded stable_deref_trait v1.2.1
|
|
20
|
-
Downloaded swc_allocator v5.0.0
|
|
21
|
-
Downloaded swc_ecma_codegen_macros v2.0.2
|
|
22
|
-
Downloaded swc_ecma_quote_macros v45.0.1
|
|
23
|
-
Downloaded swc_error_reporters v28.0.0
|
|
24
|
-
Downloaded swc_plugin v1.0.1
|
|
25
|
-
Downloaded swc_transform_common v20.0.0
|
|
26
|
-
Downloaded tap v1.0.1
|
|
27
|
-
Downloaded testing_macros v1.0.2
|
|
28
|
-
Downloaded thread_local v1.1.10
|
|
29
|
-
Downloaded unicode-linebreak v0.1.5
|
|
30
|
-
Downloaded utf8_iter v1.0.4
|
|
31
|
-
Downloaded version_check v0.9.5
|
|
32
|
-
Downloaded percent-encoding v2.3.2
|
|
33
|
-
Downloaded radium v0.7.0
|
|
34
|
-
Downloaded sha-1 v0.10.1
|
|
35
|
-
Downloaded siphasher v1.0.3
|
|
36
|
-
Downloaded string_enum v1.0.2
|
|
37
|
-
Downloaded swc_atoms v10.0.0
|
|
38
|
-
Downloaded swc_ecma_testing v27.0.0
|
|
39
|
-
Downloaded swc_eq_ignore_macros v1.0.1
|
|
40
|
-
Downloaded swc_macros_common v1.0.1
|
|
41
|
-
Downloaded swc_plugin_macro v2.0.0
|
|
42
|
-
Downloaded swc_plugin_proxy v30.0.0
|
|
43
|
-
Downloaded swc_visit v2.0.2
|
|
44
|
-
Downloaded yoke-derive v0.8.2
|
|
45
|
-
Downloaded zmij v1.0.23
|
|
46
|
-
Downloaded ast_node v7.0.0
|
|
47
|
-
Downloaded castaway v0.2.4
|
|
48
|
-
Downloaded pin-project-lite v0.2.17
|
|
49
|
-
Downloaded quote v1.0.47
|
|
50
|
-
Downloaded relative-path v1.9.3
|
|
51
|
-
Downloaded ansi_term v0.12.1
|
|
52
|
-
Downloaded base64-simd v0.8.0
|
|
53
|
-
Downloaded better_scoped_tls v1.0.1
|
|
54
|
-
Downloaded block-buffer v0.10.4
|
|
55
|
-
Downloaded bytes-str v0.2.8
|
|
56
|
-
Downloaded cargo-platform v0.1.9
|
|
57
|
-
Downloaded cfg-if v1.0.4
|
|
58
|
-
Downloaded equivalent v1.0.2
|
|
59
|
-
Downloaded errno v0.3.14
|
|
60
|
-
Downloaded form_urlencoded v1.2.2
|
|
61
|
-
Downloaded from_variant v3.0.0
|
|
62
|
-
Downloaded funty v2.0.0
|
|
63
|
-
Downloaded heck v0.5.0
|
|
64
|
-
Downloaded hex v0.4.3
|
|
65
|
-
Downloaded idna_adapter v1.2.2
|
|
66
|
-
Downloaded if_chain v1.0.3
|
|
67
|
-
Downloaded is-macro v0.3.7
|
|
68
|
-
Downloaded itoa v1.0.18
|
|
69
|
-
Downloaded lazy_static v1.5.0
|
|
70
|
-
Downloaded matchers v0.2.0
|
|
71
|
-
Downloaded num_cpus v1.17.0
|
|
72
|
-
Downloaded stacker v0.1.24
|
|
73
|
-
Downloaded swc_ecma_transforms_testing v53.0.0
|
|
74
|
-
Downloaded testing v27.0.0
|
|
75
|
-
Downloaded thiserror v1.0.69
|
|
76
|
-
Downloaded thiserror-impl v1.0.69
|
|
77
|
-
Downloaded tinystr v0.8.3
|
|
78
|
-
Downloaded tracing-log v0.2.0
|
|
79
|
-
Downloaded wyz v0.5.1
|
|
80
|
-
Downloaded yoke v0.8.3
|
|
81
|
-
Downloaded zerovec-derive v0.11.3
|
|
82
|
-
Downloaded ahash v0.8.12
|
|
83
|
-
Downloaded allocator-api2 v0.2.21
|
|
84
|
-
Downloaded autocfg v1.5.1
|
|
85
|
-
Downloaded camino v1.2.4
|
|
86
|
-
Downloaded cargo_metadata v0.18.1
|
|
87
|
-
Downloaded cbor4ii v1.2.2
|
|
88
|
-
Downloaded convert_case v0.11.0
|
|
89
|
-
Downloaded crypto-common v0.1.7
|
|
90
|
-
Downloaded data-encoding v2.11.0
|
|
91
|
-
Downloaded debugid v0.8.0
|
|
92
|
-
Downloaded digest v0.10.7
|
|
93
|
-
Downloaded either v1.17.0
|
|
94
|
-
Downloaded fastrand v2.5.0
|
|
95
|
-
Downloaded find-msvc-tools v0.1.9
|
|
96
|
-
Downloaded generic-array v0.14.7
|
|
97
|
-
Downloaded glob v0.3.4
|
|
98
|
-
Downloaded lock_api v0.4.14
|
|
99
|
-
Downloaded new_debug_unreachable v1.0.6
|
|
100
|
-
Downloaded num-integer v0.1.46
|
|
101
|
-
Downloaded outref v0.5.2
|
|
102
|
-
Downloaded phf v0.11.3
|
|
103
|
-
Downloaded phf_macros v0.11.3
|
|
104
|
-
Downloaded rand_core v0.6.4
|
|
105
|
-
Downloaded rustversion v1.0.23
|
|
106
|
-
Downloaded semver v1.0.28
|
|
107
|
-
Downloaded sha2 v0.10.9
|
|
108
|
-
Downloaded shlex v2.0.1
|
|
109
|
-
Downloaded smallvec v1.15.2
|
|
110
|
-
Downloaded static_assertions v1.1.0
|
|
111
|
-
Downloaded sugar_path v1.2.1
|
|
112
|
-
Downloaded swc_ecma_ast v29.0.0
|
|
113
|
-
Downloaded swc_ecma_utils v35.0.0
|
|
114
|
-
Downloaded synstructure v0.13.2
|
|
115
|
-
Downloaded tempfile v3.27.0
|
|
116
|
-
Downloaded termcolor v1.4.1
|
|
117
|
-
Downloaded tracing-attributes v0.1.31
|
|
118
|
-
Downloaded triomphe v0.1.16
|
|
119
|
-
Downloaded unicode-id-start v1.4.0
|
|
120
|
-
Downloaded unicode-ident v1.0.24
|
|
121
|
-
Downloaded uuid v1.24.0
|
|
122
|
-
Downloaded writeable v0.6.3
|
|
123
|
-
Downloaded anyhow v1.0.104
|
|
124
|
-
Downloaded ascii v1.1.0
|
|
125
|
-
Downloaded diff v0.1.13
|
|
126
|
-
Downloaded displaydoc v0.2.6
|
|
127
|
-
Downloaded litemap v0.8.2
|
|
128
|
-
Downloaded miette-derive v7.6.0
|
|
129
|
-
Downloaded nu-ansi-term v0.50.3
|
|
130
|
-
Downloaded owo-colors v4.3.0
|
|
131
|
-
Downloaded parking_lot v0.12.5
|
|
132
|
-
Downloaded parking_lot_core v0.9.12
|
|
133
|
-
Downloaded pretty_assertions v1.4.1
|
|
134
|
-
Downloaded psm v0.1.31
|
|
135
|
-
Downloaded ryu v1.0.23
|
|
136
|
-
Downloaded serde_core v1.0.229
|
|
137
|
-
Downloaded serde_derive v1.0.229
|
|
138
|
-
Downloaded sharded-slab v0.1.7
|
|
139
|
-
Downloaded swc_core v77.1.2
|
|
140
|
-
Downloaded textwrap v0.16.2
|
|
141
|
-
Downloaded tracing-core v0.1.36
|
|
142
|
-
Downloaded yansi v1.0.1
|
|
143
|
-
Downloaded base64 v0.22.1
|
|
144
|
-
Downloaded bitflags v2.13.1
|
|
145
|
-
Downloaded compact_str v0.7.1
|
|
146
|
-
Downloaded hstr v4.0.0
|
|
147
|
-
Downloaded icu_properties v2.2.0
|
|
148
|
-
Downloaded icu_provider v2.2.0
|
|
149
|
-
Downloaded proc-macro2 v1.0.107
|
|
150
|
-
Downloaded serde v1.0.229
|
|
151
|
-
Downloaded swc_ecma_codegen v32.0.0
|
|
152
|
-
Downloaded url v2.5.8
|
|
153
|
-
Downloaded bytes v1.12.1
|
|
154
|
-
Downloaded getrandom v0.4.3
|
|
155
|
-
Downloaded log v0.4.33
|
|
156
|
-
Downloaded num-traits v0.2.19
|
|
157
|
-
Downloaded once_cell v1.21.4
|
|
158
|
-
Downloaded rand v0.8.7
|
|
159
|
-
Downloaded swc_common v26.0.0
|
|
160
|
-
Downloaded swc_sourcemap v10.0.2
|
|
161
|
-
Downloaded typenum v1.20.1
|
|
162
|
-
Downloaded unicode-segmentation v1.13.3
|
|
163
|
-
Downloaded dragonbox_ecma v0.1.12
|
|
164
|
-
Downloaded icu_locale_core v2.2.0
|
|
165
|
-
Downloaded icu_normalizer v2.2.0
|
|
166
|
-
Downloaded swc_ecma_transforms_base v49.0.1
|
|
167
|
-
Downloaded zerotrie v0.2.4
|
|
168
|
-
Downloaded icu_normalizer_data v2.2.0
|
|
169
|
-
Downloaded ar_archive_writer v0.5.2
|
|
170
|
-
Downloaded bumpalo v3.20.3
|
|
171
|
-
Downloaded cc v1.4.0
|
|
172
|
-
Downloaded regex v1.13.1
|
|
173
|
-
Downloaded serde_json v1.0.151
|
|
174
|
-
Downloaded icu_collections v2.2.0
|
|
175
|
-
Downloaded indexmap v2.14.0
|
|
176
|
-
Downloaded miette v7.6.0
|
|
177
|
-
Downloaded zerovec v0.11.6
|
|
178
|
-
Downloaded memchr v2.8.3
|
|
179
|
-
Downloaded num-bigint v0.4.8
|
|
180
|
-
Downloaded aho-corasick v1.1.4
|
|
181
|
-
Downloaded hashbrown v0.14.5
|
|
182
|
-
Downloaded idna v1.1.0
|
|
183
|
-
Downloaded difference v2.0.0
|
|
184
|
-
Downloaded hashbrown v0.17.1
|
|
185
|
-
Downloaded icu_properties_data v2.2.0
|
|
186
|
-
Downloaded swc_ecma_parser v45.1.1
|
|
187
|
-
Downloaded tracing-subscriber v0.3.23
|
|
188
|
-
Downloaded zerocopy v0.8.55
|
|
189
|
-
Downloaded bitvec v1.1.1
|
|
190
|
-
Downloaded unicode-width v0.1.14
|
|
191
|
-
Downloaded unicode-width v0.2.2
|
|
192
|
-
Downloaded syn v2.0.119
|
|
193
|
-
Downloaded syn v3.0.3
|
|
194
|
-
Downloaded swc_ecma_visit v29.0.0
|
|
195
|
-
Downloaded object v0.37.3
|
|
196
|
-
Downloaded regex-syntax v0.8.11
|
|
197
|
-
Downloaded rustix v1.1.4
|
|
198
|
-
Downloaded tracing v0.1.44
|
|
199
|
-
Downloaded regex-automata v0.4.16
|
|
200
|
-
Downloaded libc v0.2.189
|
|
201
|
-
Downloaded linux-raw-sys v0.12.1
|
|
202
|
-
Compiling proc-macro2 v1.0.107
|
|
203
|
-
Compiling unicode-ident v1.0.24
|
|
204
|
-
Compiling quote v1.0.47
|
|
205
|
-
Compiling version_check v0.9.5
|
|
206
|
-
Compiling icu_properties_data v2.2.0
|
|
4
|
+
Blocking waiting for file lock on package cache
|
|
5
|
+
Blocking waiting for file lock on build directory
|
|
207
6
|
Compiling stable_deref_trait v1.2.1
|
|
208
|
-
Compiling icu_normalizer_data v2.2.0
|
|
209
|
-
Compiling zerocopy v0.8.55
|
|
210
|
-
Compiling ahash v0.8.12
|
|
211
7
|
Compiling cfg-if v1.0.4
|
|
8
|
+
Compiling zerofrom v0.1.8
|
|
212
9
|
Compiling serde_core v1.0.229
|
|
213
|
-
Compiling autocfg v1.5.1
|
|
214
10
|
Compiling once_cell v1.21.4
|
|
215
|
-
Compiling num-traits v0.2.19
|
|
216
11
|
Compiling serde v1.0.229
|
|
217
12
|
Compiling smallvec v1.15.2
|
|
218
|
-
Compiling
|
|
219
|
-
Compiling syn v3.0.3
|
|
220
|
-
Compiling anyhow v1.0.104
|
|
13
|
+
Compiling yoke v0.8.3
|
|
221
14
|
Compiling memchr v2.8.3
|
|
222
15
|
Compiling writeable v0.6.3
|
|
16
|
+
Compiling zerovec v0.11.6
|
|
223
17
|
Compiling litemap v0.8.2
|
|
18
|
+
Compiling zerotrie v0.2.4
|
|
224
19
|
Compiling utf8_iter v1.0.4
|
|
20
|
+
Compiling zerocopy v0.8.55
|
|
21
|
+
Compiling icu_normalizer_data v2.2.0
|
|
22
|
+
Compiling icu_properties_data v2.2.0
|
|
23
|
+
Compiling ahash v0.8.12
|
|
225
24
|
Compiling allocator-api2 v0.2.21
|
|
226
|
-
Compiling synstructure v0.13.2
|
|
227
|
-
Compiling serde_derive v1.0.229
|
|
228
|
-
Compiling swc_macros_common v1.0.1
|
|
229
|
-
Compiling zmij v1.0.23
|
|
230
|
-
Compiling hashbrown v0.17.1
|
|
231
|
-
Compiling zerofrom-derive v0.1.7
|
|
232
|
-
Compiling yoke-derive v0.8.2
|
|
233
|
-
Compiling zerovec-derive v0.11.3
|
|
234
|
-
Compiling displaydoc v0.2.6
|
|
235
|
-
Compiling zerofrom v0.1.8
|
|
236
|
-
Compiling yoke v0.8.3
|
|
237
|
-
Compiling tracing-attributes v0.1.31
|
|
238
|
-
Compiling zerotrie v0.2.4
|
|
239
|
-
Compiling zerovec v0.11.6
|
|
240
|
-
Compiling from_variant v3.0.0
|
|
241
|
-
Compiling ast_node v7.0.0
|
|
242
|
-
Compiling swc_eq_ignore_macros v1.0.1
|
|
243
25
|
Compiling tinystr v0.8.3
|
|
244
26
|
Compiling icu_locale_core v2.2.0
|
|
245
27
|
Compiling potential_utf v0.1.5
|
|
246
28
|
Compiling icu_collections v2.2.0
|
|
247
|
-
Compiling
|
|
248
|
-
Compiling equivalent v1.0.2
|
|
249
|
-
Compiling serde_json v1.0.151
|
|
250
|
-
Compiling itoa v1.0.18
|
|
29
|
+
Compiling zmij v1.0.23
|
|
251
30
|
Compiling rustc-hash v2.1.3
|
|
252
|
-
Compiling
|
|
253
|
-
Compiling hashbrown v0.14.5
|
|
31
|
+
Compiling itoa v1.0.18
|
|
254
32
|
Compiling icu_provider v2.2.0
|
|
255
33
|
Compiling icu_normalizer v2.2.0
|
|
256
34
|
Compiling icu_properties v2.2.0
|
|
35
|
+
Compiling hashbrown v0.17.1
|
|
36
|
+
Compiling equivalent v1.0.2
|
|
37
|
+
Compiling serde_json v1.0.151
|
|
38
|
+
Compiling radium v0.7.0
|
|
257
39
|
Compiling tracing-core v0.1.36
|
|
258
|
-
Compiling
|
|
40
|
+
Compiling indexmap v2.14.0
|
|
41
|
+
Compiling idna_adapter v1.2.2
|
|
42
|
+
Compiling num-traits v0.2.19
|
|
259
43
|
Compiling percent-encoding v2.3.2
|
|
260
44
|
Compiling tap v1.0.1
|
|
261
|
-
Compiling
|
|
262
|
-
Compiling siphasher v1.0.3
|
|
263
|
-
Compiling rand v0.8.7
|
|
264
|
-
Compiling wyz v0.5.1
|
|
265
|
-
Compiling phf_shared v0.11.3
|
|
45
|
+
Compiling parking_lot_core v0.9.12
|
|
266
46
|
Compiling form_urlencoded v1.2.2
|
|
267
|
-
Compiling
|
|
47
|
+
Compiling wyz v0.5.1
|
|
268
48
|
Compiling idna v1.1.0
|
|
49
|
+
Compiling hashbrown v0.14.5
|
|
269
50
|
Compiling triomphe v0.1.16
|
|
270
|
-
Compiling funty v2.0.0
|
|
271
|
-
Compiling uuid v1.24.0
|
|
272
|
-
Compiling bytes v1.12.1
|
|
273
|
-
Compiling outref v0.5.2
|
|
274
|
-
Compiling scopeguard v1.2.0
|
|
275
51
|
Compiling new_debug_unreachable v1.0.6
|
|
276
|
-
Compiling vsimd v0.8.0
|
|
277
52
|
Compiling unicode-width v0.2.2
|
|
53
|
+
Compiling outref v0.5.2
|
|
54
|
+
Compiling bytes v1.12.1
|
|
278
55
|
Compiling pin-project-lite v0.2.17
|
|
279
|
-
Compiling
|
|
56
|
+
Compiling vsimd v0.8.0
|
|
57
|
+
Compiling uuid v1.24.0
|
|
58
|
+
Compiling funty v2.0.0
|
|
59
|
+
Compiling scopeguard v1.2.0
|
|
60
|
+
Compiling lock_api v0.4.14
|
|
280
61
|
Compiling bytes-str v0.2.8
|
|
281
62
|
Compiling base64-simd v0.8.0
|
|
63
|
+
Compiling debugid v0.8.0
|
|
64
|
+
Compiling tracing v0.1.44
|
|
282
65
|
Compiling hstr v4.0.0
|
|
283
|
-
Compiling lock_api v0.4.14
|
|
284
66
|
Compiling bitvec v1.1.1
|
|
285
|
-
Compiling debugid v0.8.0
|
|
286
67
|
Compiling num-integer v0.1.46
|
|
287
68
|
Compiling url v2.5.8
|
|
288
|
-
Compiling
|
|
289
|
-
Compiling
|
|
69
|
+
Compiling anyhow v1.0.104
|
|
70
|
+
Compiling cbor4ii v1.2.2
|
|
71
|
+
Compiling either v1.17.0
|
|
290
72
|
Compiling if_chain v1.0.3
|
|
291
73
|
Compiling scoped-tls v1.0.1
|
|
292
74
|
Compiling data-encoding v2.11.0
|
|
293
|
-
Compiling
|
|
294
|
-
Compiling cbor4ii v1.2.2
|
|
295
|
-
Compiling swc_visit v2.0.2
|
|
75
|
+
Compiling unicode-id-start v1.4.0
|
|
296
76
|
Compiling swc_atoms v10.0.0
|
|
297
77
|
Compiling better_scoped_tls v1.0.1
|
|
78
|
+
Compiling swc_visit v2.0.2
|
|
298
79
|
Compiling parking_lot v0.12.5
|
|
299
|
-
Compiling swc_sourcemap v10.0.2
|
|
300
|
-
Compiling phf_macros v0.11.3
|
|
301
80
|
Compiling num-bigint v0.4.8
|
|
302
81
|
Compiling siphasher v0.3.11
|
|
82
|
+
Compiling swc_sourcemap v10.0.2
|
|
303
83
|
Compiling termcolor v1.4.1
|
|
304
|
-
Compiling
|
|
305
|
-
Compiling rustversion v1.0.23
|
|
306
|
-
Compiling is-macro v0.3.7
|
|
307
|
-
Compiling string_enum v1.0.2
|
|
308
|
-
Compiling swc_common v26.0.0
|
|
84
|
+
Compiling siphasher v1.0.3
|
|
309
85
|
Compiling bitflags v2.13.1
|
|
310
86
|
Compiling libc v0.2.189
|
|
87
|
+
Compiling phf_shared v0.11.3
|
|
311
88
|
Compiling generic-array v0.14.7
|
|
312
89
|
Compiling phf v0.11.3
|
|
313
90
|
Compiling aho-corasick v1.1.4
|
|
314
91
|
Compiling typenum v1.20.1
|
|
92
|
+
Compiling swc_common v26.0.0
|
|
315
93
|
Compiling regex-syntax v0.8.11
|
|
316
|
-
Compiling swc_ecma_ast v29.0.0
|
|
317
|
-
Compiling regex-automata v0.4.16
|
|
318
94
|
Compiling owo-colors v4.3.0
|
|
319
|
-
Compiling dragonbox_ecma v0.1.12
|
|
320
95
|
Compiling unicode-linebreak v0.1.5
|
|
321
|
-
Compiling
|
|
96
|
+
Compiling regex-automata v0.4.16
|
|
97
|
+
Compiling swc_ecma_ast v29.0.0
|
|
322
98
|
Compiling camino v1.2.4
|
|
99
|
+
Compiling thiserror v1.0.69
|
|
323
100
|
Compiling textwrap v0.16.2
|
|
101
|
+
Compiling dragonbox_ecma v0.1.12
|
|
324
102
|
Compiling block-buffer v0.10.4
|
|
325
103
|
Compiling crypto-common v0.1.7
|
|
326
104
|
Compiling castaway v0.2.4
|
|
327
|
-
Compiling
|
|
328
|
-
Compiling miette-derive v7.6.0
|
|
105
|
+
Compiling ryu v1.0.23
|
|
329
106
|
Compiling lazy_static v1.5.0
|
|
330
107
|
Compiling unicode-width v0.1.14
|
|
331
|
-
Compiling seq-macro v0.3.6
|
|
332
|
-
Compiling static_assertions v1.1.0
|
|
333
|
-
Compiling ryu v1.0.23
|
|
334
108
|
Compiling log v0.4.33
|
|
109
|
+
Compiling static_assertions v1.1.0
|
|
335
110
|
Compiling compact_str v0.7.1
|
|
336
111
|
Compiling tracing-log v0.2.0
|
|
337
112
|
Compiling miette v7.6.0
|
|
338
|
-
Compiling sharded-slab v0.1.7
|
|
339
113
|
Compiling regex v1.13.1
|
|
340
|
-
Compiling digest v0.10.7
|
|
341
|
-
Compiling swc_ecma_visit v29.0.0
|
|
342
114
|
Compiling matchers v0.2.0
|
|
115
|
+
Compiling sharded-slab v0.1.7
|
|
116
|
+
Compiling digest v0.10.7
|
|
343
117
|
Compiling num_cpus v1.17.0
|
|
344
118
|
Compiling cargo-platform v0.1.9
|
|
345
119
|
Compiling semver v1.0.28
|
|
346
120
|
Compiling par-core v2.0.0
|
|
347
121
|
Compiling thread_local v1.1.10
|
|
348
|
-
Compiling relative-path v1.9.3
|
|
349
|
-
Compiling getrandom v0.4.3
|
|
350
122
|
Compiling rustix v1.1.4
|
|
351
123
|
Compiling nu-ansi-term v0.50.3
|
|
352
|
-
Compiling glob v0.3.4
|
|
353
|
-
Compiling yansi v1.0.1
|
|
354
124
|
Compiling diff v0.1.13
|
|
355
|
-
Compiling
|
|
356
|
-
Compiling
|
|
125
|
+
Compiling yansi v1.0.1
|
|
126
|
+
Compiling getrandom v0.4.3
|
|
357
127
|
Compiling tracing-subscriber v0.3.23
|
|
128
|
+
Compiling pretty_assertions v1.4.1
|
|
358
129
|
Compiling cargo_metadata v0.18.1
|
|
359
|
-
Compiling
|
|
130
|
+
Compiling swc_ecma_visit v29.0.0
|
|
360
131
|
Compiling swc_error_reporters v28.0.0
|
|
361
132
|
Compiling errno v0.3.14
|
|
362
133
|
Compiling bumpalo v3.20.3
|
|
363
134
|
Compiling difference v2.0.0
|
|
364
|
-
Compiling testing v27.0.0
|
|
365
135
|
Compiling swc_allocator v5.0.0
|
|
366
|
-
Compiling
|
|
136
|
+
Compiling testing v27.0.0
|
|
367
137
|
Compiling swc_ecma_parser v45.1.1
|
|
368
|
-
Compiling
|
|
138
|
+
Compiling sha2 v0.10.9
|
|
369
139
|
Compiling fastrand v2.5.0
|
|
370
|
-
Compiling hex v0.4.3
|
|
371
140
|
Compiling ascii v1.1.0
|
|
372
|
-
Compiling
|
|
141
|
+
Compiling hex v0.4.3
|
|
373
142
|
Compiling swc_ecma_testing v27.0.0
|
|
374
143
|
Compiling tempfile v3.27.0
|
|
375
|
-
Compiling base64 v0.22.1
|
|
376
144
|
Compiling ansi_term v0.12.1
|
|
145
|
+
Compiling base64 v0.22.1
|
|
377
146
|
Compiling swc_core v77.1.2
|
|
378
|
-
Compiling swc_ecma_transforms_base v49.0.1
|
|
379
147
|
Compiling swc_plugin_proxy v30.0.0
|
|
380
148
|
Compiling swc_transform_common v20.0.0
|
|
381
|
-
Compiling swc_plugin_macro v2.0.0
|
|
382
149
|
Compiling swc_plugin v1.0.1
|
|
150
|
+
Compiling swc_plugin_macro v2.0.0
|
|
383
151
|
Compiling unicode-segmentation v1.13.3
|
|
384
|
-
Compiling swc_ecma_transforms_testing v53.0.0
|
|
385
|
-
Compiling swc_ecma_quote_macros v45.0.1
|
|
386
|
-
Compiling convert_case v0.11.0
|
|
387
152
|
Compiling sha-1 v0.10.1
|
|
388
153
|
Compiling sugar_path v1.2.1
|
|
154
|
+
Compiling convert_case v0.11.0
|
|
155
|
+
Compiling swc_ecma_utils v35.0.0
|
|
156
|
+
Compiling swc_ecma_transforms_base v49.0.1
|
|
157
|
+
Compiling swc_ecma_codegen v32.0.0
|
|
158
|
+
Compiling swc_ecma_transforms_testing v53.0.0
|
|
389
159
|
Compiling swc_plugins_shared v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugins_shared)
|
|
390
160
|
Compiling swc_plugin_compat v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_compat)
|
|
391
161
|
Compiling swc_plugin_reactlynx_compat v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/swc-plugin-reactlynx-compat)
|
|
392
|
-
Finished `release` profile [optimized] target(s) in
|
|
162
|
+
Finished `release` profile [optimized] target(s) in 4m 40s
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import '../global.js';
|
|
2
|
-
/**
|
|
3
|
-
* Loads and initializes the Lepus chunk in the main thread.
|
|
4
|
-
* @param __schema - The dynamic component entry for loading the Lepus chunk.
|
|
5
|
-
* @returns A boolean indicating whether the Lepus chunk was loaded and initialized successfully.
|
|
6
|
-
*/
|
|
7
|
-
declare function loadWorkletRuntime(__schema?: string): boolean;
|
|
8
|
-
export { loadWorkletRuntime };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
// Copyright 2024 The Lynx Authors. All rights reserved.
|
|
2
|
-
// Licensed under the Apache License Version 2.0 that can be found in the
|
|
3
|
-
// LICENSE file in the root directory of this source tree.
|
|
4
|
-
import '../global.js';
|
|
5
|
-
/**
|
|
6
|
-
* Loads and initializes the Lepus chunk in the main thread.
|
|
7
|
-
* @param __schema - The dynamic component entry for loading the Lepus chunk.
|
|
8
|
-
* @returns A boolean indicating whether the Lepus chunk was loaded and initialized successfully.
|
|
9
|
-
*/
|
|
10
|
-
function loadWorkletRuntime(__schema) {
|
|
11
|
-
if (typeof __LoadLepusChunk === 'undefined') {
|
|
12
|
-
return false;
|
|
13
|
-
}
|
|
14
|
-
if (globalThis.lynxWorkletImpl) {
|
|
15
|
-
return true;
|
|
16
|
-
}
|
|
17
|
-
return __LoadLepusChunk('worklet-runtime', {
|
|
18
|
-
dynamicComponentEntry: __schema,
|
|
19
|
-
chunkType: 0,
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
export { loadWorkletRuntime };
|
|
23
|
-
//# sourceMappingURL=loadRuntime.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"loadRuntime.js","sourceRoot":"","sources":["../../../src/worklet-runtime/bindings/loadRuntime.ts"],"names":[],"mappings":"AAAA,wDAAwD;AACxD,yEAAyE;AACzE,0DAA0D;AAE1D,OAAO,cAAc,CAAC;AAEtB;;;;GAIG;AACH,SAAS,kBAAkB,CAAC,QAAiB;IAC3C,IAAI,OAAO,gBAAgB,KAAK,WAAW,EAAE,CAAC;QAC5C,OAAO,KAAK,CAAC;IACf,CAAC;IACD,IAAI,UAAU,CAAC,eAAe,EAAE,CAAC;QAC/B,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO,gBAAgB,CAAC,iBAAiB,EAAE;QACzC,qBAAqB,EAAE,QAAQ;QAC/B,SAAS,EAAE,CAAC;KACb,CAAC,CAAC;AACL,CAAC;AAED,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
|