Commit Graph

1119 Commits

Author SHA1 Message Date
SWC Bot
233e5d2a73 chore: Publish crates 2022-02-25 12:52:25 +00:00
William Tetlow
342dccce47
fix(es/parser): Handle trailing comma and bracket after an arrow function in conditional (#3685) 2022-02-25 12:50:04 +00:00
SWC Bot
70034af7b9 chore: Publish crates 2022-02-25 06:52:15 +00:00
Donny/강동윤
fd223793e8
refactor(es/transforms): Use recommended ast apis (#3735) 2022-02-25 06:50:19 +00:00
SWC Bot
8f1aef47d4 chore: Publish crates 2022-02-25 06:10:45 +00:00
Austaras
05de029cfa
fix(es/compat): Fix handling of private getters and setters (#3695) 2022-02-25 06:08:35 +00:00
SWC Bot
25b54ae7a8 chore: Publish crates 2022-02-25 04:08:59 +00:00
OJ Kwon
a454996314
feat(node-swc): Add experimental trace support in @swc/core (#3731) 2022-02-25 04:06:45 +00:00
Bryan Lee
72c9e6ca2b
fix(es/helpers): Cast the result of the instanceof helper to boolean (#3728)
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2022-02-25 03:22:40 +00:00
SWC Bot
f5d2f00afe chore: Publish crates 2022-02-25 02:33:30 +00:00
OJ Kwon
d8b01660dc
fix(plugin/macro): Do not free guest memory twice (#3732) 2022-02-25 02:31:22 +00:00
SWC Bot
edc3702e5a chore: Publish crates 2022-02-25 02:07:42 +00:00
Alexander Akait
f5c5e77612
feat(css/ast): Support more selectors (#3729) 2022-02-25 02:05:12 +00:00
SWC Bot
ba49a09deb chore: Publish crates 2022-02-25 10:25:13 +09:00
SWC Bot
118801e5e0 chore: Publish crates 2022-02-24 13:39:16 +00:00
Donny/강동윤
e21579d84e
perf(es/parser): Reduce usage of generics to reduce binary size (#3726) 2022-02-24 13:36:37 +00:00
SWC Bot
a429ae5de1 chore: Publish crates 2022-02-24 13:07:30 +00:00
Alexander Akait
8512719e12
feat(css/minifier): Compress display (#3706) 2022-02-24 22:04:10 +09:00
SWC Bot
e50291ec1c chore: Publish crates 2022-02-24 22:02:56 +09:00
Donny/강동윤
c677593dba chore: Publish v1.2.145 2022-02-24 18:55:13 +09:00
SWC Bot
8c94ea9fc5 chore: Publish crates 2022-02-24 09:22:18 +00:00
magic-akari
1743302819
feat(es/typescript): Inline typescript enums (#3647) 2022-02-24 09:19:49 +00:00
SWC Bot
0bda2513bd chore: Publish crates 2022-02-24 08:49:47 +00:00
Donny/강동윤
b8b0c920e4
fix(es/codegen): Fix sourcemap of comments (#3723) 2022-02-24 08:47:20 +00:00
SWC Bot
2ab88b5556 chore: Publish crates 2022-02-24 08:24:51 +00:00
magic-akari
1761cab6ff
fix(es/typescript): Support heterogeneous enums (#3721) 2022-02-24 17:20:18 +09:00
SWC Bot
fb561123c7 chore: Publish crates 2022-02-24 07:32:19 +00:00
Donny/강동윤
8b87bb4870
fix(es/parser): Don't attach comments to ; (#3720) 2022-02-24 07:23:53 +00:00
SWC Bot
c2b1e710a3 chore: Publish crates 2022-02-24 05:38:23 +00:00
Alexander Akait
bff04b4afe
feat(css/minifier): Compress alpha of values (#3707) 2022-02-24 05:35:54 +00:00
SWC Bot
d0a9295ba2 chore: Publish crates 2022-02-24 04:38:20 +00:00
David Sherret
4318a2e73b
fix(es/parser): Fix the span of an export declaration containing a const enum (#3701) 2022-02-24 04:36:05 +00:00
SWC Bot
7e1f3202d5 chore: Publish crates 2022-02-24 04:04:17 +00:00
Alexander Akait
cd95ac4caf
feat(css/minifier): Compress more properties (#3708) 2022-02-24 04:01:45 +00:00
SWC Bot
6ca76b81be chore: Publish crates 2022-02-24 12:28:01 +09:00
SWC Bot
bb47be19f8 chore: Publish crates 2022-02-23 16:23:11 +00:00
Alexander Akait
321ee756d9
refactor(css/ast): Fix the type definitions for an plus b syntax (#3682) 2022-02-23 16:20:40 +00:00
SWC Bot
6f7c06c9f8 chore: Publish crates 2022-02-23 15:50:44 +00:00
Pig Fang
010fe048c2
fix(es/parser): Fix a typescript instantiation expression followed by EOF (#3699) 2022-02-23 15:48:17 +00:00
SWC Bot
dd010a5a8c chore: Publish crates 2022-02-23 15:24:11 +00:00
Alexander Akait
7079e88744
feat(css/minifier): Compress lengths (#3698) 2022-02-23 15:21:51 +00:00
SWC Bot
abb3c5942c chore: Publish crates 2022-02-23 14:59:32 +00:00
Pig Fang
d6522f3a37
fix(es/parser): Disallow using reserved words as an expression in typescript (#3697) 2022-02-23 14:57:01 +00:00
SWC Bot
677e483ccb chore: Publish crates 2022-02-23 14:24:53 +00:00
magic-akari
d499b8c14f
fix(es/parser): Allow Expr::TsInstantiation in extends clause (#3696) 2022-02-23 14:20:06 +00:00
SWC Bot
3c719f54e3 chore: Publish crates 2022-02-23 08:53:05 +00:00
Alexander Akait
b1476d2ac6
feat(css/minifier): Compress urange (#3668) 2022-02-23 08:45:25 +00:00
SWC Bot
78b997bd90 chore: Publish crates 2022-02-23 07:05:42 +00:00
Austaras
b6434e52e7
fix(es/compat): Throw an error if a private property is initialized multiple times (#3665) 2022-02-23 07:03:13 +00:00
SWC Bot
2b537d46d4 chore: Publish crates 2022-02-23 06:37:39 +00:00
Pig Fang
e252265a3f
feat(es/lints): Implement default-param-last rule (#3681) 2022-02-23 06:35:04 +00:00
Donny/강동윤
e35d73adf4
chore(clippy): Improve config (#3691) 2022-02-23 06:07:42 +00:00
SWC Bot
1198b04f27 chore: Publish crates 2022-02-23 05:39:36 +00:00
Donny/강동윤
135acf3b42
refactor(es): Improve ast apis (#3690) 2022-02-23 05:37:07 +00:00
SWC Bot
d603473ee4 chore: Publish crates 2022-02-23 05:11:54 +00:00
Guillaume Malette
1e49fcd44d
fix(es/typescript): Fix name of decorated classes (#3689) 2022-02-23 05:07:53 +00:00
SWC Bot
738d153609 chore: Publish crates 2022-02-23 04:41:11 +00:00
OJ Kwon
3cf3b20f15
feat(cli): Support stdin (#3688) 2022-02-23 04:38:43 +00:00
SWC Bot
61d9e329c9 chore: Publish crates 2022-02-23 04:11:14 +00:00
Austaras
6a9d77808b
fix(es/parser): Emit an error for non-last rest element in an object pattern (#3675) 2022-02-23 13:08:46 +09:00
SWC Bot
e65c0609ac chore: Publish crates 2022-02-23 12:09:47 +09:00
Donny/강동윤
8a651bc449 chore: Publish v1.2.144 2022-02-23 05:34:31 +09:00
SWC Bot
1cdc4d5948 chore: Publish crates 2022-02-22 20:15:32 +00:00
William Tetlow
ca0a448e8f
feat(plugin): Pass NODE_ENV to plugins using the plugin context (#3677) 2022-02-22 20:13:09 +00:00
SWC Bot
0bfd894c0e chore: Publish crates 2022-02-22 19:47:48 +00:00
Alexander Akait
003a7b85a4
feat(css/ast): Improve parsing of colors (#3680) 2022-02-22 19:45:33 +00:00
SWC Bot
c663ced4de chore: Publish crates 2022-02-22 15:05:10 +00:00
Alexander Akait
9b28d4da79
feat(css/minifier): Compress frequency (#3669) 2022-02-22 15:02:45 +00:00
SWC Bot
e9c1b22926 chore: Publish crates 2022-02-22 12:57:32 +00:00
Alexander Akait
1afbd1b6e9
feat(css/minifier): Compress transform functions (#3663) 2022-02-22 12:52:38 +00:00
SWC Bot
053519d537 chore: Publish crates 2022-02-22 12:19:03 +00:00
Artur
319d501f17
feat(es/lints): Implement no-empty-function rule (#3565) 2022-02-22 12:13:13 +00:00
SWC Bot
cfa648793f chore: Publish crates 2022-02-22 11:49:10 +00:00
Alexander Akait
fab6473183
feat(css/minifier): Compress urls (#3666) 2022-02-22 11:44:24 +00:00
SWC Bot
fd606cb286 chore: Publish crates 2022-02-22 09:09:22 +00:00
Donny/강동윤
b1d24702e3
refactor(preset-env): Extract common logic for browserslist support (#3674) 2022-02-22 09:03:40 +00:00
SWC Bot
8012056bd8 chore: Publish crates 2022-02-22 08:11:02 +00:00
Donny/강동윤
210f17af8c
build(swc): Remove unused dependencies (#3673) 2022-02-22 08:05:54 +00:00
SWC Bot
70d670a126 chore: Publish crates 2022-02-22 07:29:55 +00:00
Pig Fang
319996698d
feat(es/preset-env): Upgrade browserslist-rs (#3670) 2022-02-22 16:16:36 +09:00
SWC Bot
138ef861b2 chore: Publish crates 2022-02-22 06:16:36 +00:00
Artur
f4af3634de
feat(es/lints): Add no-loop-func rule (#3630) 2022-02-22 06:14:10 +00:00
SWC Bot
b1596bf608 chore: Publish crates 2022-02-22 05:32:59 +00:00
Jan Nicklas
f237aeea79
feat(cli): Improve the template package.json for plugins (#3641) 2022-02-22 14:30:48 +09:00
SWC Bot
f7eb264344 chore: Publish crates 2022-02-22 03:32:16 +00:00
Alexander Akait
0b5f5544c6
feat(css/minifier): Compress degrees to zero (#3664) 2022-02-22 03:30:08 +00:00
SWC Bot
e4c674b9cb chore: Publish crates 2022-02-21 13:10:43 +00:00
Donny/강동윤
68a155165b
fix(es/ast): Fix definition of Expr::TsInstantiation (#3657) 2022-02-21 13:03:11 +00:00
SWC Bot
e08a2c2c17 chore: Publish crates 2022-02-21 07:15:09 +00:00
Austaras
2cb66ae075
refactor(es/ast): Change definition of optional chaining expressions (#3645) 2022-02-21 07:12:09 +00:00
SWC Bot
bea6810c08 chore: Publish crates 2022-02-21 05:36:52 +00:00
Donny/강동윤
da2c77d9af
perf(es/minifier): Parallelize join_vars (#3655) 2022-02-21 05:34:32 +00:00
SWC Bot
073ecb560c chore: Publish crates 2022-02-21 04:38:23 +00:00
Donny/강동윤
de6effc6e1
feat(es/minifier): Drop more unused vars (#3656) 2022-02-21 04:35:56 +00:00
Artur
5a9d0cf8a7
feat(es/lints): Implement no-bitwise rule (#3635) 2022-02-21 02:17:18 +00:00
SWC Bot
1fd3522e55 chore: Publish crates 2022-02-21 01:54:00 +00:00
Pig Fang
581b63cf36
fix(es/parser): Allow type arguments inside optional chaining (#3653) 2022-02-21 01:51:44 +00:00
SWC Bot
264f1cf8d6 chore: Publish crates 2022-02-20 15:53:48 +00:00
Pig Fang
61e711c912
feat(es/ast): Support TypeScript Instantiation Expression (#3642) 2022-02-20 15:51:31 +00:00
SWC Bot
80083ffb18 chore: Publish crates 2022-02-20 15:28:18 +00:00
Alexander Akait
7d15316ee1
feat(css/minifier): Compress declarations (#3649) 2022-02-21 00:26:09 +09:00
SWC Bot
4bd855274a chore: Publish crates 2022-02-20 12:10:24 +00:00
Donny/강동윤
e9fabd61e8
feat(es/minifier): Improve name mangler (#3638) 2022-02-20 12:08:26 +00:00
SWC Bot
18ae83d853 chore: Publish crates 2022-02-20 10:47:59 +00:00
Donny/강동윤
10adf1e548
feat(es/minifier): Merge exports (#3643) 2022-02-20 10:44:21 +00:00
SWC Bot
6690acab18 chore: Publish crates 2022-02-20 08:48:38 +00:00
Artur
7ff4cbcbe1
feat(es/lints): Implement no-new rule (#3634) 2022-02-20 08:39:55 +00:00
SWC Bot
b11021b4fd chore: Publish crates 2022-02-19 16:19:42 +00:00
Alexander Akait
9e691fe75b
feat(css/minifier): Compress selectors (#3623) 2022-02-20 01:17:46 +09:00
SWC Bot
b1190ee203 chore: Publish crates 2022-02-19 21:33:20 +09:00
Jan Nicklas
0f1afcb896
chore(cli): Improve the plugin template (#3632) 2022-02-19 21:31:22 +09:00
Donny/강동윤
8aea6a698f chore: Publish v1.2.143 2022-02-19 19:42:00 +09:00
SWC Bot
e668ff08a5 chore: Publish crates 2022-02-19 19:41:18 +09:00
Donny/강동윤
fd0e952aec
perf(es/minifier): Fix performance bug of the mangler (#3633)
swc_ecma_minifier:
 - Use a bi-directional hashmap instead of iterating all keys.
2022-02-19 10:31:54 +00:00
SWC Bot
34322d13a6 chore: Publish crates 2022-02-19 09:11:36 +00:00
Artur
72343baf5b
feat(es/lints): Implement no-restricted-syntax rule (#3607) 2022-02-19 09:06:10 +00:00
SWC Bot
144b2c9f9f chore: Publish crates 2022-02-19 08:42:02 +00:00
Donny/강동윤
d2c94416a8
feat(es/minifier): Treat !0 as a literal while inlining (#3631) 2022-02-19 17:33:36 +09:00
Donny/강동윤
81a5761490 chore: Publish v1.2.142 2022-02-19 02:09:22 +09:00
SWC Bot
fe5da532a0 chore: Publish crates 2022-02-18 17:07:53 +00:00
RiESAEX
3615f41c79
feat(swc): Add $schema and utf8-bom support for .swcrc (#3622) 2022-02-19 02:05:34 +09:00
SWC Bot
180ba98625 chore: Publish crates 2022-02-18 16:30:00 +00:00
Alexander Akait
8271566d21
feat(css/codegen): Improve minification of selectors (#3624) 2022-02-19 01:27:32 +09:00
SWC Bot
de6f75dc95 chore: Publish crates 2022-02-18 07:32:39 +00:00
Austaras
5c03551341
feat(es/compat): Check for duplicate private names and undefined private names (#3613) 2022-02-18 07:23:18 +00:00
SWC Bot
090e7ef965 chore: Publish crates 2022-02-18 05:54:18 +00:00
OJ Kwon
05aecf507e
fix(plugin): Fix caching of wasm modulee (#3616) 2022-02-18 05:50:51 +00:00
SWC Bot
b69e4b2a93 chore: Publish crates 2022-02-18 05:24:01 +00:00
Kirill Mironov
e863f9dd04
fix(swc_common): Fix names of proxied functions (#3608) 2022-02-18 05:21:58 +00:00
SWC Bot
6bb2c0ba00 chore: Publish crates 2022-02-18 04:57:32 +00:00
Alexander Akait
8e06b2a42c
feat(css/minifier): Implement the rule for easing functions (#3615) 2022-02-18 13:55:24 +09:00
SWC Bot
0eafb38b4d chore: Publish crates 2022-02-17 14:26:10 +00:00
Alexander Akait
b7dcccc748
fix(css/parser): Fix parsing of component values (#3611) 2022-02-17 14:20:17 +00:00
SWC Bot
36a1ea8e46 chore: Publish crates 2022-02-17 13:20:13 +00:00
Alexander Akait
8c9b154e13
feat(css/minifier): Remove empty qualified rules and at-rules (#3597) 2022-02-17 13:15:09 +00:00
SWC Bot
a91361eef0 chore: Publish crates 2022-02-17 12:53:25 +00:00
magic-akari
08c343b186
feat(es/lints): Allow using number as an error level (#3593) 2022-02-17 12:48:54 +00:00
SWC Bot
d38e6ba48e chore: Publish crates 2022-02-17 11:08:30 +00:00
OJ Kwon
5ed3f3a503
feat(cli): Initialize compile command (#3602) 2022-02-17 11:02:54 +00:00
SWC Bot
205fea6cce chore: Publish crates 2022-02-17 08:21:05 +00:00
Donny/강동윤
798ef13706
feat(api/rust): Improve error messages for wrong usages of scoped thread-local variables (#3606) 2022-02-17 08:11:46 +00:00
SWC Bot
03367f09c2 chore: Publish crates 2022-02-17 06:42:52 +00:00
Donny/강동윤
9df0d7c854
doc(swc_common): Document error reporting using HANDLER (#3605) 2022-02-17 06:40:50 +00:00
SWC Bot
aa10900235 chore: Publish crates 2022-02-17 06:13:48 +00:00
magic-akari
71a94b143e
fix(es/lints): Use kebab-case for configuration (#3590) 2022-02-17 06:11:43 +00:00
SWC Bot
4fb551144e chore: Publish crates 2022-02-17 05:44:05 +00:00
SWC Bot
eb59f2a51d chore: Publish crates 2022-02-17 05:18:22 +00:00
OJ Kwon
5061101999
build(swc): Bump the version of parking_lot (#3604) 2022-02-17 05:16:14 +00:00
SWC Bot
9e9d807722 chore: Publish crates 2022-02-17 04:38:52 +00:00
Alexander Akait
5420bccc59
fix(css): Fix recovery mode for functions (#3600) 2022-02-17 13:36:50 +09:00