Commit Graph

1125 Commits

Author SHA1 Message Date
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
SWC Bot
3c85a82052 chore: Publish crates 2022-02-27 05:20:28 +00:00
Alexander Akait
91cf965e07
feat(css/ast): Improve type definitions for unicode ranges (#3757) 2022-02-27 14:16:22 +09:00
SWC Bot
66f00bef88 chore: Publish crates 2022-02-27 04:57:22 +00:00
Denis Bezrukov
7de7ecaa85
feat(es/dep-graph): Add TsImportEqualsDecl for DependencyCollector (#3758) 2022-02-27 04:55:28 +00:00
SWC Bot
4fe874dd77 chore: Publish crates 2022-02-26 15:11:21 +00:00
Austaras
14155eb0e7
feat(es/compat): Implement loose mode for class_properties (#3722) 2022-02-27 00:09:02 +09:00
SWC Bot
d23e19abe9 chore: Publish crates 2022-02-26 13:57:28 +00:00
Alexander Akait
f258ee4729
fix(css): Fix processing of integers (#3752) 2022-02-26 13:51:59 +00:00
SWC Bot
8b08499786 chore: Publish crates 2022-02-26 07:07:24 +00:00
Donny/강동윤
0fd4fd2422
feat(es/codegen): Add sourcemap entry for injected semicolons (#3750) 2022-02-26 07:05:31 +00:00
SWC Bot
0062b1bdd1 chore: Publish crates 2022-02-26 06:43:07 +00:00
Donny/강동윤
3d944656bf
refactor(es): Make compilation faster (#3749) 2022-02-26 06:41:14 +00:00
SWC Bot
a8a5ca2376 chore: Publish crates 2022-02-26 03:34:57 +00:00
OJ Kwon
41f92d228b
feat(cli): Add tracing options for compile command (#3746) 2022-02-26 03:32:46 +00:00
SWC Bot
2ab150c603 chore: Publish crates 2022-02-26 12:11:27 +09:00
SWC Bot
faeafbecb8 chore: Publish crates 2022-02-26 00:31:21 +00:00
Donny/강동윤
47ccff8a7c
feat(es/parser): Provide more api for reducing binary size (#3747) 2022-02-26 09:29:05 +09:00
SWC Bot
f5109ba5d5 chore: Publish crates 2022-02-25 20:58:56 +00:00
Donny/강동윤
b0b5d5d0c2
feat(visit): Allow using ?Sized as visitor (#3745) 2022-02-25 20:56:51 +00:00
SWC Bot
97a74692d6 chore: Publish crates 2022-02-25 20:30:35 +00:00
OJ Kwon
5c29f15640
feat(plugin): Support tracing plugin execution (#3744) 2022-02-25 20:28:17 +00:00
SWC Bot
9a4e961b2b chore: Publish crates 2022-02-25 19:50:18 +00:00
Donny/강동윤
1094018153
perf(es/modules): Reduce usage of generics (#3743) 2022-02-25 19:46:46 +00:00
SWC Bot
f1818f7be2 chore: Publish crates 2022-02-25 18:03:52 +00:00
Alexander Akait
9b92eba636
feat(css/ast): Allow more syntax for @supports at-rule (#3740) 2022-02-25 18:01:38 +00:00
SWC Bot
94bc8a634b chore: Publish crates 2022-02-25 14:03:50 +00:00
Donny/강동윤
b4830b61dc
feat(macros): Add #[swc_trace] (#3738) 2022-02-25 14:01:33 +00:00
SWC Bot
17e77da5c6 chore: Publish crates 2022-02-25 13:42:23 +00:00
William Tetlow
dba90eae87
fix(es/codegen): Fix escaping of unicodes in es5 (#3636) 2022-02-25 13:15:14 +00:00
SWC Bot
233e5d2a73 chore: Publish crates 2022-02-25 12:52:25 +00:00
William Tetlow
342dccce47
fix(es/parser): Handle trailing comma and bracket after an arrow function in conditional (#3685) 2022-02-25 12:50:04 +00:00
SWC Bot
70034af7b9 chore: Publish crates 2022-02-25 06:52:15 +00:00
Donny/강동윤
fd223793e8
refactor(es/transforms): Use recommended ast apis (#3735) 2022-02-25 06:50:19 +00:00
SWC Bot
8f1aef47d4 chore: Publish crates 2022-02-25 06:10:45 +00:00
Austaras
05de029cfa
fix(es/compat): Fix handling of private getters and setters (#3695) 2022-02-25 06:08:35 +00:00
SWC Bot
25b54ae7a8 chore: Publish crates 2022-02-25 04:08:59 +00:00
OJ Kwon
a454996314
feat(node-swc): Add experimental trace support in @swc/core (#3731) 2022-02-25 04:06:45 +00:00
Bryan Lee
72c9e6ca2b
fix(es/helpers): Cast the result of the instanceof helper to boolean (#3728)
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2022-02-25 03:22:40 +00:00
SWC Bot
f5d2f00afe chore: Publish crates 2022-02-25 02:33:30 +00:00
OJ Kwon
d8b01660dc
fix(plugin/macro): Do not free guest memory twice (#3732) 2022-02-25 02:31:22 +00:00
SWC Bot
edc3702e5a chore: Publish crates 2022-02-25 02:07:42 +00:00
Alexander Akait
f5c5e77612
feat(css/ast): Support more selectors (#3729) 2022-02-25 02:05:12 +00:00
SWC Bot
ba49a09deb chore: Publish crates 2022-02-25 10:25:13 +09:00
SWC Bot
118801e5e0 chore: Publish crates 2022-02-24 13:39:16 +00:00
Donny/강동윤
e21579d84e
perf(es/parser): Reduce usage of generics to reduce binary size (#3726) 2022-02-24 13:36:37 +00:00
SWC Bot
a429ae5de1 chore: Publish crates 2022-02-24 13:07:30 +00:00
Alexander Akait
8512719e12
feat(css/minifier): Compress display (#3706) 2022-02-24 22:04:10 +09:00
SWC Bot
e50291ec1c chore: Publish crates 2022-02-24 22:02:56 +09:00
Donny/강동윤
c677593dba chore: Publish v1.2.145 2022-02-24 18:55:13 +09:00
SWC Bot
8c94ea9fc5 chore: Publish crates 2022-02-24 09:22:18 +00:00
magic-akari
1743302819
feat(es/typescript): Inline typescript enums (#3647) 2022-02-24 09:19:49 +00:00
SWC Bot
0bda2513bd chore: Publish crates 2022-02-24 08:49:47 +00:00
Donny/강동윤
b8b0c920e4
fix(es/codegen): Fix sourcemap of comments (#3723) 2022-02-24 08:47:20 +00:00
SWC Bot
2ab88b5556 chore: Publish crates 2022-02-24 08:24:51 +00:00
magic-akari
1761cab6ff
fix(es/typescript): Support heterogeneous enums (#3721) 2022-02-24 17:20:18 +09:00
SWC Bot
fb561123c7 chore: Publish crates 2022-02-24 07:32:19 +00:00
Donny/강동윤
8b87bb4870
fix(es/parser): Don't attach comments to ; (#3720) 2022-02-24 07:23:53 +00:00
SWC Bot
c2b1e710a3 chore: Publish crates 2022-02-24 05:38:23 +00:00
Alexander Akait
bff04b4afe
feat(css/minifier): Compress alpha of values (#3707) 2022-02-24 05:35:54 +00:00
SWC Bot
d0a9295ba2 chore: Publish crates 2022-02-24 04:38:20 +00:00
David Sherret
4318a2e73b
fix(es/parser): Fix the span of an export declaration containing a const enum (#3701) 2022-02-24 04:36:05 +00:00
SWC Bot
7e1f3202d5 chore: Publish crates 2022-02-24 04:04:17 +00:00
Alexander Akait
cd95ac4caf
feat(css/minifier): Compress more properties (#3708) 2022-02-24 04:01:45 +00:00
SWC Bot
6ca76b81be chore: Publish crates 2022-02-24 12:28:01 +09:00
SWC Bot
bb47be19f8 chore: Publish crates 2022-02-23 16:23:11 +00:00
Alexander Akait
321ee756d9
refactor(css/ast): Fix the type definitions for an plus b syntax (#3682) 2022-02-23 16:20:40 +00:00
SWC Bot
6f7c06c9f8 chore: Publish crates 2022-02-23 15:50:44 +00:00
Pig Fang
010fe048c2
fix(es/parser): Fix a typescript instantiation expression followed by EOF (#3699) 2022-02-23 15:48:17 +00:00
SWC Bot
dd010a5a8c chore: Publish crates 2022-02-23 15:24:11 +00:00
Alexander Akait
7079e88744
feat(css/minifier): Compress lengths (#3698) 2022-02-23 15:21:51 +00:00
SWC Bot
abb3c5942c chore: Publish crates 2022-02-23 14:59:32 +00:00
Pig Fang
d6522f3a37
fix(es/parser): Disallow using reserved words as an expression in typescript (#3697) 2022-02-23 14:57:01 +00:00
SWC Bot
677e483ccb chore: Publish crates 2022-02-23 14:24:53 +00:00