@lynx-js/react 0.129.0 → 0.129.1

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.
Files changed (206) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/components/tsconfig.tsbuildinfo +1 -1
  3. package/package.json +3 -4
  4. package/refresh/.turbo/turbo-build.log +1 -1
  5. package/runtime/__test__/core/hooks/useLynxGlobalEventListener.test.jsx +1 -1
  6. package/runtime/__test__/element-template/imports/no-legacy-imports.test.ts +7 -6
  7. package/runtime/__test__/element-template/internal/legacy-internal-guardrail.test.ts +1 -2
  8. package/runtime/__test__/element-template/native/main-thread-api.test.ts +5 -2
  9. package/runtime/__test__/element-template/native/mts-destroy.test.ts +83 -0
  10. package/runtime/__test__/element-template/native/reload-dual-thread-communication.test.ts +3 -0
  11. package/runtime/__test__/element-template/native/reload.test.ts +31 -2
  12. package/runtime/__test__/element-template/runtime/background/update-timing.test.ts +15 -0
  13. package/runtime/__test__/element-template/runtime/patch/element-template-patch.test.tsx +197 -7
  14. package/runtime/__test__/element-template/runtime/patch/update-timing.test.ts +4 -1
  15. package/runtime/__test__/element-template/runtime/render/render-direct-suspense.test.ts +4 -1
  16. package/runtime/__test__/element-template/runtime/render/render-direct.test.ts +4 -1
  17. package/runtime/__test__/element-template/runtime/render/render-main-thread.test.ts +101 -1
  18. package/runtime/__test__/element-template/runtime/template/element-template-handle.test.ts +32 -0
  19. package/runtime/__test__/element-template/runtime/template/main-thread-dynamic-attr-state.test.ts +121 -26
  20. package/runtime/__test__/element-template/test-utils/debug/envManager.ts +8 -5
  21. package/runtime/__test__/element-template/test-utils/mock/mockNativePapi.ts +35 -2
  22. package/runtime/__test__/guardrails/snapshot-containment.test.ts +45 -11
  23. package/runtime/__test__/shared/component-stack.test.ts +211 -0
  24. package/runtime/__test__/snapshot/debug/formatPatch.test.ts +0 -8
  25. package/runtime/__test__/snapshot/gesture/prepareGestureForCommit.test.js +1 -1
  26. package/runtime/__test__/snapshot/lynx/timing.test.jsx +3 -0
  27. package/runtime/__test__/snapshot/preact.test.jsx +0 -3
  28. package/runtime/__test__/snapshot/snapshotPatch.test.jsx +0 -33
  29. package/runtime/__test__/worklet-runtime/jsFunctionLifecycle.test.js +12 -0
  30. package/runtime/__test__/worklet-runtime/loadRuntime.test.js +68 -0
  31. package/runtime/__test__/worklet-runtime/workletRuntime.test.js +30 -0
  32. package/runtime/lazy/element-template-internal.js +0 -1
  33. package/runtime/lazy/internal.js +1 -1
  34. package/runtime/lazy/jsx-dev-runtime.js +1 -1
  35. package/runtime/lazy/jsx-runtime.js +1 -1
  36. package/runtime/lazy/legacy-react-runtime.js +1 -1
  37. package/runtime/lazy/react-lepus.js +1 -1
  38. package/runtime/lazy/react.js +1 -1
  39. package/runtime/lib/core/capture-main-thread-object.js +2 -1
  40. package/runtime/lib/core/capture-main-thread-object.js.map +1 -1
  41. package/runtime/lib/core/compat/legacy-react-runtime.js +1 -1
  42. package/runtime/lib/core/compat/legacy-react-runtime.js.map +1 -1
  43. package/runtime/lib/core/lynx/lazy-bundle.js +1 -1
  44. package/runtime/lib/core/lynx/lazy-bundle.js.map +1 -1
  45. package/runtime/lib/core/lynx-data-processors.d.ts +125 -1
  46. package/runtime/lib/core/lynx-data-processors.js +3 -0
  47. package/runtime/lib/core/lynx-data-processors.js.map +1 -1
  48. package/runtime/lib/core/runtime-destroy.js +1 -1
  49. package/runtime/lib/core/runtime-destroy.js.map +1 -1
  50. package/runtime/lib/document.js +0 -5
  51. package/runtime/lib/document.js.map +1 -1
  52. package/runtime/lib/element-template/background/commit-hook.js +11 -12
  53. package/runtime/lib/element-template/background/commit-hook.js.map +1 -1
  54. package/runtime/lib/element-template/client/root.d.ts +1 -1
  55. package/runtime/lib/element-template/client/root.js.map +1 -1
  56. package/runtime/lib/element-template/index.d.ts +2 -2
  57. package/runtime/lib/element-template/index.js.map +1 -1
  58. package/runtime/lib/element-template/internal.d.ts +1 -1
  59. package/runtime/lib/element-template/internal.js +0 -13
  60. package/runtime/lib/element-template/internal.js.map +1 -1
  61. package/runtime/lib/element-template/lynx/env.js.map +1 -1
  62. package/runtime/lib/element-template/native/flush.d.ts +1 -0
  63. package/runtime/lib/element-template/native/flush.js +9 -0
  64. package/runtime/lib/element-template/native/flush.js.map +1 -0
  65. package/runtime/lib/element-template/native/main-thread-api.js +3 -7
  66. package/runtime/lib/element-template/native/main-thread-api.js.map +1 -1
  67. package/runtime/lib/element-template/native/mts-destroy.js +8 -2
  68. package/runtime/lib/element-template/native/mts-destroy.js.map +1 -1
  69. package/runtime/lib/element-template/native/patch-listener.js +57 -50
  70. package/runtime/lib/element-template/native/patch-listener.js.map +1 -1
  71. package/runtime/lib/element-template/native/reload-main-thread.js +2 -1
  72. package/runtime/lib/element-template/native/reload-main-thread.js.map +1 -1
  73. package/runtime/lib/element-template/protocol/types.js.map +1 -1
  74. package/runtime/lib/element-template/runtime/page/root-instance.d.ts +0 -1
  75. package/runtime/lib/element-template/runtime/page/root-instance.js.map +1 -1
  76. package/runtime/lib/element-template/runtime/patch.js +4 -0
  77. package/runtime/lib/element-template/runtime/patch.js.map +1 -1
  78. package/runtime/lib/element-template/runtime/render/render-components.js +4 -4
  79. package/runtime/lib/element-template/runtime/render/render-components.js.map +1 -1
  80. package/runtime/lib/element-template/runtime/render/render-main-thread.js +2 -0
  81. package/runtime/lib/element-template/runtime/render/render-main-thread.js.map +1 -1
  82. package/runtime/lib/element-template/runtime/template/main-thread-background-function.js +8 -1
  83. package/runtime/lib/element-template/runtime/template/main-thread-background-function.js.map +1 -1
  84. package/runtime/lib/element-template/runtime/template/main-thread-dynamic-attr-state.d.ts +1 -0
  85. package/runtime/lib/element-template/runtime/template/main-thread-dynamic-attr-state.js +41 -21
  86. package/runtime/lib/element-template/runtime/template/main-thread-dynamic-attr-state.js.map +1 -1
  87. package/runtime/lib/element-template/runtime/template/main-thread-ref-ctx.d.ts +1 -1
  88. package/runtime/lib/element-template/runtime/template/main-thread-ref-ctx.js.map +1 -1
  89. package/runtime/lib/internal.d.ts +1 -1
  90. package/runtime/lib/internal.js +1 -1
  91. package/runtime/lib/internal.js.map +1 -1
  92. package/runtime/lib/lynx-api.d.ts +2 -125
  93. package/runtime/lib/lynx-api.js.map +1 -1
  94. package/runtime/lib/shared/component-stack.d.ts +0 -4
  95. package/runtime/lib/shared/component-stack.js +21 -5
  96. package/runtime/lib/shared/component-stack.js.map +1 -1
  97. package/runtime/lib/snapshot/gesture/{processGestureBagkround.js → processGestureBackground.js} +1 -1
  98. package/runtime/lib/snapshot/gesture/processGestureBackground.js.map +1 -0
  99. package/runtime/lib/snapshot/lifecycle/patch/snapshotPatch.d.ts +0 -1
  100. package/runtime/lib/snapshot/lifecycle/patch/snapshotPatch.js +0 -5
  101. package/runtime/lib/snapshot/lifecycle/patch/snapshotPatch.js.map +1 -1
  102. package/runtime/lib/snapshot/lifecycle/patch/snapshotPatchApply.js +0 -10
  103. package/runtime/lib/snapshot/lifecycle/patch/snapshotPatchApply.js.map +1 -1
  104. package/runtime/lib/snapshot/lifecycle/patch/updateMainThread.js +56 -51
  105. package/runtime/lib/snapshot/lifecycle/patch/updateMainThread.js.map +1 -1
  106. package/runtime/lib/snapshot/list/listUpdateInfo.js +0 -30
  107. package/runtime/lib/snapshot/list/listUpdateInfo.js.map +1 -1
  108. package/runtime/lib/snapshot/lynx/calledByNative.js +11 -8
  109. package/runtime/lib/snapshot/lynx/calledByNative.js.map +1 -1
  110. package/runtime/lib/snapshot/renderToOpcodes/hydrate.js +0 -52
  111. package/runtime/lib/snapshot/renderToOpcodes/hydrate.js.map +1 -1
  112. package/runtime/lib/snapshot/renderToOpcodes/index.js +10 -10
  113. package/runtime/lib/snapshot/renderToOpcodes/index.js.map +1 -1
  114. package/runtime/lib/snapshot/renderToOpcodes/opcodes.js +0 -51
  115. package/runtime/lib/snapshot/renderToOpcodes/opcodes.js.map +1 -1
  116. package/runtime/lib/snapshot/snapshot/backgroundSnapshot.js +1 -1
  117. package/runtime/lib/snapshot/snapshot/backgroundSnapshot.js.map +1 -1
  118. package/runtime/lib/tsconfig.tsbuildinfo +1 -1
  119. package/runtime/lib/worklet-runtime/bindings/index.d.ts +1 -0
  120. package/runtime/lib/worklet-runtime/bindings/index.js +1 -0
  121. package/runtime/lib/worklet-runtime/bindings/index.js.map +1 -1
  122. package/runtime/lib/worklet-runtime/bindings/loadRuntime.d.ts +8 -0
  123. package/runtime/lib/worklet-runtime/bindings/loadRuntime.js +23 -0
  124. package/runtime/lib/worklet-runtime/bindings/loadRuntime.js.map +1 -0
  125. package/runtime/lib/worklet-runtime/jsFunctionLifecycle.d.ts +2 -0
  126. package/runtime/lib/worklet-runtime/jsFunctionLifecycle.js +6 -0
  127. package/runtime/lib/worklet-runtime/jsFunctionLifecycle.js.map +1 -1
  128. package/runtime/lib/worklet-runtime/workletRuntime.js +2 -0
  129. package/runtime/lib/worklet-runtime/workletRuntime.js.map +1 -1
  130. package/runtime/package.json +2 -3
  131. package/runtime/src/core/capture-main-thread-object.ts +2 -1
  132. package/runtime/src/core/compat/legacy-react-runtime.ts +1 -1
  133. package/runtime/src/core/lynx/lazy-bundle.ts +1 -1
  134. package/runtime/src/core/lynx-data-processors.ts +124 -1
  135. package/runtime/src/core/runtime-destroy.ts +1 -1
  136. package/runtime/src/document.ts +0 -6
  137. package/runtime/src/element-template/background/commit-hook.ts +18 -12
  138. package/runtime/src/element-template/client/root.ts +1 -3
  139. package/runtime/src/element-template/index.ts +2 -2
  140. package/runtime/src/element-template/internal.ts +0 -20
  141. package/runtime/src/element-template/lynx/env.ts +1 -1
  142. package/runtime/src/element-template/native/flush.ts +10 -0
  143. package/runtime/src/element-template/native/main-thread-api.ts +3 -6
  144. package/runtime/src/element-template/native/mts-destroy.ts +7 -2
  145. package/runtime/src/element-template/native/patch-listener.ts +62 -57
  146. package/runtime/src/element-template/native/reload-main-thread.ts +2 -1
  147. package/runtime/src/element-template/protocol/types.ts +0 -13
  148. package/runtime/src/element-template/runtime/page/root-instance.ts +0 -1
  149. package/runtime/src/element-template/runtime/patch.ts +5 -0
  150. package/runtime/src/element-template/runtime/render/render-components.ts +3 -3
  151. package/runtime/src/element-template/runtime/render/render-main-thread.ts +2 -0
  152. package/runtime/src/element-template/runtime/template/main-thread-background-function.ts +8 -1
  153. package/runtime/src/element-template/runtime/template/main-thread-dynamic-attr-state.ts +51 -21
  154. package/runtime/src/element-template/runtime/template/main-thread-ref-ctx.ts +2 -2
  155. package/runtime/src/element-template/types.d.ts +6 -0
  156. package/runtime/src/internal.ts +1 -1
  157. package/runtime/src/lynx-api.ts +2 -124
  158. package/runtime/src/shared/component-stack.ts +22 -5
  159. package/runtime/src/snapshot/lifecycle/patch/snapshotPatch.ts +0 -5
  160. package/runtime/src/snapshot/lifecycle/patch/snapshotPatchApply.ts +0 -10
  161. package/runtime/src/snapshot/lifecycle/patch/updateMainThread.ts +62 -58
  162. package/runtime/src/snapshot/list/listUpdateInfo.ts +0 -52
  163. package/runtime/src/snapshot/lynx/calledByNative.ts +11 -9
  164. package/runtime/src/snapshot/renderToOpcodes/hydrate.ts +0 -58
  165. package/runtime/src/snapshot/renderToOpcodes/index.ts +8 -8
  166. package/runtime/src/snapshot/renderToOpcodes/opcodes.ts +0 -57
  167. package/runtime/src/snapshot/snapshot/backgroundSnapshot.ts +1 -1
  168. package/runtime/src/worklet-runtime/README.md +30 -10
  169. package/runtime/src/worklet-runtime/bindings/index.ts +2 -0
  170. package/runtime/src/worklet-runtime/bindings/loadRuntime.ts +25 -0
  171. package/runtime/src/worklet-runtime/jsFunctionLifecycle.ts +6 -0
  172. package/runtime/src/worklet-runtime/workletRuntime.ts +2 -0
  173. package/runtime/vitest.config.ts +0 -2
  174. package/testing-library/.turbo/turbo-build.log +6 -6
  175. package/testing-library/src/__tests__/act.test.jsx +0 -7
  176. package/testing-library/src/__tests__/alog.test.jsx +12 -54
  177. package/testing-library/src/__tests__/end-to-end.test.jsx +0 -7
  178. package/testing-library/src/__tests__/renderComponent.test.jsx +0 -14
  179. package/testing-library/src/__tests__/worklet.test.jsx +49 -0
  180. package/transform/.turbo/turbo-build$colon$wasm.log +98 -376
  181. package/transform/__test__/defines.spec.js +30 -0
  182. package/transform/__test__/object-methods.spec.js +79 -0
  183. package/transform/crates/swc_plugin_worklet/extract_ident.rs +99 -49
  184. package/transform/crates/swc_plugin_worklet/gen_stmt.rs +56 -48
  185. package/transform/crates/swc_plugin_worklet/lib.rs +393 -589
  186. package/transform/crates/swc_plugin_worklet/napi.rs +4 -6
  187. package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_extract_member_expr_2_js.js +6 -1
  188. package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_extract_member_expr_2_lepus.js +7 -1
  189. package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_extract_member_expr_js.js +9 -0
  190. package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_extract_member_expr_lepus.js +12 -1
  191. package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_preserve_main_thread_objects_in_class_js.js +1 -1
  192. package/transform/crates/swc_plugin_worklet/tests/__swc_snapshots__/lib.rs/should_preserve_main_thread_objects_in_class_lepus.js +1 -1
  193. package/transform/dist/wasm.cjs +1 -1
  194. package/transform/package.json +0 -1
  195. package/transform/src/lib.rs +1 -1
  196. package/transform/swc-plugin-reactlynx/.turbo/turbo-build.log +113 -42
  197. package/transform/swc-plugin-reactlynx/src/lib.rs +1 -4
  198. package/transform/swc-plugin-reactlynx/swc_plugin_reactlynx.wasm +0 -0
  199. package/transform/swc-plugin-reactlynx-compat/.turbo/turbo-build.log +273 -66
  200. package/runtime/lib/snapshot/gesture/processGestureBagkround.js.map +0 -1
  201. package/runtime/lib/snapshot/worklet/hmr.d.ts +0 -1
  202. package/runtime/lib/snapshot/worklet/hmr.js +0 -28
  203. package/runtime/lib/snapshot/worklet/hmr.js.map +0 -1
  204. package/runtime/src/snapshot/worklet/hmr.ts +0 -34
  205. /package/runtime/lib/snapshot/gesture/{processGestureBagkround.d.ts → processGestureBackground.d.ts} +0 -0
  206. /package/runtime/src/snapshot/gesture/{processGestureBagkround.ts → processGestureBackground.ts} +0 -0
