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
Alexander Akait
b01916531f
test(css/codegen): Add tests for custom properties in at-rules ( #3596 )
2022-02-16 16:31:07 +00:00
SWC Bot
c6757dafec
chore: Publish crates
2022-02-16 15:32:46 +00:00
Austaras
31917417e9
fix(es/compat): Handle super
and new.target
in class properties ( #3594 )
2022-02-16 15:29:20 +00:00
SWC Bot
0d6e46167f
chore: Publish crates
2022-02-16 13:51:10 +00:00
Alexander Akait
a20ed34e6b
feat(css/ast): Use SimpleBlock
for @keyframe
s ( #3577 )
2022-02-16 13:49:00 +00:00
Donny/강동윤
a2f9c88b62
test(es/parser): Add a test for #2417 ( #3588 )
2022-02-16 12:34:25 +00:00
Donny/강동윤
f469e653f8
test(es/typescript): Add a test for #2670 ( #3589 )
2022-02-16 21:02:40 +09:00
Donny/강동윤
038e7f8669
test(es/modules): Add a test for a fixed issue ( #3586 )
2022-02-16 11:39:08 +00:00
SWC Bot
d4cac369b0
chore: Publish crates
2022-02-16 11:10:00 +00:00
magic-akari
3e29b73a2a
feat(es/lints): Implement no-dupe-args
rule ( #3574 )
2022-02-16 11:07:42 +00:00
SWC Bot
d77c090b27
chore: Publish crates
2022-02-16 10:12:20 +00:00
SWC Bot
2ab99c7404
chore: Publish crates
2022-02-16 09:44:50 +00:00
William Tetlow
df69930c7f
fix(es): Pass FileName::Custom
to plugins ( #3578 )
2022-02-16 18:36:32 +09:00
Donny/강동윤
258b5849e2
chore: Publish v1.2.141
2022-02-16 16:31:46 +09:00
SWC Bot
895f39f1ae
chore: Publish crates
2022-02-16 06:00:55 +00:00
Alexander Akait
803499c5be
feat(css/minifier): Compress contents of @keyframes
at-rule ( #3579 )
2022-02-16 14:50:53 +09:00
SWC Bot
dfb4da259f
chore: Publish crates
2022-02-16 14:48:59 +09:00
OJ Kwon
88e07b21d1
refactor(plugin): Remove direct dependency to once_cell
( #3582 )
2022-02-16 14:43:25 +09:00
SWC Bot
7a173af447
chore: Publish crates
2022-02-16 14:19:25 +09:00
Donny/강동윤
786d016174
fix(es/lints): Fix duplicate-bindings
for typescript ( #3583 )
2022-02-16 05:00:55 +00:00
SWC Bot
60ffd039d9
chore: Publish crates
2022-02-16 12:40:38 +09:00
Alexander Akait
e97074b6c3
feat(css/ast): Use SimpleBlock
in more places ( #3575 )
2022-02-16 12:40:16 +09:00
SWC Bot
ab86b8f2e9
chore: Publish crates
2022-02-15 21:39:36 +09:00
Donny/강동윤
a582f1f954
chore: Publish v1.2.140
2022-02-15 20:23:44 +09:00
SWC Bot
a5ae6806c3
chore: Publish crates
2022-02-15 17:05:01 +09:00
OJ Kwon
a96217feaa
feat(plugin): Add PluginContext
( #3568 )
2022-02-15 08:03:17 +00:00
SWC Bot
a5b3dd815b
chore: Publish crates
2022-02-15 16:30:56 +09:00
Donny/강동윤
bfc9897e34
fix(es/minifier): Disable name mangler if eval
is used ( #3526 )
2022-02-15 07:29:45 +00:00
SWC Bot
a53420bda8
chore: Publish crates
2022-02-15 15:44:02 +09:00
Austaras
f67796a962
fix(es/utils): Keep arguments to super
call ( #3570 )
2022-02-15 15:42:40 +09:00
SWC Bot
7351ec2477
chore: Publish crates
2022-02-15 13:22:16 +09:00
Austaras
0f7a99787f
feat(es/compat): Add loose mode for classes
( #3474 )
2022-02-15 04:02:08 +00:00
SWC Bot
3b7e594bc7
chore: Publish crates
2022-02-15 12:40:39 +09:00
Alexander Akait
3399702b73
feat(css/ast): Use SimpleBlock
for @document
at-rule ( #3564 )
2022-02-15 03:33:54 +00:00
SWC Bot
c624fed604
chore: Publish crates
2022-02-15 12:05:43 +09:00
OJ Kwon
d6477a76cf
feat(plugin/runner): Improve resolver support for npm ( #3566 )
2022-02-15 12:05:09 +09:00
OJ Kwon
ad6f24ad83
build(*): Dedupe once_cell
( #3567 )
2022-02-15 11:58:44 +09:00
SWC Bot
49a87471fd
chore: Publish crates
2022-02-15 04:57:59 +09:00
Artur
f9fda2743c
feat(es/lints): Implement no-empty-pattern
rule ( #3550 )
2022-02-14 17:55:52 +00:00
SWC Bot
63ccf04edf
chore: Publish crates
2022-02-15 01:40:18 +09:00
Alexander Akait
08dd695c67
test(css/codegen): Add tests ( #3563 )
2022-02-15 01:22:36 +09:00
SWC Bot
85d7e92640
chore: Publish crates
2022-02-14 22:48:04 +09:00
Alexander Akait
aed622be2f
refactor(css/ast): Rename tokens to match spec ( #3553 )
2022-02-14 13:05:16 +00:00
SWC Bot
d7c5ff48f4
chore: Publish crates
2022-02-14 18:16:06 +09:00
Austaras
0b162102fa
fix(es/compat): Fix handling of constructor in classes
( #3505 )
...
swc_ecma_transforms_compat:
- Use `SuperFieldAccessFolder` for `super` fields in constructors.
- Fix handling of variables in constructors with the same name as the class name.
- Fix handling of functions in constructors with this/super.
2022-02-14 18:14:55 +09:00
SWC Bot
2830438663
chore: Publish crates
2022-02-14 17:38:14 +09:00
Alexander Akait
d5aee470cb
refactor(css/parser): Remove parse_values
, which is not used ( #3552 )
2022-02-14 08:34:26 +00:00
SWC Bot
de26b88ff6
chore: Publish crates
2022-02-14 16:52:51 +09:00
Alexander Akait
f252dfb885
test(css/parser): Add a test for a custom function name ( #3554 )
2022-02-14 07:32:07 +00:00
SWC Bot
23544925e5
chore: Publish crates
2022-02-14 15:47:54 +09:00
Donny/강동윤
ac1d4058f2
fix(es/minifier): Fix analyzer ( #3557 )
...
swc_ecma_utils:
- `collect_decls`: Support paramters of arrow expressions.
swc_ecma_minifier:
- `analyzer`: Fix `has_property_mutation`.
2022-02-14 15:47:16 +09:00
SWC Bot
ac9c86f8b9
chore: Publish crates
2022-02-14 15:45:04 +09:00
Austaras
45b44b088c
fix(es/compat): Handle arrow parameters in class fields ( #3556 )
2022-02-14 15:44:33 +09:00
SWC Bot
c79f19855a
chore: Publish crates
2022-02-14 15:19:53 +09:00
Alexander Akait
b311aced89
feat(css/ast): Use correct type for calc
( #3549 )
2022-02-14 06:19:02 +00:00
SWC Bot
0570913ec8
chore: Publish crates
2022-02-14 14:42:19 +09:00
Austaras
f1c7394d10
fix(es/compat): Apply new.target
before classes
( #3555 )
2022-02-14 14:41:43 +09:00
SWC Bot
6a74aeecc1
chore: Publish crates
2022-02-14 01:32:16 +09:00
Artur
8d92050f55
feat(es/lints): Implement eqeqeq
rule ( #3513 )
2022-02-13 16:31:48 +00:00
SWC Bot
2a6b7fd4c5
chore: Publish crates
2022-02-14 01:01:02 +09:00
Alexander Akait
da36e90d1e
feat(css/ast): Add ;
to delimiters ( #3551 )
2022-02-14 01:00:38 +09:00
SWC Bot
b30586ba7a
chore: Publish crates
2022-02-13 15:01:25 +09:00
RiESAEX
6d132ca076
perf(es/optimization): Replace map_with_mut
with proper implementation ( #3539 )
2022-02-13 15:00:26 +09:00
SWC Bot
da77104db2
chore: Publish crates
2022-02-13 13:58:05 +09:00
Artur
286b6c804f
feat(es/lints): Add allow
config for no-console
rule ( #3517 )
2022-02-13 13:57:39 +09:00
SWC Bot
83274c8159
chore: Publish crates
2022-02-13 04:34:36 +09:00
magic-akari
342c320bfa
fix(es/compat): Fix destructing of const
( #3545 )
2022-02-13 04:34:06 +09:00
Donny/강동윤
3fc16cdc1c
doc(plugin): Fix typo ( #3547 )
2022-02-13 01:16:52 +09:00
SWC Bot
b5a5f2b624
chore: Publish crates
2022-02-12 21:46:16 +09:00
Artur
af8200647b
feat(es/lints): Add this handling support to no-alert
rule ( #3515 )
2022-02-12 21:45:56 +09:00
SWC Bot
b3a55dbb4e
chore: Publish crates
2022-02-12 21:45:18 +09:00
magic-akari
5802b62e34
fix(es/compat): Allow destructuring assignment to an object property ( #3544 )
2022-02-12 21:43:51 +09:00
SWC Bot
c8b026fe0c
chore: Publish crates
2022-02-12 19:57:21 +09:00