Commit Graph

2447 Commits

Author SHA1 Message Date
Alexander Akait
9f3806029c
fix(css): Fix @supports at-rule (#3329) 2022-01-21 22:32:49 +09:00
Donny
4ee4672e4d chore: Publish crates 2022-01-21 14:01:51 +09:00
Donny/강동윤
d52a1f3899
fix(es/minifier): Don't inline a var if the initializer is reassigned (#3333)
swc_ecma_minifier:
 - Consider reassignment to initializer while inlining a variable.
2022-01-21 14:01:20 +09:00
Donny
29985df91d chore: Publish crates 2022-01-21 11:46:07 +09:00
Alexander Akait
f89ffa67ae
fix(css): Fix @keyframes at-rule (#3331) 2022-01-21 01:55:49 +00:00
Donny
846a91e14c chore: Publish crates 2022-01-21 10:25:41 +09:00
Donny/강동윤
4f23d651d1
fix(es/minifier): Consider capturing while inlining (#3322)
swc_ecma_minifier:
 - Don't inline functions if it captures the environment.
2022-01-21 10:24:41 +09:00
Donny
57e79b6fce chore: Publish crates 2022-01-21 10:03:21 +09:00
Alexander Akait
34943ffa15
fix(css): Fix the type definition of @support at-rules (#3330) 2022-01-21 00:57:29 +00:00
Donny
af53b9487f chore: Publish crates 2022-01-20 23:57:38 +09:00
magic-akari
6d1ad368ac
fix(es/compat): Fix regression of destructuring (#3326) 2022-01-20 14:46:58 +00:00
Donny
2cc852a0b5 chore: Publish crates 2022-01-20 23:19:23 +09:00
Alexander Akait
506a31078a
fix(css/parser): Fix parsing of at rules (#3328) 2022-01-20 14:15:36 +00:00
LongYinan
8a76935ca2
perf(node): Avoid cloning options (#3325) 2022-01-20 10:47:37 +00:00
Donny
faacce3246 chore: Publish crates 2022-01-20 18:34:36 +09:00
Donny
848e9c8b8a chore: Publish v1.2.133 2022-01-20 17:13:10 +09:00
LongYinan
c069c78b21
build(node-swc): Fix Windows arm64 build OOM (#3324) 2022-01-20 17:11:56 +09:00
Donny
e2424af430 chore: Publish crates 2022-01-20 16:10:32 +09:00
Donny
f62e6312d5 chore: Publish crates 2022-01-20 16:07:42 +09:00
Donny/강동윤
57204e39cd
fix(es/minifier): Don't inline functions used as arguments (#3320)
swc_ecma_minifier:
 - Preserve a variable initialized with a function expression if it's used as an argument.
2022-01-20 16:06:23 +09:00
Donny
041bf00362 chore(rustc): Downgrade rustc 2022-01-20 13:53:19 +09:00
Donny
e0c362b978 chore: Publish v1.2.132 2022-01-20 12:04:05 +09:00
Donny
cb50328d85 chore: Publish crates 2022-01-20 11:58:57 +09:00
Alexander Akait
0723ee2828
fix(css): Fix parsing of media queries (#3318)
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2022-01-20 02:57:24 +00:00
LongYinan
9608605772
build(node-swc): Fix GLIBC < 2.18 compatible issues and android arm binary loading issue (#3314) 2022-01-20 02:21:24 +00:00
Donny
1bd01b4829 chore: Publish crates 2022-01-20 10:34:54 +09:00
David Campion
5af79f634b
doc(repo): Update contributing docs (#3298) 2022-01-20 10:08:28 +09:00
Donny
ca2598391c chore: Publish v1.2.131 2022-01-19 23:33:01 +09:00
Donny
11aac9b89f chore: Publish crates 2022-01-19 23:17:46 +09:00
Donny/강동윤
b4d21bf077
fix(es/minifier): Prevent infinite loop due to negation (#3310)
swc_ecma_minifier:
 - Don't mark as modified while negating.
2022-01-19 23:17:17 +09:00
Donny
70ce6a0e32 chore: Publish crates 2022-01-19 23:12:32 +09:00
Austaras
9e636c7e58
refactor(es): Add visit_obj_and_computed macro (#3304) 2022-01-19 23:11:52 +09:00
Donny
b4f268fa23 chore: Publish crates 2022-01-19 17:39:58 +09:00
Donny/강동윤
1aa494b1c0
fix(es/minifier): Fix logic for checking arguments (#3313)
swc_ecma_minifier:
 - Don't mark `arguments` in nested scope as a inline blocker.
2022-01-19 17:39:24 +09:00
Donny
4966af8273 chore: Publish crates 2022-01-19 16:38:33 +09:00
Donny/강동윤
289122009b
refactor(es/minifier): Fix clippy warnings (#3312) 2022-01-19 16:37:55 +09:00
OJ Kwon
7ba8a83881
test(plugin/runner): Pin dependencies for the integration test (#3306) 2022-01-19 05:01:45 +00:00
Donny
173a3a2ac9 chore: Publish crates 2022-01-19 13:25:21 +09:00
Donny/강동윤
18cd98e54c
doc(swc): Document typescript::strip (#3305) 2022-01-19 13:24:35 +09:00
Donny
dca1c919c2 chore: Publish crates 2022-01-18 20:52:56 +09:00
Donny/강동윤
8e796cdc0a
fix(es/minifier): Don't emit invalid code (#3302)
swc_ecma_minifier:
 - Add lots of debug assertions for invalid codes.
 - Remove all invalid AST nodes eagerly.
 - `pure`: Normalize `PatOrExpr`.
 - `analyzer`: Handle `PatOrExpr` correctly.
2022-01-18 20:52:21 +09:00
Donny
1e4bf76c2b chore: Publish crates 2022-01-18 16:46:13 +09:00
Donny/강동윤
210ecf83bb
feat(es/minifier): Drop more expressions from parallel optimizer (#3303)
swc_ecma_minifier:
 - `pure`: Implement more rule for dropping useless expressions.
2022-01-18 16:45:47 +09:00
Donny
cea7d21ca4 chore: Publish crates 2022-01-18 12:52:37 +09:00
Donny/강동윤
18a11d7c8f
fix(es/minifier): Remove more side-effect-free expressions. (#3301)
swc_ecam_minifier:
- `pure`: Drop more binary expressions.
- `pure`: Drop more literals.
2022-01-18 12:51:31 +09:00
Donny
3d7d96588e chore: Publish crates 2022-01-18 12:26:37 +09:00
OJ Kwon
c6ffdc8717
feat(plugin): Add PluginError (#3300) 2022-01-18 12:26:04 +09:00
Donny
5a08327784 chore: Publish crates 2022-01-18 11:30:19 +09:00
asquared31415
641265b147
fix(common): Use siphasher directly and upgrade transitive dependencies to avoid UB (#3299) 2022-01-18 11:29:53 +09:00
Donny
d7964dd547 chore: Publish crates 2022-01-17 22:42:52 +09:00