@@ -1,531 +1,253 @@
1
1
  $ node ./scripts/build_wasm.js
2
- Updating crates.io index
3
2
  Blocking waiting for file lock on package cache
4
3
  Blocking waiting for file lock on package cache
5
4
  Downloading crates ...
6
- Downloaded ahash v0.8.12
7
- Downloaded crypto-common v0.1.7
8
- Downloaded crypto-common v0.2.2
9
- Downloaded yoke v0.8.3
10
- Downloaded yoke-derive v0.8.2
11
- Downloaded zerofrom v0.1.8
12
- Downloaded zerofrom-derive v0.1.7
13
- Downloaded zerovec-derive v0.11.3
14
- Downloaded zmij v1.0.23
15
- Downloaded ansi_term v0.12.1
16
- Downloaded anyhow v1.0.104
17
- Downloaded ascii v1.1.0
18
- Downloaded ast_node v7.0.0
19
- Downloaded autocfg v1.5.1
20
- Downloaded base64-simd v0.8.0
21
- Downloaded better_scoped_tls v1.0.1
22
- Downloaded bitflags v1.3.2
23
- Downloaded bitflags v2.13.1
24
- Downloaded block-buffer v0.10.4
25
- Downloaded block-buffer v0.12.1
26
- Downloaded browserslist-rs v0.20.0
27
- Downloaded bytes-str v0.2.8
28
- Downloaded camino v1.2.4
29
- Downloaded cargo-platform v0.1.9
30
- Downloaded cargo_metadata v0.18.1
31
- Downloaded castaway v0.2.4
32
- Downloaded convert_case v0.11.0
33
- Downloaded cpufeatures v0.2.17
34
- Downloaded cpufeatures v0.3.0
35
- Downloaded ctor v0.1.26
36
- Downloaded equivalent v1.0.2
37
- Downloaded errno v0.3.14
38
- Downloaded form_urlencoded v1.2.2
39
- Downloaded from_variant v3.0.0
40
- Downloaded generic-array v0.14.7
41
- Downloaded idna_adapter v1.2.2
42
- Downloaded if_chain v1.0.3
43
- Downloaded is-macro v0.3.7
44
- Downloaded itoa v1.0.18
45
5
  Downloaded napi-build v2.3.2
