Commit Graph

2884 Commits

Author SHA1 Message Date
Artur
d0356489cb
feat(es/lints): Support ignoreReadBeforeAssign for prefer-const (#4933) 2022-07-17 04:07:05 +00:00
SWC Bot
d7d6983596 chore: Publish crates 2022-07-17 03:44:50 +00:00
Calvin Huang
27cc45d50f
fix(es): Fix resolving of symlinks (#5222) 2022-07-17 03:43:02 +00:00
Donny/강동윤
df050df38b chore: Publish crates 2022-07-16 23:35:18 +09:00
Donny/강동윤
d3b0996617 chore: Publish crates 2022-07-16 23:30:15 +09:00
Donny/강동윤
5f9ea38fe1 chore: Publish crates 2022-07-16 23:20:58 +09:00
SWC Bot
eab1113450 chore: Publish crates 2022-07-16 07:10:52 +00:00
magic-akari
6b1ce09b6f
fix(es/modules): Preserve order for ts import equals (#5215) 2022-07-16 07:09:06 +00:00
Donny/강동윤
d693bbbf3a chore: Publish crates 2022-07-16 02:11:12 +09:00
SWC Bot
d70687f4d7 chore: Publish crates 2022-07-15 11:25:41 +00:00
Alexander Akait
b65a16c7aa
feat(css/ast): Make raw optional (#5211) 2022-07-15 11:22:59 +00:00
SWC Bot
aef4d3801c chore: Publish crates 2022-07-15 10:58:01 +00:00
Alexander Akait
625fc18da0
feat(html/minifier): Compress more default attributes (#5182) 2022-07-15 10:55:24 +00:00
SWC Bot
629ed78ad2 chore: Publish crates 2022-07-15 02:43:21 +00:00
Alexander Akait
64237fa7fb
feat(html/ast): Add raw to attributes (#5208) 2022-07-15 02:40:47 +00:00
OJ Kwon
cd94f0a2e9
test(es/plugin): Build plugins for e2e testing (#5210) 2022-07-15 02:10:13 +00:00
SWC Bot
db63adfe62 chore: Publish crates 2022-07-15 01:41:12 +00:00
Alexander Akait
b4daa30058
fix(html/parser): Fix span (#5209) 2022-07-15 01:38:44 +00:00
SWC Bot
891210d216 chore: Publish crates 2022-07-15 01:13:40 +00:00
OJ Kwon
92c0153cb5
feat(plugin): Pass unresolved_mark to plugins (#5212) 2022-07-15 01:11:17 +00:00
SWC Bot
1639b04b7c chore: Publish crates 2022-07-15 00:37:57 +00:00
OJ Kwon
3e3be80efd
fix(cli): Emit sourcemap with file inputs (#5213) 2022-07-15 00:35:34 +00:00
SWC Bot
696165a374 chore: Publish crates 2022-07-14 10:18:17 +00:00
Donny/강동윤
387d5e41db
fix(es/codegen): Mark bigint as an item starting with number (#5207) 2022-07-14 10:16:05 +00:00
Donny/강동윤
f62465ee8f chore: Publish v1.2.215 2022-07-14 16:39:26 +09:00
SWC Bot
510a87e102 chore: Publish crates 2022-07-14 05:59:36 +00:00
Donny/강동윤
436f6200bc
fix(es/fixer): Handle invalid numeric literals (#5201) 2022-07-14 05:57:28 +00:00
SWC Bot
d8f387dc21 chore: Publish crates 2022-07-14 05:29:39 +00:00
Donny/강동윤
fbfa59b5b7
feat(es): Add quote to swc_ecmascript (#5199) 2022-07-14 05:27:26 +00:00
SWC Bot
023e1eca1f chore: Publish crates 2022-07-14 04:58:51 +00:00
Alexander Akait
dead719550
feat(html/parser): Add raw to comments (#5196) 2022-07-14 04:56:31 +00:00
Alexander Akait
fa4c2de706
test(css/codegen): Add tests (#5195) 2022-07-14 04:32:00 +00:00
Donny/강동윤
e1079d4fe9 chore: Publish v1.2.214 2022-07-14 13:06:14 +09:00
SWC Bot
3329214a98 chore: Publish crates 2022-07-14 04:05:02 +00:00
Donny/강동윤
f69dee75f2
feat(es/plugin): Print filename on failure (#5200) 2022-07-14 13:02:51 +09:00
SWC Bot
364be526f1 chore: Publish crates 2022-07-13 10:58:04 +00:00
magic-akari
ec9378370d
fix(es/parser): Fix parsing of export specifiers (#5190) 2022-07-13 10:55:55 +00:00
SWC Bot
8ee3c8f5fb chore: Publish crates 2022-07-13 10:31:47 +00:00
Austaras
375774d31e
fix(es): Check the syntax context of arguments (#5174) 2022-07-13 10:29:03 +00:00
Donny/강동윤
1e86f3eb4a chore: Publish crates 2022-07-13 19:05:23 +09:00
SWC Bot
67f454a572 chore: Publish crates 2022-07-13 10:04:18 +00:00
Donny/강동윤
c91abb2ca7
feat(quote): Support different types for variables (#5194) 2022-07-13 19:02:00 +09:00
Donny/강동윤
902ac55c63 chore: Publish crates 2022-07-13 16:35:06 +09:00
Donny/강동윤
538b86f52f chore: Publish crates 2022-07-13 16:32:32 +09:00
OJ Kwon
2fa51ecd78
test(plugin): Setup e2e fixture testing for plugins (#5192) 2022-07-13 06:39:08 +00:00
Donny/강동윤
b0d586f652 chore: Publish v1.2.213 2022-07-13 15:13:36 +09:00
SWC Bot
a23464055d chore: Publish crates 2022-07-13 06:09:56 +00:00
Donny/강동윤
16ece4dce0
fix(es/minifier): Don't merge exported declarations (#5193) 2022-07-13 06:07:31 +00:00
SWC Bot
3fafa1b249 chore: Publish crates 2022-07-13 01:40:03 +00:00
Donny/강동윤
d1418ee977
feat(visit): Implement serde for AstParentKind (#5191) 2022-07-13 01:34:02 +00:00
SWC Bot
d5d1ff6417 chore: Publish crates 2022-07-12 15:25:48 +00:00
HeYunfei
1ef541eec4
feat(es/codegen): Emit comments in emit_module (#5132) 2022-07-12 15:23:24 +00:00
Donny/강동윤
b433b69263 chore: Publish crates 2022-07-12 23:58:30 +09:00
SWC Bot
2f7da66ee4 chore: Publish crates 2022-07-12 11:29:34 +00:00
Donny/강동윤
4744d438a9
feat(visit): Improve API (#5185)
- Rename `AstKind` to `AstParentKind`.
 - Add `kind()` to `AstNodeRef`.
 - Reduce generic arguments of `AstNodePath`.
 - Remove `Opt*` from `AstParentKind` and `AstNodeRef`.
 - Add field enum for structs.
 - Add field enum for enums.
 - Change `Vec*` to a child kind.
 - Add field for the child field to `AstParentKind`.
 - Add field for the child field to `AstNodeRef`.
2022-07-12 11:26:51 +00:00
OJ Kwon
a4b14c3806
test(node): Refactor tests (#5187) 2022-07-12 05:35:44 +00:00
SWC Bot
13083773fb chore: Publish crates 2022-07-12 05:10:12 +00:00
Alexander Akait
60ca5538f9
fix(html/codegen): Fix source map generation (#5184) 2022-07-12 05:08:10 +00:00
SWC Bot
e15fe530fb chore: Publish crates 2022-07-12 03:14:47 +00:00
Alexander Akait
5b70233400
fix(css/codegen): Fix sourcemap of multibyte characters (#5183) 2022-07-12 03:12:32 +00:00
SWC Bot
710630fc23 chore: Publish crates 2022-07-12 02:45:27 +00:00
Alexander Akait
7b28521d72
fix(css/parser): Avoid skipping whitespaces if not required (#5181) 2022-07-12 11:43:24 +09:00
SWC Bot
55cd0803e9 chore: Publish crates 2022-07-11 13:11:13 +00:00
Alexander Akait
dada2d7d55
feat(html/minifier): Allow specifying options for other tools (#5125) 2022-07-11 13:08:40 +00:00
Donny/강동윤
cbabc77ca3 chore: Publish v1.2.212 2022-07-11 20:43:35 +09:00
SWC Bot
c21ffbef2c chore: Publish crates 2022-07-11 11:39:30 +00:00
Donny/강동윤
d8f57abd26
perf(es/minifier): Remove wrong logic (#5178) 2022-07-11 11:37:13 +00:00
SWC Bot
0a13105e84 chore: Publish crates 2022-07-11 09:00:07 +00:00
magic-akari
56ad09afb2
fix(es/modules): Keep TDZ for export default if possible (#5164) 2022-07-11 08:57:50 +00:00
SWC Bot
b87e3b0d4f chore: Publish crates 2022-07-11 02:20:08 +00:00
magic-akari
997240cfe6
fix(es/modules): Add the missing span for export default (#5170) 2022-07-11 02:18:01 +00:00
SWC Bot
0a8568c527 chore: Publish crates 2022-07-11 01:46:15 +00:00
OJ Kwon
f167198470
feat(plugin/macros): Export new interface for getting plugin schema version (#5166) 2022-07-11 01:44:00 +00:00
Donny/강동윤
793c423a24 chore: Publish crates 2022-07-10 00:57:16 +09:00
SWC Bot
2bd5b4413a chore: Publish crates 2022-07-09 10:17:04 +00:00
Donny/강동윤
ac3a55a435
feat(visit): Add index to AstKind (#5138)
- Make `VisitAstPath` take `AstNodePath<AstKind, AstNodeRef>`.
 - Add index to `AstKind::Vec*`.
2022-07-09 10:15:12 +00:00
Donny/강동윤
0f45b8ee16 chore: Publish v1.2.211 2022-07-09 18:03:00 +09:00
SWC Bot
bb36600685 chore: Publish crates 2022-07-09 05:35:11 +00:00
magic-akari
2555d71a60
fix(es/modules): Handle top level this, really (#5160) 2022-07-09 05:33:14 +00:00
SWC Bot
6f8529e107 chore: Publish crates 2022-07-09 04:44:13 +00:00
Alexander Akait
d6a827d173
feat(css/minifier): Compress hwb color (#5155) 2022-07-09 04:42:13 +00:00
SWC Bot
5ea2e75281 chore: Publish crates 2022-07-09 04:21:11 +00:00
Alexander Akait
01bfe46019
feat(html): Add raw for text (#5148) 2022-07-09 04:19:14 +00:00
SWC Bot
358f6552d7 chore: Publish crates 2022-07-09 03:49:46 +00:00
David Sherret
bbbe0b6e94
fix(sourcemap): Handle multi-byte characters correctly (#5153) 2022-07-09 03:47:52 +00:00
SWC Bot
2e79942051 chore: Publish crates 2022-07-09 03:20:08 +00:00
Alexander Akait
8bc9a40c99
feat(html/minifier): Compress default attributes for svg (#5150) 2022-07-09 03:17:48 +00:00
SWC Bot
4b48f3f1ae chore: Publish crates 2022-07-09 02:32:07 +00:00
magic-akari
451f346af0
fix(es/modules): Handle top level this (#5159) 2022-07-09 02:30:01 +00:00
SWC Bot
8b62d47eb1 chore: Publish crates 2022-07-08 06:29:34 +00:00
Austaras
cd8d65b9a7
fix(es/compat): Remove extra this/arguments capture in arrows (#5152) 2022-07-08 06:27:15 +00:00
SWC Bot
c41769f99c chore: Publish crates 2022-07-08 06:04:50 +00:00
OJ Kwon
e8214babf5
refactor(plugin): Refactor transform executor (#5147) 2022-07-08 06:02:42 +00:00
SWC Bot
07ffb76793 chore: Publish crates 2022-07-08 05:40:45 +00:00
Alexander Akait
714ff5321d
feat(css/minifier): Compress hsl colors (#5142) 2022-07-08 05:38:44 +00:00
SWC Bot
de484bf98a chore: Publish crates 2022-07-08 01:40:13 +00:00
OJ Kwon
4f87396b3b
fix(cli): Constructs config file correctly (#5146) 2022-07-08 01:37:46 +00:00
SWC Bot
d4c9e70e39 chore: Publish crates 2022-07-08 00:57:00 +00:00
magic-akari
93513031b5
fix(es/compat): Optimize for-of loops for array literals (#5141) 2022-07-08 00:54:53 +00:00
SWC Bot
1c75c4ad97 chore: Publish crates 2022-07-07 08:12:10 +00:00