Commit Graph

2465 Commits

Author SHA1 Message Date
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
Donny/강동윤
edc46ccf93 chore(crates): Use bot account for commiitter 2022-02-09 20:35:36 +09:00
SWC Bot
d72c0beccf chore: Publish crates 2022-02-09 20:32:33 +09:00
Donny/강동윤
c10cbc4eca chore(crates): Use bot account for publishing commits 2022-02-09 20:31:32 +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
Donny/강동윤
5e82640b42 chore: Publish crates 2022-02-09 13:57:21 +09:00
OJ Kwon
494b4c8203
feat(swc/plugin): Implement proxy for Mark::fresh (#3492) 2022-02-09 13:56:39 +09:00
magic-akari
fa0216d908
fix(es/modules): Hoist named exports (#3479) 2022-02-09 04:50:33 +00:00
Donny/강동윤
e8c15356e3 chore: Publish crates 2022-02-09 12:59:55 +09:00
Alexander Akait
48e5b903e2
feat(css/parser): Improve error recovery (#3486) 2022-02-09 03:49:59 +00:00
Alexander Akait
04782ae9f7
test(css/parser): Add tests from postcss (#3488) 2022-02-09 03:25:54 +00:00
Donny/강동윤
e9ceb57584 chore: Publish crates 2022-02-09 12:01:52 +09:00
RiESAEX
ff6eb272a0
fix(es/modules): Use correct StrKind after rewriting import path (#3489) 2022-02-09 12:01:22 +09:00
Donny/강동윤
12e52e171d chore: Publish v1.2.138 2022-02-09 02:10:54 +09:00
Donny/강동윤
c2a3b0d66c chore: Publish crates 2022-02-09 00:47:41 +09:00
Austaras
26565b1ae9
feat(es/parser): Disallow assignment to optional chaining expressions (#3483) 2022-02-08 12:51:26 +00:00
Donny/강동윤
cd81a6ba89 chore: Publish crates 2022-02-08 21:05:12 +09:00
Donny/강동윤
cf8aa05d9c
chore(repo): Configure kodiak (#3485) 2022-02-08 21:04:28 +09:00
Alexander Akait
dc939c65af
feat(css/ast): Add types for all dimensions (#3477) 2022-02-08 11:57:57 +00:00
Donny/강동윤
f8c62b6cac chore: Publish crates 2022-02-08 20:29:10 +09:00
Alexander Akait
fd5668c32f
feat(css): Add support for @property at-rule (#3470) 2022-02-08 11:27:54 +00:00
Donny/강동윤
8bf5cf4d03
chore(es): Fix clippy warnings (#3482) 2022-02-08 19:50:22 +09:00