46
- Downloaded napi-derive v2.9.3
47
- Downloaded napi-sys v2.4.0
48
- Downloaded new_debug_unreachable v1.0.6
49
- Downloaded num_cpus v1.17.0
50
- Downloaded outref v0.5.2
51
- Downloaded par-core v2.0.0
52
- Downloaded path-clean v1.0.1
53
- Downloaded pathdiff v0.2.3
54
- Downloaded percent-encoding v2.3.2
55
- Downloaded phf_generator v0.11.3
56
- Downloaded phf_shared v0.11.3
57
- Downloaded potential_utf v0.1.5
58
- Downloaded precomputed-map v0.2.0
59
- Downloaded preset_env_base v9.0.0
60
- Downloaded radix_fmt v1.0.0
61
- Downloaded relative-path v1.9.3
62
- Downloaded rustc-hash v2.1.3
63
- Downloaded scoped-tls v1.0.1
64
- Downloaded scopeguard v1.2.0
65
- Downloaded version-compare v0.2.1
66
- Downloaded zerotrie v0.2.4
67
- Downloaded zerovec v0.11.6
68
- Downloaded allocator-api2 v0.2.21
69
- Downloaded ar_archive_writer v0.5.2
70
- Downloaded arrayvec v0.7.8
71
- Downloaded base64 v0.22.1
72
- Downloaded cc v1.4.0
73
6
  Downloaded convert_case v0.6.0
