@lynx-js/react 0.129.0 → 0.129.2
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 +24 -0
- package/components/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -4
- package/refresh/.turbo/turbo-build.log +1 -1
- package/runtime/__test__/core/globalProps.test.ts +27 -6
- package/runtime/__test__/core/hooks/useLynxGlobalEventListener.test.jsx +1 -1
- package/runtime/__test__/element-template/fixtures/gesture/direct/index.tsx +33 -0
- package/runtime/__test__/element-template/fixtures/spread/mts/index.tsx +197 -0
- package/runtime/__test__/element-template/imports/no-legacy-imports.test.ts +7 -6
- package/runtime/__test__/element-template/internal/legacy-internal-guardrail.test.ts +1 -2
- package/runtime/__test__/element-template/native/callDestroyLifetimeFun.test.ts +89 -3
- package/runtime/__test__/element-template/native/main-thread-api.test.ts +5 -2
- package/runtime/__test__/element-template/native/mts-destroy.test.ts +88 -0
- package/runtime/__test__/element-template/native/reload-dual-thread-communication.test.ts +3 -0
- package/runtime/__test__/element-template/native/reload.test.ts +118 -2
- package/runtime/__test__/element-template/runtime/background/global-props/compiled-fixtures.test.tsx +5 -5
- package/runtime/__test__/element-template/runtime/background/global-props.test.tsx +1 -1
- package/runtime/__test__/element-template/runtime/background/hydrate.test.ts +70 -0
- package/runtime/__test__/element-template/runtime/background/ref/compiled-fixtures.test.tsx +3 -4
- package/runtime/__test__/element-template/runtime/background/reload.test.ts +74 -0
- package/runtime/__test__/element-template/runtime/background/update-timing.test.ts +15 -0
- package/runtime/__test__/element-template/runtime/patch/element-template-patch.test.tsx +212 -7
- package/runtime/__test__/element-template/runtime/patch/update-timing.test.ts +4 -1
- package/runtime/__test__/element-template/runtime/prop-adapters/gesture-compiled.test.ts +200 -0
- package/runtime/__test__/element-template/runtime/prop-adapters/gesture.test.ts +420 -0
- package/runtime/__test__/element-template/runtime/prop-adapters/spread-mts-compiled.test.ts +527 -0
- package/runtime/__test__/element-template/runtime/prop-adapters/spread.test.ts +185 -6
- package/runtime/__test__/element-template/runtime/render/render-direct-native.test.tsx +21 -1
- package/runtime/__test__/element-template/runtime/render/render-direct-suspense.test.ts +4 -1
- package/runtime/__test__/element-template/runtime/render/render-direct.test.ts +4 -1
- package/runtime/__test__/element-template/runtime/render/render-main-thread.test.ts +101 -1
- package/runtime/__test__/element-template/runtime/template/element-template-handle.test.ts +32 -0
- package/runtime/__test__/element-template/runtime/template/main-thread-dynamic-attr-state.test.ts +309 -26
- package/runtime/__test__/element-template/test-utils/debug/envManager.ts +8 -5
- package/runtime/__test__/element-template/test-utils/mock/mockNativePapi.ts +35 -2
- package/runtime/__test__/guardrails/snapshot-containment.test.ts +45 -11
- package/runtime/__test__/shared/component-stack.test.ts +211 -0
- package/runtime/__test__/snapshot/debug/formatPatch.test.ts +0 -8
- package/runtime/__test__/snapshot/gesture/prepareGestureForCommit.test.js +1 -1
- package/runtime/__test__/snapshot/lifecycle/updateGlobalProps.event.test.jsx +2 -2
- package/runtime/__test__/snapshot/lifecycle/updateGlobalProps.test.jsx +3 -3
- package/runtime/__test__/snapshot/lynx/timing.test.jsx +3 -0
- package/runtime/__test__/snapshot/preact.test.jsx +0 -3
- package/runtime/__test__/snapshot/ref.test.jsx +30 -0
- package/runtime/__test__/snapshot/snapshotPatch.test.jsx +0 -33
- package/runtime/__test__/worklet-runtime/jsFunctionLifecycle.test.js +12 -0
- package/runtime/__test__/worklet-runtime/loadRuntime.test.js +68 -0
- package/runtime/__test__/worklet-runtime/workletRuntime.test.js +30 -0
- package/runtime/lazy/element-template-internal.js +1 -1
- package/runtime/lazy/internal.js +1 -1
- package/runtime/lazy/jsx-dev-runtime.js +1 -1
- package/runtime/lazy/jsx-runtime.js +1 -1
- package/runtime/lazy/legacy-react-runtime.js +1 -1
- package/runtime/lazy/react-lepus.js +1 -1
- package/runtime/lazy/react.js +1 -1
- package/runtime/lib/core/capture-main-thread-object.js +2 -1
- package/runtime/lib/core/capture-main-thread-object.js.map +1 -1
- package/runtime/lib/core/compat/legacy-react-runtime.js +1 -1
- package/runtime/lib/core/compat/legacy-react-runtime.js.map +1 -1
- package/runtime/lib/core/globalProps.js +1 -1
- package/runtime/lib/core/globalProps.js.map +1 -1
- package/runtime/lib/core/lynx/lazy-bundle.js +1 -1
- package/runtime/lib/core/lynx/lazy-bundle.js.map +1 -1
- package/runtime/lib/core/lynx-data-processors.d.ts +125 -1
- package/runtime/lib/core/lynx-data-processors.js +3 -0
- package/runtime/lib/core/lynx-data-processors.js.map +1 -1
- package/runtime/lib/core/runtime-destroy.js +1 -1
- package/runtime/lib/core/runtime-destroy.js.map +1 -1
- package/runtime/lib/document.js +0 -5
- package/runtime/lib/document.js.map +1 -1
- package/runtime/lib/element-template/background/attr-slots.js +5 -2
- package/runtime/lib/element-template/background/attr-slots.js.map +1 -1
- package/runtime/lib/element-template/background/commit-hook.js +11 -12
- package/runtime/lib/element-template/background/commit-hook.js.map +1 -1
- package/runtime/lib/element-template/background/destroy.js +16 -11
- package/runtime/lib/element-template/background/destroy.js.map +1 -1
- package/runtime/lib/element-template/background/hydrate.js +23 -0
- package/runtime/lib/element-template/background/hydrate.js.map +1 -1
- package/runtime/lib/element-template/client/root.d.ts +1 -1
- package/runtime/lib/element-template/client/root.js.map +1 -1
- package/runtime/lib/element-template/debug/alog.d.ts +1 -1
- package/runtime/lib/element-template/debug/alog.js +4 -1
- package/runtime/lib/element-template/debug/alog.js.map +1 -1
- package/runtime/lib/element-template/index.d.ts +2 -2
- package/runtime/lib/element-template/index.js.map +1 -1
- package/runtime/lib/element-template/internal.d.ts +2 -2
- package/runtime/lib/element-template/internal.js +1 -14
- package/runtime/lib/element-template/internal.js.map +1 -1
- package/runtime/lib/element-template/lynx/env.js.map +1 -1
- package/runtime/lib/element-template/native/callDestroyLifetimeFun.js +6 -1
- package/runtime/lib/element-template/native/callDestroyLifetimeFun.js.map +1 -1
- package/runtime/lib/element-template/native/flush.d.ts +1 -0
- package/runtime/lib/element-template/native/flush.js +9 -0
- package/runtime/lib/element-template/native/flush.js.map +1 -0
- package/runtime/lib/element-template/native/main-thread-api.js +3 -7
- package/runtime/lib/element-template/native/main-thread-api.js.map +1 -1
- package/runtime/lib/element-template/native/mts-destroy.js +8 -2
- package/runtime/lib/element-template/native/mts-destroy.js.map +1 -1
- package/runtime/lib/element-template/native/patch-listener.js +57 -50
- package/runtime/lib/element-template/native/patch-listener.js.map +1 -1
- package/runtime/lib/element-template/native/reload-background.js +1 -1
- package/runtime/lib/element-template/native/reload-background.js.map +1 -1
- package/runtime/lib/element-template/native/reload-main-thread.js +35 -10
- package/runtime/lib/element-template/native/reload-main-thread.js.map +1 -1
- package/runtime/lib/element-template/prop-adapters/gesture.d.ts +23 -0
- package/runtime/lib/element-template/prop-adapters/gesture.js +97 -0
- package/runtime/lib/element-template/prop-adapters/gesture.js.map +1 -0
- package/runtime/lib/element-template/prop-adapters/spread.d.ts +6 -1
- package/runtime/lib/element-template/prop-adapters/spread.js +72 -2
- package/runtime/lib/element-template/prop-adapters/spread.js.map +1 -1
- package/runtime/lib/element-template/protocol/opcodes.d.ts +1 -0
- package/runtime/lib/element-template/protocol/opcodes.js +1 -0
- package/runtime/lib/element-template/protocol/opcodes.js.map +1 -1
- package/runtime/lib/element-template/protocol/types.d.ts +7 -1
- package/runtime/lib/element-template/protocol/types.js.map +1 -1
- package/runtime/lib/element-template/runtime/page/root-instance.d.ts +0 -1
- package/runtime/lib/element-template/runtime/page/root-instance.js.map +1 -1
- package/runtime/lib/element-template/runtime/patch.js +31 -2
- package/runtime/lib/element-template/runtime/patch.js.map +1 -1
- package/runtime/lib/element-template/runtime/render/render-components.js +4 -4
- package/runtime/lib/element-template/runtime/render/render-components.js.map +1 -1
- package/runtime/lib/element-template/runtime/render/render-main-thread.js +2 -0
- package/runtime/lib/element-template/runtime/render/render-main-thread.js.map +1 -1
- package/runtime/lib/element-template/runtime/template/attr-slot-plan.d.ts +4 -2
- package/runtime/lib/element-template/runtime/template/attr-slot-plan.js +17 -4
- package/runtime/lib/element-template/runtime/template/attr-slot-plan.js.map +1 -1
- package/runtime/lib/element-template/runtime/template/main-thread-background-function.js +8 -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.d.ts +7 -1
- package/runtime/lib/element-template/runtime/template/main-thread-dynamic-attr-state.js +380 -50
- 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-ref-ctx.d.ts +3 -2
- package/runtime/lib/element-template/runtime/template/main-thread-ref-ctx.js +10 -1
- package/runtime/lib/element-template/runtime/template/main-thread-ref-ctx.js.map +1 -1
- package/runtime/lib/element-template/runtime/template/typed-attributes.js +3 -3
- package/runtime/lib/element-template/runtime/template/typed-attributes.js.map +1 -1
- package/runtime/lib/internal.d.ts +1 -1
- package/runtime/lib/internal.js +1 -1
- package/runtime/lib/internal.js.map +1 -1
- package/runtime/lib/lynx-api.d.ts +2 -125
- package/runtime/lib/lynx-api.js.map +1 -1
- package/runtime/lib/shared/component-stack.d.ts +0 -4
- package/runtime/lib/shared/component-stack.js +21 -5
- package/runtime/lib/shared/component-stack.js.map +1 -1
- package/runtime/lib/snapshot/gesture/{processGestureBagkround.js → processGestureBackground.js} +1 -1
- package/runtime/lib/snapshot/gesture/processGestureBackground.js.map +1 -0
- package/runtime/lib/snapshot/lifecycle/destroy.js +23 -17
- package/runtime/lib/snapshot/lifecycle/destroy.js.map +1 -1
- package/runtime/lib/snapshot/lifecycle/patch/snapshotPatch.d.ts +0 -1
- package/runtime/lib/snapshot/lifecycle/patch/snapshotPatch.js +0 -5
- package/runtime/lib/snapshot/lifecycle/patch/snapshotPatch.js.map +1 -1
- package/runtime/lib/snapshot/lifecycle/patch/snapshotPatchApply.js +0 -10
- package/runtime/lib/snapshot/lifecycle/patch/snapshotPatchApply.js.map +1 -1
- package/runtime/lib/snapshot/lifecycle/patch/updateMainThread.js +56 -51
- package/runtime/lib/snapshot/lifecycle/patch/updateMainThread.js.map +1 -1
- package/runtime/lib/snapshot/lifecycle/ref/delay.d.ts +5 -0
- package/runtime/lib/snapshot/lifecycle/ref/delay.js +1 -1
- package/runtime/lib/snapshot/lifecycle/ref/delay.js.map +1 -1
- package/runtime/lib/snapshot/list/listUpdateInfo.js +0 -30
- package/runtime/lib/snapshot/list/listUpdateInfo.js.map +1 -1
- package/runtime/lib/snapshot/lynx/calledByNative.js +11 -8
- package/runtime/lib/snapshot/lynx/calledByNative.js.map +1 -1
- package/runtime/lib/snapshot/renderToOpcodes/hydrate.js +0 -52
- package/runtime/lib/snapshot/renderToOpcodes/hydrate.js.map +1 -1
- package/runtime/lib/snapshot/renderToOpcodes/index.js +10 -10
- package/runtime/lib/snapshot/renderToOpcodes/index.js.map +1 -1
- package/runtime/lib/snapshot/renderToOpcodes/opcodes.js +0 -51
- package/runtime/lib/snapshot/renderToOpcodes/opcodes.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/tsconfig.tsbuildinfo +1 -1
- package/runtime/lib/worklet-runtime/bindings/index.d.ts +1 -0
- package/runtime/lib/worklet-runtime/bindings/index.js +1 -0
- package/runtime/lib/worklet-runtime/bindings/index.js.map +1 -1
- package/runtime/lib/worklet-runtime/bindings/loadRuntime.d.ts +8 -0
- package/runtime/lib/worklet-runtime/bindings/loadRuntime.js +23 -0
- package/runtime/lib/worklet-runtime/bindings/loadRuntime.js.map +1 -0
- package/runtime/lib/worklet-runtime/jsFunctionLifecycle.d.ts +2 -0
- package/runtime/lib/worklet-runtime/jsFunctionLifecycle.js +6 -0
- package/runtime/lib/worklet-runtime/jsFunctionLifecycle.js.map +1 -1
- package/runtime/lib/worklet-runtime/workletRuntime.js +2 -0
- package/runtime/lib/worklet-runtime/workletRuntime.js.map +1 -1
- package/runtime/package.json +2 -3
- package/runtime/src/core/capture-main-thread-object.ts +2 -1
- package/runtime/src/core/compat/legacy-react-runtime.ts +1 -1
- package/runtime/src/core/globalProps.ts +1 -1
- package/runtime/src/core/lynx/lazy-bundle.ts +1 -1
- package/runtime/src/core/lynx-data-processors.ts +124 -1
- package/runtime/src/core/runtime-destroy.ts +1 -1
- package/runtime/src/document.ts +0 -6
- package/runtime/src/element-template/background/attr-slots.ts +5 -1
- package/runtime/src/element-template/background/commit-hook.ts +18 -12
- package/runtime/src/element-template/background/destroy.ts +16 -13
- package/runtime/src/element-template/background/hydrate.ts +23 -0
- package/runtime/src/element-template/client/root.ts +1 -3
- package/runtime/src/element-template/debug/alog.ts +5 -2
- package/runtime/src/element-template/index.ts +2 -2
- package/runtime/src/element-template/internal.ts +1 -20
- package/runtime/src/element-template/lynx/env.ts +1 -1
- package/runtime/src/element-template/native/callDestroyLifetimeFun.ts +5 -1
- package/runtime/src/element-template/native/flush.ts +10 -0
- package/runtime/src/element-template/native/main-thread-api.ts +3 -6
- package/runtime/src/element-template/native/mts-destroy.ts +7 -2
- package/runtime/src/element-template/native/patch-listener.ts +62 -57
- package/runtime/src/element-template/native/reload-background.ts +1 -1
- package/runtime/src/element-template/native/reload-main-thread.ts +32 -11
- package/runtime/src/element-template/prop-adapters/gesture.ts +144 -0
- package/runtime/src/element-template/prop-adapters/spread.ts +110 -2
- package/runtime/src/element-template/protocol/opcodes.ts +1 -0
- package/runtime/src/element-template/protocol/types.ts +8 -13
- package/runtime/src/element-template/runtime/page/root-instance.ts +0 -1
- package/runtime/src/element-template/runtime/patch.ts +38 -0
- package/runtime/src/element-template/runtime/render/render-components.ts +3 -3
- package/runtime/src/element-template/runtime/render/render-main-thread.ts +2 -0
- package/runtime/src/element-template/runtime/template/attr-slot-plan.ts +31 -4
- package/runtime/src/element-template/runtime/template/main-thread-background-function.ts +8 -1
- package/runtime/src/element-template/runtime/template/main-thread-dynamic-attr-state.ts +456 -50
- package/runtime/src/element-template/runtime/template/main-thread-ref-ctx.ts +14 -4
- package/runtime/src/element-template/runtime/template/typed-attributes.ts +3 -3
- package/runtime/src/element-template/types.d.ts +6 -0
- package/runtime/src/internal.ts +1 -1
- package/runtime/src/lynx-api.ts +2 -124
- package/runtime/src/shared/component-stack.ts +22 -5
- package/runtime/src/snapshot/lifecycle/destroy.ts +23 -18
- package/runtime/src/snapshot/lifecycle/patch/snapshotPatch.ts +0 -5
- package/runtime/src/snapshot/lifecycle/patch/snapshotPatchApply.ts +0 -10
- package/runtime/src/snapshot/lifecycle/patch/updateMainThread.ts +62 -58
- package/runtime/src/snapshot/lifecycle/ref/delay.ts +1 -1
- package/runtime/src/snapshot/list/listUpdateInfo.ts +0 -52
- package/runtime/src/snapshot/lynx/calledByNative.ts +11 -9
- package/runtime/src/snapshot/renderToOpcodes/hydrate.ts +0 -58
- package/runtime/src/snapshot/renderToOpcodes/index.ts +8 -8
- package/runtime/src/snapshot/renderToOpcodes/opcodes.ts +0 -57
- package/runtime/src/snapshot/snapshot/backgroundSnapshot.ts +1 -1
- package/runtime/src/worklet-runtime/README.md +30 -10
- package/runtime/src/worklet-runtime/bindings/index.ts +2 -0
- package/runtime/src/worklet-runtime/bindings/loadRuntime.ts +25 -0
- package/runtime/src/worklet-runtime/jsFunctionLifecycle.ts +6 -0
- package/runtime/src/worklet-runtime/workletRuntime.ts +2 -0
- package/runtime/types/types.d.ts +2 -1
- package/runtime/vitest.config.ts +0 -2
- package/testing-library/.turbo/turbo-build.log +7 -7
- package/testing-library/src/__tests__/act.test.jsx +0 -7
- package/testing-library/src/__tests__/alog.test.jsx +12 -54
- package/testing-library/src/__tests__/end-to-end.test.jsx +0 -7
- package/testing-library/src/__tests__/renderComponent.test.jsx +0 -14
- package/testing-library/src/__tests__/worklet.test.jsx +49 -0
- package/transform/.turbo/turbo-build$colon$wasm.log +133 -297
- package/transform/__test__/defines.spec.js +30 -0
- package/transform/__test__/fixture.spec.js +11 -11
- package/transform/__test__/main-thread-object-compat.spec.js +111 -0
- package/transform/__test__/object-methods.spec.js +79 -0
- package/transform/crates/swc_plugin_element_template/lib.rs +11 -0
- package/transform/crates/swc_plugin_element_template/tests/element_template_contract.rs +113 -0
- package/transform/crates/swc_plugin_worklet/extract_ident.rs +99 -49
- package/transform/crates/swc_plugin_worklet/gen_stmt.rs +63 -57
- package/transform/crates/swc_plugin_worklet/lib.rs +393 -589
- package/transform/crates/swc_plugin_worklet/napi.rs +4 -6
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_capture_env_js.js +3 -3
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_capture_env_lepus.js +3 -3
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_extract_member_expr_2_js.js +11 -6
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_extract_member_expr_2_lepus.js +12 -6
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_extract_member_expr_js.js +14 -5
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_extract_member_expr_lepus.js +17 -6
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_preserve_main_thread_objects_in_class_js.js +5 -5
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_preserve_main_thread_objects_in_class_lepus.js +5 -5
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_transform_js.js +1 -1
- package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_transform_lepus.js +1 -1
- package/transform/dist/wasm.cjs +1 -1
- package/transform/package.json +0 -1
- package/transform/src/lib.rs +1 -1
- package/transform/swc-plugin-reactlynx/.turbo/turbo-build.log +167 -69
- package/transform/swc-plugin-reactlynx/src/lib.rs +1 -4
- package/transform/swc-plugin-reactlynx/swc_plugin_reactlynx.wasm +0 -0
- package/transform/swc-plugin-reactlynx-compat/.turbo/turbo-build.log +226 -132
- package/runtime/lib/snapshot/gesture/processGestureBagkround.js.map +0 -1
- package/runtime/lib/snapshot/worklet/hmr.d.ts +0 -1
- package/runtime/lib/snapshot/worklet/hmr.js +0 -28
- package/runtime/lib/snapshot/worklet/hmr.js.map +0 -1
- package/runtime/src/snapshot/worklet/hmr.ts +0 -34
- /package/runtime/lib/snapshot/gesture/{processGestureBagkround.d.ts → processGestureBackground.d.ts} +0 -0
- /package/runtime/src/snapshot/gesture/{processGestureBagkround.ts → processGestureBackground.ts} +0 -0
package/transform/package.json
CHANGED
package/transform/src/lib.rs
CHANGED
|
@@ -893,7 +893,7 @@ fn transform_react_lynx_inner(
|
|
|
893
893
|
}
|
|
894
894
|
Either::B(config) => {
|
|
895
895
|
let visitor =
|
|
896
|
-
WorkletVisitor::new(
|
|
896
|
+
WorkletVisitor::new(config)
|
|
897
897
|
.with_content_hash(content_hash);
|
|
898
898
|
let visitor =
|
|
899
899
|
visitor
|
|
@@ -2,139 +2,237 @@ $ 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
|
|
10
|
-
Blocking waiting for file lock on package cache
|
|
11
5
|
Blocking waiting for file lock on build directory
|
|
6
|
+
Compiling cfg-if v1.0.4
|
|
7
|
+
Compiling serde_core v1.0.229
|
|
8
|
+
Compiling allocator-api2 v0.2.21
|
|
9
|
+
Compiling serde v1.0.229
|
|
10
|
+
Compiling stable_deref_trait v1.2.1
|
|
11
|
+
Compiling once_cell v1.21.4
|
|
12
|
+
Compiling memchr v2.8.3
|
|
13
|
+
Compiling zerofrom v0.1.8
|
|
14
|
+
Compiling yoke v0.8.3
|
|
12
15
|
Compiling foldhash v0.2.0
|
|
16
|
+
Compiling equivalent v1.0.2
|
|
13
17
|
Compiling zerovec v0.11.6
|
|
18
|
+
Compiling smallvec v1.15.2
|
|
14
19
|
Compiling getrandom v0.3.4
|
|
20
|
+
Compiling zerocopy v0.8.55
|
|
15
21
|
Compiling ahash v0.8.12
|
|
16
|
-
Compiling either v1.17.0
|
|
17
22
|
Compiling hashbrown v0.17.1
|
|
18
|
-
Compiling
|
|
19
|
-
Compiling hashbrown v0.14.5
|
|
20
|
-
Compiling aho-corasick v1.1.4
|
|
21
|
-
Compiling indexmap v2.14.0
|
|
22
|
-
Compiling hstr v4.0.0
|
|
23
|
+
Compiling writeable v0.6.3
|
|
23
24
|
Compiling tinystr v0.8.3
|
|
24
|
-
Compiling
|
|
25
|
+
Compiling litemap v0.8.2
|
|
25
26
|
Compiling potential_utf v0.1.5
|
|
27
|
+
Compiling icu_locale_core v2.2.0
|
|
28
|
+
Compiling zerotrie v0.2.4
|
|
29
|
+
Compiling zmij v1.0.23
|
|
30
|
+
Compiling utf8_iter v1.0.4
|
|
31
|
+
Compiling itoa v1.0.18
|
|
26
32
|
Compiling serde_json v1.0.151
|
|
27
33
|
Compiling icu_collections v2.2.0
|
|
34
|
+
Compiling indexmap v2.14.0
|
|
28
35
|
Compiling icu_provider v2.2.0
|
|
29
|
-
Compiling
|
|
30
|
-
Compiling
|
|
36
|
+
Compiling num-traits v0.2.19
|
|
37
|
+
Compiling icu_properties_data v2.2.0
|
|
38
|
+
Compiling icu_normalizer_data v2.2.0
|
|
39
|
+
Compiling rustc-hash v2.1.3
|
|
40
|
+
Compiling parking_lot_core v0.9.12
|
|
31
41
|
Compiling icu_properties v2.2.0
|
|
32
42
|
Compiling icu_normalizer v2.2.0
|
|
33
|
-
Compiling
|
|
34
|
-
Compiling
|
|
35
|
-
Compiling
|
|
43
|
+
Compiling hashbrown v0.14.5
|
|
44
|
+
Compiling either v1.17.0
|
|
45
|
+
Compiling scopeguard v1.2.0
|
|
46
|
+
Compiling radium v0.7.0
|
|
47
|
+
Compiling lock_api v0.4.14
|
|
36
48
|
Compiling idna_adapter v1.2.2
|
|
49
|
+
Compiling tracing-core v0.1.36
|
|
50
|
+
Compiling tap v1.0.1
|
|
51
|
+
Compiling percent-encoding v2.3.2
|
|
52
|
+
Compiling wyz v0.5.1
|
|
37
53
|
Compiling idna v1.1.0
|
|
38
|
-
Compiling
|
|
39
|
-
Compiling
|
|
54
|
+
Compiling form_urlencoded v1.2.2
|
|
55
|
+
Compiling anyhow v1.0.104
|
|
56
|
+
Compiling uuid v1.24.0
|
|
57
|
+
Compiling outref v0.5.2
|
|
58
|
+
Compiling bytes v1.12.1
|
|
59
|
+
Compiling pin-project-lite v0.2.17
|
|
60
|
+
Compiling vsimd v0.8.0
|
|
61
|
+
Compiling funty v2.0.0
|
|
62
|
+
Compiling base64-simd v0.8.0
|
|
63
|
+
Compiling bytes-str v0.2.8
|
|
64
|
+
Compiling debugid v0.8.0
|
|
65
|
+
Compiling bitvec v1.1.1
|
|
66
|
+
Compiling tracing v0.1.44
|
|
40
67
|
Compiling url v2.5.8
|
|
41
|
-
Compiling
|
|
68
|
+
Compiling triomphe v0.1.16
|
|
69
|
+
Compiling unicode-id-start v1.4.0
|
|
70
|
+
Compiling if_chain v1.0.3
|
|
71
|
+
Compiling data-encoding v2.11.0
|
|
72
|
+
Compiling new_debug_unreachable v1.0.6
|
|
73
|
+
Compiling unicode-width v0.2.2
|
|
74
|
+
Compiling hstr v4.0.0
|
|
75
|
+
Compiling num-integer v0.1.46
|
|
76
|
+
Compiling scoped-tls v1.0.1
|
|
77
|
+
Compiling cbor4ii v1.2.2
|
|
78
|
+
Compiling better_scoped_tls v1.0.1
|
|
79
|
+
Compiling num-bigint v0.4.8
|
|
80
|
+
Compiling swc_atoms v10.0.0
|
|
81
|
+
Compiling parking_lot v0.12.5
|
|
82
|
+
Compiling swc_visit v2.0.2
|
|
42
83
|
Compiling swc_sourcemap v10.0.2
|
|
43
|
-
Compiling
|
|
44
|
-
Compiling
|
|
45
|
-
Compiling
|
|
84
|
+
Compiling termcolor v1.4.1
|
|
85
|
+
Compiling siphasher v0.3.11
|
|
86
|
+
Compiling bitflags v2.13.1
|
|
87
|
+
Compiling siphasher v1.0.3
|
|
88
|
+
Compiling libc v0.2.189
|
|
89
|
+
Compiling phf_shared v0.11.3
|
|
90
|
+
Compiling phf v0.11.3
|
|
91
|
+
Compiling dragonbox_ecma v0.1.12
|
|
92
|
+
Compiling par-core v2.0.0
|
|
93
|
+
Compiling num_cpus v1.17.0
|
|
94
|
+
Compiling castaway v0.2.4
|
|
95
|
+
Compiling ryu v1.0.23
|
|
96
|
+
Compiling static_assertions v1.1.0
|
|
97
|
+
Compiling aho-corasick v1.1.4
|
|
46
98
|
Compiling swc_common v26.0.0
|
|
99
|
+
Compiling compact_str v0.7.1
|
|
100
|
+
Compiling regex-syntax v0.8.11
|
|
101
|
+
Compiling typenum v1.20.1
|
|
47
102
|
Compiling swc_ecma_ast v29.0.0
|
|
103
|
+
Compiling regex-automata v0.4.16
|
|
104
|
+
Compiling swc_ecma_regexp_common v0.0.1
|
|
48
105
|
Compiling swc_ecma_regexp_ast v3.0.0
|
|
106
|
+
Compiling crossbeam-utils v0.8.22
|
|
49
107
|
Compiling swc_ecma_regexp_visit v0.15.0
|
|
50
|
-
Compiling
|
|
51
|
-
Compiling swc_ecma_compat_regexp v9.0.0
|
|
108
|
+
Compiling dashmap v6.2.1
|
|
52
109
|
Compiling swc_ecma_regexp v0.15.0
|
|
110
|
+
Compiling swc_ecma_compat_regexp v9.0.0
|
|
111
|
+
Compiling regex v1.13.1
|
|
112
|
+
Compiling generic-array v0.14.7
|
|
113
|
+
Compiling hashbrown v0.16.1
|
|
114
|
+
Compiling bstr v1.13.0
|
|
115
|
+
Compiling regress v0.11.1
|
|
116
|
+
Compiling globset v0.4.19
|
|
53
117
|
Compiling block-buffer v0.10.4
|
|
54
118
|
Compiling crypto-common v0.1.7
|
|
55
|
-
Compiling swc_config v6.0.0
|
|
56
119
|
Compiling digest v0.10.7
|
|
57
120
|
Compiling arrayvec v0.7.8
|
|
121
|
+
Compiling swc_ecma_visit v29.0.0
|
|
122
|
+
Compiling swc_ecma_parser v45.1.1
|
|
123
|
+
Compiling swc_config v6.0.0
|
|
124
|
+
Compiling thiserror v1.0.69
|
|
125
|
+
Compiling owo-colors v4.3.0
|
|
126
|
+
Compiling semver v1.0.28
|
|
127
|
+
Compiling unicode-linebreak v0.1.5
|
|
128
|
+
Compiling base64 v0.22.1
|
|
58
129
|
Compiling fixedbitset v0.5.7
|
|
130
|
+
Compiling textwrap v0.16.2
|
|
131
|
+
Compiling petgraph v0.7.1
|
|
132
|
+
Compiling bumpalo v3.20.3
|
|
133
|
+
Compiling unicode-width v0.1.14
|
|
134
|
+
Compiling camino v1.2.4
|
|
135
|
+
Compiling miette v7.6.0
|
|
59
136
|
Compiling swc_allocator v5.0.0
|
|
60
137
|
Compiling sha1 v0.10.7
|
|
61
|
-
Compiling petgraph v0.7.1
|
|
62
138
|
Compiling chrono v0.4.45
|
|
139
|
+
Compiling log v0.4.33
|
|
140
|
+
Compiling ascii v1.1.0
|
|
141
|
+
Compiling lazy_static v1.5.0
|
|
142
|
+
Compiling sharded-slab v0.1.7
|
|
143
|
+
Compiling tracing-log v0.2.0
|
|
144
|
+
Compiling browserslist-data v0.2.0
|
|
63
145
|
Compiling swc_error_reporters v28.0.0
|
|
64
146
|
Compiling matchers v0.2.0
|
|
65
|
-
Compiling browserslist-data v0.2.0
|
|
66
147
|
Compiling itertools v0.15.0
|
|
148
|
+
Compiling cargo-platform v0.1.9
|
|
67
149
|
Compiling nom v8.0.0
|
|
150
|
+
Compiling swc_ecma_utils v35.0.0
|
|
151
|
+
Compiling swc_ecma_transforms_base v49.0.1
|
|
152
|
+
Compiling swc_ecma_hooks v1.0.0
|
|
153
|
+
Compiling swc_ecma_codegen v32.0.0
|
|
154
|
+
Compiling swc_ecma_transformer v21.0.1
|
|
155
|
+
Compiling swc_ecma_transforms_classes v49.0.0
|
|
156
|
+
Compiling swc_ecma_compat_common v45.0.0
|
|
157
|
+
Compiling swc_ecma_compat_es2015 v55.0.0
|
|
158
|
+
Compiling swc_ecma_compat_es2022 v53.0.0
|
|
159
|
+
Compiling swc_ecma_transforms_optimization v52.0.0
|
|
160
|
+
Compiling swc_ecma_compat_bugfixes v56.0.0
|
|
161
|
+
Compiling swc_ecma_compat_es2020 v53.0.0
|
|
162
|
+
Compiling swc_ecma_compat_es2019 v50.0.0
|
|
163
|
+
Compiling swc_ecma_compat_es2018 v51.0.0
|
|
164
|
+
Compiling swc_ecma_compat_es2021 v50.0.0
|
|
165
|
+
Compiling swc_ecma_compat_es2017 v50.0.0
|
|
166
|
+
Compiling swc_ecma_compat_es2016 v50.0.0
|
|
167
|
+
Compiling swc_ecma_transforms_react v55.0.1
|
|
168
|
+
Compiling thread_local v1.1.10
|
|
169
|
+
Compiling rustix v1.1.4
|
|
170
|
+
Compiling nu-ansi-term v0.50.3
|
|
171
|
+
Compiling diff v0.1.13
|
|
172
|
+
Compiling yansi v1.0.1
|
|
173
|
+
Compiling pretty_assertions v1.4.1
|
|
174
|
+
Compiling getrandom v0.4.3
|
|
175
|
+
Compiling swc_ecma_transforms_typescript v55.0.1
|
|
68
176
|
Compiling tracing-subscriber v0.3.23
|
|
69
177
|
Compiling st-map v0.2.4
|
|
70
|
-
Compiling
|
|
71
|
-
Compiling
|
|
72
|
-
Compiling swc_ecma_parser v45.1.1
|
|
178
|
+
Compiling swc_ecma_transforms_compat v57.0.1
|
|
179
|
+
Compiling swc_ecma_transforms_proposal v49.0.0
|
|
73
180
|
Compiling browserslist-rs v0.20.0
|
|
181
|
+
Compiling cargo_metadata v0.18.1
|
|
74
182
|
Compiling par-iter v2.0.0
|
|
75
|
-
Compiling
|
|
183
|
+
Compiling errno v0.3.14
|
|
76
184
|
Compiling radix_fmt v1.0.0
|
|
185
|
+
Compiling difference v2.0.0
|
|
77
186
|
Compiling pathdiff v0.2.3
|
|
187
|
+
Compiling ryu-js v1.0.3
|
|
78
188
|
Compiling testing v27.0.0
|
|
189
|
+
Compiling swc_ecma_minifier v61.0.4
|
|
190
|
+
Compiling swc_ecma_transforms v62.0.0
|
|
79
191
|
Compiling preset_env_base v9.0.0
|
|
80
192
|
Compiling swc_ecma_preset_env v63.0.0
|
|
81
193
|
Compiling sha2 v0.10.9
|
|
82
194
|
Compiling lru v0.18.4
|
|
83
195
|
Compiling path-clean v1.0.1
|
|
84
196
|
Compiling foldhash v0.1.5
|
|
197
|
+
Compiling fastrand v2.5.0
|
|
198
|
+
Compiling hex v0.4.3
|
|
85
199
|
Compiling precomputed-map v0.2.0
|
|
86
|
-
Compiling swc_ecma_loader v27.0.0
|
|
87
200
|
Compiling swc_ecma_testing v27.0.0
|
|
88
|
-
Compiling
|
|
201
|
+
Compiling tempfile v3.27.0
|
|
202
|
+
Compiling swc_ecma_loader v27.0.0
|
|
203
|
+
Compiling swc_ecma_ext_transforms v35.0.0
|
|
89
204
|
Compiling swc_node_comments v27.0.0
|
|
205
|
+
Compiling swc_transform_common v20.0.0
|
|
90
206
|
Compiling jsonc-parser v0.26.3
|
|
207
|
+
Compiling ansi_term v0.12.1
|
|
91
208
|
Compiling swc_core v77.1.2
|
|
209
|
+
Compiling swc_ecma_transforms_testing v53.0.0
|
|
92
210
|
Compiling swc_plugin_proxy v30.0.0
|
|
211
|
+
Compiling swc_plugin v1.0.1
|
|
212
|
+
Compiling swc_plugin_macro v2.0.0
|
|
213
|
+
Compiling swc_compiler_base v64.0.0
|
|
214
|
+
Compiling unicode-segmentation v1.13.3
|
|
215
|
+
Compiling convert_case v0.11.0
|
|
93
216
|
Compiling sha-1 v0.10.1
|
|
217
|
+
Compiling sugar_path v1.2.1
|
|
94
218
|
Compiling hybrid-array v0.4.13
|
|
95
219
|
Compiling crypto-common v0.2.2
|
|
220
|
+
Compiling swc v75.0.1
|
|
96
221
|
Compiling block-buffer v0.12.1
|
|
97
222
|
Compiling const-oid v0.10.2
|
|
98
|
-
Compiling swc_ecma_utils v35.0.0
|
|
99
|
-
Compiling swc_ecma_hooks v1.0.0
|
|
100
223
|
Compiling digest v0.11.3
|
|
101
224
|
Compiling sha2 v0.11.0
|
|
102
|
-
Compiling swc_ecma_transforms_base v49.0.1
|
|
103
|
-
Compiling swc_ecma_codegen v32.0.0
|
|
104
|
-
Compiling swc_ecma_ext_transforms v35.0.0
|
|
105
|
-
Compiling swc_ecma_transformer v21.0.1
|
|
106
|
-
Compiling swc_ecma_transforms_classes v49.0.0
|
|
107
|
-
Compiling swc_ecma_compat_common v45.0.0
|
|
108
|
-
Compiling swc_ecma_compat_es2015 v55.0.0
|
|
109
|
-
Compiling swc_ecma_compat_es2022 v53.0.0
|
|
110
|
-
Compiling swc_ecma_transforms_optimization v52.0.0
|
|
111
|
-
Compiling swc_ecma_compat_es2020 v53.0.0
|
|
112
|
-
Compiling swc_ecma_compat_es2016 v50.0.0
|
|
113
|
-
Compiling swc_ecma_compat_es2018 v51.0.0
|
|
114
|
-
Compiling swc_ecma_compat_es2019 v50.0.0
|
|
115
|
-
Compiling swc_ecma_compat_es2021 v50.0.0
|
|
116
|
-
Compiling swc_ecma_compat_bugfixes v56.0.0
|
|
117
|
-
Compiling swc_ecma_compat_es2017 v50.0.0
|
|
118
|
-
Compiling swc_ecma_transforms_react v55.0.1
|
|
119
|
-
Compiling swc_ecma_transforms_compat v57.0.1
|
|
120
|
-
Compiling swc_ecma_transforms_typescript v55.0.1
|
|
121
|
-
Compiling swc_ecma_transforms_proposal v49.0.0
|
|
122
|
-
Compiling swc_ecma_transforms v62.0.0
|
|
123
|
-
Compiling swc_ecma_minifier v61.0.4
|
|
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
|
|
127
|
-
Compiling swc v75.0.1
|
|
128
225
|
Compiling swc_plugins_shared v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugins_shared)
|
|
129
|
-
Compiling
|
|
130
|
-
Compiling swc_plugin_worklet v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_worklet)
|
|
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)
|
|
226
|
+
Compiling swc_plugin_define_dce v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_define_dce)
|
|
134
227
|
Compiling swc_plugin_directive_dce v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_directive_dce)
|
|
135
228
|
Compiling swc_plugin_dynamic_import v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_dynamic_import)
|
|
229
|
+
Compiling swc_plugin_css_scope v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_css_scope)
|
|
136
230
|
Compiling swc_plugin_text v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_text)
|
|
137
231
|
Compiling swc_plugin_inject v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_inject)
|
|
232
|
+
Compiling swc_plugin_list v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_list)
|
|
233
|
+
Compiling swc_plugin_shake v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_shake)
|
|
234
|
+
Compiling swc_plugin_worklet v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_worklet)
|
|
235
|
+
Compiling swc_plugin_element_template v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_element_template)
|
|
138
236
|
Compiling swc_plugin_snapshot v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_snapshot)
|
|
139
237
|
Compiling swc_plugin_reactlynx v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/swc-plugin-reactlynx)
|
|
140
|
-
Finished `release` profile [optimized] target(s) in
|
|
238
|
+
Finished `release` profile [optimized] target(s) in 5m 50s
|
|
@@ -303,10 +303,7 @@ pub fn process_transform(program: Program, metadata: TransformPluginProgramMetad
|
|
|
303
303
|
config,
|
|
304
304
|
),
|
|
305
305
|
Either::B(config) => Optional::new(
|
|
306
|
-
visit_mut_pass(
|
|
307
|
-
WorkletVisitor::new(options.mode.unwrap_or(TransformMode::Production), config)
|
|
308
|
-
.with_content_hash(content_hash),
|
|
309
|
-
),
|
|
306
|
+
visit_mut_pass(WorkletVisitor::new(config).with_content_hash(content_hash)),
|
|
310
307
|
true,
|
|
311
308
|
),
|
|
312
309
|
};
|
|
Binary file
|