Commit Graph

2831 Commits

Author SHA1 Message Date
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
Donny/강동윤
76de911466
doc(visit): Add docs for visitors (#5137) 2022-07-07 17:09:38 +09:00
SWC Bot
297228a690 chore: Publish crates 2022-07-07 07:48:49 +00:00
OJ Kwon
82fbe15a57
feat(plugin): Wrap serialized struct with a version (#5128) 2022-07-07 07:46:49 +00:00
SWC Bot
09d4aa4a0d chore: Publish crates 2022-07-07 07:25:22 +00:00
三丝
9d4be11f2e
doc(es/parser): Typo (#5136) 2022-07-07 07:23:21 +00:00
SWC Bot
b21cccfea2 chore: Publish crates 2022-07-07 06:18:45 +00:00
Donny/강동윤
f26d59b770
feat(visit): Implement more traits for AstKind (#5135) 2022-07-07 06:16:24 +00:00
SWC Bot
e874060959 chore: Publish crates 2022-07-07 05:39:05 +00:00
Donny/강동윤
46b1b42c3c
feat(visit): Implement Eq for AstKind (#5133) 2022-07-07 05:36:55 +00:00
SWC Bot
40dabaddfd chore: Publish crates 2022-07-07 04:38:01 +00:00
Edwin Coronado
2d94797975
feat(es/parser): Support d in regex flag for es2022 (#5127) 2022-07-07 04:35:49 +00:00
SWC Bot
d1b99a2a52 chore: Publish crates 2022-07-07 04:08:34 +00:00
magic-akari
a0ec3705a4
fix(es/lints): Handle import-require duplicate bindings (#5131) 2022-07-07 04:06:37 +00:00
SWC Bot
fa37781750 chore: Publish crates 2022-07-06 15:52:42 +00:00
Alexander Akait
f813a60497
feat(html/minifier): Sort attributes (#4784) 2022-07-06 15:50:23 +00:00
SWC Bot
70bfbfba44 chore: Publish crates 2022-07-06 07:53:08 +00:00
magic-akari
fbfca36f58 fix(es/parser): Support type-only export-import declarations (#5122) 2022-07-06 16:51:18 +09:00
SWC Bot
43744c9eed chore: Publish crates 2022-07-06 05:20:40 +00:00
magic-akari
dd39a798ae
fix(es/compat): Preserve more class names (#5106) 2022-07-06 05:18:40 +00:00
SWC Bot
9385103649 chore: Publish crates 2022-07-06 04:44:10 +00:00
OJ Kwon
2ba8b39fa0
refactor(common): Bikeshed plugin apis (#5120) 2022-07-06 04:42:00 +00:00
SWC Bot
64ccb589b7 chore: Publish crates 2022-07-06 03:55:25 +00:00
Donny/강동윤
0e4a03ccc6
fix(es/minifier): Don't inline a callable expression if it's used as a reference (#5118) 2022-07-06 03:53:11 +00:00
SWC Bot
9f64f5d8a0 chore: Publish crates 2022-07-05 22:11:47 +00:00
magic-akari
f952a6161c
feat(es/typescript): Follow TypeScript error report (#5114) 2022-07-05 22:08:55 +00:00
Donny/강동윤
fa66ee86e5 chore: Publish v1.2.210 2022-07-06 01:37:57 +09:00
SWC Bot
8342497c82 chore: Publish crates 2022-07-05 16:36:36 +00:00
Austaras
bef8aebdea
fix(es/lints): Allow overload in typescript (#5116) 2022-07-06 01:33:58 +09:00
SWC Bot
5a5cfb7e86 chore: Publish crates 2022-07-05 10:52:11 +00:00
Austaras
528d4c5aa4
fix(es/fixer): Preserve parens in more opt calls (#5111) 2022-07-05 10:49:05 +00:00
SWC Bot
ce3186d6e0 chore: Publish crates 2022-07-05 10:25:08 +00:00
Donny/강동윤
b76b4999cc
fix(es/codegen): Fix codegen of some non-ascii characters (#5108) 2022-07-05 10:22:25 +00:00
SWC Bot
a049d7481d chore: Publish crates 2022-07-05 09:57:54 +00:00
magic-akari
3e3c44a0b6
fix(es/fixer): Preserve parens in opt calls (#5110) 2022-07-05 09:55:21 +00:00
SWC Bot
469b2fe4e4 chore: Publish crates 2022-07-05 07:28:41 +00:00
Donny/강동윤
8ea631c766
doc(visit): Generate rustdoc (#5107) 2022-07-05 07:26:01 +00:00
Donny/강동윤
def38aac63 chore: Publish v1.2.209 2022-07-05 15:12:50 +09:00
SWC Bot
e4496301a9 chore: Publish crates 2022-07-05 06:06:47 +00:00
Alexander Akait
5932a0a2ef
fix(html/minifier): Fix bugs of the smart mode (#5093) 2022-07-05 06:04:12 +00:00
SWC Bot
09d7f7aa27 chore: Publish crates 2022-07-05 05:41:14 +00:00
magic-akari
c531e67a30
fix(es/modules): Support lazy for export from (#5103) 2022-07-05 05:38:34 +00:00
Donny/강동윤
97aa09eaa2 chore: Publish crates 2022-07-05 14:17:30 +09:00
SWC Bot
198aa2d323 chore: Publish crates 2022-07-05 05:07:28 +00:00
Austaras
9519e801ea
fix(es/resolver): Fix handling of block scoped functions (#5092) 2022-07-05 05:04:49 +00:00
SWC Bot
6d6e4dd096 chore: Publish crates 2022-07-05 04:41:07 +00:00
Donny/강동윤
204d742ed6
feat(visit): Add path-aware variants (#5073) 2022-07-05 04:38:27 +00:00
SWC Bot
a27c14357c chore: Publish crates 2022-07-04 14:39:41 +00:00
Austaras
adbb0bf8d8
fix(es/compat): Preserve class names (#5104) 2022-07-04 14:37:03 +00:00
SWC Bot
f71ca10882 chore: Publish crates 2022-07-04 11:58:23 +00:00
magic-akari
cc555ef225
fix(es/react): Don't panic on invalid react pragma (#5101) 2022-07-04 11:55:08 +00:00
SWC Bot
b79593f7ef chore: Publish crates 2022-07-04 04:20:47 +00:00
magic-akari
ddb31d1fd7
feat(es/modules): Support AMD triple slash directives (#5091) 2022-07-04 04:17:34 +00:00
SWC Bot
04c4af8475 chore: Publish crates 2022-07-04 03:52:29 +00:00