74
- Downloaded dashmap v6.2.1
75
- Downloaded data-encoding v2.11.0
76
- Downloaded debugid v0.8.0
77
- Downloaded diff v0.1.13
78
- Downloaded digest v0.10.7
79
- Downloaded digest v0.11.3
80
- Downloaded displaydoc v0.2.6
81
- Downloaded dragonbox_ecma v0.1.12
82
- Downloaded either v1.17.0
83
- Downloaded fastrand v2.5.0
84
- Downloaded find-msvc-tools v0.1.9
85
- Downloaded fixedbitset v0.5.7
86
- Downloaded foldhash v0.1.5
87
- Downloaded foldhash v0.2.0
88
- Downloaded glob v0.3.4
89
- Downloaded globset v0.4.19
90
- Downloaded heck v0.5.0
91
- Downloaded hex v0.4.3
92
- Downloaded iana-time-zone v0.1.65
93
- Downloaded lock_api v0.4.14
94
- Downloaded lru v0.18.4
95
- Downloaded matchers v0.2.0
96
- Downloaded miette-derive v7.6.0
7
+ Downloaded napi-sys v2.4.0
8
+ Downloaded ctor v0.1.26
9
+ Downloaded bitflags v1.3.2
97
10
  Downloaded napi-derive-backend v1.0.40
98
- Downloaded nu-ansi-term v0.50.3
99
- Downloaded num-integer v0.1.46
100
- Downloaded owo-colors v4.3.0
101
- Downloaded parking_lot v0.12.5
102
- Downloaded parking_lot_core v0.9.12
103
- Downloaded phf v0.11.3
104
- Downloaded phf_macros v0.11.3
105
- Downloaded psm v0.1.31
106
- Downloaded ryu v1.0.23
107
- Downloaded ryu-js v1.0.3
108
- Downloaded seq-macro v0.3.6
109
- Downloaded sha-1 v0.10.1
110
- Downloaded sha1 v0.10.7
111
- Downloaded siphasher v0.3.11
112
- Downloaded siphasher v1.0.3
113
- Downloaded st-map v0.2.4
114
- Downloaded stable_deref_trait v1.2.1
115
- Downloaded static-map-macro v0.3.4
116
- Downloaded string_enum v1.0.2
117
- Downloaded swc_atoms v10.0.0
118
- Downloaded swc_ecma_compat_es2019 v50.0.0
119
- Downloaded swc_ecma_regexp_common v0.0.1
120
- Downloaded chrono v0.4.45
121
- Downloaded compact_str v0.7.1
122
- Downloaded const-oid v0.10.2
123
- Downloaded crossbeam-utils v0.8.22
124
- Downloaded getrandom v0.3.4
125
- Downloaded getrandom v0.4.3
126
- Downloaded hstr v4.0.0
127
- Downloaded hybrid-array v0.4.13
128
- Downloaded icu_locale_core v2.2.0
129
- Downloaded icu_normalizer v2.2.0
130
- Downloaded icu_normalizer_data v2.2.0
131
- Downloaded icu_properties v2.2.0
132
- Downloaded icu_provider v2.2.0
133
- Downloaded jsonc-parser v0.26.3
134
- Downloaded litemap v0.8.2
135
11
  Downloaded napi v2.10.4
