Commit Graph

3105 Commits

Author SHA1 Message Date
William Tetlow
782a874696
fix(es/transform/optimization): Prevent inlining of vars used as RHS in logical expressions (#3907) 2022-03-07 20:18:48 +00:00
SWC Bot
a64473dc34 chore: Publish crates 2022-03-07 19:42:40 +00:00
Alexander Akait
3a9af73167
refactor(css/parser): Remove unused codes (#3903) 2022-03-07 19:40:44 +00:00
SWC Bot
bf9e8d716c chore: Publish crates 2022-03-07 19:20:40 +00:00
OJ Kwon
bd0a9214c3
feat(es/compat): Add tracing support to remaining compat transforms (#3904) 2022-03-07 19:18:48 +00:00
SWC Bot
c6e2abf340 chore: Publish crates 2022-03-07 17:02:10 +00:00
Donny/강동윤
43878137e7
perf(es/parser): Improve performance by adjusting inlining (#3902) 2022-03-07 17:00:25 +00:00
SWC Bot
87c399fc9d chore: Publish crates 2022-03-07 16:35:40 +00:00
Alexander Akait
6f781c3b43
feat(css/parser): Improve error recovery (#3901) 2022-03-07 16:33:35 +00:00
SWC Bot
b2eae2d539 chore: Publish crates 2022-03-07 10:55:48 +00:00
magic-akari
372f298f5f
feat(common): Align stable_hasher to latest rustc (#3895) 2022-03-07 10:53:54 +00:00
SWC Bot
e7e2fe148a chore: Publish crates 2022-03-07 10:36:36 +00:00
Austaras
5c92b2d4ce
fix(es/typescript): Remove imports used in interfaces and type signatures (#3893) 2022-03-07 19:34:34 +09:00
Donny/강동윤
7f6fc0ce2d chore: Publish v1.2.151 2022-03-07 18:21:31 +09:00
Donny/강동윤
8e30d83d14
fix(es/module): Revert fix for jest.spyOn 2022-03-07 18:21:14 +09:00
SWC Bot
72ea33f796 chore: Publish crates 2022-03-07 05:51:34 +00:00
magic-akari
0181fbe63b
feat(es/lints): Support module/script mode in duplicate_bindings (#3880)
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2022-03-07 05:49:39 +00:00
SWC Bot
c7d21da458 chore: Publish crates 2022-03-07 05:25:26 +00:00
Donny/강동윤
a47eed7241
perf(es/minifier): Add a fast-path to export merger (#3891) 2022-03-07 14:21:57 +09:00
SWC Bot
70896b5ba6 chore: Publish crates 2022-03-07 04:20:34 +00:00
Artur
3e8efacf3a
perf(es/lints): Extract top level bindings only if the rule is enabled (#3889) 2022-03-07 04:18:37 +00:00
SWC Bot
484b3af527 chore: Publish crates 2022-03-07 03:53:55 +00:00
Austaras
9dd0105c5b
feat(es/fixer): Remove extra parens around iife in expression position (#3887) 2022-03-07 03:51:57 +00:00
SWC Bot
530c308d93 chore: Publish crates 2022-03-07 03:09:18 +00:00
Austaras
cb93883232
feat(es/compat): Enable set_public_method for TypeScript (#3884) 2022-03-07 12:07:23 +09:00
Donny/강동윤
584bf05662 chore: Publish v1.2.150 2022-03-06 23:36:00 +09:00
SWC Bot
56773a4cc8 chore: Publish crates 2022-03-06 14:35:19 +00:00
Donny/강동윤
aea59b844c
fix(es/parser): Fix parsing of const in ambient context (#3883) 2022-03-06 14:33:14 +00:00
SWC Bot
cc84e9595e chore: Publish crates 2022-03-06 12:36:47 +00:00
Donny/강동윤
a65755fd9a
fix(es/module): Fix jsc.paths (#3879) 2022-03-06 12:33:48 +00:00
SWC Bot
97bec0dd05 chore: Publish crates 2022-03-06 20:07:58 +09:00
Donny/강동윤
17c7a5cd60 chore: Publish v1.2.149 2022-03-06 18:24:43 +09:00
SWC Bot
34e6f6f7ac chore: Publish crates 2022-03-06 09:22:43 +00:00
Philip Craig
3b04789a57
perf(es/ast): Implement Clone without inline for some enums (#3878) 2022-03-06 09:12:23 +00:00
SWC Bot
308d1b42ee chore: Publish crates 2022-03-06 05:04:57 +00:00
Donny/강동윤
6a005fc15a
fix(es/module): Visit the value of class properties (#3877) 2022-03-06 14:03:08 +09:00
SWC Bot
ac9c1246e7 chore: Publish crates 2022-03-06 02:28:57 +00:00
Donny/강동윤
8d3c9d39f0
test(es): Add tests for fixed issues (#3875)
**Description:**

Adds tests for fixed issues.
This commit modifies one type because the previous type makes transform flaky.

**BREAKING CHANGE:**

To preserve order, the type `swc::Paths` is now `IndexMap` instead of `HashMap`.
2022-03-06 02:27:08 +00:00
SWC Bot
d524cc3c5b chore: Publish crates 2022-03-05 21:58:19 +00:00
Donny/강동윤
2605e132e6
test(es): Add tests for fixed issues (#3874) 2022-03-05 21:56:34 +00:00
SWC Bot
cd06b0d354 chore: Publish crates 2022-03-05 21:05:53 +00:00
Donny/강동윤
0ab32639a1
test(es): Add a test for a fixed issue (#3873) 2022-03-05 21:04:05 +00:00
SWC Bot
04d77cab2f chore: Publish crates 2022-03-05 20:20:43 +00:00
Donny/강동윤
a2643608a7
feat(es/minifier): Implement pure_getters partially (#3872) 2022-03-05 20:18:52 +00:00
SWC Bot
94d9416ca8 chore: Publish crates 2022-03-05 19:54:29 +00:00
magic-akari
f7571630ca
fix(es/parser): Allow await in non-strict mode (#3871) 2022-03-05 19:52:45 +00:00
SWC Bot
fd453b9170 chore: Publish crates 2022-03-05 19:34:45 +00:00
magic-akari
c7f2bdb813
feat(es/compat): Implement loose mode for async_to_generator (#3870) 2022-03-05 19:32:59 +00:00
SWC Bot
18658fd501 chore: Publish crates 2022-03-05 18:33:44 +00:00
Pig Fang
dc0de58a46
feat(css/lints): Allow using regex in ignore list (#3855) 2022-03-05 18:31:52 +00:00