@lynx-js/react 0.129.3 → 0.129.5
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 +10 -2
- package/refresh/.turbo/turbo-build.log +3 -3
- package/refresh/dist/index.js +113 -20
- package/refresh/rslib.config.ts +13 -3
- package/refresh/src/index.ts +100 -0
- package/refresh/src/self.ts +38 -0
- package/runtime/__test__/{snapshot → core}/attribute-name.test.ts +1 -1
- package/runtime/__test__/core/background-function.test.ts +37 -0
- package/runtime/__test__/{shared → core}/component-stack.test.ts +4 -4
- package/runtime/__test__/core/lynx/env.test.ts +146 -0
- package/runtime/__test__/core/ref.test.ts +218 -1
- package/runtime/__test__/core/sync-effect-flush.test.ts +58 -0
- package/runtime/__test__/element-template/debug/alog.test.ts +20 -12
- package/runtime/__test__/element-template/fixtures/background/hydrate/_shared.tsx +15 -34
- package/runtime/__test__/element-template/fixtures/background/hydrate/children.creates-missing-nodes-recursively/output.txt +2 -0
- package/runtime/__test__/element-template/fixtures/background/hydrate/children.iterates-existing-slots/output.txt +1 -0
- package/runtime/__test__/element-template/fixtures/background/hydrate/children.missing-attrs-element/output.txt +6 -1
- package/runtime/__test__/element-template/fixtures/background/hydrate/children.missing-slot-record-on-main/output.txt +1 -0
- package/runtime/__test__/element-template/fixtures/background/hydrate/{coverage.move-before-child → children.reconciles-raw-text-slots}/case.tsx +1 -1
- package/runtime/__test__/element-template/fixtures/background/hydrate/coverage.emit-create-raw-text/output.txt +1 -0
- package/runtime/__test__/element-template/fixtures/background/hydrate/coverage.emit-create-raw-text-non-text/output.txt +1 -0
- package/runtime/__test__/element-template/fixtures/background/hydrate/root-key-mismatch-reconciles/output.txt +1 -0
- package/runtime/__test__/element-template/fixtures/background/hydrate-compiled/children.creates-and-inserts-new/output.txt +1 -0
- package/runtime/__test__/element-template/fixtures/background/hydrate-compiled/children.inserts-before-existing-sibling/output.txt +1 -0
- package/runtime/__test__/element-template/fixtures/background/hydrate-compiled/children.mixed-operations/output.txt +1 -0
- package/runtime/__test__/element-template/fixtures/background/hydrate-compiled/children.non-string-raw-text-key-on-main/output.txt +1 -0
- package/runtime/__test__/element-template/fixtures/background/hydrate-compiled/complex-trees.deeply-nested-dynamic-content/output.txt +1 -0
- package/runtime/__test__/element-template/fixtures/background/instance/ops/emits-bundle-url-in-create-template/output.txt +1 -0
- package/runtime/__test__/element-template/fixtures/list/mts/index.tsx +185 -0
- package/runtime/__test__/element-template/fixtures/page/render-page/native-log.txt +1 -0
- package/runtime/__test__/element-template/fixtures/patch/detaches-node-when-moving-between-slots/case.tsx +2 -0
- package/runtime/__test__/element-template/fixtures/patch-compiled/applies-insert-before-with-reference/ops.txt +1 -0
- package/runtime/__test__/element-template/fixtures/patch-compiled/apply-hydration-ops/ops.txt +1 -0
- package/runtime/__test__/element-template/fixtures/render/child-siblings/papi.txt +10 -5
- package/runtime/__test__/element-template/fixtures/render/component/papi.txt +6 -3
- package/runtime/__test__/element-template/fixtures/render/component-slot-content/papi.txt +6 -3
- package/runtime/__test__/element-template/fixtures/render/css-scope-dynamic-bundle-url/papi.txt +2 -1
- package/runtime/__test__/element-template/fixtures/render/direct-native/appends-root-text-via-append-element/native-log.txt +1 -0
- package/runtime/__test__/element-template/fixtures/render/direct-native/creates-template-from-attrs-and-slot-text/native-log.txt +2 -0
- package/runtime/__test__/element-template/fixtures/render/direct-native/handles-multiple-template-children-in-the-same-slot/native-log.txt +3 -0
- package/runtime/__test__/element-template/fixtures/render/direct-native/handles-multiple-text-nodes-in-the-same-slot/native-log.txt +3 -0
- package/runtime/__test__/element-template/fixtures/render/direct-native/inserts-nested-templates-into-parent-slots/native-log.txt +3 -0
- package/runtime/__test__/element-template/fixtures/render/direct-native/keeps-slot-children-separated-and-ordered/native-log.txt +3 -0
- package/runtime/__test__/element-template/fixtures/render/direct-native/passes-bundle-url-to-native-create/native-log.txt +1 -0
- package/runtime/__test__/element-template/fixtures/render/mapped-view-children/papi.txt +14 -7
- package/runtime/__test__/element-template/fixtures/render/mixed-children/papi.txt +8 -4
- package/runtime/__test__/element-template/fixtures/render/multiple-text/papi.txt +38 -19
- package/runtime/__test__/element-template/fixtures/render/nested-templates/papi.txt +6 -3
- package/runtime/__test__/element-template/fixtures/render/react-example/papi.txt +6 -3
- package/runtime/__test__/element-template/fixtures/render/sparse-element-slot/papi.txt +6 -3
- package/runtime/__test__/element-template/fixtures/render/template-dedupe/papi.txt +10 -5
- package/runtime/__test__/element-template/imports/suspense-lazy.test.ts +47 -4
- package/runtime/__test__/element-template/lynx/performance.test.ts +1 -0
- package/runtime/__test__/element-template/native/callDestroyLifetimeFun.test.ts +1 -0
- package/runtime/__test__/element-template/native/index.test.ts +9 -9
- package/runtime/__test__/element-template/native/mts-destroy.test.ts +65 -17
- package/runtime/__test__/element-template/native/reload.test.ts +19 -12
- package/runtime/__test__/element-template/runtime/background/adapter/background-adapter.et.test.tsx +0 -32
- package/runtime/__test__/element-template/runtime/background/commit-context.test.ts +0 -14
- package/runtime/__test__/element-template/runtime/background/commit-hook.test.ts +10 -0
- package/runtime/__test__/element-template/runtime/background/event/compiled-fixtures.test.tsx +22 -0
- package/runtime/__test__/element-template/runtime/background/hydrate.test.ts +197 -252
- package/runtime/__test__/element-template/runtime/background/instance.test.ts +277 -126
- package/runtime/__test__/element-template/runtime/background/main-thread-function/compiled-fixtures.test.tsx +1 -1
- package/runtime/__test__/element-template/runtime/background/passive-update-depth.test.tsx +496 -0
- package/runtime/__test__/element-template/runtime/background/render/preact.test.tsx +16 -22
- package/runtime/__test__/element-template/runtime/background/root-render.test.tsx +5 -3
- package/runtime/__test__/element-template/runtime/background/suspense.test.tsx +2 -0
- package/runtime/__test__/element-template/runtime/background/update/compiled-fixtures.test.tsx +1 -0
- package/runtime/__test__/element-template/runtime/background/update-timing.test.ts +1 -0
- package/runtime/__test__/element-template/runtime/hydration/hydration-listener.test.ts +4 -5
- package/runtime/__test__/element-template/runtime/list/list-mts-compiled.test.ts +525 -0
- package/runtime/__test__/element-template/runtime/page/compiled-fixtures.test.tsx +2 -0
- package/runtime/__test__/element-template/runtime/page/root-instance.test.ts +2 -14
- package/runtime/__test__/element-template/runtime/patch/element-template-patch.test.tsx +425 -1032
- package/runtime/__test__/element-template/runtime/patch/patch-listener-alog.test.ts +1 -0
- package/runtime/__test__/element-template/runtime/patch/update-timing.test.ts +1 -0
- package/runtime/__test__/element-template/runtime/prop-adapters/event.test.ts +0 -20
- package/runtime/__test__/element-template/runtime/prop-adapters/gesture.test.ts +2 -1
- package/runtime/__test__/element-template/runtime/prop-adapters/hydrate.test.ts +1 -0
- package/runtime/__test__/element-template/runtime/prop-adapters/ref.test.ts +65 -0
- package/runtime/__test__/element-template/runtime/prop-adapters/spread-mts-compiled.test.ts +12 -4
- package/runtime/__test__/element-template/runtime/render/render-components.test.jsx +2 -5
- package/runtime/__test__/element-template/runtime/render/render-direct-native.test.tsx +56 -121
- package/runtime/__test__/element-template/runtime/render/render-direct-suspense.test.ts +18 -17
- package/runtime/__test__/element-template/runtime/render/render-direct.test.ts +5 -4
- package/runtime/__test__/element-template/runtime/render/render-main-thread.contract.test.ts +2 -0
- package/runtime/__test__/element-template/runtime/render/render-main-thread.test.ts +1 -60
- package/runtime/__test__/element-template/runtime/render/render-transform.contract.test.ts +65 -89
- package/runtime/__test__/element-template/runtime/template/element-template-handle.test.ts +8 -6
- package/runtime/__test__/element-template/runtime/template/main-thread-dynamic-attr-state.test.ts +34 -6
- package/runtime/__test__/element-template/test-utils/debug/updateRunner.test.tsx +20 -12
- package/runtime/__test__/element-template/test-utils/debug/updateRunner.ts +2 -28
- package/runtime/__test__/element-template/test-utils/mock/mockNativePapi/templateTree.test.ts +14 -5
- package/runtime/__test__/element-template/test-utils/mock/mockNativePapi/templateTree.ts +1 -57
- package/runtime/__test__/element-template/test-utils/mock/mockNativePapi.ts +29 -13
- package/runtime/__test__/element-template/vitest.config.ts +2 -1
- package/runtime/__test__/guardrails/snapshot-containment.test.ts +98 -77
- package/runtime/__test__/snapshot/debug/passive-update-depth.test.jsx +549 -0
- package/runtime/__test__/snapshot/debug/profile.test.jsx +147 -26
- package/runtime/__test__/snapshot/debug/react-hooks-profile.test.jsx +3 -3
- package/runtime/__test__/snapshot/lifecycle/reload-background-function.test.jsx +138 -1
- package/runtime/__test__/snapshot/lifecycle/reload-delayed-background.test.jsx +55 -1
- package/runtime/__test__/snapshot/lifecycle/transfer.mts.test.jsx +286 -0
- package/runtime/__test__/snapshot/lifecycle/transfer.test.jsx +415 -0
- package/runtime/__test__/snapshot/list.test.jsx +109 -0
- package/runtime/__test__/snapshot/lynx/suspense.test.jsx +48 -0
- package/runtime/__test__/snapshot/lynxQueueMicrotask.test.jsx +2 -2
- package/runtime/__test__/snapshot/ref.test.jsx +124 -1
- package/runtime/__test__/snapshot/utils/envManager.ts +7 -0
- package/runtime/__test__/snapshot/utils/globals.js +1 -0
- package/runtime/__test__/worklet-runtime/delayWorkletEvent.test.js +43 -11
- package/runtime/__test__/worklet-runtime/hydrate.test.js +1 -0
- package/runtime/__test__/worklet-runtime/jsFunctionLifecycle.test.js +24 -16
- package/runtime/__test__/worklet-runtime/lifecycle.test.js +297 -0
- package/runtime/__test__/worklet-runtime/profile.test.js +12 -6
- package/runtime/__test__/worklet-runtime/runOnBackground.test.js +188 -0
- package/runtime/__test__/worklet-runtime/workletRef.test.js +16 -0
- package/runtime/__test__/worklet-runtime/workletRuntime.test.js +53 -1
- package/runtime/lazy/element-template-internal.js +1 -0
- package/runtime/lazy/internal.js +1 -0
- package/runtime/lib/core/attribute-name.js.map +1 -0
- package/runtime/lib/core/background-function/run-on-background.js +7 -7
- package/runtime/lib/core/background-function/run-on-background.js.map +1 -1
- package/runtime/lib/core/compat/componentIs.d.ts +1 -0
- package/runtime/lib/core/compat/componentIs.js +20 -0
- package/runtime/lib/core/compat/componentIs.js.map +1 -0
- package/runtime/lib/{shared → core}/component-stack.js +1 -1
- package/runtime/lib/core/component-stack.js.map +1 -0
- package/runtime/lib/core/deep-equal.d.ts +1 -0
- package/runtime/lib/core/deep-equal.js +31 -0
- package/runtime/lib/core/deep-equal.js.map +1 -0
- package/runtime/lib/core/hooks/mainThreadImpl.js +1 -1
- package/runtime/lib/core/hooks/mainThreadImpl.js.map +1 -1
- package/runtime/lib/core/lynx/env.d.ts +1 -0
- package/runtime/lib/{element-template → core}/lynx/env.js +3 -2
- package/runtime/lib/core/lynx/env.js.map +1 -0
- package/runtime/lib/core/lynx-page-data.js +1 -1
- package/runtime/lib/core/lynx-page-data.js.map +1 -1
- package/runtime/lib/core/mts-capability.js +1 -1
- package/runtime/lib/core/mts-capability.js.map +1 -1
- package/runtime/lib/core/performance.js +2 -1
- package/runtime/lib/core/performance.js.map +1 -1
- package/runtime/lib/core/ref.d.ts +1 -2
- package/runtime/lib/core/ref.js +60 -9
- package/runtime/lib/core/ref.js.map +1 -1
- package/runtime/lib/core/sync-effect-flush.d.ts +9 -0
- package/runtime/lib/core/sync-effect-flush.js +31 -0
- package/runtime/lib/core/sync-effect-flush.js.map +1 -0
- package/runtime/lib/core/thread-function-call/main-thread.d.ts +1 -0
- package/runtime/lib/core/thread-function-call/main-thread.js +5 -2
- package/runtime/lib/core/thread-function-call/main-thread.js.map +1 -1
- package/runtime/lib/element-template/background/attr-slots.d.ts +1 -0
- package/runtime/lib/element-template/background/attr-slots.js.map +1 -1
- package/runtime/lib/element-template/background/commit-event.d.ts +6 -0
- package/runtime/lib/element-template/background/commit-event.js +36 -0
- package/runtime/lib/element-template/background/commit-event.js.map +1 -0
- package/runtime/lib/element-template/background/commit-hook.js +4 -24
- package/runtime/lib/element-template/background/commit-hook.js.map +1 -1
- package/runtime/lib/element-template/background/destroy.js +2 -2
- package/runtime/lib/element-template/background/destroy.js.map +1 -1
- package/runtime/lib/element-template/background/hydrate.js +174 -87
- package/runtime/lib/element-template/background/hydrate.js.map +1 -1
- package/runtime/lib/element-template/background/hydration-listener.js +5 -25
- package/runtime/lib/element-template/background/hydration-listener.js.map +1 -1
- package/runtime/lib/element-template/background/instance.d.ts +7 -10
- package/runtime/lib/element-template/background/instance.js +65 -58
- package/runtime/lib/element-template/background/instance.js.map +1 -1
- package/runtime/lib/element-template/{runtime/template → background}/main-thread-function.js +4 -4
- package/runtime/lib/element-template/background/main-thread-function.js.map +1 -0
- package/runtime/lib/element-template/background/render-scope.js +2 -1
- package/runtime/lib/element-template/background/render-scope.js.map +1 -1
- package/runtime/lib/element-template/debug/alog.d.ts +1 -10
- package/runtime/lib/element-template/debug/alog.js +1 -16
- package/runtime/lib/element-template/debug/alog.js.map +1 -1
- package/runtime/lib/element-template/debug/profile.js +1 -1
- package/runtime/lib/element-template/debug/profile.js.map +1 -1
- package/runtime/lib/element-template/index.d.ts +1 -1
- package/runtime/lib/element-template/index.js +1 -1
- package/runtime/lib/element-template/index.js.map +1 -1
- package/runtime/lib/element-template/internal.js +3 -0
- package/runtime/lib/element-template/internal.js.map +1 -1
- package/runtime/lib/element-template/native/index.js +4 -4
- package/runtime/lib/element-template/native/index.js.map +1 -1
- package/runtime/lib/element-template/native/mts-destroy.d.ts +2 -1
- package/runtime/lib/element-template/native/mts-destroy.js +15 -4
- package/runtime/lib/element-template/native/mts-destroy.js.map +1 -1
- package/runtime/lib/element-template/native/patch-listener.js +4 -8
- package/runtime/lib/element-template/native/patch-listener.js.map +1 -1
- package/runtime/lib/element-template/native/reload-main-thread.js +2 -6
- package/runtime/lib/element-template/native/reload-main-thread.js.map +1 -1
- package/runtime/lib/element-template/prop-adapters/ref.d.ts +2 -1
- package/runtime/lib/element-template/prop-adapters/ref.js +4 -4
- package/runtime/lib/element-template/prop-adapters/ref.js.map +1 -1
- package/runtime/lib/element-template/prop-adapters/spread.js +1 -1
- package/runtime/lib/element-template/prop-adapters/spread.js.map +1 -1
- package/runtime/lib/element-template/protocol/opcodes.d.ts +0 -2
- package/runtime/lib/element-template/protocol/opcodes.js +0 -2
- package/runtime/lib/element-template/protocol/opcodes.js.map +1 -1
- package/runtime/lib/element-template/protocol/types.d.ts +8 -30
- package/runtime/lib/element-template/protocol/types.js.map +1 -1
- package/runtime/lib/element-template/runtime/list/list.d.ts +14 -54
- package/runtime/lib/element-template/runtime/list/list.js +82 -546
- package/runtime/lib/element-template/runtime/list/list.js.map +1 -1
- package/runtime/lib/element-template/runtime/list/platform-info.d.ts +2 -0
- package/runtime/lib/element-template/runtime/list/platform-info.js +26 -0
- package/runtime/lib/element-template/runtime/list/platform-info.js.map +1 -0
- package/runtime/lib/element-template/runtime/patch.js +44 -128
- package/runtime/lib/element-template/runtime/patch.js.map +1 -1
- package/runtime/lib/element-template/runtime/render/create-rendered-host.d.ts +1 -1
- package/runtime/lib/element-template/runtime/render/create-rendered-host.js +24 -21
- package/runtime/lib/element-template/runtime/render/create-rendered-host.js.map +1 -1
- package/runtime/lib/element-template/runtime/render/render-components.d.ts +1 -1
- package/runtime/lib/element-template/runtime/render/render-components.js +3 -6
- package/runtime/lib/element-template/runtime/render/render-components.js.map +1 -1
- package/runtime/lib/element-template/runtime/render/render-direct.js +21 -20
- package/runtime/lib/element-template/runtime/render/render-direct.js.map +1 -1
- package/runtime/lib/element-template/runtime/render/render-main-thread.js +0 -13
- 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 +8 -0
- package/runtime/lib/element-template/runtime/template/attr-slot-plan.js.map +1 -1
- package/runtime/lib/element-template/runtime/template/handle.d.ts +3 -3
- package/runtime/lib/element-template/runtime/template/handle.js +3 -3
- package/runtime/lib/element-template/runtime/template/handle.js.map +1 -1
- package/runtime/lib/element-template/runtime/template/main-thread-background-function.d.ts +1 -0
- package/runtime/lib/element-template/runtime/template/main-thread-background-function.js +8 -8
- 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.d.ts +2 -1
- package/runtime/lib/element-template/runtime/template/main-thread-dynamic-attr-state.js +44 -28
- package/runtime/lib/element-template/runtime/template/main-thread-dynamic-attr-state.js.map +1 -1
- package/runtime/lib/element-template/runtime/template/typed-attributes.d.ts +2 -0
- package/runtime/lib/element-template/runtime/template/typed-attributes.js +8 -1
- package/runtime/lib/element-template/runtime/template/typed-attributes.js.map +1 -1
- package/runtime/lib/internal.d.ts +1 -0
- package/runtime/lib/internal.js +5 -10
- package/runtime/lib/internal.js.map +1 -1
- package/runtime/lib/lynx-api.js +6 -1
- package/runtime/lib/lynx-api.js.map +1 -1
- package/runtime/lib/lynx.js +4 -4
- package/runtime/lib/lynx.js.map +1 -1
- package/runtime/lib/root.d.ts +5 -1
- package/runtime/lib/root.js +12 -1
- package/runtime/lib/root.js.map +1 -1
- package/runtime/lib/shared/microtask.d.ts +1 -0
- package/runtime/lib/shared/microtask.js +28 -0
- package/runtime/lib/shared/microtask.js.map +1 -0
- package/runtime/lib/shared/utils.d.ts +8 -0
- package/runtime/lib/shared/utils.js +27 -0
- package/runtime/lib/shared/utils.js.map +1 -0
- package/runtime/lib/{worklet-runtime/utils → shared}/version.d.ts +1 -0
- package/runtime/lib/{worklet-runtime/utils → shared}/version.js +4 -2
- package/runtime/lib/shared/version.js.map +1 -0
- package/runtime/lib/snapshot/alog/render.js +1 -1
- package/runtime/lib/snapshot/alog/render.js.map +1 -1
- package/runtime/lib/snapshot/debug/profileHooks.js +28 -63
- package/runtime/lib/snapshot/debug/profileHooks.js.map +1 -1
- package/runtime/lib/snapshot/lifecycle/destroy.js +2 -2
- package/runtime/lib/snapshot/lifecycle/destroy.js.map +1 -1
- package/runtime/lib/snapshot/lifecycle/isRendering.js +2 -1
- package/runtime/lib/snapshot/lifecycle/isRendering.js.map +1 -1
- package/runtime/lib/snapshot/lifecycle/patch/commit.d.ts +7 -2
- package/runtime/lib/snapshot/lifecycle/patch/commit.js +11 -6
- package/runtime/lib/snapshot/lifecycle/patch/commit.js.map +1 -1
- package/runtime/lib/snapshot/lifecycle/patch/updateMainThread.d.ts +5 -0
- package/runtime/lib/snapshot/lifecycle/patch/updateMainThread.js +1 -1
- package/runtime/lib/snapshot/lifecycle/patch/updateMainThread.js.map +1 -1
- package/runtime/lib/snapshot/lifecycle/ref/delay.d.ts +1 -1
- package/runtime/lib/snapshot/lifecycle/ref/delay.js +2 -2
- package/runtime/lib/snapshot/lifecycle/ref/delay.js.map +1 -1
- package/runtime/lib/snapshot/lifecycle/reload.js +3 -3
- package/runtime/lib/snapshot/lifecycle/reload.js.map +1 -1
- package/runtime/lib/snapshot/list/list.js +12 -3
- package/runtime/lib/snapshot/list/list.js.map +1 -1
- package/runtime/lib/snapshot/lynx/env.js +2 -32
- package/runtime/lib/snapshot/lynx/env.js.map +1 -1
- package/runtime/lib/snapshot/lynx/tt.d.ts +3 -1
- package/runtime/lib/snapshot/lynx/tt.js +7 -3
- package/runtime/lib/snapshot/lynx/tt.js.map +1 -1
- package/runtime/lib/snapshot/renderToOpcodes/hydrate.js +1 -1
- package/runtime/lib/snapshot/renderToOpcodes/hydrate.js.map +1 -1
- package/runtime/lib/snapshot/snapshot/backgroundSnapshot.js +1 -1
- package/runtime/lib/snapshot/snapshot/backgroundSnapshot.js.map +1 -1
- package/runtime/lib/snapshot/snapshot/platformInfo.js +1 -1
- package/runtime/lib/snapshot/snapshot/platformInfo.js.map +1 -1
- package/runtime/lib/snapshot/snapshot/ref.d.ts +1 -0
- package/runtime/lib/snapshot/snapshot/ref.js +2 -2
- package/runtime/lib/snapshot/snapshot/ref.js.map +1 -1
- package/runtime/lib/snapshot/snapshot/snapshot.js +1 -1
- package/runtime/lib/snapshot/snapshot/snapshot.js.map +1 -1
- package/runtime/lib/snapshot/snapshot/spread.js +3 -2
- package/runtime/lib/snapshot/snapshot/spread.js.map +1 -1
- package/runtime/lib/snapshot/transfer.d.ts +21 -0
- package/runtime/lib/snapshot/transfer.js +486 -0
- package/runtime/lib/snapshot/transfer.js.map +1 -0
- package/runtime/lib/snapshot/worklet/functionality.js +1 -1
- package/runtime/lib/snapshot/worklet/functionality.js.map +1 -1
- package/runtime/lib/tsconfig.tsbuildinfo +1 -1
- package/runtime/lib/worklet-runtime/api/element.js +1 -1
- package/runtime/lib/worklet-runtime/api/element.js.map +1 -1
- package/runtime/lib/worklet-runtime/api/lynxApi.js +1 -1
- package/runtime/lib/worklet-runtime/api/lynxApi.js.map +1 -1
- package/runtime/lib/worklet-runtime/bindings/bindings.d.ts +3 -2
- package/runtime/lib/worklet-runtime/bindings/bindings.js +11 -1
- package/runtime/lib/worklet-runtime/bindings/bindings.js.map +1 -1
- package/runtime/lib/worklet-runtime/bindings/lifecycle.d.ts +19 -0
- package/runtime/lib/worklet-runtime/bindings/lifecycle.js +49 -0
- package/runtime/lib/worklet-runtime/bindings/lifecycle.js.map +1 -0
- package/runtime/lib/worklet-runtime/bindings/observers.js +9 -1
- package/runtime/lib/worklet-runtime/bindings/observers.js.map +1 -1
- package/runtime/lib/worklet-runtime/bindings/types.d.ts +1 -0
- package/runtime/lib/worklet-runtime/bindings/types.js.map +1 -1
- package/runtime/lib/worklet-runtime/delayWorkletEvent.d.ts +3 -5
- package/runtime/lib/worklet-runtime/delayWorkletEvent.js +49 -43
- package/runtime/lib/worklet-runtime/delayWorkletEvent.js.map +1 -1
- package/runtime/lib/worklet-runtime/global.d.ts +1 -2
- package/runtime/lib/worklet-runtime/global.js.map +1 -1
- package/runtime/lib/worklet-runtime/hydrate.js +2 -32
- package/runtime/lib/worklet-runtime/hydrate.js.map +1 -1
- package/runtime/lib/worklet-runtime/run-on-background/index.d.ts +28 -0
- package/runtime/lib/worklet-runtime/run-on-background/index.js +103 -0
- package/runtime/lib/worklet-runtime/run-on-background/index.js.map +1 -0
- package/runtime/lib/worklet-runtime/{jsFunctionLifecycle.d.ts → run-on-background/lifecycle.d.ts} +2 -2
- package/runtime/lib/worklet-runtime/{jsFunctionLifecycle.js → run-on-background/lifecycle.js} +12 -9
- package/runtime/lib/worklet-runtime/run-on-background/lifecycle.js.map +1 -0
- package/runtime/lib/worklet-runtime/utils/profile.js +1 -3
- package/runtime/lib/worklet-runtime/utils/profile.js.map +1 -1
- package/runtime/lib/worklet-runtime/workletRef.js +51 -54
- package/runtime/lib/worklet-runtime/workletRef.js.map +1 -1
- package/runtime/lib/worklet-runtime/workletRuntime.js +5 -6
- package/runtime/lib/worklet-runtime/workletRuntime.js.map +1 -1
- package/runtime/src/core/background-function/run-on-background.ts +7 -7
- package/runtime/src/core/compat/componentIs.ts +32 -0
- package/runtime/src/{shared → core}/component-stack.ts +1 -1
- package/runtime/src/core/deep-equal.ts +33 -0
- package/runtime/src/core/hooks/mainThreadImpl.ts +1 -1
- package/runtime/src/{element-template → core}/lynx/env.ts +6 -4
- package/runtime/src/core/lynx-page-data.ts +1 -1
- package/runtime/src/core/mts-capability.ts +1 -1
- package/runtime/src/core/performance.ts +2 -1
- package/runtime/src/core/ref.ts +92 -15
- package/runtime/src/core/sync-effect-flush.ts +30 -0
- package/runtime/src/core/thread-function-call/main-thread.ts +6 -2
- package/runtime/src/element-template/background/attr-slots.ts +2 -2
- package/runtime/src/element-template/background/commit-event.ts +52 -0
- package/runtime/src/element-template/background/commit-hook.ts +5 -32
- package/runtime/src/element-template/background/destroy.ts +2 -2
- package/runtime/src/element-template/background/hydrate.ts +234 -122
- package/runtime/src/element-template/background/hydration-listener.ts +7 -32
- package/runtime/src/element-template/background/instance.ts +82 -82
- package/runtime/src/element-template/{runtime/template → background}/main-thread-function.ts +4 -7
- package/runtime/src/element-template/background/render-scope.ts +2 -1
- package/runtime/src/element-template/debug/alog.ts +2 -30
- package/runtime/src/element-template/debug/profile.ts +1 -1
- package/runtime/src/element-template/index.ts +1 -1
- package/runtime/src/element-template/internal.ts +4 -0
- package/runtime/src/element-template/native/index.ts +4 -4
- package/runtime/src/element-template/native/mts-destroy.ts +21 -4
- package/runtime/src/element-template/native/patch-listener.ts +6 -7
- package/runtime/src/element-template/native/reload-main-thread.ts +2 -6
- package/runtime/src/element-template/prop-adapters/ref.ts +12 -5
- package/runtime/src/element-template/prop-adapters/spread.ts +1 -1
- package/runtime/src/element-template/protocol/opcodes.ts +0 -2
- package/runtime/src/element-template/protocol/types.ts +10 -38
- package/runtime/src/element-template/runtime/list/list.ts +115 -744
- package/runtime/src/element-template/runtime/list/platform-info.ts +31 -0
- package/runtime/src/element-template/runtime/patch.ts +78 -197
- package/runtime/src/element-template/runtime/render/create-rendered-host.ts +27 -31
- package/runtime/src/element-template/runtime/render/render-components.ts +2 -5
- package/runtime/src/element-template/runtime/render/render-direct.ts +19 -18
- package/runtime/src/element-template/runtime/render/render-main-thread.ts +0 -14
- package/runtime/src/element-template/runtime/template/attr-slot-plan.ts +9 -0
- package/runtime/src/element-template/runtime/template/handle.ts +5 -2
- package/runtime/src/element-template/runtime/template/main-thread-background-function.ts +9 -8
- package/runtime/src/element-template/runtime/template/main-thread-dynamic-attr-state.ts +44 -30
- package/runtime/src/element-template/runtime/template/typed-attributes.ts +17 -1
- package/runtime/src/element-template/types.d.ts +6 -22
- package/runtime/src/internal.ts +6 -13
- package/runtime/src/lynx-api.ts +6 -1
- package/runtime/src/lynx.ts +4 -4
- package/runtime/src/root.ts +17 -1
- package/runtime/src/shared/microtask.ts +26 -0
- package/runtime/src/shared/utils.ts +37 -0
- package/runtime/src/{worklet-runtime/utils → shared}/version.ts +6 -4
- package/runtime/src/snapshot/alog/render.ts +1 -1
- package/runtime/src/snapshot/debug/profileHooks.ts +31 -92
- package/runtime/src/snapshot/lifecycle/destroy.ts +2 -2
- package/runtime/src/snapshot/lifecycle/isRendering.ts +2 -1
- package/runtime/src/snapshot/lifecycle/patch/commit.ts +28 -7
- package/runtime/src/snapshot/lifecycle/patch/updateMainThread.ts +1 -1
- package/runtime/src/snapshot/lifecycle/ref/delay.ts +5 -2
- package/runtime/src/snapshot/lifecycle/reload.ts +3 -4
- package/runtime/src/snapshot/list/list.ts +12 -3
- package/runtime/src/snapshot/lynx/env.ts +3 -43
- package/runtime/src/snapshot/lynx/tt.ts +8 -3
- package/runtime/src/snapshot/renderToOpcodes/hydrate.ts +1 -1
- package/runtime/src/snapshot/snapshot/backgroundSnapshot.ts +1 -1
- package/runtime/src/snapshot/snapshot/platformInfo.ts +1 -1
- package/runtime/src/snapshot/snapshot/ref.ts +7 -4
- package/runtime/src/snapshot/snapshot/snapshot.ts +1 -1
- package/runtime/src/snapshot/snapshot/spread.ts +3 -2
- package/runtime/src/snapshot/transfer.ts +535 -0
- package/runtime/src/snapshot/worklet/functionality.ts +1 -1
- package/runtime/src/worklet-runtime/api/element.ts +1 -1
- package/runtime/src/worklet-runtime/api/lynxApi.ts +1 -1
- package/runtime/src/worklet-runtime/bindings/bindings.ts +12 -0
- package/runtime/src/worklet-runtime/bindings/lifecycle.ts +51 -0
- package/runtime/src/worklet-runtime/bindings/observers.ts +9 -1
- package/runtime/src/worklet-runtime/bindings/types.ts +1 -0
- package/runtime/src/worklet-runtime/delayWorkletEvent.ts +57 -54
- package/runtime/src/worklet-runtime/global.ts +1 -2
- package/runtime/src/worklet-runtime/hydrate.ts +2 -35
- package/runtime/src/worklet-runtime/run-on-background/index.ts +145 -0
- package/runtime/src/worklet-runtime/{jsFunctionLifecycle.ts → run-on-background/lifecycle.ts} +11 -9
- package/runtime/src/worklet-runtime/utils/profile.ts +1 -3
- package/runtime/src/worklet-runtime/workletRef.ts +63 -62
- package/runtime/src/worklet-runtime/workletRuntime.ts +10 -10
- package/runtime/types/internal-preact.d.ts +2 -0
- package/runtime/vitest.config.ts +0 -1
- package/testing-library/.turbo/turbo-build.log +11 -11
- package/testing-library/dist/pure.js +7 -4
- package/testing-library/dist/setupFiles/common/runtime-setup.js +3 -1
- package/testing-library/dist/setupFiles/inner/rstest.js +1 -1
- package/testing-library/dist/setupFiles/inner/vitest.js +1 -1
- package/testing-library/src/__tests__/events.test.jsx +1 -1
- package/testing-library/src/__tests__/list.test.jsx +52 -0
- package/testing-library/src/__tests__/worklet.test.jsx +81 -0
- package/testing-library/src/fire-event.ts +1 -1
- package/testing-library/src/pure.jsx +5 -2
- package/testing-library/src/setupFiles/common/runtime-setup.js +2 -0
- package/transform/.turbo/turbo-build$colon$wasm.log +45 -44
- package/transform/__test__/fixture.spec.js +1 -1
- package/transform/cjs/browser.cjs +11 -0
- package/transform/crates/swc_plugin_compat/lib.rs +20 -2
- package/transform/crates/swc_plugin_compat/napi.rs +7 -0
- package/transform/crates/swc_plugin_dynamic_import/lib.rs +15 -4
- package/transform/crates/swc_plugin_element_template/attr_name.rs +0 -3
- package/transform/crates/swc_plugin_element_template/extractor.rs +0 -8
- package/transform/crates/swc_plugin_element_template/lib.rs +12 -1
- package/transform/crates/swc_plugin_element_template/tests/element_template.rs +19 -45
- package/transform/crates/swc_plugin_element_template/tests/element_template_contract.rs +35 -19
- package/transform/crates/swc_plugin_worklet/lib.rs +11 -7
- package/transform/dist/wasm.cjs +1 -1
- package/transform/rspack-napi/lib/index.js +1 -4
- package/transform/rspack-napi/lib/index.js.map +1 -1
- package/transform/rspack-napi/src/index.ts +1 -4
- package/transform/rspack-napi/tsconfig.tsbuildinfo +1 -1
- package/transform/src/lib.rs +394 -27
- package/transform/swc-plugin-reactlynx/.turbo/turbo-build.log +415 -107
- package/transform/swc-plugin-reactlynx/src/lib.rs +99 -22
- package/transform/swc-plugin-reactlynx/swc_plugin_reactlynx.wasm +0 -0
- package/transform/swc-plugin-reactlynx-compat/.turbo/turbo-build.log +29 -339
- package/transform/swc-plugin-reactlynx-compat/swc_plugin_reactlynx_compat.wasm +0 -0
- package/runtime/__test__/element-template/fixtures/background/hydrate/coverage.move-before-child/output.txt +0 -10
- package/runtime/__test__/element-template/fixtures/background/hydrate/coverage.raw-text-key-branches/case.tsx +0 -5
- package/runtime/__test__/element-template/fixtures/background/instance/ops/supports-silent-insert-before/case.ts +0 -11
- package/runtime/__test__/element-template/fixtures/background/instance/ops/supports-silent-insert-before/output.txt +0 -1
- package/runtime/__test__/element-template/fixtures/background/instance/ops/treats-nullish-attrs-as-empty-object/case.ts +0 -23
- package/runtime/__test__/element-template/fixtures/background/instance/ops/treats-nullish-attrs-as-empty-object/output.txt +0 -6
- package/runtime/__test__/element-template/lynx/env.test.ts +0 -242
- package/runtime/__test__/element-template/runtime/page/authored-page.test.ts +0 -35
- package/runtime/__test__/element-template/runtime/patch/update-fixture-helper.test.tsx +0 -40
- package/runtime/__test__/snapshot/lynx-data-processors.test.ts +0 -3
- package/runtime/lib/element-template/lynx/env.d.ts +0 -1
- package/runtime/lib/element-template/lynx/env.js.map +0 -1
- package/runtime/lib/element-template/runtime/template/main-thread-function.js.map +0 -1
- package/runtime/lib/shared/attribute-name.js.map +0 -1
- package/runtime/lib/shared/component-stack.js.map +0 -1
- package/runtime/lib/snapshot/alog/index.d.ts +0 -1
- package/runtime/lib/snapshot/alog/index.js +0 -8
- package/runtime/lib/snapshot/alog/index.js.map +0 -1
- package/runtime/lib/snapshot/compat/componentIs.d.ts +0 -4
- package/runtime/lib/snapshot/compat/componentIs.js +0 -20
- package/runtime/lib/snapshot/compat/componentIs.js.map +0 -1
- package/runtime/lib/utils.d.ts +0 -19
- package/runtime/lib/utils.js +0 -119
- package/runtime/lib/utils.js.map +0 -1
- package/runtime/lib/worklet-runtime/delayRunOnBackground.d.ts +0 -13
- package/runtime/lib/worklet-runtime/delayRunOnBackground.js +0 -29
- package/runtime/lib/worklet-runtime/delayRunOnBackground.js.map +0 -1
- package/runtime/lib/worklet-runtime/jsFunctionLifecycle.js.map +0 -1
- package/runtime/lib/worklet-runtime/utils/version.js.map +0 -1
- package/runtime/src/snapshot/alog/index.ts +0 -8
- package/runtime/src/snapshot/compat/componentIs.ts +0 -30
- package/runtime/src/utils.ts +0 -134
- package/runtime/src/worklet-runtime/delayRunOnBackground.ts +0 -53
- /package/runtime/__test__/element-template/fixtures/background/hydrate/{coverage.raw-text-key-branches → children.reconciles-raw-text-slots}/output.txt +0 -0
- /package/runtime/__test__/element-template/runtime/{template → background}/main-thread-function.test.ts +0 -0
- /package/runtime/lib/{shared → core}/attribute-name.d.ts +0 -0
- /package/runtime/lib/{shared → core}/attribute-name.js +0 -0
- /package/runtime/lib/{shared → core}/component-stack.d.ts +0 -0
- /package/runtime/lib/element-template/{runtime/template → background}/main-thread-function.d.ts +0 -0
- /package/runtime/src/{shared → core}/attribute-name.ts +0 -0
|
@@ -90,12 +90,32 @@ impl Default for ReactLynxTransformOptions {
|
|
|
90
90
|
define_dce: Either::A(false),
|
|
91
91
|
directive_dce: Either::A(false),
|
|
92
92
|
worklet: Either::A(false),
|
|
93
|
-
dynamic_import: Some(Either::
|
|
93
|
+
dynamic_import: Some(Either::A(true)),
|
|
94
94
|
inject: Some(Either::A(false)),
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
+
const BUILTIN_ET_RUNTIME_PKG: &str = "@lynx-js/react/element-template";
|
|
100
|
+
const BUILTIN_ET_INTERNAL_PKG: &str = "@lynx-js/react/element-template/internal";
|
|
101
|
+
|
|
102
|
+
fn normalize_builtin_et_internal_pkg(
|
|
103
|
+
use_element_template_plugin: bool,
|
|
104
|
+
config: &mut ElementTemplateTransformerConfig,
|
|
105
|
+
) -> Option<String> {
|
|
106
|
+
if !use_element_template_plugin {
|
|
107
|
+
return None;
|
|
108
|
+
}
|
|
109
|
+
if config.runtime_pkg == "@lynx-js/react" {
|
|
110
|
+
config.runtime_pkg = BUILTIN_ET_RUNTIME_PKG.into();
|
|
111
|
+
}
|
|
112
|
+
matches!(
|
|
113
|
+
config.runtime_pkg.as_str(),
|
|
114
|
+
BUILTIN_ET_RUNTIME_PKG | BUILTIN_ET_INTERNAL_PKG
|
|
115
|
+
)
|
|
116
|
+
.then(|| BUILTIN_ET_INTERNAL_PKG.to_string())
|
|
117
|
+
}
|
|
118
|
+
|
|
99
119
|
#[plugin_transform]
|
|
100
120
|
pub fn process_transform(program: Program, metadata: TransformPluginProgramMetadata) -> Program {
|
|
101
121
|
let comments = metadata.comments.as_ref();
|
|
@@ -216,7 +236,7 @@ pub fn process_transform(program: Program, metadata: TransformPluginProgramMetad
|
|
|
216
236
|
true,
|
|
217
237
|
),
|
|
218
238
|
};
|
|
219
|
-
let (element_template_plugin_config, element_template_enabled) =
|
|
239
|
+
let (mut element_template_plugin_config, element_template_enabled) =
|
|
220
240
|
match options.element_template.as_ref() {
|
|
221
241
|
Some(Either::A(config)) => (
|
|
222
242
|
ElementTemplateTransformerConfig {
|
|
@@ -251,6 +271,11 @@ pub fn process_transform(program: Program, metadata: TransformPluginProgramMetad
|
|
|
251
271
|
),
|
|
252
272
|
use_snapshot_plugin,
|
|
253
273
|
);
|
|
274
|
+
let et_internal_pkg = normalize_builtin_et_internal_pkg(
|
|
275
|
+
use_element_template_plugin,
|
|
276
|
+
&mut element_template_plugin_config,
|
|
277
|
+
);
|
|
278
|
+
|
|
254
279
|
let element_template_plugin = Optional::new(
|
|
255
280
|
visit_mut_pass(
|
|
256
281
|
ElementTemplateTransformer::new_with_element_templates(
|
|
@@ -298,28 +323,57 @@ pub fn process_transform(program: Program, metadata: TransformPluginProgramMetad
|
|
|
298
323
|
);
|
|
299
324
|
|
|
300
325
|
let worklet_plugin = match options.worklet {
|
|
301
|
-
Either::A(config) =>
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
326
|
+
Either::A(config) => {
|
|
327
|
+
let visitor_config = match &et_internal_pkg {
|
|
328
|
+
Some(runtime_pkg) => WorkletVisitorConfig {
|
|
329
|
+
runtime_pkg: runtime_pkg.clone(),
|
|
330
|
+
..Default::default()
|
|
331
|
+
},
|
|
332
|
+
None => WorkletVisitorConfig::default(),
|
|
333
|
+
};
|
|
334
|
+
Optional::new(
|
|
335
|
+
visit_mut_pass(WorkletVisitor::new(visitor_config).with_content_hash(content_hash)),
|
|
336
|
+
config,
|
|
337
|
+
)
|
|
338
|
+
}
|
|
339
|
+
Either::B(mut config) => {
|
|
340
|
+
if let Some(runtime_pkg) = &et_internal_pkg {
|
|
341
|
+
if config.runtime_pkg == "@lynx-js/react/internal" {
|
|
342
|
+
config.runtime_pkg = runtime_pkg.clone();
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
Optional::new(
|
|
346
|
+
visit_mut_pass(WorkletVisitor::new(config).with_content_hash(content_hash)),
|
|
347
|
+
true,
|
|
348
|
+
)
|
|
349
|
+
}
|
|
309
350
|
};
|
|
310
351
|
|
|
311
352
|
let dynamic_import_plugin = match options.dynamic_import.unwrap_or(Either::A(true)) {
|
|
312
|
-
Either::A(config) =>
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
353
|
+
Either::A(config) => {
|
|
354
|
+
let visitor_config = match &et_internal_pkg {
|
|
355
|
+
Some(runtime_pkg) => DynamicImportVisitorConfig {
|
|
356
|
+
runtime_pkg: runtime_pkg.clone(),
|
|
357
|
+
..Default::default()
|
|
358
|
+
},
|
|
359
|
+
None => DynamicImportVisitorConfig::default(),
|
|
360
|
+
};
|
|
361
|
+
Optional::new(
|
|
362
|
+
visit_mut_pass(DynamicImportVisitor::new(visitor_config, Some(&comments))),
|
|
363
|
+
config,
|
|
364
|
+
)
|
|
365
|
+
}
|
|
366
|
+
Either::B(mut config) => {
|
|
367
|
+
if let Some(runtime_pkg) = &et_internal_pkg {
|
|
368
|
+
if config.runtime_pkg == "@lynx-js/react/internal" {
|
|
369
|
+
config.runtime_pkg = runtime_pkg.clone();
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
Optional::new(
|
|
373
|
+
visit_mut_pass(DynamicImportVisitor::new(config, Some(&comments))),
|
|
374
|
+
true,
|
|
375
|
+
)
|
|
376
|
+
}
|
|
323
377
|
};
|
|
324
378
|
|
|
325
379
|
let inject_plugin = match options.inject.unwrap_or(Either::A(false)) {
|
|
@@ -400,7 +454,7 @@ mod tests {
|
|
|
400
454
|
assert_eq!(options.define_dce, Either::A(true));
|
|
401
455
|
assert_eq!(options.directive_dce, Either::A(true));
|
|
402
456
|
assert_eq!(options.worklet, Either::A(true));
|
|
403
|
-
assert_eq!(options.dynamic_import, Some(Either::
|
|
457
|
+
assert_eq!(options.dynamic_import, Some(Either::A(true)));
|
|
404
458
|
assert_eq!(options.inject, Some(Either::A(false)));
|
|
405
459
|
assert_eq!(options.engine_version, None);
|
|
406
460
|
}
|
|
@@ -600,4 +654,27 @@ mod tests {
|
|
|
600
654
|
let options: ReactLynxTransformOptions = serde_json::from_str(json_data).unwrap();
|
|
601
655
|
assert_eq!(options.engine_version, Some("3.2".to_string()));
|
|
602
656
|
}
|
|
657
|
+
|
|
658
|
+
#[test]
|
|
659
|
+
fn test_normalize_builtin_et_internal_pkg() {
|
|
660
|
+
let mut default_config = ElementTemplateTransformerConfig::default();
|
|
661
|
+
assert_eq!(
|
|
662
|
+
normalize_builtin_et_internal_pkg(true, &mut default_config).as_deref(),
|
|
663
|
+
Some("@lynx-js/react/element-template/internal")
|
|
664
|
+
);
|
|
665
|
+
assert_eq!(
|
|
666
|
+
default_config.runtime_pkg,
|
|
667
|
+
"@lynx-js/react/element-template"
|
|
668
|
+
);
|
|
669
|
+
|
|
670
|
+
let mut custom_config = ElementTemplateTransformerConfig {
|
|
671
|
+
runtime_pkg: "./runtime/internal.ts".into(),
|
|
672
|
+
..Default::default()
|
|
673
|
+
};
|
|
674
|
+
assert_eq!(
|
|
675
|
+
normalize_builtin_et_internal_pkg(true, &mut custom_config),
|
|
676
|
+
None
|
|
677
|
+
);
|
|
678
|
+
assert_eq!(custom_config.runtime_pkg, "./runtime/internal.ts");
|
|
679
|
+
}
|
|
603
680
|
}
|
|
Binary file
|
|
@@ -1,368 +1,58 @@
|
|
|
1
1
|
$ node ./build.js
|
|
2
2
|
Blocking waiting for file lock on package cache
|
|
3
3
|
Blocking waiting for file lock on package cache
|
|
4
|
-
|
|
5
|
-
Downloaded allocator-api2 v0.2.21
|
|
6
|
-
Downloaded ahash v0.8.12
|
|
7
|
-
Downloaded hex v0.4.3
|
|
8
|
-
Downloaded base64-simd v0.8.0
|
|
9
|
-
Downloaded block-buffer v0.10.4
|
|
10
|
-
Downloaded castaway v0.2.4
|
|
11
|
-
Downloaded errno v0.3.14
|
|
12
|
-
Downloaded sha-1 v0.10.1
|
|
13
|
-
Downloaded debugid v0.8.0
|
|
14
|
-
Downloaded equivalent v1.0.2
|
|
15
|
-
Downloaded idna_adapter v1.2.2
|
|
16
|
-
Downloaded if_chain v1.0.3
|
|
17
|
-
Downloaded scoped-tls v1.0.1
|
|
18
|
-
Downloaded from_variant v3.0.0
|
|
19
|
-
Downloaded heck v0.5.0
|
|
20
|
-
Downloaded num_cpus v1.17.0
|
|
21
|
-
Downloaded phf_shared v0.11.3
|
|
22
|
-
Downloaded potential_utf v0.1.5
|
|
23
|
-
Downloaded rustc-hash v2.1.3
|
|
24
|
-
Downloaded new_debug_unreachable v1.0.6
|
|
25
|
-
Downloaded percent-encoding v2.3.2
|
|
26
|
-
Downloaded seq-macro v0.3.6
|
|
27
|
-
Downloaded generic-array v0.14.7
|
|
28
|
-
Downloaded better_scoped_tls v1.0.1
|
|
29
|
-
Downloaded matchers v0.2.0
|
|
30
|
-
Downloaded par-core v2.0.0
|
|
31
|
-
Downloaded phf_generator v0.11.3
|
|
32
|
-
Downloaded cargo-platform v0.1.9
|
|
33
|
-
Downloaded cpufeatures v0.2.17
|
|
34
|
-
Downloaded crypto-common v0.1.7
|
|
35
|
-
Downloaded form_urlencoded v1.2.2
|
|
36
|
-
Downloaded is-macro v0.3.7
|
|
37
|
-
Downloaded itoa v1.0.18
|
|
38
|
-
Downloaded miette-derive v7.6.0
|
|
39
|
-
Downloaded outref v0.5.2
|
|
40
|
-
Downloaded psm v0.1.31
|
|
41
|
-
Downloaded rand_core v0.6.4
|
|
42
|
-
Downloaded scopeguard v1.2.0
|
|
43
|
-
Downloaded ansi_term v0.12.1
|
|
44
|
-
Downloaded autocfg v1.5.1
|
|
45
|
-
Downloaded bytes-str v0.2.8
|
|
46
|
-
Downloaded cargo_metadata v0.18.1
|
|
47
|
-
Downloaded convert_case v0.11.0
|
|
48
|
-
Downloaded data-encoding v2.11.0
|
|
49
|
-
Downloaded digest v0.10.7
|
|
50
|
-
Downloaded displaydoc v0.2.6
|
|
51
|
-
Downloaded either v1.17.0
|
|
52
|
-
Downloaded fastrand v2.5.0
|
|
53
|
-
Downloaded find-msvc-tools v0.1.9
|
|
54
|
-
Downloaded nu-ansi-term v0.50.3
|
|
55
|
-
Downloaded owo-colors v4.3.0
|
|
56
|
-
Downloaded phf v0.11.3
|
|
57
|
-
Downloaded phf_macros v0.11.3
|
|
58
|
-
Downloaded relative-path v1.9.3
|
|
59
|
-
Downloaded semver v1.0.28
|
|
60
|
-
Downloaded anyhow v1.0.104
|
|
61
|
-
Downloaded ascii v1.1.0
|
|
62
|
-
Downloaded ast_node v7.0.0
|
|
63
|
-
Downloaded camino v1.2.4
|
|
64
|
-
Downloaded diff v0.1.13
|
|
65
|
-
Downloaded dragonbox_ecma v0.1.12
|
|
66
|
-
Downloaded glob v0.3.4
|
|
67
|
-
Downloaded hstr v4.0.0
|
|
68
|
-
Downloaded icu_provider v2.2.0
|
|
69
|
-
Downloaded litemap v0.8.2
|
|
70
|
-
Downloaded lock_api v0.4.14
|
|
71
|
-
Downloaded log v0.4.33
|
|
72
|
-
Downloaded num-integer v0.1.46
|
|
73
|
-
Downloaded num-traits v0.2.19
|
|
74
|
-
Downloaded parking_lot v0.12.5
|
|
75
|
-
Downloaded parking_lot_core v0.9.12
|
|
76
|
-
Downloaded ryu v1.0.23
|
|
77
|
-
Downloaded serde_json v1.0.151
|
|
78
|
-
Downloaded stable_deref_trait v1.2.1
|
|
79
|
-
Downloaded bitflags v2.13.1
|
|
80
|
-
Downloaded cbor4ii v1.2.2
|
|
81
|
-
Downloaded compact_str v0.7.1
|
|
82
|
-
Downloaded icu_normalizer_data v2.2.0
|
|
83
|
-
Downloaded icu_properties v2.2.0
|
|
84
|
-
Downloaded base64 v0.22.1
|
|
85
|
-
Downloaded getrandom v0.4.3
|
|
86
|
-
Downloaded icu_locale_core v2.2.0
|
|
87
|
-
Downloaded icu_normalizer v2.2.0
|
|
88
|
-
Downloaded pretty_assertions v1.4.1
|
|
89
|
-
Downloaded rand v0.8.7
|
|
90
|
-
Downloaded serde v1.0.229
|
|
91
|
-
Downloaded siphasher v0.3.11
|
|
92
|
-
Downloaded string_enum v1.0.2
|
|
93
|
-
Downloaded swc_ecma_codegen_macros v2.0.2
|
|
94
|
-
Downloaded swc_eq_ignore_macros v1.0.1
|
|
95
|
-
Downloaded swc_error_reporters v28.0.0
|
|
96
|
-
Downloaded swc_macros_common v1.0.1
|
|
97
|
-
Downloaded utf8_iter v1.0.4
|
|
98
|
-
Downloaded cc v1.4.0
|
|
99
|
-
Downloaded icu_collections v2.2.0
|
|
100
|
-
Downloaded indexmap v2.14.0
|
|
101
|
-
Downloaded memchr v2.8.3
|
|
102
|
-
Downloaded num-bigint v0.4.8
|
|
103
|
-
Downloaded siphasher v1.0.3
|
|
104
|
-
Downloaded yoke-derive v0.8.2
|
|
105
|
-
Downloaded ar_archive_writer v0.5.2
|
|
106
|
-
Downloaded miette v7.6.0
|
|
107
|
-
Downloaded idna v1.1.0
|
|
108
|
-
Downloaded swc_allocator v5.0.0
|
|
109
|
-
Downloaded difference v2.0.0
|
|
110
|
-
Downloaded hashbrown v0.14.5
|
|
111
|
-
Downloaded hashbrown v0.17.1
|
|
112
|
-
Downloaded regex v1.13.1
|
|
113
|
-
Downloaded swc_ecma_quote_macros v45.0.1
|
|
114
|
-
Downloaded swc_ecma_testing v27.0.0
|
|
115
|
-
Downloaded swc_plugin v1.0.1
|
|
116
|
-
Downloaded swc_plugin_macro v2.0.0
|
|
117
|
-
Downloaded swc_plugin_proxy v30.0.0
|
|
118
|
-
Downloaded swc_visit v2.0.2
|
|
119
|
-
Downloaded testing_macros v1.0.2
|
|
120
|
-
Downloaded zerofrom v0.1.8
|
|
121
|
-
Downloaded zerofrom-derive v0.1.7
|
|
122
|
-
Downloaded swc_transform_common v20.0.0
|
|
123
|
-
Downloaded unicode-linebreak v0.1.5
|
|
124
|
-
Downloaded aho-corasick v1.1.4
|
|
125
|
-
Downloaded icu_properties_data v2.2.0
|
|
126
|
-
Downloaded object v0.37.3
|
|
127
|
-
Downloaded regex-syntax v0.8.11
|
|
128
|
-
Downloaded sha2 v0.10.9
|
|
129
|
-
Downloaded stacker v0.1.24
|
|
130
|
-
Downloaded static_assertions v1.1.0
|
|
131
|
-
Downloaded sugar_path v1.2.1
|
|
132
|
-
Downloaded swc_atoms v10.0.0
|
|
133
|
-
Downloaded swc_ecma_transforms_testing v53.0.0
|
|
134
|
-
Downloaded synstructure v0.13.2
|
|
135
|
-
Downloaded tempfile v3.27.0
|
|
136
|
-
Downloaded termcolor v1.4.1
|
|
137
|
-
Downloaded thiserror v1.0.69
|
|
138
|
-
Downloaded thiserror-impl v1.0.69
|
|
139
|
-
Downloaded thread_local v1.1.10
|
|
140
|
-
Downloaded tinystr v0.8.3
|
|
141
|
-
Downloaded tracing-log v0.2.0
|
|
142
|
-
Downloaded vsimd v0.8.0
|
|
143
|
-
Downloaded zerovec-derive v0.11.3
|
|
144
|
-
Downloaded zmij v1.0.23
|
|
145
|
-
Downloaded shlex v2.0.1
|
|
146
|
-
Downloaded rustix v1.1.4
|
|
147
|
-
Downloaded smallvec v1.15.2
|
|
148
|
-
Downloaded tracing-attributes v0.1.31
|
|
149
|
-
Downloaded regex-automata v0.4.16
|
|
150
|
-
Downloaded testing v27.0.0
|
|
151
|
-
Downloaded unicode-id-start v1.4.0
|
|
152
|
-
Downloaded writeable v0.6.3
|
|
153
|
-
Downloaded serde_derive v1.0.229
|
|
154
|
-
Downloaded sharded-slab v0.1.7
|
|
155
|
-
Downloaded swc_ecma_ast v29.0.0
|
|
156
|
-
Downloaded swc_ecma_utils v35.0.0
|
|
157
|
-
Downloaded textwrap v0.16.2
|
|
158
|
-
Downloaded tracing-core v0.1.36
|
|
159
|
-
Downloaded triomphe v0.1.16
|
|
160
|
-
Downloaded yoke v0.8.3
|
|
161
|
-
Downloaded serde_core v1.0.229
|
|
162
|
-
Downloaded swc_core v77.1.2
|
|
163
|
-
Downloaded swc_ecma_codegen v32.0.0
|
|
164
|
-
Downloaded yansi v1.0.1
|
|
165
|
-
Downloaded swc_common v26.0.0
|
|
166
|
-
Downloaded url v2.5.8
|
|
167
|
-
Downloaded zerotrie v0.2.4
|
|
168
|
-
Downloaded typenum v1.20.1
|
|
169
|
-
Downloaded swc_ecma_transforms_base v49.0.1
|
|
170
|
-
Downloaded swc_sourcemap v10.0.2
|
|
171
|
-
Downloaded unicode-segmentation v1.13.3
|
|
172
|
-
Downloaded zerovec v0.11.6
|
|
173
|
-
Downloaded linux-raw-sys v0.12.1
|
|
174
|
-
Downloaded tracing-subscriber v0.3.23
|
|
175
|
-
Downloaded swc_ecma_parser v45.1.1
|
|
176
|
-
Downloaded unicode-width v0.2.2
|
|
177
|
-
Downloaded zerocopy v0.8.55
|
|
178
|
-
Downloaded swc_ecma_visit v29.0.0
|
|
179
|
-
Downloaded syn v3.0.3
|
|
180
|
-
Downloaded unicode-width v0.1.14
|
|
181
|
-
Downloaded tracing v0.1.44
|
|
4
|
+
Blocking waiting for file lock on package cache
|
|
182
5
|
Blocking waiting for file lock on build directory
|
|
183
|
-
Compiling
|
|
184
|
-
Compiling stable_deref_trait v1.2.1
|
|
185
|
-
Compiling icu_normalizer_data v2.2.0
|
|
186
|
-
Compiling syn v2.0.119
|
|
187
|
-
Compiling syn v3.0.3
|
|
188
|
-
Compiling icu_properties_data v2.2.0
|
|
6
|
+
Compiling zerovec v0.11.6
|
|
189
7
|
Compiling ahash v0.8.12
|
|
190
|
-
Compiling serde_core v1.0.229
|
|
191
|
-
Compiling cfg-if v1.0.4
|
|
192
|
-
Compiling autocfg v1.5.1
|
|
193
|
-
Compiling num-traits v0.2.19
|
|
194
|
-
Compiling once_cell v1.21.4
|
|
195
|
-
Compiling serde v1.0.229
|
|
196
|
-
Compiling anyhow v1.0.104
|
|
197
|
-
Compiling smallvec v1.15.2
|
|
198
|
-
Compiling writeable v0.6.3
|
|
199
|
-
Compiling litemap v0.8.2
|
|
200
|
-
Compiling memchr v2.8.3
|
|
201
|
-
Compiling utf8_iter v1.0.4
|
|
202
|
-
Compiling serde_derive v1.0.229
|
|
203
|
-
Compiling zmij v1.0.23
|
|
204
|
-
Compiling allocator-api2 v0.2.21
|
|
205
|
-
Compiling synstructure v0.13.2
|
|
206
|
-
Compiling swc_macros_common v1.0.1
|
|
207
|
-
Compiling equivalent v1.0.2
|
|
208
|
-
Compiling serde_json v1.0.151
|
|
209
|
-
Compiling rustc-hash v2.1.3
|
|
210
8
|
Compiling hashbrown v0.17.1
|
|
211
|
-
Compiling
|
|
212
|
-
Compiling
|
|
213
|
-
Compiling
|
|
214
|
-
Compiling
|
|
215
|
-
Compiling zerofrom v0.1.8
|
|
216
|
-
Compiling yoke v0.8.3
|
|
217
|
-
Compiling tracing-attributes v0.1.31
|
|
218
|
-
Compiling zerovec v0.11.6
|
|
219
|
-
Compiling zerotrie v0.2.4
|
|
220
|
-
Compiling ast_node v7.0.0
|
|
9
|
+
Compiling either v1.17.0
|
|
10
|
+
Compiling hashbrown v0.14.5
|
|
11
|
+
Compiling swc_visit v2.0.2
|
|
12
|
+
Compiling aho-corasick v1.1.4
|
|
221
13
|
Compiling tinystr v0.8.3
|
|
222
14
|
Compiling potential_utf v0.1.5
|
|
223
15
|
Compiling icu_locale_core v2.2.0
|
|
224
16
|
Compiling icu_collections v2.2.0
|
|
225
|
-
Compiling
|
|
226
|
-
Compiling
|
|
227
|
-
Compiling
|
|
17
|
+
Compiling indexmap v2.14.0
|
|
18
|
+
Compiling hstr v4.0.0
|
|
19
|
+
Compiling serde_json v1.0.151
|
|
228
20
|
Compiling icu_provider v2.2.0
|
|
229
|
-
Compiling itoa v1.0.18
|
|
230
|
-
Compiling hashbrown v0.14.5
|
|
231
21
|
Compiling icu_normalizer v2.2.0
|
|
232
22
|
Compiling icu_properties v2.2.0
|
|
233
|
-
Compiling indexmap v2.14.0
|
|
234
|
-
Compiling tracing-core v0.1.36
|
|
235
|
-
Compiling idna_adapter v1.2.2
|
|
236
|
-
Compiling parking_lot_core v0.9.12
|
|
237
|
-
Compiling tap v1.0.1
|
|
238
|
-
Compiling siphasher v1.0.3
|
|
239
|
-
Compiling rand_core v0.6.4
|
|
240
|
-
Compiling percent-encoding v2.3.2
|
|
241
|
-
Compiling phf_shared v0.11.3
|
|
242
|
-
Compiling rand v0.8.7
|
|
243
|
-
Compiling form_urlencoded v1.2.2
|
|
244
|
-
Compiling wyz v0.5.1
|
|
245
|
-
Compiling idna v1.1.0
|
|
246
|
-
Compiling triomphe v0.1.16
|
|
247
|
-
Compiling scopeguard v1.2.0
|
|
248
|
-
Compiling bytes v1.12.1
|
|
249
|
-
Compiling pin-project-lite v0.2.17
|
|
250
|
-
Compiling unicode-width v0.2.2
|
|
251
|
-
Compiling outref v0.5.2
|
|
252
|
-
Compiling uuid v1.24.0
|
|
253
|
-
Compiling funty v2.0.0
|
|
254
|
-
Compiling new_debug_unreachable v1.0.6
|
|
255
|
-
Compiling vsimd v0.8.0
|
|
256
|
-
Compiling hstr v4.0.0
|
|
257
|
-
Compiling base64-simd v0.8.0
|
|
258
|
-
Compiling bitvec v1.1.1
|
|
259
|
-
Compiling bytes-str v0.2.8
|
|
260
|
-
Compiling debugid v0.8.0
|
|
261
|
-
Compiling tracing v0.1.44
|
|
262
|
-
Compiling lock_api v0.4.14
|
|
263
|
-
Compiling num-integer v0.1.46
|
|
264
|
-
Compiling url v2.5.8
|
|
265
|
-
Compiling phf_generator v0.11.3
|
|
266
|
-
Compiling if_chain v1.0.3
|
|
267
|
-
Compiling scoped-tls v1.0.1
|
|
268
|
-
Compiling either v1.17.0
|
|
269
|
-
Compiling unicode-id-start v1.4.0
|
|
270
|
-
Compiling data-encoding v2.11.0
|
|
271
|
-
Compiling cbor4ii v1.2.2
|
|
272
|
-
Compiling swc_visit v2.0.2
|
|
273
|
-
Compiling better_scoped_tls v1.0.1
|
|
274
23
|
Compiling swc_atoms v10.0.0
|
|
275
|
-
Compiling parking_lot v0.12.5
|
|
276
|
-
Compiling phf_macros v0.11.3
|
|
277
|
-
Compiling swc_sourcemap v10.0.2
|
|
278
|
-
Compiling num-bigint v0.4.8
|
|
279
|
-
Compiling siphasher v0.3.11
|
|
280
|
-
Compiling termcolor v1.4.1
|
|
281
|
-
Compiling heck v0.5.0
|
|
282
|
-
Compiling is-macro v0.3.7
|
|
283
|
-
Compiling swc_common v26.0.0
|
|
284
|
-
Compiling string_enum v1.0.2
|
|
285
|
-
Compiling bitflags v2.13.1
|
|
286
|
-
Compiling libc v0.2.189
|
|
287
|
-
Compiling generic-array v0.14.7
|
|
288
|
-
Compiling phf v0.11.3
|
|
289
|
-
Compiling aho-corasick v1.1.4
|
|
290
|
-
Compiling regex-syntax v0.8.11
|
|
291
24
|
Compiling typenum v1.20.1
|
|
292
|
-
Compiling swc_ecma_ast v29.0.0
|
|
293
25
|
Compiling regex-automata v0.4.16
|
|
294
|
-
Compiling
|
|
295
|
-
Compiling
|
|
296
|
-
Compiling
|
|
297
|
-
Compiling unicode-linebreak v0.1.5
|
|
298
|
-
Compiling dragonbox_ecma v0.1.12
|
|
299
|
-
Compiling textwrap v0.16.2
|
|
26
|
+
Compiling generic-array v0.14.7
|
|
27
|
+
Compiling cargo_metadata v0.18.1
|
|
28
|
+
Compiling idna_adapter v1.2.2
|
|
300
29
|
Compiling block-buffer v0.10.4
|
|
30
|
+
Compiling idna v1.1.0
|
|
301
31
|
Compiling crypto-common v0.1.7
|
|
302
|
-
Compiling castaway v0.2.4
|
|
303
|
-
Compiling thiserror-impl v1.0.69
|
|
304
|
-
Compiling miette-derive v7.6.0
|
|
305
|
-
Compiling lazy_static v1.5.0
|
|
306
|
-
Compiling log v0.4.33
|
|
307
|
-
Compiling ryu v1.0.23
|
|
308
|
-
Compiling static_assertions v1.1.0
|
|
309
|
-
Compiling seq-macro v0.3.6
|
|
310
|
-
Compiling unicode-width v0.1.14
|
|
311
|
-
Compiling miette v7.6.0
|
|
312
|
-
Compiling compact_str v0.7.1
|
|
313
|
-
Compiling regex v1.13.1
|
|
314
|
-
Compiling tracing-log v0.2.0
|
|
315
|
-
Compiling sharded-slab v0.1.7
|
|
316
32
|
Compiling digest v0.10.7
|
|
317
|
-
Compiling
|
|
33
|
+
Compiling swc_allocator v5.0.0
|
|
34
|
+
Compiling sha2 v0.10.9
|
|
35
|
+
Compiling url v2.5.8
|
|
36
|
+
Compiling swc_core v77.1.2
|
|
37
|
+
Compiling swc_sourcemap v10.0.2
|
|
38
|
+
Compiling sha-1 v0.10.1
|
|
39
|
+
Compiling regex v1.13.1
|
|
318
40
|
Compiling matchers v0.2.0
|
|
319
|
-
Compiling num_cpus v1.17.0
|
|
320
|
-
Compiling cargo-platform v0.1.9
|
|
321
|
-
Compiling semver v1.0.28
|
|
322
|
-
Compiling par-core v2.0.0
|
|
323
|
-
Compiling thread_local v1.1.10
|
|
324
|
-
Compiling yansi v1.0.1
|
|
325
|
-
Compiling diff v0.1.13
|
|
326
|
-
Compiling rustix v1.1.4
|
|
327
|
-
Compiling getrandom v0.4.3
|
|
328
|
-
Compiling nu-ansi-term v0.50.3
|
|
329
|
-
Compiling glob v0.3.4
|
|
330
|
-
Compiling relative-path v1.9.3
|
|
331
41
|
Compiling tracing-subscriber v0.3.23
|
|
332
|
-
Compiling
|
|
333
|
-
Compiling
|
|
334
|
-
Compiling cargo_metadata v0.18.1
|
|
335
|
-
Compiling swc_ecma_utils v35.0.0
|
|
42
|
+
Compiling swc_common v26.0.0
|
|
43
|
+
Compiling swc_ecma_ast v29.0.0
|
|
336
44
|
Compiling swc_error_reporters v28.0.0
|
|
337
|
-
Compiling errno v0.3.14
|
|
338
|
-
Compiling bumpalo v3.20.3
|
|
339
|
-
Compiling difference v2.0.0
|
|
340
45
|
Compiling testing v27.0.0
|
|
341
|
-
Compiling swc_allocator v5.0.0
|
|
342
|
-
Compiling sha2 v0.10.9
|
|
343
|
-
Compiling swc_ecma_parser v45.1.1
|
|
344
|
-
Compiling swc_ecma_codegen_macros v2.0.2
|
|
345
|
-
Compiling fastrand v2.5.0
|
|
346
|
-
Compiling hex v0.4.3
|
|
347
|
-
Compiling ascii v1.1.0
|
|
348
|
-
Compiling swc_ecma_codegen v32.0.0
|
|
349
46
|
Compiling swc_ecma_testing v27.0.0
|
|
350
|
-
Compiling tempfile v3.27.0
|
|
351
|
-
Compiling swc_core v77.1.2
|
|
352
|
-
Compiling base64 v0.22.1
|
|
353
|
-
Compiling ansi_term v0.12.1
|
|
354
|
-
Compiling swc_ecma_transforms_base v49.0.1
|
|
355
|
-
Compiling swc_plugin_proxy v30.0.0
|
|
356
47
|
Compiling swc_transform_common v20.0.0
|
|
357
|
-
Compiling
|
|
48
|
+
Compiling swc_ecma_visit v29.0.0
|
|
49
|
+
Compiling swc_ecma_parser v45.1.1
|
|
50
|
+
Compiling swc_plugin_proxy v30.0.0
|
|
51
|
+
Compiling swc_ecma_utils v35.0.0
|
|
52
|
+
Compiling swc_ecma_transforms_base v49.0.1
|
|
53
|
+
Compiling swc_ecma_codegen v32.0.0
|
|
358
54
|
Compiling swc_ecma_transforms_testing v53.0.0
|
|
359
|
-
Compiling swc_ecma_quote_macros v45.0.1
|
|
360
|
-
Compiling swc_plugin v1.0.1
|
|
361
|
-
Compiling unicode-segmentation v1.13.3
|
|
362
|
-
Compiling sha-1 v0.10.1
|
|
363
|
-
Compiling sugar_path v1.2.1
|
|
364
|
-
Compiling convert_case v0.11.0
|
|
365
55
|
Compiling swc_plugins_shared v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugins_shared)
|
|
366
56
|
Compiling swc_plugin_compat v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_compat)
|
|
367
57
|
Compiling swc_plugin_reactlynx_compat v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/swc-plugin-reactlynx-compat)
|
|
368
|
-
Finished `release` profile [optimized] target(s) in
|
|
58
|
+
Finished `release` profile [optimized] target(s) in 3m 17s
|
|
Binary file
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { BackgroundElementTemplateInstance, globalCommitContext, runCase } from '../../_shared.js';
|
|
2
|
-
|
|
3
|
-
export function run() {
|
|
4
|
-
return runCase(() => {
|
|
5
|
-
const root = new BackgroundElementTemplateInstance('root');
|
|
6
|
-
const child = new BackgroundElementTemplateInstance('view');
|
|
7
|
-
root.insertBefore(child, null, true);
|
|
8
|
-
|
|
9
|
-
return globalCommitContext.ops;
|
|
10
|
-
});
|
|
11
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Array []
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
BackgroundElementTemplateInstance,
|
|
3
|
-
globalCommitContext,
|
|
4
|
-
markElementTemplateHydrated,
|
|
5
|
-
resetGlobalCommitContext,
|
|
6
|
-
runCase,
|
|
7
|
-
} from '../../_shared.js';
|
|
8
|
-
|
|
9
|
-
export function run() {
|
|
10
|
-
return runCase(() => {
|
|
11
|
-
const instance = new BackgroundElementTemplateInstance('view');
|
|
12
|
-
instance.setAttribute('attributeSlots', [{ a: 1 }]);
|
|
13
|
-
markElementTemplateHydrated();
|
|
14
|
-
instance.markMaterializedByHydration();
|
|
15
|
-
resetGlobalCommitContext();
|
|
16
|
-
|
|
17
|
-
instance.setAttribute('attributeSlots', []);
|
|
18
|
-
const stream = globalCommitContext.ops;
|
|
19
|
-
resetGlobalCommitContext();
|
|
20
|
-
|
|
21
|
-
return stream;
|
|
22
|
-
});
|
|
23
|
-
}
|