136
- Downloaded num-traits v0.2.19
137
- Downloaded pretty_assertions v1.4.1
138
- Downloaded rand_core v0.6.4
139
- Downloaded semver v1.0.28
140
- Downloaded serde_core v1.0.229
141
- Downloaded serde_derive v1.0.229
142
- Downloaded sha2 v0.10.9
143
- Downloaded sha2 v0.11.0
144
- Downloaded shlex v2.0.1
145
- Downloaded smallvec v1.15.2
146
- Downloaded stacker v0.1.24
147
- Downloaded static_assertions v1.1.0
148
- Downloaded sugar_path v1.2.1
149
- Downloaded swc_allocator v5.0.0
150
- Downloaded swc_compiler_base v64.0.0
151
- Downloaded swc_config v6.0.0
152
- Downloaded swc_config_macro v1.0.1
153
- Downloaded swc_ecma_codegen_macros v2.0.2
154
- Downloaded swc_ecma_compat_bugfixes v56.0.0
155
- Downloaded swc_ecma_compat_common v45.0.0
156
- Downloaded swc_ecma_compat_es2016 v50.0.0
157
- Downloaded swc_ecma_compat_es2017 v50.0.0
158
- Downloaded swc_ecma_compat_es2018 v51.0.0
159
- Downloaded swc_ecma_compat_es2020 v53.0.0
160
- Downloaded swc_ecma_compat_es2021 v50.0.0
161
- Downloaded swc_ecma_compat_es2022 v53.0.0
162
- Downloaded swc_ecma_compat_regexp v9.0.0
163
- Downloaded swc_ecma_ext_transforms v35.0.0
164
- Downloaded swc_ecma_loader v27.0.0
165
- Downloaded swc_ecma_quote_macros v45.0.1
166
- Downloaded swc_ecma_regexp_ast v3.0.0
167
- Downloaded difference v2.0.0
168
- Downloaded hashbrown v0.16.1
169
- Downloaded icu_collections v2.2.0
170
- Downloaded indexmap v2.14.0
171
- Downloaded log v0.4.33
172
- Downloaded memchr v2.8.3
173
- Downloaded miette v7.6.0
174
- Downloaded nom v8.0.0
175
- Downloaded num-bigint v0.4.8
176
- Downloaded rand v0.8.7
177
- Downloaded serde v1.0.229
178
- Downloaded sharded-slab v0.1.7
179
- Downloaded swc_core v77.1.2
180
- Downloaded swc_ecma_ast v29.0.0
181
- Downloaded swc_ecma_regexp v0.15.0
182
- Downloaded aho-corasick v1.1.4
183
- Downloaded hashbrown v0.14.5
184
- Downloaded hashbrown v0.17.1
185
- Downloaded icu_properties_data v2.2.0
186
- Downloaded idna v1.1.0
187
- Downloaded itertools v0.15.0
188
- Downloaded object v0.37.3
189
- Downloaded par-iter v2.0.0
190
- Downloaded regex v1.13.1
191
- Downloaded swc v75.0.1
192
- Downloaded swc_ecma_codegen v32.0.0
193
- Downloaded thiserror v1.0.69
194
- Downloaded thiserror-impl v1.0.69
195
- Downloaded thread_local v1.1.10
196
- Downloaded tracing-log v0.2.0
197
- Downloaded unicode-linebreak v0.1.5
198
- Downloaded utf8_iter v1.0.4
199
- Downloaded swc_common v26.0.0
200
- Downloaded swc_ecma_compat_es2015 v55.0.0
201
- Downloaded swc_ecma_hooks v1.0.0
202
- Downloaded swc_ecma_regexp_visit v0.15.0
203
- Downloaded swc_ecma_testing v27.0.0
204
- Downloaded swc_ecma_transformer v21.0.1
205
- Downloaded swc_ecma_transforms v62.0.0
206
- Downloaded swc_ecma_transforms_classes v49.0.0
207
- Downloaded swc_ecma_transforms_compat v57.0.1
208
- Downloaded swc_ecma_transforms_macros v1.0.1
209
- Downloaded swc_eq_ignore_macros v1.0.1
210
- Downloaded swc_error_reporters v28.0.0
211
- Downloaded swc_macros_common v1.0.1
212
- Downloaded swc_node_comments v27.0.0
213
- Downloaded swc_transform_common v20.0.0
214
- Downloaded swc_visit v2.0.2
215
- Downloaded testing_macros v1.0.2
216
- Downloaded tinystr v0.8.3
217
- Downloaded tracing-attributes v0.1.31
218
- Downloaded triomphe v0.1.16
219
- Downloaded unicode-id-start v1.4.0
220
- Downloaded writeable v0.6.3
221
- Downloaded serde_json v1.0.151
222
- Downloaded swc_ecma_preset_env v63.0.0
223
- Downloaded swc_ecma_transforms_testing v53.0.0
224
- Downloaded swc_ecma_transforms_typescript v55.0.1
225
- Downloaded testing v27.0.0
226
- Downloaded textwrap v0.16.2
227
- Downloaded tracing-core v0.1.36
228
- Downloaded vsimd v0.8.0
229
- Downloaded swc_ecma_transforms_proposal v49.0.0
230
- Downloaded swc_ecma_transforms_react v55.0.1
231
- Downloaded swc_ecma_utils v35.0.0
232
- Downloaded synstructure v0.13.2
233
- Downloaded tempfile v3.27.0
234
- Downloaded termcolor v1.4.1
235
- Downloaded browserslist-data v0.2.0
236
- Downloaded swc_ecma_transforms_optimization v52.0.0
237
- Downloaded url v2.5.8
238
- Downloaded yansi v1.0.1
239
- Downloaded swc_ecma_transforms_base v49.0.1
240
- Downloaded typenum v1.20.1
241
- Downloaded unicode-segmentation v1.13.3
242
- Downloaded zerocopy v0.8.55
243
- Downloaded swc_ecma_parser v45.1.1
244
- Downloaded swc_sourcemap v10.0.2
245
- Downloaded bstr v1.13.0
246
- Downloaded swc_ecma_minifier v61.0.4
247
- Downloaded tracing-subscriber v0.3.23
248
- Downloaded regex-syntax v0.8.11
249
- Downloaded regress v0.11.1
250
- Downloaded unicode-width v0.1.14
251
- Downloaded unicode-width v0.2.2
252
- Downloaded rustix v1.1.4
253
- Downloaded syn v3.0.3
254
- Downloaded swc_ecma_visit v29.0.0
255
- Downloaded petgraph v0.7.1
256
- Downloaded regex-automata v0.4.16
257
- Downloaded tracing v0.1.44
258
- Downloaded linux-raw-sys v0.12.1
259
- Blocking waiting for file lock on package cache
12
+ Downloaded napi-derive v2.9.3
13
+ Downloaded version-compare v0.2.1
260
14
  Blocking waiting for file lock on build directory
261
- Compiling serde_core v1.0.229
262
15
  Compiling cfg-if v1.0.4
263
- Compiling zerocopy v0.8.55
264
- Compiling syn v2.0.119
265
- Compiling syn v3.0.3
16
+ Compiling serde_core v1.0.229
266
17
  Compiling allocator-api2 v0.2.21
267
18
  Compiling serde v1.0.229
268
19
  Compiling once_cell v1.21.4
269
20
  Compiling stable_deref_trait v1.2.1
270
21
  Compiling memchr v2.8.3
271
- Compiling icu_properties_data v2.2.0
272
- Compiling icu_normalizer_data v2.2.0
273
- Compiling autocfg v1.5.1
274
- Compiling num-traits v0.2.19
275
- Compiling zmij v1.0.23
276
- Compiling serde_derive v1.0.229
277
- Compiling foldhash v0.2.0
22
+ Compiling zerofrom v0.1.8
278
23
  Compiling equivalent v1.0.2
279
- Compiling anyhow v1.0.104
24
+ Compiling foldhash v0.2.0
25
+ Compiling yoke v0.8.3
280
26
  Compiling hashbrown v0.17.1
281
- Compiling getrandom v0.3.4
27
+ Compiling zerovec v0.11.6
282
28
  Compiling smallvec v1.15.2
29
+ Compiling getrandom v0.3.4
30
+ Compiling zerocopy v0.8.55
283
31
  Compiling ahash v0.8.12
284
- Compiling indexmap v2.14.0
285
- Compiling synstructure v0.13.2
286
- Compiling swc_macros_common v1.0.1
32
+ Compiling zmij v1.0.23
287
33
  Compiling itoa v1.0.18
288
34
  Compiling serde_json v1.0.151
