Commit Graph

3342 Commits

Author SHA1 Message Date
Donny/강동윤
fd39bb6bff
fix(es/minifier): Don't inline variables declared multiple times (#5667) 2022-08-30 07:52:21 +00:00
Donny/강동윤
cfc3880379 chore: Publish crates 2022-08-30 12:27:05 +09:00
SWC Bot
815a7e6f3c chore: Publish crates 2022-08-30 03:25:43 +00:00
Donny/강동윤
d43334eb92
feat(es/minifier): Remove redundant check (#5664) 2022-08-30 12:22:18 +09:00
Alexander Akait
5c28d00516
fix(css/parser): Improve parsing of media queries (#5567) 2022-08-30 03:18:43 +00:00
SWC Bot
5028658269 chore: Publish crates 2022-08-30 01:59:00 +00:00
Alexander Akait
4a5e347a8a
fix(css/minifier): Don't compress none for keyframes (#5663) 2022-08-30 01:55:29 +00:00
SWC Bot
213d8b9ab5 chore: Publish crates 2022-08-29 15:29:16 +00:00
Alexander Akait
e2aca46889
feat(css): Support forgiving selector (#5539) 2022-08-29 15:25:48 +00:00
SWC Bot
99c7b976f9 chore: Publish crates 2022-08-29 11:30:29 +00:00
magic-akari
6c2c2587ff
perf(es/lexer): Improve keyword tokenizer (#5658) 2022-08-29 11:27:11 +00:00
SWC Bot
f06b2536d2 chore: Publish crates 2022-08-29 10:52:47 +00:00
magic-akari
095cbf1b4f
test(es/transforms): Respect directives in tsc tests (#5648) 2022-08-29 10:49:01 +00:00
SWC Bot
e951aa6996 chore: Publish crates 2022-08-29 10:14:19 +00:00
Donny/강동윤
537449e53b
fix(es/codegen): Emit trailing semicolon (#5659) 2022-08-29 10:10:55 +00:00
SWC Bot
d01cdca11f chore: Publish crates 2022-08-29 06:20:48 +00:00
Donny/강동윤
2cddb240c9
test(es/transforms): Add tests for fixed issues (#5655) 2022-08-29 06:17:16 +00:00
SWC Bot
51335ebc35 chore: Publish crates 2022-08-28 04:00:47 +00:00
Donny/강동윤
efd6a3603c
test(es/transforms): Enable tests for resolved issues (#5651) 2022-08-28 03:57:23 +00:00
SWC Bot
f2a0eef4f1 chore: Publish crates 2022-08-28 03:18:09 +00:00
Donny/강동윤
100f359e5d
fix(es/minifier): Fix optimization of template literals with escape (#5650) 2022-08-28 03:15:12 +00:00
SWC Bot
3917522bf1 chore: Publish crates 2022-08-27 15:48:16 +00:00
magic-akari
0f0d1db301
feat(es/parser): Handle async in for...of (#5646) 2022-08-27 15:44:51 +00:00
SWC Bot
4132902826 chore: Publish crates 2022-08-27 06:09:27 +00:00
Donny/강동윤
488562baac
doc(rustdoc): Document rust APIs (#5647) 2022-08-27 06:06:19 +00:00
SWC Bot
0d053b9782 chore: Publish crates 2022-08-26 14:17:17 +00:00
magic-akari
838438dc9d
fix(es/parser): Handle more TS2406 errors (#5640) 2022-08-26 14:13:38 +00:00
SWC Bot
7a8a172479 chore: Publish crates 2022-08-26 10:09:47 +00:00
Donny/강동윤
a06e6e9ce5
fix(es/minifier): Fix alias analyzer (#5639) 2022-08-26 10:06:25 +00:00
SWC Bot
e434c834c3 chore: Publish crates 2022-08-26 09:31:37 +00:00
Donny/강동윤
e8edb67def
feat(es): Improve APIs for plugin authors (#5632)
- All variants of `Expr` now implement `Into<Box<Expr>>`.
 - All variants of `Expr` now implement `Into<PatOrExpr>`.
 - All variants of `Pat` now implement `Into<PatOrExpr>`.
 - All variants of `Pat` now implement `Into<Param>`.
 - `StmtOrModuleItem` is improved.
2022-08-26 09:28:14 +00:00
SWC Bot
048beefb33 chore: Publish crates 2022-08-26 08:49:14 +00:00
Donny/강동윤
d44bbffa02
fix(es/minifier): Revert alias analyzer work (#5634) 2022-08-26 08:45:49 +00:00
SWC Bot
fdd29c9fe5 chore: Publish crates 2022-08-26 08:00:02 +00:00
Donny/강동윤
00e635b9ea
fix(es/minifier): Improve alias analyzer (#5500) 2022-08-26 07:56:40 +00:00
SWC Bot
b4416492d1 chore: Publish crates 2022-08-26 05:26:36 +00:00
Donny/강동윤
d81fe67e4b
feat(es/minifier): Improve gzipped size (#5631) 2022-08-26 05:23:01 +00:00
SWC Bot
153e157cfc chore: Publish crates 2022-08-26 04:50:45 +00:00
magic-akari
eb3b0e96e5
fix(es/fixer): Handle async in the left of for of (#5625) 2022-08-26 04:47:46 +00:00
SWC Bot
d538b72002 chore: Publish crates 2022-08-26 04:07:25 +00:00
magic-akari
d18ee54aef
fix(es/compat): Fix evaluation order of computed class keys (#5621) 2022-08-26 04:03:39 +00:00
SWC Bot
1dd17ffd23 chore: Publish crates 2022-08-25 16:14:21 +00:00
Donny/강동윤
83fec33359
feat(es/generator): Use new generator implementation (#5627) 2022-08-25 16:10:47 +00:00
SWC Bot
5374932028 chore: Publish crates 2022-08-25 09:39:58 +00:00
Donny/강동윤
cfcd54a2c7
test(es/transforms): Add more execution tests (#5598) 2022-08-25 09:36:43 +00:00
SWC Bot
e5926186ee chore: Publish crates 2022-08-25 09:01:43 +00:00
Donny/강동윤
927ae7e8d3
fix(es/compat): Revert generator reimplementation (#5624) 2022-08-25 17:58:37 +09:00
Donny/강동윤
71bf0aafa0 chore: Publish crates 2022-08-25 16:07:17 +09:00
SWC Bot
82f104e36e chore: Publish crates 2022-08-25 05:57:58 +00:00
SWC Bot
3ea433bd0a chore: Publish crates 2022-08-25 04:53:03 +00:00
Donny/강동윤
2aa009018f
feat(es/generator): Replace generator implementation with one from tsc (#5173) 2022-08-25 04:50:00 +00:00
SWC Bot
77ae3cfa74 chore: Publish crates 2022-08-24 15:23:21 +00:00
magic-akari
35d3558535
fix(es/compat): Handle super in a private method (#5613) 2022-08-25 00:19:41 +09:00
SWC Bot
8d44b71b6c chore: Publish crates 2022-08-24 08:46:23 +00:00
magic-akari
1181d0ffe2
fix(es/compat): Ignore invalid class method names (#5612) 2022-08-24 08:42:57 +00:00
SWC Bot
c71f62bb03 chore: Publish crates 2022-08-24 05:26:39 +00:00
SWC Bot
fa7a13a4b1 chore: Publish crates 2022-08-24 03:47:46 +00:00
magic-akari
3d485d2681
fix(es/fixer): Wrap expressions in the left of a binary expression (#5586) 2022-08-24 03:44:32 +00:00
OJ Kwon
7461e404b1
feat(swc_core): Add css features (#5609) 2022-08-24 01:23:20 +00:00
SWC Bot
860f253908 chore: Publish crates 2022-08-23 06:11:32 +00:00
OJ Kwon
7fcecb8e63
fix(swc_core): Re-export swc_cached (#5605) 2022-08-23 06:08:37 +00:00
OJ Kwon
52117f71e3
build(swc_core): Bump swc_core (#5604) 2022-08-23 05:17:47 +00:00
SWC Bot
e6f9c6cd14 chore: Publish crates 2022-08-23 03:45:31 +00:00
OJ Kwon
633a23a134
feat(swc_core): Expand features (#5602) 2022-08-23 12:43:01 +09:00
SWC Bot
48e5cf28ba chore: Publish crates 2022-08-23 03:01:20 +00:00
Donny/강동윤
c760622964 chore: Publish crates 2022-08-23 11:14:17 +09:00
SWC Bot
94080df110 chore: Publish crates 2022-08-23 02:13:11 +00:00
Donny/강동윤
e2fedb9345
test(es/transforms): Copy execution tests from babel (#5578) 2022-08-23 11:10:52 +09:00
SWC Bot
141bb9c043 chore: Publish crates 2022-08-23 01:31:45 +00:00
SWC Bot
7da0951966 chore: Publish crates 2022-08-23 01:13:22 +00:00
OJ Kwon
1769191f9a
chore(swc_core): Update dependency version (#5595) 2022-08-23 10:10:30 +09:00
OJ Kwon
9bc40e3d08
build(swc_core): Fix dependency version (#5593) 2022-08-23 00:21:29 +00:00
SWC Bot
3e276fa323 chore: Publish crates 2022-08-22 23:51:16 +00:00
OJ Kwon
a3e855f720
feat(es/plugin): Provide swc_core diagnostic from plugin (#5591) 2022-08-22 23:48:50 +00:00
SWC Bot
03730d7f05 chore: Publish crates 2022-08-22 14:11:57 +00:00
SWC Bot
ceb6c2ec96 chore: Publish crates 2022-08-22 13:38:57 +00:00
magic-akari
86452511e7
fix(es/compat): Fix destructuring assignments and updates of super properties in async method (#5580) 2022-08-22 13:36:02 +00:00
SWC Bot
b3e03c4d7b chore: Publish crates 2022-08-22 08:26:46 +00:00
Donny/강동윤
0f6649c44f
test(es/transforms): Enable tests for fixed issues (#5583) 2022-08-22 08:24:23 +00:00
SWC Bot
1d235e0d06 chore: Publish crates 2022-08-22 00:45:24 +00:00
magic-akari
bee26a9abb
fix(es/compat): Fix destructuring assignments and updates of super properties (#5576) 2022-08-22 00:42:50 +00:00
SWC Bot
2c35990a07 chore: Publish crates 2022-08-21 08:33:31 +00:00
magic-akari
c3f62586bf
fix(es/parser): Fix false-positives of yield used as a parameter in generator (#5564) 2022-08-21 08:30:54 +00:00
SWC Bot
52250f0927 chore: Publish crates 2022-08-20 16:18:08 +00:00
magic-akari
78dd071dab
fix(es/parser): Allow expr to follow ClassExpr (#5572) 2022-08-20 16:15:47 +00:00
Donny/강동윤
f688170909 chore: Publish crates 2022-08-20 21:28:27 +09:00
Donny/강동윤
38d722737b chore: Publish crates 2022-08-20 21:26:59 +09:00
Donny/강동윤
76bd04b2e2 chore: Publish crates 2022-08-20 21:22:08 +09:00
SWC Bot
eaf4d9879f chore: Publish crates 2022-08-20 10:50:17 +00:00
Donny/강동윤
82cc3ca7a4
fix(es/quote): Allow cloning (#5571) 2022-08-20 19:48:00 +09:00
SWC Bot
8b61c90e88 chore: Publish crates 2022-08-20 07:56:23 +00:00
Donny/강동윤
288ae51fb1
fix(es/codgen): Fix sourcemap ofBlockStmt (#5570) 2022-08-20 07:53:51 +00:00
SWC Bot
167ceb38d1 chore: Publish crates 2022-08-20 04:07:27 +00:00
Alexander Akait
3cb6fc2a29
feat(html/minifier): Improve minification modes (#5568) 2022-08-20 04:04:47 +00:00
SWC Bot
ba70a54493 chore: Publish crates 2022-08-20 03:38:17 +00:00
Donny/강동윤
2f7e322214
fix(es): Improve sourcemap (#5569) 2022-08-20 12:35:49 +09:00
SWC Bot
0f5d02568b chore: Publish crates 2022-08-20 01:52:20 +00:00
Alexander Akait
a3c1ac67d7
feat(css/ast): Make keyword optional (#5543) 2022-08-20 01:49:27 +00:00
SWC Bot
4e9e64f6dd chore: Publish crates 2022-08-19 13:04:31 +00:00
Austaras
b717a68199
fix(es/compat): Use separate SyntaxContext for class names (#5566) 2022-08-19 13:01:50 +00:00
SWC Bot
34d366ee1a chore: Publish crates 2022-08-19 06:52:14 +00:00
magic-akari
f2c1164026
fix(es/compat): Handle async in class method parameters (#5560) 2022-08-19 06:49:34 +00:00
SWC Bot
ef4fdd84e4 chore: Publish crates 2022-08-19 06:06:11 +00:00
Donny/강동윤
7f5095dd5e
test(es/minifier): Add tests for size (#5561) 2022-08-19 06:03:42 +00:00
SWC Bot
1434376ce9 chore: Publish crates 2022-08-19 04:30:32 +00:00
Austaras
69f8945911
feat(es/minifier): Remove more functions and classes (#5552) 2022-08-19 04:28:06 +00:00
SWC Bot
6de0a278f6 chore: Publish crates 2022-08-19 02:14:17 +00:00
magic-akari
b14d69e9b0
fix(es/fixer): Wrap yield expression in extends (#5555) 2022-08-19 02:11:27 +00:00
SWC Bot
e0e01bf6cd chore: Publish crates 2022-08-18 06:06:06 +00:00
brightwu
3569b20645
fix(ast): Add attributes for rkyv (#5489) 2022-08-18 15:03:46 +09:00
SWC Bot
2ed9f8f4b1 chore: Publish crates 2022-08-18 05:51:23 +00:00
Donny/강동윤
38b8ca05ad
feat(es/minifier): Optimize numeric property names (#5548) 2022-08-18 14:48:54 +09:00
SWC Bot
219356fcfd chore: Publish crates 2022-08-18 04:31:41 +00:00
OJ Kwon
f1a4263954
feat(swc_core): Implement engine diagnostics (#5515) 2022-08-18 04:29:19 +00:00
SWC Bot
75d47a2785 chore: Publish crates 2022-08-18 03:32:12 +00:00
Alexander Akait
fa7abe26cf
fix(css/codegen): Improve codegen of @media (#5544) 2022-08-18 03:29:42 +00:00
SWC Bot
5155fe0144 chore: Publish crates 2022-08-18 03:00:38 +00:00
Donny/강동윤
7487e3341d
feat(es/minifier): Optimize more string property names (#5545) 2022-08-18 11:58:05 +09:00
SWC Bot
7cf501ec47 chore: Publish crates 2022-08-18 02:26:36 +00:00
Alexander Akait
780a4c2b5d
feat(css/minifier): Remove duplications (#5542) 2022-08-18 02:23:26 +00:00
Donny/강동윤
a1aca0c366 chore: Publish crates 2022-08-18 10:55:13 +09:00
SWC Bot
2a61998315 chore: Publish crates 2022-08-18 00:39:50 +00:00
Donny/강동윤
935a2fbd00
feat(dbg-swc): Improve minifier comparator (#5541) 2022-08-18 09:37:19 +09:00
SWC Bot
04602f3485 chore: Publish crates 2022-08-17 23:27:05 +00:00
Austaras
d2f3e29bb0
feat(es/minifier): Ignore recursive usage for function calls and pure calls (#5526) 2022-08-17 23:24:10 +00:00
SWC Bot
833189c09b chore: Publish crates 2022-08-17 22:09:25 +00:00
Alexander Akait
0985c1546b
fix(css/prefixer): Reduce duplicates (#5537) 2022-08-18 07:06:18 +09:00
SWC Bot
070f256ae3 chore: Publish crates 2022-08-17 21:56:44 +00:00
OJ Kwon
d46418bb47
feat(es/plugin/runner): Add more traces for the plugin host (#5538) 2022-08-18 06:54:17 +09:00
SWC Bot
6412279ddb chore: Publish crates 2022-08-17 19:06:30 +00:00
Alexander Akait
0f45822410
fix(css/codegen): Improve output of @supports (#5529) 2022-08-17 19:04:06 +00:00
SWC Bot
e28fd34ce7 chore: Publish crates 2022-08-17 18:31:17 +00:00
magic-akari
7394deef42
fix(es/fixer): Fix handling of yield and await (#5533) 2022-08-17 18:28:37 +00:00
SWC Bot
1bdf6a7385 chore: Publish crates 2022-08-17 13:08:48 +00:00
Austaras
5aa96e00d8
fix(es/minifier): Remove recklessly inline (#5528) 2022-08-17 13:06:01 +00:00
SWC Bot
57361bf0d8 chore: Publish crates 2022-08-17 12:38:41 +00:00
Alexander Akait
674c788654
feat(css/prefixer): Support more env properties and values (#5512) 2022-08-17 12:35:39 +00:00
SWC Bot
62fbb52c90 chore: Publish crates 2022-08-17 09:07:49 +00:00
Alexander Akait
1a4d7553b8
fix(html/minifier): Apply fixer (#5514) 2022-08-17 09:04:47 +00:00
SWC Bot
6aa975260a chore: Publish crates 2022-08-17 08:37:10 +00:00
Alex Kirszenberg
14606d9222
feat(es/react): Add VisitMut bound to the return type of react preset (#5499) 2022-08-17 17:34:32 +09:00
SWC Bot
75704e5df8 chore: Publish crates 2022-08-17 07:38:39 +00:00
magic-akari
f27ed73594
fix(es/fixer): Wrap first function or class of a sequence expression (#5508) 2022-08-17 07:36:19 +00:00
SWC Bot
190d4e0c79 chore: Publish crates 2022-08-17 07:12:26 +00:00
Alexander Akait
dc98234fab
fix(css/prefixer): Handle supports (#5503) 2022-08-17 07:09:44 +00:00
SWC Bot
916af18b8f chore: Publish crates 2022-08-17 06:45:51 +00:00
Alexander van Ratingen
75c8e09d6d
feat(api/rust): Implement more traits for public types (#5488) 2022-08-17 06:43:32 +00:00
Donny/강동윤
69ce1b24d5
test(es/minifier): Remove useless, slow tests (#5502) 2022-08-17 15:12:30 +09:00
Donny/강동윤
f7b34e70e9 chore: Publish crates 2022-08-17 14:28:18 +09:00
OJ Kwon
4a9b1dde1a
fix(es/plugin/runner): Revert wasmer@3 (#5521) 2022-08-17 05:18:56 +00:00