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
Donny/강동윤
068a4087ca
chore(ci): Remove cargo-uttil
from dependency ( #3543 )
2022-02-12 18:18:24 +09:00
Donny/강동윤
3997e2f2c5
chore: Publish v1.2.139
2022-02-12 17:04:39 +09:00
SWC Bot
1f677fdfee
chore: Publish crates
2022-02-12 15:58:06 +09:00
Alexander Akait
547eba5e31
feat(css/parser): Implement more error recovery ( #3534 )
2022-02-12 15:57:44 +09:00
SWC Bot
5d1e2964fc
chore: Publish crates
2022-02-12 15:55:13 +09:00
Donny/강동윤
fbe91963bf
fix(plugin): Allow testing ( #3542 )
2022-02-12 15:53:41 +09:00
OJ Kwon
72b31977e4
doc(plugin): Fix install command ( #3541 )
2022-02-12 15:50:50 +09:00
SWC Bot
ccf9591dad
chore: Publish crates
2022-02-12 14:28:18 +09:00
Alexander Akait
cfb2248a2e
fix(css/ast): Use SimpleBlock
in more types ( #3535 )
2022-02-12 14:28:00 +09:00
SWC Bot
0633b34397
chore: Publish crates
2022-02-12 14:27:18 +09:00
OJ Kwon
05cf2e92e6
fix(cli): Update the plugin template for pinned dependencies ( #3538 )
2022-02-12 14:27:04 +09:00
SWC Bot
65efef2e74
chore: Publish crates
2022-02-12 14:25:32 +09:00
OJ Kwon
a4d914dab5
chore(build): Remove version pinning of parking_lot_core
( #3537 )
2022-02-12 14:24:49 +09:00
SWC Bot
6637543789
chore: Publish crates
2022-02-12 13:49:09 +09:00
OJ Kwon
6ed089e1cf
feat(cli): Add a command for scaffolding a new plugin ( #3536 )
2022-02-12 13:48:40 +09:00
SWC Bot
90d080c16b
chore: Publish crates
2022-02-12 01:37:50 +09:00
Alexander Akait
fcbc2ff03f
feat(css/parser): Implement more parser logic for nth selectors ( #3532 )
2022-02-11 14:07:08 +00:00
SWC Bot
9efe3c8489
chore: Publish crates
2022-02-11 22:32:15 +09:00
Alexander Akait
37c49e876c
refactor(css/ast): Unify SimpleBlock
and Block
completely ( #3531 )
2022-02-11 22:31:51 +09:00
Donny/강동윤
73e9185bba
test(es/minifier): Add snapshot testing for the analyzer ( #3529 )
2022-02-11 18:33:08 +09:00
SWC Bot
0780d892b3
chore: Publish crates
2022-02-11 17:46:34 +09:00
Donny/강동윤
a7f0e84bbf
feat(es/minifier): Drop useless assignments ( #3528 )
...
testing:
- Allow skipping diff using an environment variable `DIFF`.
swc_ecma_minifier:
- `pure`: Drop useless assignemnts.
2022-02-11 08:43:48 +00:00
Alexander Akait
57f6a581fa
refactor(css/ast): Unify SimpleBlock
and Block
( #3519 )
2022-02-11 03:58:26 +00:00
SWC Bot
61ab85dde4
chore: Publish crates
2022-02-11 12:33:41 +09:00
Alexander Akait
69cfe395c7
feat(css/minifier): Implement more rules ( #3522 )
2022-02-11 12:33:08 +09:00
SWC Bot
d065cb15bf
chore: Publish crates
2022-02-10 21:27:43 +09:00
Donny/강동윤
8dab3d92b1
perf(es/minifier): Remove useless operations like eager call to .span()
( #3512 )
...
swc_ecma_minifier:
- Merge variable for inlining.
- Remove useless call to `.span()`.
2022-02-10 12:00:41 +00:00
SWC Bot
67c508429a
chore: Publish crates
2022-02-10 20:27:33 +09:00
Alexander Akait
92a3cb9609
refactor(css/ast): Remove Tokens
in favor of Vec<TokenAndSpan>
( #3507 )
2022-02-10 11:25:19 +00:00
SWC Bot
2a609d2951
chore: Publish crates
2022-02-10 17:35:42 +09:00
Donny/강동윤
80ed69d67d
chore(build): Disable LTO for local builds ( #3514 )
2022-02-10 17:35:15 +09:00
Alexander Akait
2d997b3806
refactor(css/parser): Refactor code for error recovery ( #3508 )
2022-02-10 07:36:29 +00:00
SWC Bot
eb3401c3b2
chore: Publish crates
2022-02-10 16:05:48 +09:00
OJ Kwon
bc250262f2
feat(plugin): implement proxy for Mark
and SyntaxContext
( #3511 )
2022-02-10 06:57:42 +00:00
Alexander Akait
ebd71d565d
test(css/codegen): Add tests for multiple keyframe selectors ( #3509 )
2022-02-10 05:39:54 +00:00
SWC Bot
69181e822c
chore: Publish crates
2022-02-10 13:55:12 +09:00
Alexander Akait
4e124c7bca
refactor(css/parser): Refactor codes related to simple blocks ( #3506 )
2022-02-10 13:54:46 +09:00
William Tetlow
5488159ba5
feat(es/minifier): Implement reserved
mangle option ( #3476 )
2022-02-10 13:53:47 +09:00
SWC Bot
cc3b1dfd69
chore: Publish crates
2022-02-10 13:52:54 +09:00
Artur
205b76e78d
feat(es/lints): Implement no-use-before-define
rule ( #3456 )
2022-02-10 04:52:11 +00:00
Alexander Akait
8b438ea024
test(css/parser): Add some tests from postcss
( #3501 )
2022-02-09 14:41:28 +00:00
SWC Bot
df37b4472d
chore: Publish crates
2022-02-09 22:00:13 +09:00
Alexander Akait
cbe302b99d
feat(css): Support urange syntax ( #3491 )
2022-02-09 12:23:14 +00:00
SWC Bot
6c5ebbbbf8
chore: Publish crates
2022-02-09 20:37:38 +09:00
SWC Bot
d72c0beccf
chore: Publish crates
2022-02-09 20:32:33 +09:00
Donny/강동윤
8fbdbcd42f
chore: Publish crates
2022-02-09 20:28:02 +09:00
Artur
5bb6bd71b6
feat(es/lints): Implement dot-notation
rule ( #3481 )
2022-02-09 11:24:58 +00:00
Donny/강동윤
8dbc949cfe
chore: Publish crates
2022-02-09 19:43:50 +09:00
Alexander Akait
460f846934
refactor(css/ast): Rename types to match specification ( #3484 )
2022-02-09 19:43:15 +09:00
Donny/강동윤
9b76783281
refactor(common): Cleanup & rustfmt ( #3495 )
...
swc_common:
- Merge identical source codes.
swc_css_parser:
- Deny `clippy::all`.
- Fix lints.
2022-02-09 06:33:32 +00:00