35
+ Compiling tinystr v0.8.3
289
36
  Compiling litemap v0.8.2
290
37
  Compiling writeable v0.6.3
291
- Compiling zerofrom-derive v0.1.7
292
- Compiling yoke-derive v0.8.2
293
- Compiling zerovec-derive v0.11.3
294
- Compiling displaydoc v0.2.6
295
- Compiling zerofrom v0.1.8
296
- Compiling tracing-attributes v0.1.31
297
- Compiling yoke v0.8.3
298
- Compiling zerovec v0.11.6
299
- Compiling zerotrie v0.2.4
300
- Compiling utf8_iter v1.0.4
301
- Compiling tinystr v0.8.3
302
38
  Compiling potential_utf v0.1.5
39
+ Compiling zerotrie v0.2.4
303
40
  Compiling icu_locale_core v2.2.0
41
+ Compiling utf8_iter v1.0.4
304
42
  Compiling icu_collections v2.2.0
305
- Compiling hashbrown v0.14.5
43
+ Compiling indexmap v2.14.0
306
44
  Compiling icu_provider v2.2.0
307
- Compiling parking_lot_core v0.9.12
45
+ Compiling num-traits v0.2.19
46
+ Compiling icu_normalizer_data v2.2.0
47
+ Compiling icu_properties_data v2.2.0
308
48
  Compiling rustc-hash v2.1.3
309
- Compiling from_variant v3.0.0
310
- Compiling icu_properties v2.2.0
49
+ Compiling parking_lot_core v0.9.12
311
50
  Compiling icu_normalizer v2.2.0
312
- Compiling scopeguard v1.2.0
313
- Compiling radium v0.7.0
51
+ Compiling icu_properties v2.2.0
314
52
  Compiling either v1.17.0
53
+ Compiling scopeguard v1.2.0
315
54
  Compiling lock_api v0.4.14
316
- Compiling ast_node v7.0.0
317
- Compiling swc_eq_ignore_macros v1.0.1
55
+ Compiling radium v0.7.0
56
+ Compiling hashbrown v0.14.5
318
57
  Compiling tracing-core v0.1.36
58
+ Compiling idna_adapter v1.2.2
319
59
  Compiling tap v1.0.1
320
60
  Compiling percent-encoding v2.3.2
321
- Compiling form_urlencoded v1.2.2
322
- Compiling wyz v0.5.1
323
- Compiling idna_adapter v1.2.2
324
- Compiling outref v0.5.2
325
61
  Compiling idna v1.1.0
62
+ Compiling wyz v0.5.1
63
+ Compiling form_urlencoded v1.2.2
64
+ Compiling anyhow v1.0.104
65
+ Compiling bytes v1.12.1
326
66
  Compiling pin-project-lite v0.2.17
67
+ Compiling uuid v1.24.0
68
+ Compiling outref v0.5.2
327
69
  Compiling vsimd v0.8.0
328
70
  Compiling funty v2.0.0
329
- Compiling uuid v1.24.0
330
- Compiling bytes v1.12.1
331
- Compiling bitvec v1.1.1
71
+ Compiling base64-simd v0.8.0
332
72
  Compiling bytes-str v0.2.8
333
73
  Compiling debugid v0.8.0
334
- Compiling base64-simd v0.8.0
335
74
  Compiling url v2.5.8
336
75
  Compiling tracing v0.1.44
76
+ Compiling bitvec v1.1.1
337
77
  Compiling triomphe v0.1.16
338
- Compiling if_chain v1.0.3
339
- Compiling unicode-id-start v1.4.0
340
- Compiling new_debug_unreachable v1.0.6
341
78
  Compiling unicode-width v0.2.2
79
+ Compiling new_debug_unreachable v1.0.6
342
80
  Compiling data-encoding v2.11.0
81
+ Compiling unicode-id-start v1.4.0
82
+ Compiling if_chain v1.0.3
343
83
  Compiling hstr v4.0.0
344
84
  Compiling num-integer v0.1.46
345
- Compiling swc_sourcemap v10.0.2
346
85
  Compiling scoped-tls v1.0.1
347
- Compiling num-bigint v0.4.8
348
86
  Compiling better_scoped_tls v1.0.1
349
87
  Compiling swc_atoms v10.0.0
88
+ Compiling num-bigint v0.4.8
350
89
  Compiling parking_lot v0.12.5
351
90
  Compiling swc_visit v2.0.2
352
- Compiling siphasher v0.3.11
353
91
  Compiling termcolor v1.4.1
92
+ Compiling swc_sourcemap v10.0.2
93
+ Compiling siphasher v0.3.11
94
+ Compiling bitflags v2.13.1
354
95
  Compiling siphasher v1.0.3
355
- Compiling rand_core v0.6.4
356
- Compiling swc_common v26.0.0
357
- Compiling rand v0.8.7
358
96
  Compiling phf_shared v0.11.3
359
- Compiling heck v0.5.0
360
- Compiling phf_generator v0.11.3
361
- Compiling is-macro v0.3.7
362
- Compiling phf_macros v0.11.3
363
- Compiling bitflags v2.13.1
364
- Compiling string_enum v1.0.2
365
- Compiling phf v0.11.3
366
97
  Compiling libc v0.2.189
367
- Compiling swc_ecma_ast v29.0.0
368
98
  Compiling dragonbox_ecma v0.1.12
369
99
  Compiling par-core v2.0.0
100
+ Compiling phf v0.11.3
370
101
  Compiling num_cpus v1.17.0
371
102
  Compiling castaway v0.2.4
372
- Compiling seq-macro v0.3.6
373
103
  Compiling ryu v1.0.23
374
104
  Compiling static_assertions v1.1.0
375
- Compiling compact_str v0.7.1
376
105
  Compiling aho-corasick v1.1.4
106
+ Compiling compact_str v0.7.1
107
+ Compiling swc_common v26.0.0
377
108
  Compiling regex-syntax v0.8.11
378
- Compiling swc_ecma_regexp_common v0.0.1
109
+ Compiling swc_ecma_ast v29.0.0
110
+ Compiling regex-automata v0.4.16
379
111
  Compiling typenum v1.20.1
112
+ Compiling swc_ecma_regexp_common v0.0.1
380
113
  Compiling swc_ecma_regexp_ast v3.0.0
381
- Compiling regex-automata v0.4.16
382
114
  Compiling crossbeam-utils v0.8.22
383
115
  Compiling swc_ecma_regexp_visit v0.15.0
116
+ Compiling swc_ecma_regexp v0.15.0
117
+ Compiling swc_ecma_compat_regexp v9.0.0
384
118
  Compiling swc_ecma_visit v29.0.0
