Commit Graph

2991 Commits

Author SHA1 Message Date
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
SWC Bot
3034e355ed chore: Publish crates 2022-03-05 17:31:09 +00:00
magic-akari
d10e66285b
fix(es/lints): Ignore identifiers used as types while checking for duplicate bindings (#3869) 2022-03-06 02:29:21 +09:00
SWC Bot
2fdc5f625d chore: Publish crates 2022-03-05 14:52:49 +00:00
Austaras
26abc6ba7e
refactor(es/ast): Remove useless fields in private property (#3868) 2022-03-05 23:51:04 +09:00
SWC Bot
faf452dbfa chore: Publish crates 2022-03-05 12:26:37 +00:00
Donny/강동윤
44262508c6
fix(es/parser): Use unicode id instead of xid (#3867) 2022-03-05 12:24:45 +00:00
SWC Bot
4c4dc6f096 chore: Publish crates 2022-03-05 12:00:25 +00:00
Alexander Akait
c84bf133a6
feat(css): Improve error recovery (#3853) 2022-03-05 11:58:40 +00:00
SWC Bot
81b2e6153e chore: Publish crates 2022-03-05 10:03:49 +00:00
Donny/강동윤
e70c9d8f22
fix(es/minifier): Don't remove comments if compress is not configured (#3866) 2022-03-05 10:01:55 +00:00
SWC Bot
d9fd79db86 chore: Publish crates 2022-03-05 08:21:19 +00:00
Donny/강동윤
8400708768
test(swc): Use external helpers for reference testing (#3865) 2022-03-05 08:19:33 +00:00
SWC Bot
3de647a50a chore: Publish crates 2022-03-05 07:58:10 +00:00
Guillaume Malette
1f70fa6e08
feat(es/module/cjs): Support regex-based patterns for lazy config (#3704) 2022-03-05 07:56:18 +00:00