Donny/강동윤
18a11d7c8f
fix(es/minifier): Remove more side-effect-free expressions. ( #3301 )
...
swc_ecam_minifier:
- `pure`: Drop more binary expressions.
- `pure`: Drop more literals.
2022-01-18 12:51:31 +09:00
Donny
3d7d96588e
chore: Publish crates
2022-01-18 12:26:37 +09:00
OJ Kwon
c6ffdc8717
feat(plugin): Add PluginError
( #3300 )
2022-01-18 12:26:04 +09:00
Donny
5a08327784
chore: Publish crates
2022-01-18 11:30:19 +09:00
asquared31415
641265b147
fix(common): Use siphasher
directly and upgrade transitive dependencies to avoid UB ( #3299 )
2022-01-18 11:29:53 +09:00
Donny
d7964dd547
chore: Publish crates
2022-01-17 22:42:52 +09:00
Donny
ba4083959f
chore: Publish crates
2022-01-17 22:41:25 +09:00
Austaras
89235b8294
fix(es/compat): Apply static_blocks
before class_properties
( #3292 )
2022-01-17 13:20:02 +00:00
Donny
be33d20baf
chore: Publish crates
2022-01-17 16:18:53 +09:00
Donny/강동윤
9a898951bc
fix(es/resolver): Ignore names of jsx attributes ( #3289 )
...
swc_ecma_transforms_base:
- Ignore names of jsx attributes. (Closes #2854 )
2022-01-17 16:18:07 +09:00
Donny
d696c324fb
chore: Publish crates
2022-01-17 16:05:12 +09:00
Satish Srinivasan
2352920889
feat(es/compat): Use remove useless source map entries generated by classes
( #3242 )
2022-01-17 06:48:31 +00:00
Donny
a424ac30ed
chore: Publish crates
2022-01-17 15:17:30 +09:00
Donny/강동윤
fa5c063144
fix(es/minifier): Inline into interpolations in tagged template literals ( #3287 )
...
swc_ecma_minifier:
- Inline into tagged template literals. (Closes #2923 )
2022-01-17 15:17:01 +09:00
Donny
023fc956ae
chore: Publish crates
2022-01-17 14:30:25 +09:00
Donny/강동윤
b55ae4b312
fix(es/minifier): Fix analysis of unary expressions ( #3286 )
...
swc_ecma_minifier:
- Mark update as usage and assignment. (Closes #3265 )
2022-01-17 14:28:35 +09:00
Donny
a282146f7f
chore: Publish v1.2.130
2022-01-17 13:38:10 +09:00
Donny
681de03e4b
chore: Publish crates
2022-01-17 13:36:00 +09:00
Austaras
90a62bb215
refactor(es/utils): Merge the super field visitor with FnEnvHoister
( #3279 )
2022-01-17 13:35:32 +09:00
Donny
7ff5f0f9f2
chore: Publish crates
2022-01-17 00:22:39 +09:00
RiESAEX
b76d1da699
fix(es/transforms): Handle template literals within jsonify
pass ( #3282 )
2022-01-16 14:57:12 +00:00
Donny
0955c3646b
chore: Publish crates
2022-01-16 23:32:02 +09:00
Niklas Mischkulnig
162c1fe047
fix(es/transforms): Remove unsafe new String("...")
optimization ( #3284 )
2022-01-16 23:31:08 +09:00
Donny
7ec6e94cb0
chore: Publish crates
2022-01-16 16:58:21 +09:00
Donny/강동윤
9dd0647e3a
feat(es/ast): Improve AST api for plugin authors ( #3281 )
...
swc_ecma_ast:
- Improve API for AST creation.
2022-01-16 16:56:41 +09:00
Donny/강동윤
e8670b3383
refactor(es): More fix for clippy ( #3280 )
2022-01-16 14:33:06 +09:00
Donny
2ec540da35
chore: Publish crates
2022-01-16 04:22:00 +09:00
RiESAEX
6406b49df2
fix(es/parser): Throw an error when function body has use strict and paramaters is not simple ( #3278 )
2022-01-16 04:21:02 +09:00
Donny
d396c32fe5
chore: Publish crates
2022-01-15 21:56:36 +09:00
Donny/강동윤
88a258a5fb
fix(es/react): Fix createElement
( #3277 )
...
swc_ecma_transforms_react:
- Fix arguments passed to `_createElement`. (https://github.com/vercel/next.js/issues/33291 )
2022-01-15 21:55:58 +09:00
Donny
a4e93eb2df
chore: Publish crates
2022-01-15 17:20:51 +09:00
magic-akari
f4b3cb714a
fix(es/resolver): Treat a switch statement as a block scope ( #3275 )
2022-01-15 17:20:17 +09:00
Donny/강동윤
357a350390
refactor(*): Cleanup ( #3274 )
2022-01-15 16:43:34 +09:00
Donny/강동윤
2690742db0
refactor(es/transforms): Cleanup ( #3273 )
2022-01-15 15:36:40 +09:00
Donny
9b98ada0d2
chore: Publish crates
2022-01-15 14:11:49 +09:00
OJ Kwon
66d1a92635
feat(plugin/runner): Free allocated memory on errors ( #3270 )
2022-01-15 05:10:19 +00:00
OJ Kwon
a4c497464d
feat(plugin/runnner): Support wasm32-wasi
targets ( #3271 )
2022-01-15 04:40:00 +00:00
Donny
6ad418339e
chore: Publish crates
2022-01-14 23:14:37 +09:00
RiESAEX
d3cc488ac1
feat(es/compat): Use var
for _len
and args
in rest parameters ( #3267 )
2022-01-14 14:13:42 +00:00
Donny
8753f8cfc7
chore: Publish crates
2022-01-14 20:24:12 +09:00
Alexander Akait
c195335012
feat(css): Support @layer
at-rule ( #3258 )
2022-01-14 11:21:41 +00:00
Donny
235a849485
chore: Publish crates
2022-01-14 16:38:01 +09:00
Donny/강동윤
efd86715c9
fix(es/minifier): Preserve side effects in correct position ( #3263 )
...
swc_ecma_minifier:
- Add `fake_block` mark.
- Inject statements for side effects from `visit_mut_stmt` instead of `visit_mut_stmt_likes`. (Closes #2926 )
2022-01-14 16:36:48 +09:00
Donny
d03824b13d
chore: Publish crates
2022-01-14 12:45:45 +09:00
Donny/강동윤
7c19e26d0f
fix(es/transforms): Fix this
in async arrow class properties ( #3252 )
...
swc_ecma_transforms_compat:
- `async_to_generator`: Fix `this` in async class properties. (https://github.com/vercel/next.js/issues/33283 )
- Add a test for #3228 (Closes #3228 ).
2022-01-14 12:44:34 +09:00
Donny
1f49793ac9
chore: Publish crates
2022-01-14 10:41:07 +09:00
Alexander Akait
ade8ab8c35
fix(css/lexer): Resolve a TODO
( #3260 )
2022-01-13 23:59:52 +00:00
Donny
c114e1b6a9
chore: Publish crates
2022-01-14 08:34:08 +09:00
mrauhu
69978518c9
fix(es/ast): Update EsVersion::latest()
( #3261 )
2022-01-14 08:33:38 +09:00
Donny/강동윤
15b604b6d6
refactor(*): Fix some clippy warnings ( #3257 )
2022-01-14 07:20:45 +09:00