385
119
  Compiling swc_ecma_parser v45.1.1
386
- Compiling dashmap v6.2.1
387
120
  Compiling regex v1.13.1
388
- Compiling swc_ecma_compat_regexp v9.0.0
389
- Compiling swc_ecma_regexp v0.15.0
121
+ Compiling dashmap v6.2.1
390
122
  Compiling generic-array v0.14.7
391
- Compiling hashbrown v0.16.1
392
- Compiling swc_ecma_utils v35.0.0
393
- Compiling swc_ecma_hooks v1.0.0
394
123
  Compiling bstr v1.13.0
395
- Compiling globset v0.4.19
396
- Compiling swc_ecma_transforms_base v49.0.1
124
+ Compiling hashbrown v0.16.1
397
125
  Compiling regress v0.11.1
398
- Compiling block-buffer v0.10.4
126
+ Compiling globset v0.4.19
399
127
  Compiling crypto-common v0.1.7
400
- Compiling swc_ecma_transformer v21.0.1
401
- Compiling swc_config_macro v1.0.1
402
- Compiling digest v0.10.7
128
+ Compiling block-buffer v0.10.4
403
129
  Compiling swc_config v6.0.0
130
+ Compiling digest v0.10.7
404
131
  Compiling arrayvec v0.7.8
405
132
  Compiling thiserror v1.0.69
406
- Compiling swc_ecma_transforms_classes v49.0.0
407
- Compiling thiserror-impl v1.0.69
408
- Compiling swc_ecma_transforms_macros v1.0.1
409
133
  Compiling owo-colors v4.3.0
410
134
  Compiling semver v1.0.28
411
- Compiling base64 v0.22.1
412
- Compiling fixedbitset v0.5.7
413
135
  Compiling unicode-linebreak v0.1.5
414
- Compiling textwrap v0.16.2
136
+ Compiling fixedbitset v0.5.7
137
+ Compiling base64 v0.22.1
415
138
  Compiling petgraph v0.7.1
416
- Compiling swc_ecma_compat_common v45.0.0
417
- Compiling miette-derive v7.6.0
139
+ Compiling textwrap v0.16.2
140
+ Compiling swc_ecma_utils v35.0.0
141
+ Compiling swc_ecma_hooks v1.0.0
418
142
  Compiling bumpalo v3.20.3
419
143
  Compiling thread_local v1.1.10
420
- Compiling camino v1.2.4
421
144
  Compiling unicode-width v0.1.14
422
- Compiling swc_allocator v5.0.0
423
- Compiling swc_ecma_transforms_optimization v52.0.0
424
145
  Compiling miette v7.6.0
425
- Compiling swc_ecma_compat_es2015 v55.0.0
426
- Compiling swc_ecma_compat_es2022 v53.0.0
146
+ Compiling swc_ecma_transforms_base v49.0.1
147
+ Compiling camino v1.2.4
148
+ Compiling swc_allocator v5.0.0
427
149
  Compiling sha1 v0.10.7
428
150
  Compiling chrono v0.4.45
429
- Compiling swc_ecma_codegen_macros v2.0.2
430
- Compiling log v0.4.33
431
151
  Compiling syn v1.0.109
432
152
  Compiling lazy_static v1.5.0
433
153
  Compiling ascii v1.1.0
434
- Compiling swc_ecma_codegen v32.0.0
435
- Compiling sharded-slab v0.1.7
154
+ Compiling log v0.4.33
436
155
  Compiling tracing-log v0.2.0
437
156
  Compiling browserslist-data v0.2.0
157
+ Compiling swc_ecma_transformer v21.0.1
158
+ Compiling swc_ecma_transforms_classes v49.0.0
159
+ Compiling swc_ecma_compat_common v45.0.0
160
+ Compiling swc_ecma_compat_es2015 v55.0.0
161
+ Compiling swc_ecma_compat_es2022 v53.0.0
162
+ Compiling swc_ecma_transforms_optimization v52.0.0
438
163
  Compiling swc_ecma_compat_bugfixes v56.0.0
439
- Compiling swc_ecma_transforms_react v55.0.1
440
164
  Compiling swc_ecma_compat_es2020 v53.0.0
441
- Compiling swc_error_reporters v28.0.0
442
165
  Compiling swc_ecma_compat_es2017 v50.0.0
443
166
  Compiling swc_ecma_compat_es2021 v50.0.0
444
- Compiling swc_ecma_compat_es2019 v50.0.0
445
- Compiling swc_ecma_compat_es2018 v51.0.0
446
167
  Compiling swc_ecma_compat_es2016 v50.0.0
168
+ Compiling swc_ecma_compat_es2018 v51.0.0
169
+ Compiling swc_ecma_compat_es2019 v50.0.0
170
+ Compiling swc_ecma_transforms_react v55.0.1
171
+ Compiling swc_ecma_codegen v32.0.0
172
+ Compiling sharded-slab v0.1.7
173
+ Compiling swc_error_reporters v28.0.0
447
174
  Compiling matchers v0.2.0
448
175
  Compiling itertools v0.15.0
449
- Compiling static-map-macro v0.3.4
450
176
  Compiling cargo-platform v0.1.9
451
177
  Compiling nom v8.0.0
452
- Compiling foldhash v0.1.5
453
178
  Compiling nu-ansi-term v0.50.3
454
179
  Compiling yansi v1.0.1
455
- Compiling glob v0.3.4
456
- Compiling precomputed-map v0.2.0
457
180
  Compiling diff v0.1.13
458
- Compiling relative-path v1.9.3
459
- Compiling swc_ecma_preset_env v63.0.0
460
- Compiling testing_macros v1.0.2
461
181
  Compiling pretty_assertions v1.4.1
462
182
  Compiling tracing-subscriber v0.3.23
463
- Compiling browserslist-rs v0.20.0
464
183
  Compiling st-map v0.2.4
465
184
  Compiling cargo_metadata v0.18.1
466
- Compiling swc_ecma_transforms_compat v57.0.1
185
+ Compiling browserslist-rs v0.20.0
467
186
  Compiling swc_ecma_transforms_typescript v55.0.1
187
+ Compiling swc_ecma_transforms_compat v57.0.1
468
188
  Compiling swc_ecma_transforms_proposal v49.0.0
469
189
  Compiling par-iter v2.0.0
470
- Compiling ryu-js v1.0.3
471
190
  Compiling difference v2.0.0
472
- Compiling radix_fmt v1.0.0
191
+ Compiling ryu-js v1.0.3
473
192
  Compiling pathdiff v0.2.3
