Commit Graph

1098 Commits

Author SHA1 Message Date
Austaras
5b6beca1af
feat(es/compat): Use sequence expressions instead of iife in classes pass (#3773) 2022-03-01 16:10:57 +09:00
SWC Bot
1ef8f3749b chore: Publish crates 2022-03-01 06:30:55 +00:00
OJ Kwon
4d7048291f
feat(es/compat): Add tracing support for es2022 transforms (#3785) 2022-03-01 06:24:13 +00:00
SWC Bot
6819930b63 chore: Publish crates 2022-03-01 06:00:47 +00:00
Donny/강동윤
b485b5a1d5
fix(es/react): Fix logic for extracting refresh comments (#3796) 2022-03-01 05:58:40 +00:00
SWC Bot
b75a038706 chore: Publish crates 2022-03-01 14:22:55 +09:00
underfin
557a520a6d
feat(es/modules): Support system js (#3659) 2022-03-01 05:18:55 +00:00
SWC Bot
ea3f965407 chore: Publish crates 2022-03-01 04:56:41 +00:00
Denis Bezrukov
19b84e7723
feat(es/dep-graph): Add support for require.resolve (#3783) 2022-03-01 04:52:01 +00:00
SWC Bot
12321dfe7e chore: Publish crates 2022-03-01 04:28:42 +00:00
OJ Kwon
5ae907f6f2
fix(es/react): Catch refresh directives widely (#3791) 2022-03-01 04:26:37 +00:00
SWC Bot
cc12b674eb chore: Publish crates 2022-03-01 03:48:18 +00:00
OJ Kwon
bc60a6e90c
feat(plugin): Expose swc_ecma_quote (#3790) 2022-03-01 12:46:16 +09:00
SWC Bot
3c2f5dbd6c chore: Publish crates 2022-03-01 11:58:19 +09:00
SWC Bot
b1fbf5ae82 chore: Publish crates 2022-02-28 16:56:25 +00:00
Pig Fang
b8211da1c9
refactor(css/lints): Simplify error reporting API (#3781) 2022-02-28 16:54:01 +00:00
SWC Bot
bfc31c4bd1 chore: Publish crates 2022-02-28 16:33:26 +00:00
Donny/강동윤
73cab638a1
fix(es/minifier): Preserve unresolved references (#3780)
swc_ecma_minifier:
 - `pure`: Add an optional list of bindings.
 - `pure`: Drop identifier only if we have the complete list of bindings.
 - `pure`: Allow using `GLOBALS`.
 - `pure`: Drop some pure member expressions.
 - Move identifier dropping logic from the stateful optimizer to the pure optimizer.
 - `pure`: Drop more references to global declarations.
2022-02-28 16:31:13 +00:00
SWC Bot
a26edd2b0f chore: Publish crates 2022-02-28 13:53:22 +00:00
Donny/강동윤
86072b57f9
test(es/minifier): Prepare porting more rules from terser (#3779) 2022-02-28 13:49:10 +00:00
SWC Bot
1d0c5f600b chore: Publish crates 2022-02-28 13:01:51 +00:00
Donny/강동윤
714e05e553
feat(es/minifier): Consider arguments while dropping unused assignments (#3775)
swc_ecma_minifier:
 - `analyze`: Track usage of `arguments`.
2022-02-28 21:57:09 +09:00
Alexander Akait
189707a1fd
test(css/parser): Add css files for material design (#3777) 2022-02-28 21:17:50 +09:00
SWC Bot
ca10ae1cd7 chore: Publish crates 2022-02-28 12:09:30 +00:00
Donny/강동윤
cfc036381a
fix(es/minifier): Fix inlining logic (#3776)
swc_ecma_minifier:
 - Make `inline_vars_in_node` use `MultiReplacer`.
2022-02-28 12:07:12 +00:00
SWC Bot
f81e9bf208 chore: Publish crates 2022-02-28 11:18:36 +00:00
Donny/강동윤
e3c374b53b
feat(es/quote): Support variables (#3774) 2022-02-28 10:44:06 +00:00
Alexander Akait
1651bccf45
test(css/parser): Add tests for selectors (#3770)
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2022-02-28 08:26:23 +00:00
SWC Bot
ba3fdad025 chore: Publish crates 2022-02-28 07:43:17 +00:00
Donny/강동윤
e7f7f69db4
fix(es/minifier): Disable some operations for asm.js codes (#3572) 2022-02-28 07:40:04 +00:00
Donny/강동윤
3798436201
chore: Update rustc (#3768) 2022-02-28 16:12:28 +09:00
SWC Bot
a38c8b1ca2 chore: Publish crates 2022-02-28 06:28:54 +00:00
Alexander Akait
500d62c085
feat(css/minifier): Convert more length (#3769) 2022-02-28 06:26:33 +00:00
SWC Bot
344723e80a chore: Publish crates 2022-02-27 16:40:50 +00:00
magic-akari
5f3f9ef033
fix(es/typescript): Transform this in TypeScript classes (#3764) 2022-02-27 16:38:41 +00:00
SWC Bot
34836ff052 chore: Publish crates 2022-02-27 16:19:14 +00:00
Austaras
11bf29f44b
fix(es/compat): Initialize class fields as a last step (#3767) 2022-02-27 16:17:14 +00:00
Pig Fang
66c6cae8dc
feat(css/lints): Add CSS linter (#3765) 2022-02-27 15:31:19 +00:00
SWC Bot
e475a83ebc chore: Publish crates 2022-02-27 14:54:36 +00:00
Alexander Akait
815a489dcf
refactor(css/ast): Simplify AST types (#3753) 2022-02-27 14:52:32 +00:00
Donny/강동윤
fe0ddcc54b
feat(es/quote): Implement quasi quoter partially (#3155) 2022-02-27 13:21:38 +00:00
SWC Bot
cc2b753895 chore: Publish crates 2022-02-27 10:01:46 +00:00
magic-akari
ad0a8539e0
feat(es/module): Workaround stack overflow bug of JavaScriptCore related to too many exports (#3763) 2022-02-27 09:59:40 +00:00
SWC Bot
a41aa33b05 chore: Publish crates 2022-02-27 09:40:33 +00:00
magic-akari
8ed4d2fcac
feat(es/compat): Optimize handling of literals in computed property names (#3756) 2022-02-27 18:38:26 +09:00
Donny/강동윤
ded7a8e0a9 chore: Publish v1.2.146 2022-02-27 16:19:54 +09:00
Pig Fang
9f90882b27
test(css/parser): Add malformed hex color tests (#3762) 2022-02-27 07:16:35 +00:00
SWC Bot
752edf80bc chore: Publish crates 2022-02-27 06:54:13 +00:00
magic-akari
f5a3647364
fix(es/typescript): Allow empty nested namespaces (#3754)
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2022-02-27 06:52:17 +00:00
William Tetlow
abc0572557
fix(es/parser) Throw a syntax error for const without initializer in strict mode (#3742)
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2022-02-27 06:25:05 +00:00