OJ Kwon
5c9ea16b2a
build(cargo): Update packages ( #5331 )
2022-07-29 08:30:41 +09:00
Donny/강동윤
61c23924fc
chore: Publish v1.2.220
2022-07-28 11:46:47 +09:00
Donny/강동윤
1fddfc3949
chore: Publish crates
2022-07-28 11:45:05 +09:00
SWC Bot
ffad9955cb
chore: Publish crates
2022-07-28 02:43:11 +00:00
Donny/강동윤
14894ed4c9
fix(atoms): Workaround a bug of rkyv
( #5323 )
2022-07-28 11:41:15 +09:00
SWC Bot
31b3cf2170
chore: Publish crates
2022-07-28 01:33:29 +00:00
Alexander Akait
6ad5b3ce5f
feat(html/minifier): Compress title ( #5320 )
2022-07-28 01:30:44 +00:00
SWC Bot
02af4aa196
chore: Publish crates
2022-07-28 01:04:21 +00:00
Alexander Akait
925b16a563
fix(css/prefixer): Avoid prefixes for media features ( #5308 )
2022-07-28 01:02:26 +00:00
Donny/강동윤
20cafc14da
chore: Publish crates
2022-07-27 15:03:48 +09:00
Donny/강동윤
906b23dcc2
chore: Publish crates
2022-07-27 14:54:57 +09:00
Donny/강동윤
568aca4fed
chore: Publish v1.2.219
2022-07-27 14:45:02 +09:00
SWC Bot
7f762d6ea2
chore: Publish crates
2022-07-27 05:40:42 +00:00
Alexander Akait
c80b9e106a
fix(html/parser): Fix span ( #5312 )
2022-07-27 05:38:31 +00:00
SWC Bot
653d1db365
chore: Publish crates
2022-07-27 05:13:18 +00:00
Austaras
06677c26ee
fix(es/preset-env): Don't add instance properties when there's a static property ( #5305 )
2022-07-27 05:11:19 +00:00
SWC Bot
ed8cc72607
chore: Publish crates
2022-07-27 04:45:46 +00:00
Alexander Akait
94b4e0a321
fix(css/prefixer): Generate at-rules based on preset-env ( #5294 )
2022-07-27 04:43:22 +00:00
SWC Bot
129a886e13
chore: Publish crates
2022-07-27 04:18:47 +00:00
OJ Kwon
5a164bd137
feat(plugin): Make metadata api lazy ( #5310 )
2022-07-27 13:16:44 +09:00
SWC Bot
3aa4471a0f
chore: Publish crates
2022-07-27 03:58:55 +00:00
magic-akari
b3269fda8e
fix(es/fixer): Wrap await
and yield
in callee ( #5314 )
2022-07-27 03:57:00 +00:00
SWC Bot
4fb5e7d4dd
chore: Publish crates
2022-07-26 12:18:27 +00:00
Austaras
dd0a152f49
fix(es/preset-env): Realign with babel-polyfills
( #5293 )
2022-07-26 12:16:16 +00:00
SWC Bot
0a1284f57e
chore: Publish crates
2022-07-26 10:11:30 +00:00
HeYunfei
8896dd9a66
doc(ast_node): Remove an unnecessary comment ( #5304 )
2022-07-26 10:09:23 +00:00
SWC Bot
2017daa2d5
chore: Publish crates
2022-07-26 04:04:42 +00:00
Donny/강동윤
3100bf8c62
fix(es/codegen): Fix sourcemap of multiline comments ( #5299 )
2022-07-26 04:02:50 +00:00
SWC Bot
0ddeb749f6
chore: Publish crates
2022-07-26 03:38:02 +00:00
Austaras
0f254d5ce5
feat(es/codegen): Remove extra space before a private method ( #5295 )
2022-07-26 03:35:49 +00:00
SWC Bot
186b13933e
chore: Publish crates
2022-07-26 03:07:40 +00:00
magic-akari
daac26bcfb
fix(es/codegen): Add ;
for a generator function ( #5292 )
2022-07-26 03:05:42 +00:00
SWC Bot
8a9492661d
chore: Publish crates
2022-07-26 02:35:58 +00:00
Alexander Akait
83651c297d
fix(css): Fix parsing of layer
( #5290 )
2022-07-26 02:33:53 +00:00
SWC Bot
28395c8ca3
chore: Publish crates
2022-07-26 01:57:46 +00:00
Alexander Akait
ce347461ee
feat(css/minifier): Remove duplicate selectors ( #5257 )
2022-07-26 01:55:52 +00:00
SWC Bot
9ff2564686
chore: Publish crates
2022-07-26 01:27:53 +00:00
OJ Kwon
35b1e78179
chore(deps): Update bytecheck
( #5296 )
2022-07-26 01:25:37 +00:00
SWC Bot
b4e2aded26
chore: Publish crates
2022-07-25 03:36:13 +00:00
Austaras
b423d6f936
fix(es/compat): Fix capturing of block scoping pass ( #5279 )
2022-07-25 03:34:18 +00:00
SWC Bot
9eb04096b1
chore: Publish crates
2022-07-24 13:57:43 +00:00
Austaras
ee84842d22
fix(es/minifier): Preserve order of side-effects in sequences pass ( #5283 )
2022-07-24 13:55:37 +00:00
SWC Bot
c6685ec63d
chore: Publish crates
2022-07-23 13:56:29 +00:00
Donny/강동윤
a0007e11c3
fix(es/visit): Disable serde
by default ( #5273 )
2022-07-23 13:54:39 +00:00
Donny/강동윤
a37fdca969
chore: Publish crates
2022-07-22 21:06:43 +09:00
Donny/강동윤
34210648b0
chore: Fix CI
2022-07-22 21:06:09 +09:00
Donny/강동윤
037a53d5d1
perf(es/ast): Use Atom
in some places ( #5271 )
2022-07-22 20:09:25 +09:00
SWC Bot
17bc1a6d86
chore: Publish crates
2022-07-21 06:06:19 +00:00
magic-akari
c0ace4cb2c
fix(es/modules): Use a private context for export from
( #5262 )
2022-07-21 06:04:06 +00:00
SWC Bot
92bbff40be
chore: Publish crates
2022-07-21 05:36:47 +00:00
OJ Kwon
43eeeb35a5
feat(es/plugin): Pass experimental metadata from host ( #5261 )
2022-07-21 05:34:48 +00:00
SWC Bot
0dc240fbd9
chore: Publish crates
2022-07-21 05:02:55 +00:00
Donny/강동윤
d9877e305a
fix(es/decorators): Use decorated consturctors ( #5263 )
2022-07-21 05:00:51 +00:00
SWC Bot
aef6de4647
chore: Publish crates
2022-07-20 08:27:46 +00:00
Austaras
6573324d9c
feat(es/minifier): Calculate correct size ( #5253 )
2022-07-20 08:25:26 +00:00
SWC Bot
03c92cc6f8
chore: Publish crates
2022-07-20 07:53:58 +00:00
OJ Kwon
bd1c2cc7e6
feat(es/plugin): Add experimental metadata field ( #5254 )
2022-07-20 07:51:47 +00:00
SWC Bot
1c7855d50e
chore: Publish crates
2022-07-20 07:25:56 +00:00
Alexander Akait
4f55459b01
fix(html/minifier): Don't break unknown attributes ( #5256 )
2022-07-20 07:23:58 +00:00
SWC Bot
6cca12d119
chore: Publish crates
2022-07-20 06:59:57 +00:00
magic-akari
2010409bac
fix(es/compat): Preserve orders of import
s and export
s ( #5249 )
2022-07-20 06:57:43 +00:00
SWC Bot
fe74b7067c
chore: Publish crates
2022-07-20 04:10:58 +00:00
OJ Kwon
b7c7e3afb0
test(es/plugin): Test plugins with different schema versions ( #5255 )
2022-07-20 04:08:48 +00:00
OJ Kwon
0d91741eb9
build(cargo): Align dependency versions ( #5248 )
2022-07-20 03:42:04 +00:00
SWC Bot
8a9dce698f
chore: Publish crates
2022-07-20 03:14:51 +00:00
Alexander Akait
e78d23d193
feat(css/prefixer): Implement preset-env
( #5247 )
2022-07-20 12:12:40 +09:00
Donny/강동윤
d229917588
chore: Fix CI ( #5251 )
2022-07-19 04:37:50 +00:00
Donny/강동윤
54982d4d72
chore: Publish crates
2022-07-19 11:38:23 +09:00
SWC Bot
1fd154f5f0
chore: Publish crates
2022-07-18 03:29:05 +00:00
Austaras
3f0856db2e
feat(es/codegen): Optimize number and bigint literal ( #5223 )
2022-07-18 03:27:03 +00:00
SWC Bot
6218363012
chore: Publish crates
2022-07-18 02:53:57 +00:00
JH.Lee
ecbf9d6c36
feat(testing/macros): Generalize test names with regex ( #5242 )
2022-07-18 02:51:50 +00:00
Donny/강동윤
b9cffb2a0e
chore: Publish v1.2.218
2022-07-18 11:06:52 +09:00
Donny/강동윤
afae3164fb
chore: Publish v1.2.217
2022-07-18 04:54:42 +09:00
三丝
df426d7b1d
chore: Typo ( #5238 )
2022-07-17 17:39:16 +00:00
滑威
17f1cee0a8
chore: Typo ( #5239 )
2022-07-18 02:17:48 +09:00
SWC Bot
a12ea9617a
chore: Publish crates
2022-07-17 12:50:04 +00:00
Alexander Akait
945510a695
feat(html/ast): Add raw
to doctype ( #5198 )
2022-07-17 12:48:21 +00:00
SWC Bot
71ea5d25e4
chore: Publish crates
2022-07-17 11:24:28 +00:00
Donny/강동윤
de76868cad
fix(testing): Allow space in file names ( #5237 )
2022-07-17 20:22:25 +09:00
SWC Bot
1cbfc96917
chore: Publish crates
2022-07-17 10:11:08 +00:00
Austaras
c68d484305
fix(es/lints): Disallow duplicate export functions ( #5234 )
2022-07-17 10:09:29 +00:00
SWC Bot
0c7be690da
chore: Publish crates
2022-07-17 09:09:24 +00:00
Austaras
2e9c9bea1a
fix(es/minifier): Fix size calculation of numbers ( #5232 )
2022-07-17 18:07:35 +09:00
SWC Bot
535d37d4bb
chore: Publish crates
2022-07-17 06:25:14 +00:00
Alexander Akait
0f7646cc47
fix(html/parser): Improve span ( #5230 )
2022-07-17 06:23:25 +00:00
Alexander Akait
8e5efb65d5
test(css/parser): Add a test ( #5228 )
2022-07-17 05:56:13 +00:00
SWC Bot
4a304a8d08
chore: Publish crates
2022-07-17 05:33:30 +00:00
Alexander Akait
1da6016da7
feat(html/minifier): Improve minifier ( #5227 )
2022-07-17 05:31:29 +00:00
SWC Bot
883a76a73a
chore: Publish crates
2022-07-17 05:06:27 +00:00
magic-akari
04de455a9a
fix(es/lints: Handle ts export import equals ( #5225 )
2022-07-17 05:04:37 +00:00
SWC Bot
1c2d5868ef
chore: Publish crates
2022-07-17 04:40:55 +00:00
David Campion
1aa022361e
chore(visit): Specify version of swc_macros_common
( #5231 )
2022-07-17 04:38:44 +00:00
SWC Bot
4ec9962e43
chore: Publish crates
2022-07-17 04:08:45 +00:00
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
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
magic-akari
8df6e047cc
fix(es/codegen): Emit numeric value for Binary and Octal literals ( #5083 )
2022-07-04 03:49:52 +00:00
SWC Bot
68c049c8a0
chore: Publish crates
2022-07-03 17:16:30 +00:00
magic-akari
f7d857c6b6
fix(es/lints): Cover more const-assign
cases ( #5098 )
2022-07-03 17:13:55 +00:00
SWC Bot
162671ce32
chore: Publish crates
2022-07-03 05:56:40 +00:00
magic-akari
4d5783d9cd
feat(es/modules): Add pure annotations to interop functions ( #5087 )
2022-07-03 05:54:07 +00:00
magic-akari
52bfb18113
test(es/modules): Add test for string-names ( #5088 )
2022-07-03 04:38:48 +00:00
SWC Bot
0df200f786
chore: Publish crates
2022-07-03 04:17:53 +00:00
Alexander Akait
5ac5ae200c
fix(html/minifier): Small fix ( #5079 )
2022-07-03 04:14:51 +00:00
SWC Bot
279d4a39c1
chore: Publish crates
2022-07-03 03:47:38 +00:00
magic-akari
0a7ca2f4bb
fix(es/modules): Create an indirect call for a lazy require ( #5089 )
2022-07-03 03:44:56 +00:00
SWC Bot
55d71bf9fc
chore: Publish crates
2022-07-02 04:48:04 +00:00
Austaras
b62fd3e6cc
feat(es/parser): Support labelled function from annex B ( #5078 )
2022-07-02 04:45:22 +00:00
SWC Bot
4da97e9d4a
chore: Publish crates
2022-07-02 04:20:10 +00:00
magic-akari
9addef6fc8
feat(es/modules): Support allowTopLevelThis
( #5086 )
2022-07-02 04:17:44 +00:00
SWC Bot
f5447cd1b1
chore: Publish crates
2022-07-02 03:53:10 +00:00
magic-akari
de66b64aed
fix(es/compat): Preserve spans in object_rest_spread
( #5082 )
2022-07-02 03:50:30 +00:00
SWC Bot
586228106b
chore: Publish crates
2022-07-02 03:27:59 +00:00
Alexander Akait
cb845c9bf9
feat(html/minifier): Remove empty metadata elements ( #5085 )
2022-07-02 03:25:23 +00:00
SWC Bot
8c4296173a
chore: Publish crates
2022-07-01 13:20:29 +00:00
magic-akari
2f2039c693
fix(es/modules): Preserve orders of exports ( #5081 )
2022-07-01 13:17:43 +00:00
Donny/강동윤
bb2ba85896
chore: Publish v1.2.208
2022-07-01 21:52:11 +09:00
SWC Bot
a700b4ab5f
chore: Publish crates
2022-07-01 08:39:48 +00:00
magic-akari
9e162dcbae
fix(es/modules): Improve compatibility with cjs lexer ( #5080 )
2022-07-01 08:37:04 +00:00
SWC Bot
8aaf25f5e7
chore: Publish crates
2022-07-01 03:53:32 +00:00
Alexander Akait
144314dcc2
feat(html/minifier): Improve collapse_whitespaces
( #5070 )
2022-07-01 03:50:49 +00:00
Donny/강동윤
1b57c6fe98
chore: Publish crates
2022-07-01 12:28:49 +09:00
magic-akari
1e33dbab24
feat(es/modules): Support node interop ( #5069 )
2022-07-01 03:28:03 +00:00
Donny/강동윤
0fc3b51e07
chore: Publish crates
2022-07-01 12:00:49 +09:00
Donny/강동윤
60424db67b
chore: Workaround cargo mono bug
2022-07-01 12:00:04 +09:00
Donny/강동윤
c2c923e205
chore: Publish crates
2022-07-01 11:50:45 +09:00
SWC Bot
d09bdfb183
chore: Publish crates
2022-07-01 02:39:59 +00:00
Alexander Akait
214c60a313
fix(html/minifier): Minify meta
element ( #5075 )
2022-07-01 02:37:17 +00:00
SWC Bot
ff75f8136f
chore: Publish crates
2022-06-30 01:49:17 +00:00
Alexander Akait
26cfeff79c
feat(html/minifier): Sort unordered values in attributes ( #5035 )
2022-06-30 01:46:24 +00:00
SWC Bot
3eefa63792
chore: Publish crates
2022-06-30 01:23:58 +00:00
OJ Kwon
e1aa937183
feat(plugin): Allow taking the inner data from versioned ( #5071 )
2022-06-30 01:21:12 +00:00
SWC Bot
dcc4f2a706
chore: Publish crates
2022-06-29 12:33:43 +00:00
Alexander Akait
e9bad20898
fix(html/minifier): Fix smart mode ( #5058 )
2022-06-29 12:30:28 +00:00
SWC Bot
93cd38d113
chore: Publish crates
2022-06-29 12:06:20 +00:00
Donny/강동윤
34f4f5a3bc
feat(atoms): Improve atoms ( #5066 )
2022-06-29 12:02:33 +00:00
SWC Bot
1a6997fb49
chore: Publish crates
2022-06-29 11:29:36 +00:00
magic-akari
ef543b1b22
fix(es/modules): Handle this
in class methods ( #5065 )
2022-06-29 11:27:06 +00:00
SWC Bot
73874486b2
chore: Publish crates
2022-06-29 11:05:08 +00:00
Alexander Akait
37eb366a1f
feat(es/parser): Add allow_return_outside_function
to options ( #5046 )
2022-06-29 11:02:05 +00:00
SWC Bot
b364828a3c
chore: Publish crates
2022-06-29 04:11:28 +00:00
Donny/강동윤
2e139f1441
perf(atoms): More groundwork for replacing JsWord
with Atom
( #5064 )
2022-06-29 13:08:29 +09:00
SWC Bot
4a2b1764c4
chore: Publish crates
2022-06-29 04:05:59 +00:00
Austaras
18ea2b5770
fix(es/compat): Preserve this in function with block scoped vars ( #5056 )
2022-06-29 04:03:00 +00:00
SWC Bot
5576c3c601
chore: Publish crates
2022-06-29 03:37:57 +00:00
OJ Kwon
e34a864390
feat(plugin): Add versioned wrapper struct ( #5062 )
2022-06-29 03:35:23 +00:00
SWC Bot
1de0581071
chore: Publish crates
2022-06-28 18:31:44 +00:00
OJ Kwon
374366d56c
chore(deps): Update rkyv
( #5057 )
2022-06-28 18:29:00 +00:00
SWC Bot
e7416f09c8
chore: Publish crates
2022-06-28 11:28:42 +00:00
Alexander Akait
d7a5f71073
feat(html/minifier): Allow minifying custom script contents ( #5043 )
2022-06-28 11:26:00 +00:00
Donny/강동윤
3a6a69505d
chore: Publish v1.2.207
2022-06-28 19:53:45 +09:00
SWC Bot
74527a6ac5
chore: Publish crates
2022-06-28 10:50:35 +00:00
magic-akari
e13364f976
fix(es/modules): Handle module references in binding idents ( #5055 )
2022-06-28 10:47:46 +00:00
SWC Bot
c4fe6e2286
chore: Publish crates
2022-06-28 06:58:45 +00:00
Donny/강동윤
a15bb48524
feat(es/minifier): Handle pure annotations on member expressions ( #5050 )
2022-06-28 06:55:59 +00:00
SWC Bot
e599d9cd5d
chore: Publish crates
2022-06-28 06:34:03 +00:00
magic-akari
2cc229e6fb
feat(es/modules): Optimize a dynamic import with a literal path ( #5049 )
2022-06-28 06:31:24 +00:00
SWC Bot
47628512f3
chore: Publish crates
2022-06-28 05:39:19 +00:00
Austaras
25bd520620
fix(es/compat): Handle classes with accessors and a method with the same name ( #5039 )
2022-06-28 05:36:22 +00:00
SWC Bot
8bd3befdd4
chore: Publish crates
2022-06-28 05:09:30 +00:00
magic-akari
376c4e11af
feat(es/lints): Report an error for reassignment to import binding ( #5033 )
2022-06-28 05:06:57 +00:00
SWC Bot
abfec64560
chore: Publish crates
2022-06-28 04:39:54 +00:00
Alexander Akait
0836d29913
feat(html/minifier): Add normalize_attributes
for disabling normalization ( #5045 )
2022-06-28 04:37:04 +00:00
Donny/강동윤
70770e0fd2
chore: Publish crates
2022-06-28 13:13:00 +09:00
Alexander Akait
55e0ea3294
feat(html/minifier): Allow compressing additional attributes ( #5036 )
2022-06-27 21:37:48 +09:00
Donny/강동윤
8b042745c6
chore: Publish crates
2022-06-27 21:36:54 +09:00
Donny/강동윤
842b4288e1
chore: Publish v1.2.206
2022-06-27 21:35:02 +09:00
magic-akari
fa68cbd74a
refactor(es/module): Implement new module transformer ( #4758 )
2022-06-27 12:32:06 +00:00
SWC Bot
f41c82ac67
chore: Publish crates
2022-06-26 19:10:58 +00:00
Alexander Akait
9202ff9700
feat(html/minifier): Improve smart mode ( #5004 )
2022-06-26 19:08:03 +00:00
SWC Bot
ea88660d62
chore: Publish crates
2022-06-25 10:05:37 +00:00
magic-akari
f238093c3b
fix(es/parser): Allow initializer of the var of for-in loop in non-strict mode ( #5038 )
2022-06-25 10:02:43 +00:00
SWC Bot
8577caf535
chore: Publish crates
2022-06-25 06:00:36 +00:00
Alexander Akait
e6c78d0b1d
feat(html/minifier): Add remove_comments
option ( #5037 )
2022-06-25 05:58:06 +00:00
SWC Bot
218fe736b2
chore: Publish crates
2022-06-25 05:35:59 +00:00
Alexander Akait
8bf924ae5f
feat(html/codegen): Improve API ( #5031 )
2022-06-25 05:33:22 +00:00
SWC Bot
4883fe8011
chore: Publish crates
2022-06-25 05:06:17 +00:00
magic-akari
04fc1cb429
fix(es/compat): Fix name conflict of Array
( #5034 )
2022-06-25 04:55:59 +00:00
Donny/강동윤
c35cd242b8
chore: Publish v1.2.205
2022-06-24 14:16:52 +09:00
SWC Bot
f9656aa21d
chore: Publish crates
2022-06-23 03:58:55 +00:00
Alexander Akait
c345524e36
fix(css/parser): Improve lexer errors ( #5025 )
2022-06-23 03:56:13 +00:00
SWC Bot
1b4df974c1
chore: Publish crates
2022-06-23 03:32:13 +00:00
Alexander Akait
47d34a33d4
feat(html/minifier): Compress style
and media
attributes ( #5022 )
2022-06-23 03:29:00 +00:00
SWC Bot
035d1f0089
chore: Publish crates
2022-06-23 03:06:26 +00:00
Alexander Akait
a057183230
perf(html/parser): Improve performance ( #5028 )
2022-06-23 03:03:32 +00:00
SWC Bot
b66ba81de6
chore: Publish crates
2022-06-22 05:56:52 +00:00
Alexander Akait
03d8a3a0dd
feat(html/minifier): Add remove_redundant_attributes
( #5023 )
2022-06-22 05:54:25 +00:00
SWC Bot
c7c1f635c2
chore: Publish crates
2022-06-22 05:16:35 +00:00
Alexander Akait
c61babd9af
fix(html/minifier): Compress more complex attributes ( #5024 )
2022-06-22 04:55:35 +00:00
Donny/강동윤
17c51fa53c
refactor(webpack-ast): Remove ( #5026 )
2022-06-22 04:25:27 +00:00
SWC Bot
c1493dd4f4
chore: Publish crates
2022-06-21 15:37:15 +00:00
Alexander Akait
f1fd83dcc7
fix(html/minifier): Avoid optional attributes ( #5016 )
2022-06-21 15:34:16 +00:00
Pig Fang
6bcb92598b
test(es/parser): Add a test case for instantiation expr ( #5014 )
2022-06-21 14:54:17 +00:00
SWC Bot
b0a1df76e4
chore: Publish crates
2022-06-21 14:31:29 +00:00
Alexander Akait
28bc735d03
feat(html/minifier): Minify js ( #4999 )
2022-06-21 14:28:53 +00:00
Donny/강동윤
125549b7a9
test(es/helpers): Unify code path for testing external helpers ( #5010 )
2022-06-21 23:02:12 +09:00
SWC Bot
7a6e6e175f
chore: Publish crates
2022-06-21 13:25:10 +00:00
Austaras
4a422a09a4
fix(es/lints): Allow duplicate function in non-top level ( #5011 )
2022-06-21 13:22:23 +00:00
SWC Bot
1e313c07d0
chore: Publish crates
2022-06-21 05:48:32 +00:00
Donny/강동윤
fd73895a7b
fix(es/transforms): Add custom Sync
+ Send
for the renamer ( #5018 )
2022-06-21 05:45:34 +00:00
Donny/강동윤
eedcb114a2
test(es/minifier): Add a test case for the minifier ( #5013 )
2022-06-20 14:38:23 +00:00
SWC Bot
626be5af36
chore: Publish crates
2022-06-20 13:08:47 +00:00
Alexander Akait
7745fbf604
feat(html/minifier): Add an API to minify document fragments ( #5002 )
2022-06-20 13:05:48 +00:00
SWC Bot
852b864b64
chore: Publish crates
2022-06-20 12:28:22 +00:00
Alexander Akait
1538649237
feat(html/minifier): Compress more svg/mathml attributes ( #5001 )
2022-06-20 12:25:43 +00:00
SWC Bot
141575d38d
chore: Publish crates
2022-06-19 17:54:40 +00:00
Pig Fang
a62b2b3244
fix(es/parser): Allow instantiation expression followed by a line break or a binary operator ( #5000 )
2022-06-19 17:52:05 +00:00
SWC Bot
fb7b314721
chore: Publish crates
2022-06-18 10:03:39 +00:00
magic-akari
53a8cb1209
fix(es/parser): Don't panic on an invalid import meta property ( #4994 )
2022-06-18 10:00:52 +00:00
SWC Bot
a2fa4a78e2
chore: Publish crates
2022-06-18 09:39:27 +00:00
magic-akari
d736b31e08
fix(es/typescript): Preserve export =
for AMD ( #4995 )
2022-06-18 09:31:08 +00:00
Donny/강동윤
7ff12953ec
chore: Publish v1.2.204
2022-06-18 13:56:26 +09:00
SWC Bot
98dd293198
chore: Publish crates
2022-06-18 04:26:44 +00:00
Donny/강동윤
e85c0db926
feat(es/config): Add isModule
to .swcrc
( #4993 )
2022-06-18 04:24:08 +00:00
SWC Bot
4da4d4dd01
chore: Publish crates
2022-06-18 03:54:26 +00:00
Alexander Akait
713a256ed7
feat(html/minifier): Minify conditional comments ( #4975 )
2022-06-18 03:51:46 +00:00
SWC Bot
14140aa5bc
chore: Publish crates
2022-06-18 03:29:17 +00:00
Pig Fang
36ef3e4507
fix(es/parser): Fix binary operator parsed as an instantiation expression ( #4992 )
2022-06-18 03:26:39 +00:00
SWC Bot
d4ecff65f3
chore: Publish crates
2022-06-17 19:14:04 +00:00
Alexander Akait
8e63b0bbd5
fix(html/minifier): Fix removal of comments ( #4974 )
2022-06-17 19:11:27 +00:00
SWC Bot
78ced2d65c
chore: Publish crates
2022-06-17 15:30:46 +00:00
Alexander Akait
41dc0a7aa9
fix(html/codegen): Handle optional tags ( #4986 )
2022-06-17 15:28:06 +00:00
SWC Bot
d722ee256f
chore: Publish crates
2022-06-17 13:29:29 +00:00
Alexander Akait
fb74ace19b
feat(html/minifier): Add an option to set html5 doctype ( #4980 )
2022-06-17 13:26:37 +00:00
Donny/강동윤
364a34cd70
test(html): Remove files which are too large too verify ( #4983 )
2022-06-16 09:33:21 +00:00
Devon Govett
9484cf81a1
fix(es/helpers): Use .mjs
extension in helper imports ( #4979 )
2022-06-16 16:23:02 +09:00
SWC Bot
276942313b
chore: Publish crates
2022-06-16 04:53:47 +00:00
Alexander Akait
d07ab2cb91
feat(html/codegen): Add option for tag omission of self closing void elements ( #4971 )
2022-06-16 04:50:56 +00:00
SWC Bot
b46878625c
chore: Publish crates
2022-06-16 04:29:45 +00:00
Alexander Akait
2e52c18a6b
feat(html/minifier): Add preserve_comments
option ( #4959 )
2022-06-16 04:26:53 +00:00
SWC Bot
6ec6bbd4aa
chore: Publish crates
2022-06-15 14:40:06 +00:00
Donny/강동윤
36d960c7e9
perf(es/hygiene): Make hygiene
faster ( #4952 )
2022-06-15 14:36:57 +00:00
SWC Bot
dc78cb48b9
chore: Publish crates
2022-06-15 05:27:21 +00:00
Donny/강동윤
b3f6f20721
fix(es/resolver): Make catch parameter not disturb resolving ( #4976 )
2022-06-15 05:24:39 +00:00
Donny/강동윤
0782c533b5
chore: Publish crates
2022-06-15 13:59:06 +09:00
SWC Bot
10877addcb
chore: Publish crates
2022-06-15 04:07:47 +00:00
Alexander Akait
3e6c0f567a
feat(html/minifier): Compress CSS ( #4973 )
2022-06-15 04:04:57 +00:00
SWC Bot
94e553da3b
chore: Publish crates
2022-06-14 16:36:07 +00:00
Donny/강동윤
99a474cb2d
refactor(es/minifier): Use Program
instead of Module
( #4969 )
2022-06-14 16:33:38 +00:00
Donny/강동윤
164bf9a80a
chore: Publish v1.2.203
2022-06-15 01:03:49 +09:00
LongYinan
db9f7a5ad4
chore(ci): Fix publish build on Windows ( #4970 )
2022-06-14 15:58:10 +00:00
SWC Bot
c9918482ac
chore: Publish crates
2022-06-14 13:34:32 +00:00
Alexander Akait
5c2a918946
feat(html): Support self-closing flag ( #4950 )
2022-06-14 13:31:23 +00:00
Donny/강동윤
1bf2b80f97
chore(ci): Use macos for release builds ( #4968 )
...
We need more memory
2022-06-14 19:54:34 +09:00
SWC Bot
51715e4d0d
chore: Publish crates
2022-06-14 07:08:40 +00:00
Donny/강동윤
3e03ebf8bb
fix(es/parser): Don't assume the length of char ( #4967 )
2022-06-14 07:05:35 +00:00
Donny/강동윤
0e7f871961
chore: Publish v1.2.202
2022-06-14 15:43:13 +09:00
SWC Bot
65522af10e
chore: Publish crates
2022-06-14 05:41:22 +00:00
Alexander Akait
3957bc64b7
feat(html/minifier): Add collapse_boolean_attributes
option ( #4960 )
2022-06-14 05:38:50 +00:00