474
- Compiling swc_ecma_minifier v61.0.4
475
- Compiling testing v27.0.0
193
+ Compiling radix_fmt v1.0.0
476
194
  Compiling swc_ecma_transforms v62.0.0
195
+ Compiling testing v27.0.0
477
196
  Compiling preset_env_base v9.0.0
197
+ Compiling swc_ecma_preset_env v63.0.0
198
+ Compiling swc_ecma_minifier v61.0.4
478
199
  Compiling sha2 v0.10.9
479
200
  Compiling lru v0.18.4
201
+ Compiling precomputed-map v0.2.0
202
+ Compiling hex v0.4.3
203
+ Compiling foldhash v0.1.5
480
204
  Compiling unicode-segmentation v1.13.3
481
205
  Compiling path-clean v1.0.1
482
- Compiling hex v0.4.3
483
206
  Compiling fastrand v2.5.0
484
- Compiling swc_ecma_testing v27.0.0
485
207
  Compiling tempfile v3.27.0
486
- Compiling convert_case v0.6.0
487
208
  Compiling swc_ecma_loader v27.0.0
488
- Compiling swc_compiler_base v64.0.0
209
+ Compiling convert_case v0.6.0
210
+ Compiling swc_ecma_testing v27.0.0
489
211
  Compiling swc_ecma_ext_transforms v35.0.0
490
212
  Compiling swc_node_comments v27.0.0
491
213
  Compiling swc_transform_common v20.0.0
492
214
  Compiling jsonc-parser v0.26.3
493
- Compiling swc_core v77.1.2
494
215
  Compiling ansi_term v0.12.1
216
+ Compiling swc_core v77.1.2
495
217
  Compiling swc_ecma_transforms_testing v53.0.0
496
- Compiling swc_ecma_quote_macros v45.0.1
497
- Compiling swc v75.0.1
498
218
  Compiling napi-derive-backend v1.0.40
219
+ Compiling swc_compiler_base v64.0.0
220
+ Compiling swc v75.0.1
499
221
  Compiling ctor v0.1.26
500
- Compiling napi-sys v2.4.0
501
222
  Compiling bitflags v1.3.2
223
+ Compiling napi-sys v2.4.0
502
224
  Compiling napi v2.10.4
503
225
  Compiling napi-derive v2.9.3
504
226
  Compiling convert_case v0.11.0
505
227
  Compiling sha-1 v0.10.1
506
228
  Compiling sugar_path v1.2.1
507
- Compiling hybrid-array v0.4.13
508
229
  Compiling swc_plugins_shared v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugins_shared)
230
+ Compiling hybrid-array v0.4.13
509
231
  Compiling crypto-common v0.2.2
510
232
  Compiling block-buffer v0.12.1
511
233
  Compiling const-oid v0.10.2
512
234
  Compiling digest v0.11.3
513
- Compiling getrandom v0.4.3
514
235
  Compiling napi-build v2.3.2
515
- Compiling sha2 v0.11.0
236
+ Compiling getrandom v0.4.3
516
237
  Compiling react-transform v0.0.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform)
238
+ Compiling sha2 v0.11.0
517
239
  Compiling swc_plugin_snapshot v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_snapshot)
518
240
  Compiling swc_plugin_define_dce v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_define_dce)
519
241
  Compiling swc_plugin_directive_dce v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_directive_dce)
520
242
  Compiling swc_plugin_element_template v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_element_template)
521
243
  Compiling swc_plugin_list v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_list)
522
- Compiling swc_plugin_text v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_text)
523
- Compiling swc_plugin_dynamic_import v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_dynamic_import)
524
244
  Compiling swc_plugin_inject v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_inject)
525
245
  Compiling swc_plugin_compat v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_compat)
246
+ Compiling swc_plugin_dynamic_import v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_dynamic_import)
247
+ Compiling swc_plugin_shake v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_shake)
526
248
  Compiling swc_plugin_worklet v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_worklet)
249
+ Compiling swc_plugin_text v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_text)
527
250
  Compiling swc_plugin_css_scope v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_css_scope)
528
- Compiling swc_plugin_shake v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_shake)
529
251
  Compiling swc_plugin_background_only v0.1.0 (/home/runner/work/lynx-stack/lynx-stack/packages/react/transform/crates/swc_plugin_background_only)
530
252
  Compiling version-compare v0.2.1
531
- Finished `release` profile [optimized] target(s) in 3m 53s
253
+ Finished `release` profile [optimized] target(s) in 6m 28s
@@ -177,6 +177,21 @@ describe('collected defines', () => {
177
177
  expect(result.code).not.toContain('__CreateView');
178
178
  });
179
179
 
180
+ it.each(['development', 'production'])(
181
+ 'keeps worklet implementations in main-thread definitions in %s builds',
182
+ async mode => {
183
+ const result = await transformReactLynx(source, options('JS', { mode }));
184
+
185
+ expect(result.errors).toEqual([]);
186
+ expect(result.code).not.toContain('registerWorkletOnBackground');
187
+ expect(result.code).not.toContain('console.info');
188
+ expect(result.code).toContain('_wkltId');
189
+ expect(result.definesForWorklet).toHaveLength(1);
190
+ expect(result.definesForWorklet[0].code).toContain('__registerWorklet');
191
+ expect(result.definesForWorklet[0].code).toContain('console.info');
192
+ },
193
+ );
194
+
180
195
  it('collects the same definitions the main-thread transform would emit', async () => {
181
196
  const fromBackground = await transformReactLynx(
182
197
  source,
@@ -439,6 +454,21 @@ describe('legacy slot codegen', () => {
439
454
  `);
440
455
  });
441
456
 
457
+ it.each(['development', 'production'])(
458
+ 'keeps worklet implementations in main-thread definitions in %s builds',
459
+ async mode => {
460
+ const result = await transformReactLynx(source, { ...legacy('JS'), mode });
461
+
462
+ expect(result.errors).toEqual([]);
463
+ expect(result.code).not.toContain('registerWorkletOnBackground');
464
+ expect(result.code).not.toContain('console.info');
465
+ expect(result.code).toContain('_wkltId');
466
+ expect(result.definesForWorklet).toHaveLength(1);
467
+ expect(result.definesForWorklet[0].code).toContain('__registerWorklet');
468
+ expect(result.definesForWorklet[0].code).toContain('console.info');
469
+ },
470
+ );
471
+
442
472
  it('collects the same definitions the main-thread transform would emit', async () => {
443
473
  const fromBackground = await transformReactLynx(source, legacy('JS'));
444
474
  const fromMainThread = await transformReactLynx(source, legacy('LEPUS'));