Austaras
5d3a01ad35
fix(es/minifier): Skip getter/setter when collapsing vars ( #4557 )
2022-05-07 16:23:13 +09:00
SWC Bot
56fb1c8762
chore: Publish crates
2022-05-07 06:33:13 +00:00
Alexander Akait
e11ee88ea0
fix(html/parser): Fix support for document mode ( #4539 )
2022-05-07 06:30:39 +00:00
Donny/강동윤
b0efd00f38
test(es/minifier): Ignore difference of parens ( #4546 )
2022-05-07 06:08:23 +00:00
OJ Kwon
b5a2033994
build(plugin): Update swc_plugin_proxy
( #4551 )
2022-05-07 05:23:31 +00:00
SWC Bot
d5b67686bf
chore: Publish crates
2022-05-06 13:31:59 +00:00
Alexander Akait
446172f145
refactor(html/parser): Cleanup ( #4545 )
2022-05-06 13:28:58 +00:00
SWC Bot
49a8f89665
chore: Publish crates
2022-05-06 13:07:50 +00:00
Alexander Akait
698038107d
fix(html/lexer): Fix lexing of numeric characters ( #4544 )
2022-05-06 13:05:10 +00:00
SWC Bot
2be492b382
chore: Publish crates
2022-05-06 07:37:56 +00:00
Alexander Akait
dd40e7bf69
fix(html/parser): Fix parsing of newline in textarea
( #4543 )
2022-05-06 07:35:02 +00:00
SWC Bot
a8a0df2b9c
chore: Publish crates
2022-05-06 07:13:33 +00:00
OJ Kwon
10f903dd39
feat(plugin): Make plugin source map api use SourceMapper
( #4541 )
2022-05-06 07:11:00 +00:00
SWC Bot
a9c72c87f9
chore: Publish crates
2022-05-06 06:15:34 +00:00
Alexander Akait
07cf28a168
fix(html/parser): Fix parsing of cdata ( #4537 )
2022-05-06 06:12:46 +00:00
SWC Bot
f552c1c11d
chore: Publish crates
2022-05-06 05:20:01 +00:00
Kristján Oddsson
3d5d234047
fix(es/minifier): Respect keepClassNames
for class expressions ( #4536 )
...
Co-authored-by: Keith Cirkel <keithamus@users.noreply.github.com>
2022-05-06 05:17:45 +00:00
Donny/강동윤
3d3e3bb1d2
test(es/minifier): Categorize more tests ( #4538 )
2022-05-06 13:54:32 +09:00
SWC Bot
c40ae3ce33
chore: Publish crates
2022-05-06 04:36:55 +00:00
Alexander Akait
e6042a5e69
fix(html/parser): Fix parsing of nobr
( #4535 )
2022-05-06 04:34:06 +00:00
SWC Bot
e4ce388632
chore: Publish crates
2022-05-06 04:10:39 +00:00
William Tetlow
e2fde1a9a7
fix(es/parser): Revert #4287 ( #4542 )
2022-05-06 04:07:00 +00:00
SWC Bot
416312d0d7
chore: Publish crates
2022-05-06 03:48:41 +00:00
William Tetlow
28310596a6
fix(es/parser): Revert #4067 ( #4540 )
2022-05-06 12:46:15 +09:00
Alexander Akait
a4a815b288
test(html/parser): Add integration tests from html5lib-test ( #4517 )
2022-05-05 13:00:25 +00:00
SWC Bot
d4e92022a6
chore: Publish crates
2022-05-05 03:16:30 +00:00
Alexander Akait
79090e1b2a
fix(html/parser): Fix parsing of comments in textarea
( #4530 )
2022-05-05 03:13:20 +00:00
SWC Bot
f87d94a50e
chore: Publish crates
2022-05-05 02:51:14 +00:00
Alexander Akait
6310eab966
fix(html/parser): Fix a bug with optional li
( #4526 )
2022-05-05 02:48:43 +00:00
SWC Bot
242e53bfe5
chore: Publish crates
2022-05-05 02:28:41 +00:00
Austaras
2e74787870
fix(es/compat): Memorize computed props in logical assignment ( #4525 )
2022-05-05 02:25:37 +00:00
SWC Bot
eb7e20fd90
chore: Publish crates
2022-05-05 02:05:59 +00:00
Alexander Akait
5dc9376a4b
fix(html/parser): Fix parsing of cdata in foreign context ( #4531 )
2022-05-05 02:03:27 +00:00
SWC Bot
98b6727c9c
chore: Publish crates
2022-05-04 19:13:25 +00:00
Alexander Akait
2f6f8fa717
fix(html/parser): Fix a bug related to parsing foreign elements ( #4527 )
2022-05-04 19:10:39 +00:00
SWC Bot
b38f6ac3e3
chore: Publish crates
2022-05-04 15:10:39 +00:00
Donny/강동윤
f3b262e340
fix(es/modules): Preserve extensions ( #4524 )
2022-05-04 15:07:28 +00:00
Donny/강동윤
a6d404a8c2
chore(repo): Configure prettier
( #4523 )
2022-05-04 14:25:28 +00:00
Donny/강동윤
da5114d269
chore: Publish v1.2.177
2022-05-04 19:08:22 +09:00
SWC Bot
66f457ce28
chore: Publish crates
2022-05-04 06:13:32 +00:00
Alexander Akait
597c0c672a
fix(html/parser): Fix a bug of unwrapping element without parent ( #4505 )
2022-05-04 06:11:07 +00:00
SWC Bot
5b12a68cc7
chore: Publish crates
2022-05-04 05:48:37 +00:00
Pig Fang
0e0ded121c
feat(es/parser): Reject accessors named constructor
( #4520 )
2022-05-04 05:45:57 +00:00
Donny/강동윤
33f58faa0b
chore(repo): Fix lints ( #4519 )
2022-05-04 05:22:58 +00:00
SWC Bot
1d105ae76b
chore: Publish crates
2022-05-04 05:01:59 +00:00
OJ Kwon
c0432e46df
feat(plugin): Expose Pos
( #4516 )
2022-05-04 04:59:30 +00:00
Alexander Akait
202a6e4a01
test(html/parser): Add tests ( #4507 )
2022-05-04 04:13:15 +00:00
Donny/강동윤
cbe51616a2
chore: Publish v1.2.176
2022-05-04 12:17:07 +09:00
SWC Bot
51574d8b15
chore: Publish crates
2022-05-04 03:15:35 +00:00
Austaras
9e45882b84
fix(es/compat): Fix the position of inserted statements in class_properties
( #4511 )
2022-05-04 12:13:38 +09:00
Donny/강동윤
97e0e271d5
fix(es/compat): Revert a wrong patch about private properties
2022-05-04 12:13:07 +09:00
Donny/강동윤
ac5249dafa
chore: Publish v1.2.175
2022-05-03 16:51:07 +09:00
SWC Bot
00695f4b23
chore: Publish crates
2022-05-03 07:50:35 +00:00
Donny/강동윤
f30ffdf200
fix(es/decorators): Make legacy decorator identical to tsc
( #4496 )
2022-05-03 07:48:09 +00:00
Donny/강동윤
8629e0c665
test(es/decorators): Migrate some tests to file-based fixture tests ( #4510 )
2022-05-03 15:29:18 +09:00
SWC Bot
9a07601222
chore: Publish crates
2022-05-03 03:49:47 +00:00
Alexander Akait
efe87bcbf6
fix(html/parser): Fix parsing of a table with a table ( #4506 )
2022-05-03 03:47:03 +00:00
SWC Bot
180390df63
chore: Publish crates
2022-05-03 03:17:29 +00:00
Alexander Akait
b8588c4a45
fix(html/parser): Fix parsing of select
( #4504 )
2022-05-03 03:15:05 +00:00
SWC Bot
fea94a9c65
chore: Publish crates
2022-05-03 02:52:02 +00:00
Alexander Akait
fca84eb0f2
fix(html/parser): Fix bugs ( #4502 )
2022-05-03 02:49:06 +00:00
SWC Bot
6cd5cfe045
chore: Publish crates
2022-05-03 02:23:15 +00:00
Austaras
c4b156ce1f
fix(es/compat): Visit default export in static_block
( #4500 )
2022-05-03 02:20:49 +00:00
SWC Bot
f55c97cc30
chore: Publish crates
2022-05-03 01:26:25 +00:00
Alexander Akait
90ac93af12
fix(css/prefixer): Add prefix for print-color-adjust
( #4503 )
2022-05-03 10:23:50 +09:00
Donny/강동윤
518f769ef0
chore: Publish crates
2022-05-02 15:50:14 +09:00
SWC Bot
6ca7af9212
chore: Publish crates
2022-05-02 06:46:02 +00:00
Donny/강동윤
5c5337d342
feat(es/preset-env): Update data ( #4497 )
2022-05-02 06:43:36 +00:00
SWC Bot
ceed408e3c
chore: Publish crates
2022-05-02 04:37:58 +00:00
magic-akari
1e1d081805
fix(es/compat): Support updating a private field with bigint value ( #4136 )
2022-05-02 13:34:46 +09:00
SWC Bot
9fc3d2ce58
chore: Publish crates
2022-04-30 12:59:38 +00:00
Pig Fang
857e798194
feat(es/parser): Reject private field called #constructor
( #4491 )
2022-04-30 12:56:55 +00:00
SWC Bot
3443208810
chore: Publish crates
2022-04-30 12:35:42 +00:00
Satish Srinivasan
de53a6fa9d
feat(es/compat): Verify private property access ( #4465 )
2022-04-30 12:32:52 +00:00
Donny/강동윤
951e7b3fb9
chore: Publish crates
2022-04-30 18:21:26 +09:00
SWC Bot
b993b1fd9b
chore: Publish crates
2022-04-30 09:14:08 +00:00
Donny/강동윤
a444726fe3
fix(es/bugfixes): Fix handling of syntax context ( #4490 )
2022-04-30 09:11:20 +00:00
SWC Bot
179c014957
chore: Publish crates
2022-04-30 07:27:58 +00:00
Artur
17f237d3ba
feat(es/lints): Implement no-var
( #4485 )
2022-04-30 07:25:35 +00:00
SWC Bot
88103cc8ec
chore: Publish crates
2022-04-30 07:03:05 +00:00
Donny/강동윤
50b20496cd
refactor(es/minifier): Cleanup ( #4489 )
2022-04-30 07:00:21 +00:00
SWC Bot
b26ac6105e
chore: Publish crates
2022-04-30 04:11:33 +00:00
Alexander Akait
00358e10fc
fix(html/parser): Fix adoption agency algorithm ( #4487 )
2022-04-30 04:09:08 +00:00
Donny/강동윤
7552290ecd
chore: Publish v1.2.174
2022-04-30 12:50:24 +09:00
SWC Bot
a36e6a6726
chore: Publish crates
2022-04-30 00:59:36 +00:00
RiESAEX
7d40208377
fix(es/helpers): Update _interopRequireWildcard
( #4479 )
2022-04-30 00:56:48 +00:00
SWC Bot
cfe6e5fe1b
chore: Publish crates
2022-04-29 08:42:52 +00:00
Donny/강동윤
09ba3c0e68
feat(es/minifier): Add pristine_globals
( #4480 )
2022-04-29 08:40:16 +00:00
SWC Bot
48b427e403
chore: Publish crates
2022-04-29 07:48:41 +00:00
Artur
3a8cade209
feat(es/lints): Implement no-throw-literal
( #4477 )
2022-04-29 07:46:17 +00:00
SWC Bot
8611b1bf23
chore: Publish crates
2022-04-29 07:26:21 +00:00
Donny/강동윤
918c9c8a21
feat(es/minifier): Drop pure new
calls ( #4478 )
2022-04-29 07:22:13 +00:00
SWC Bot
588adf0913
chore: Publish crates
2022-04-29 06:01:32 +00:00
Donny/강동윤
7a584d755a
feat(es/minifier): Consider cost of functions for inlining ( #4470 )
2022-04-29 05:58:59 +00:00
SWC Bot
5a60e05102
chore: Publish crates
2022-04-29 05:32:42 +00:00
Alexander Akait
750d6551fc
feat(html/minifier): Remove duplicate attributes ( #4474 )
2022-04-29 05:28:55 +00:00
SWC Bot
f891c83f85
chore: Publish crates
2022-04-29 03:23:39 +00:00
Alexander Akait
a1877e740a
feat(html/minifier): Remove javascript:
prefix ( #4460 )
2022-04-29 03:19:44 +00:00
SWC Bot
01c8c0e22d
chore: Publish crates
2022-04-28 17:59:31 +00:00
Alexander Akait
8bdfcd996a
fix(html): Fix bugs of parser and codegen ( #4461 )
2022-04-28 17:57:05 +00:00
SWC Bot
44567bb065
chore: Publish crates
2022-04-28 17:30:17 +00:00
Alexander Akait
20982288fb
fix(html/parser): Fix bugs ( #4459 )
2022-04-28 17:27:39 +00:00
SWC Bot
bbd6fd07f7
chore: Publish crates
2022-04-28 13:31:45 +00:00
Donny/강동윤
273954640a
feat(es/minifier): Drop more returns ( #4471 )
2022-04-28 13:28:33 +00:00
SWC Bot
0340c6889f
chore: Publish crates
2022-04-28 11:44:18 +00:00
Donny/강동윤
233c4d5b86
fix(es/minifier): Fix skipping logic of sequential inliner ( #4469 )
2022-04-28 11:41:41 +00:00
Donny/강동윤
a72f436148
chore: Publish crates
2022-04-28 17:35:33 +09:00
SWC Bot
ce1aaa5390
chore: Publish crates
2022-04-28 08:34:59 +00:00
Donny/강동윤
effc85df57
fix(es/minifier): Disable some passes for hoist_props
( #4468 )
2022-04-28 08:32:03 +00:00
SWC Bot
5122a7dc62
chore: Publish crates
2022-04-28 05:21:48 +00:00
Donny/강동윤
c45b0df877
chore(es/minifier): Update debugging utils ( #4467 )
2022-04-28 05:19:08 +00:00
Donny/강동윤
1d1e7dcea5
chore: Publish v1.2.173
2022-04-28 13:43:22 +09:00
SWC Bot
989ea98ed0
chore: Publish crates
2022-04-28 04:19:17 +00:00
Donny/강동윤
0bc0bae90d
fix(es/async-generator): Fix yield*
in async generators ( #4452 )
2022-04-28 04:14:17 +00:00
SWC Bot
b44b7f9b3d
chore: Publish crates
2022-04-28 02:55:32 +00:00
Austaras
4262874ce4
fix(es/preset-env): Do not import new features when using old core-js ( #4458 )
2022-04-28 02:52:35 +00:00
SWC Bot
55abf8fc28
chore: Publish crates
2022-04-28 02:33:39 +00:00
Alexander Akait
0ae43502f3
feat(html/minifier): Compress whitespaces ( #4463 )
2022-04-28 02:30:53 +00:00
SWC Bot
8c520919fd
chore: Publish crates
2022-04-28 02:11:23 +00:00
Pig Fang
393cfa84b6
fix(es/parser): Throw syntax error for missing function expr body ( #4462 )
2022-04-28 02:08:17 +00:00
SWC Bot
1bce018804
chore: Publish crates
2022-04-28 01:47:51 +00:00
Alexander Akait
65a158a66b
fix(html/parser): Fix fosting logic for text nodes ( #4457 )
2022-04-28 01:44:13 +00:00
SWC Bot
c53778a3d8
chore: Publish crates
2022-04-27 05:12:01 +00:00
Alexander Akait
6e60813367
fix(html/parser): Parse table including broken one ( #4451 )
2022-04-27 05:09:25 +00:00
Alexander Akait
f30e7717a2
test(html/codegen): Improve fixture testing ( #4450 )
2022-04-27 03:28:36 +00:00
SWC Bot
bcef90dc97
chore: Publish crates
2022-04-27 03:10:17 +00:00
Pig Fang
df7b3f611a
feat(es/parser): Reject indirect opt chain in assignment ( #4447 )
2022-04-27 03:07:57 +00:00
SWC Bot
20f35cbcbd
chore: Publish crates
2022-04-27 02:48:54 +00:00
Alexander Akait
8c4dc4cc46
fix(html/parser): Fix a bug with nested tags ( #4438 )
2022-04-27 02:46:34 +00:00
Austaras
ec7dfb9209
chore(es/minifier): Don't run tests with infinite loops ( #4448 )
2022-04-27 02:21:39 +00:00
SWC Bot
60562e158d
chore: Publish crates
2022-04-26 14:21:53 +00:00
Donny/강동윤
962cf4a08c
fix(es): Remove wrong debug assertion ( #4445 )
2022-04-26 14:16:38 +00:00
Donny/강동윤
342869408b
chore: Publish crates
2022-04-26 19:35:25 +09:00
Donny/강동윤
27f9b30ef2
chore: Publish crates
2022-04-26 19:30:11 +09:00
Donny/강동윤
799be154d2
chore: Publish v1.2.172
2022-04-26 17:06:32 +09:00
SWC Bot
42efc40f7c
chore: Publish crates
2022-04-26 08:04:09 +00:00
Alexander Akait
8f2a3ead6a
fix(html/parsing): Fix parsing of formatting elements ( #4442 )
2022-04-26 08:01:26 +00:00
SWC Bot
99b6d99380
chore: Publish crates
2022-04-26 07:41:17 +00:00
Donny/강동윤
53610fdafc
feat(es/resolver): Use different syntax context for unresolved refs ( #4436 )
...
- We don't need a list of bindings to check if an identifier is unresolved.
- Checking if an identifier is unresolved is now one CPU instruction.
- Previously it was one hashmap operation.
- This PR also improves performance, by removing the hashmaps mentioned above.
2022-04-26 07:38:50 +00:00
SWC Bot
1d90d6e726
chore: Publish crates
2022-04-26 07:14:56 +00:00
Alexander Akait
4c699f2554
feat(html/minifier): Compress default values of attributes ( #4427 )
2022-04-26 07:12:32 +00:00
SWC Bot
c7aa0fe86b
chore: Publish crates
2022-04-26 01:38:35 +00:00
Pig Fang
1c2af932b6
feat(preset-env/base): Update "browserslist-rs" ( #4435 )
2022-04-26 01:35:43 +00:00
SWC Bot
4498d16c18
chore: Publish crates
2022-04-26 00:11:47 +00:00
overlookmotel
2813eaadcd
fix(es/ast): Fix tag of BigInt
( #4440 )
2022-04-26 00:09:14 +00:00
SWC Bot
47cfda2836
chore: Publish crates
2022-04-25 23:47:39 +00:00
Alexander Akait
3293060070
fix(html/parser): Fix span ( #4437 )
2022-04-25 23:45:14 +00:00
SWC Bot
4bdc198a55
chore: Publish crates
2022-04-25 23:13:22 +00:00
Pig Fang
465cc2f929
fix(es/parser): Fix top-level await with binary expr ( #4426 )
2022-04-25 23:10:59 +00:00
SWC Bot
7cbf30d5ac
chore: Publish crates
2022-04-25 15:34:29 +00:00
Donny/강동윤
8048597c9e
feat(es/optimization): Accept top level mark from simplifiers ( #4434 )
2022-04-25 15:31:59 +00:00
SWC Bot
d6c82b3b3a
chore: Publish crates
2022-04-25 14:37:42 +00:00
Alexander Akait
6fc70f3866
feat(html/minifier): Compress doctype ( #4425 )
2022-04-25 14:34:36 +00:00
SWC Bot
d5726ef002
chore: Publish crates
2022-04-25 14:13:53 +00:00
Donny/강동윤
6a19ff1a15
feat(node/css): Add css bindings crate ( #4346 )
2022-04-25 14:11:22 +00:00
SWC Bot
057285a51c
chore: Publish crates
2022-04-25 13:49:37 +00:00
Alexander Akait
25a87f0000
feat(html/minifier): Compress type
for style
and link
tags ( #4424 )
2022-04-25 13:44:53 +00:00
SWC Bot
65ced1d524
chore: Publish crates
2022-04-25 12:34:52 +00:00
Donny/강동윤
8118569045
fix(es/minifier): Remove wrong logic for optimizing delete
s ( #4429 )
2022-04-25 12:32:02 +00:00
SWC Bot
2dee47c430
chore: Publish crates
2022-04-25 12:10:52 +00:00
Donny/강동윤
9733917cc7
fix(es/minifier): Fix analysis of update expressions ( #4428 )
2022-04-25 12:07:27 +00:00
SWC Bot
6d4b32a51c
chore: Publish crates
2022-04-25 08:29:05 +00:00
Alexander Akait
4ccbdf2a7d
fix(html/parser): Fix parsing of foreign elements ( #4422 )
2022-04-25 08:26:08 +00:00
SWC Bot
747b8a1889
chore: Publish crates
2022-04-25 07:54:53 +00:00
Pig Fang
fec0f2e417
feat(html/minifier): Remove script
type
attribute ( #4407 )
2022-04-25 07:46:38 +00:00
SWC Bot
e0f10f876f
chore: Publish crates
2022-04-25 06:59:03 +00:00
Donny/강동윤
8ab12fd97b
fix(es/minifier): Preserve more side effects ( #4420 )
2022-04-25 06:56:19 +00:00
SWC Bot
255c4d369e
chore: Publish crates
2022-04-25 05:37:55 +00:00
Alexander Akait
9b26dbd457
fix(html/lexer): Fix lexing of html entity ( #4423 )
2022-04-25 05:34:59 +00:00
SWC Bot
f12183a245
chore: Publish crates
2022-04-24 15:36:35 +00:00
Donny/강동윤
aa19b65f9c
fix(es/minifier): Don't drop arguments to an IIFE without body ( #4419 )
2022-04-24 15:27:51 +00:00
Donny/강동윤
9b34ecfd2e
test(es/minifier): Categorize tests ( #4410 )
2022-04-24 12:11:02 +00:00
Donny/강동윤
f787f8c819
test(es/minifier): Execute terser tests if possible ( #4418 )
2022-04-24 11:40:39 +00:00
SWC Bot
d7aa781a16
chore: Publish crates
2022-04-24 03:29:34 +00:00
Austaras
83244add33
fix(es/minifier): Remove the last break in the last BlockStmt
( #4413 )
2022-04-24 03:26:49 +00:00
SWC Bot
3e2931e878
chore: Publish crates
2022-04-24 03:06:59 +00:00
Pig Fang
6dc64c9ca0
feat(es/parser): Reject 'use strict'
with non-simple params list in TS ( #4416 )
2022-04-24 03:04:38 +00:00
Donny/강동윤
4e113037e5
test(es/minifier): Use _
instead of -
for terser tests ( #4411 )
2022-04-23 18:34:00 +00:00
SWC Bot
487064f0b9
chore: Publish crates
2022-04-23 15:33:43 +00:00
Alexander Akait
c15dc4f2b7
feat(html/codegen): Print unquoted value when it is possible ( #4402 )
2022-04-23 15:31:11 +00:00
SWC Bot
cda7fc2264
chore: Publish crates
2022-04-23 14:47:56 +00:00
Pig Fang
da02c9dc50
feat(es/parser): Reject invalid new.target
( #4406 )
2022-04-23 14:45:11 +00:00
Donny/강동윤
ab88637937
test(es/minifier): Split tests into improvement and stabilization ( #4409 )
2022-04-23 13:40:28 +00:00
SWC Bot
b78ffcc058
chore: Publish crates
2022-04-23 11:01:17 +00:00
Donny/강동윤
4c9e5c01ef
perf(es/minifier): Add some fast-path to the MultiReplacer
( #4408 )
2022-04-23 19:53:21 +09:00
SWC Bot
5a8250610a
chore: Publish crates
2022-04-23 05:46:23 +00:00
Pig Fang
c96e32243c
feat(es/parser): Reject invalid regex flags ( #4404 )
2022-04-23 05:43:52 +00:00
SWC Bot
a6ca119c3f
chore: Publish crates
2022-04-23 04:29:04 +00:00
Alexander Akait
cf3be649bb
fix(html/parser): Parse foreign attributes ( #4400 )
2022-04-23 04:26:32 +00:00
SWC Bot
82069d1804
chore: Publish crates
2022-04-23 03:53:14 +00:00
Alexander Akait
63a6280e8f
feat(html/minifier): Initialize crate ( #4403 )
2022-04-23 03:50:59 +00:00
SWC Bot
258c019f1f
chore: Publish crates
2022-04-22 11:23:05 +00:00
Alexander Akait
7332dce4f8
feat(html): Prepare processing system ( #4358 )
2022-04-22 20:20:47 +09:00
SWC Bot
9dc30a5bc4
chore: Publish crates
2022-04-22 10:39:46 +00:00
Donny/강동윤
efdf93d910
chore(es/minifier): Add a script to instrument real-world inputs ( #4399 )
2022-04-22 10:37:04 +00:00
SWC Bot
0997081ef9
chore: Publish crates
2022-04-22 09:25:50 +00:00
Donny/강동윤
5134b4f9be
test(es): Add tests for .swcrc
( #4398 )
2022-04-22 18:23:04 +09:00
Donny/강동윤
60efb7e9c7
chore(plugin): Add a benchmark ( #4397 )
2022-04-22 14:52:55 +09:00
Donny/강동윤
11a5ad5be5
chore: Publish v1.2.171
2022-04-22 12:21:49 +09:00
Donny/강동윤
971351fe93
chore: Publish crates
2022-04-22 10:50:25 +09:00
SWC Bot
15aad03bff
chore: Publish crates
2022-04-22 01:46:47 +00:00
Donny/강동윤
375cc5975a
fix(es/minifier): Disable conditionals
by default ( #4391 )
2022-04-22 10:44:53 +09:00
Donny/강동윤
6b1501cf0f
chore: Publish crates
2022-04-22 10:44:27 +09:00
Pig Fang
59f63da560
feat(es/parser): Reject await expr with **
( #4395 )
2022-04-22 01:40:14 +00:00
SWC Bot
ee959ee2f6
chore: Publish crates
2022-04-21 13:12:02 +00:00
Donny/강동윤
139ac24c46
fix(es/codegen): Allow non-ascii character in more places ( #4394 )
2022-04-21 13:09:05 +00:00
SWC Bot
7d23492b16
chore: Publish crates
2022-04-21 10:02:50 +00:00
Austaras
8cf3ddda6c
feat(es/minifier): Improve handling of switches ( #4260 )
2022-04-21 10:00:25 +00:00
SWC Bot
2033b788a1
chore: Publish crates
2022-04-21 07:26:10 +00:00
Donny/강동윤
87859e373d
fix(es/minifier): Preserve more labels ( #4380 )
2022-04-21 07:23:50 +00:00
Donny/강동윤
b9cba1ad4d
test(es/parser): Add a test for a fixed issue ( #4388 )
2022-04-21 06:56:34 +00:00
SWC Bot
a4c708858e
chore: Publish crates
2022-04-20 18:01:05 +00:00
Donny/강동윤
000e31b3cd
chore: Fix CI, really
2022-04-21 02:41:01 +09:00
Donny/강동윤
11012d07e5
chore: Fix CI
2022-04-21 01:37:39 +09:00
Satish Srinivasan
805238ae30
fix(es): Fix CI ( #4385 )
...
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2022-04-21 01:08:01 +09:00
SWC Bot
be085bfb17
chore: Publish crates
2022-04-20 14:33:47 +00:00
Satish Srinivasan
a06c55930f
fix(common): Ignore extraneous mapping of 1, 0 => 0, 0 ( #4381 )
2022-04-20 23:31:06 +09:00
Donny/강동윤
dc84153ab5
chore: Publish crates
2022-04-20 23:15:56 +09:00
SWC Bot
4f7778930e
chore: Publish crates
2022-04-20 13:39:40 +00:00
Donny/강동윤
922299a490
fix(es/minifier): Don't drop labels if required ( #4370 )
2022-04-20 13:34:21 +00:00
OJ Kwon
8419b60430
fix(plugin): Align deps to fix build ( #4377 )
2022-04-20 08:05:02 +00:00
Donny/강동윤
a5c2976625
chore: Publish v1.2.170
2022-04-20 16:45:21 +09:00
SWC Bot
d71e17368b
chore: Publish crates
2022-04-20 07:43:05 +00:00
Donny/강동윤
203dde9c6b
perf(es/minifier): Fix default of TerserCompressorOptions
( #4378 )
2022-04-20 16:35:11 +09:00
Donny/강동윤
4a8b1dad1d
test(es/minifier): Organize tests ( #4375 )
2022-04-20 15:52:03 +09:00
Donny/강동윤
d87bc6e595
chore: Publish v1.2.169
2022-04-20 14:07:36 +09:00
Donny/강동윤
15efe48784
chore: Publish crates
2022-04-20 13:18:26 +09:00
SWC Bot
55708ba272
chore: Publish crates
2022-04-19 22:16:46 +00:00
Hannes Bornö
3bdf5a8960
fix(es/lexer): Fix handling of object properties with the name function
( #4374 )
2022-04-20 07:14:20 +09:00
SWC Bot
e00ac7e38f
chore: Publish crates
2022-04-19 22:05:01 +00:00
Donny/강동윤
a8eb00cc54
perf(es/minifier): Change default value of passes
to 3
( #4373 )
2022-04-19 22:02:33 +00:00
SWC Bot
aef1155311
chore: Publish crates
2022-04-19 18:15:24 +00:00
Donny/강동윤
5d179bfd7d
chore(es/minifier): Setup correct benchmark ( #4372 )
2022-04-19 18:12:04 +00:00
SWC Bot
bddccf68cf
chore: Publish crates
2022-04-19 17:15:03 +00:00
RiESAEX
c4f01c6d60
feat(cli): Support configuring output file extension ( #4343 )
2022-04-20 02:12:28 +09:00
SWC Bot
aabdcf092d
chore: Publish crates
2022-04-19 14:44:04 +00:00
Donny/강동윤
6300b9cdb1
perf(es/minifier): Make base54
use stack-allocated vector ( #4371 )
2022-04-19 14:41:26 +00:00
SWC Bot
0890de43ee
chore: Publish crates
2022-04-19 09:16:52 +00:00
Donny/강동윤
4b1590e72f
fix(es/minifier): Apply name mangler even more ( #4368 )
2022-04-19 09:14:15 +00:00
SWC Bot
33e4661090
chore: Publish crates
2022-04-19 08:22:48 +00:00
Donny/강동윤
a8ed5ba357
fix(es/minifier): Apply name mangler as much as we can ( #4365 )
2022-04-19 17:20:12 +09:00
SWC Bot
43e3a26e4d
chore: Publish crates
2022-04-19 07:34:10 +00:00
Donny/강동윤
128175c329
fix(es/minifier): Fix default values of toplevel
( #4366 )
2022-04-19 07:31:48 +00:00
SWC Bot
2c6abc06fc
chore: Publish crates
2022-04-19 05:30:58 +00:00
OJ Kwon
f06c862a9f
feat(plugin): Support lookup_char_pos
of SourceMap
( #4364 )
2022-04-19 14:26:28 +09:00
SWC Bot
c769c95ac5
chore: Publish crates
2022-04-18 11:00:14 +00:00
Donny/강동윤
5c1ce0ba05
fix(es/modules/cjs): Fix order of statements ( #4361 )
2022-04-18 10:57:55 +00:00
SWC Bot
492611b73a
chore: Publish crates
2022-04-18 02:46:44 +00:00
Donny/강동윤
e60ae2a486
feat(es/minifier): Implement all template literal evaluation rules ( #4360 )
...
- We now handle nested template literals.
- We now drop expressions in template literals if it's ignored.
2022-04-18 02:43:55 +00:00
SWC Bot
7fe0dbc228
chore: Publish crates
2022-04-17 23:46:20 +00:00
Donny/강동윤
2e095face5
feat(es/minifier): Improve evaluation of template literals ( #4359 )
2022-04-18 08:43:54 +09:00
Donny/강동윤
bf761752f1
test(es/parser): Add a test for a fixed issue ( #4357 )
2022-04-17 22:44:46 +00:00
SWC Bot
d58e303e83
chore: Publish crates
2022-04-17 22:18:38 +00:00
Donny/강동윤
e13b8625f2
feat(es/minifier): Implement more evaluation rules ( #4356 )
...
- We now handle `array.join` in parallel optimizer.
- We now handle `[].join` of template literals.
- We now optimize a template literal as a string addition, in unsafe mode.
2022-04-17 22:16:21 +00:00
Donny/강동윤
8309440008
chore(es): Rename benchmarks ( #4355 )
2022-04-17 18:36:15 +00:00
Donny/강동윤
77f9c8e5b6
chore: Publish v1.2.168
2022-04-18 02:52:52 +09:00
SWC Bot
b3540848ef
chore: Publish crates
2022-04-17 16:26:29 +00:00
Donny/강동윤
da6fa60231
perf(es): Disable wrong parallelization ( #4354 )
2022-04-17 16:24:00 +00:00
Donny/강동윤
b3b95acc75
feat(es/minifier): const
=> let
( #3654 )
2022-04-17 15:52:29 +00:00
SWC Bot
320e27fb52
chore: Publish crates
2022-04-17 14:27:11 +00:00
Donny/강동윤
42e15aedc2
perf(es/minifier): Split frequently used functions ( #4352 )
2022-04-17 14:22:38 +00:00
SWC Bot
29ff9cb29f
chore: Publish crates
2022-04-17 12:08:09 +00:00
Donny/강동윤
4953ce466f
fix(es/codegen): Emit decorators before export ( #4349 )
2022-04-17 12:05:47 +00:00
Donny/강동윤
2563c7f8ff
chore(es/minifier): Improve scripts ( #4339 )
2022-04-17 19:53:47 +09:00
Donny/강동윤
14c74f50c0
chore(es/minifier): Organize scripts ( #4347 )
2022-04-17 10:16:40 +00:00
SWC Bot
a128b658b7
chore: Publish crates
2022-04-17 08:17:44 +00:00
Austaras
5a5e41aaaa
fix(es/minifier): Preserve vars in dead branches ( #4345 )
2022-04-17 08:15:14 +00:00
Donny/강동윤
2a5c06ff2c
chore: Publish v1.2.167
2022-04-17 16:07:01 +09:00
Donny/강동윤
66ff7b8a09
perf(es/minifier): Make name mangler faster ( #4342 )
2022-04-17 15:35:36 +09:00
SWC Bot
8937e1c499
chore: Publish crates
2022-04-16 15:27:34 +00:00
Pig Fang
31b3336cd5
fix(es/parser): Reject optional constructor call ( #4340 )
2022-04-16 15:18:14 +00:00
Donny/강동윤
008e8cbd1b
chore: Publish v1.2.166
2022-04-16 07:34:53 +09:00
SWC Bot
3459b18c32
chore: Publish crates
2022-04-15 22:33:58 +00:00
Donny/강동윤
ba5f7436c1
chore(es/minifier): Add full benchmark for .minify()
( #4341 )
2022-04-15 22:31:15 +00:00
SWC Bot
8191762dd5
chore: Publish crates
2022-04-15 14:18:51 +00:00
Pig Fang
ea466afdc8
fix(es/parser): Make parsing of TS InstantiationExpr more permissive ( #4332 )
2022-04-15 14:16:31 +00:00
Donny/강동윤
83a8f489ec
refactor(bindings): Rename crates ( #4337 )
2022-04-15 22:47:44 +09:00
Donny/강동윤
b8d9a58f13
chore: Publish crates
2022-04-15 21:39:29 +09:00
SWC Bot
6b1e175de4
chore: Publish crates
2022-04-15 11:04:04 +00:00
Donny/강동윤
4110fcb961
fix(es/minifier): Inline before cloning ( #4338 )
2022-04-15 11:01:29 +00:00
SWC Bot
075c7ff79d
chore: Publish crates
2022-04-15 08:28:31 +00:00
Donny/강동윤
f92242dcb1
feat(es/minifier): Improve sequential inliner ( #4335 )
...
- We now skip more expressions.
2022-04-15 08:25:31 +00:00
SWC Bot
4f9b9666d3
chore: Publish crates
2022-04-15 08:02:32 +00:00
Dion
4c9973010a
fix(es/codegen): Fix codegen of arrow expressions ( #4306 )
...
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2022-04-15 08:00:04 +00:00
SWC Bot
995b4367cc
chore: Publish crates
2022-04-15 07:39:50 +00:00
Donny/강동윤
7599fe7431
fix(es/parser): Enable static blocks by default ( #4334 )
2022-04-15 07:31:41 +00:00
SWC Bot
1a752de78e
chore: Publish crates
2022-04-14 06:03:03 +00:00
Donny/강동윤
8886a4b572
fix(es/minifier): Respect dead_code
( #4328 )
2022-04-14 06:00:43 +00:00
SWC Bot
62b021b5b2
chore: Publish crates
2022-04-14 04:13:17 +00:00
Alexander Akait
405e5ed0b3
fix(css/prefixer): Fix more bugs ( #4330 )
2022-04-14 13:10:30 +09:00
SWC Bot
845312ee45
chore: Publish crates
2022-04-14 00:53:25 +00:00
Pig Fang
37aec5b199
refactor(es/parser): Simplify logic ( #4329 )
2022-04-14 09:50:54 +09:00
SWC Bot
ed2674f106
chore: Publish crates
2022-04-13 19:53:48 +00:00
Julien Karst
780de7095e
fix(es/loader): Fix traversal of node modules resolver ( #4327 )
2022-04-13 19:51:17 +00:00
SWC Bot
bef183e74a
chore: Publish crates
2022-04-13 19:18:56 +00:00
Pig Fang
1c3d1af01c
feat(es/parser): Support extends
clause to infer
type ( #4326 )
2022-04-13 19:16:15 +00:00
SWC Bot
39dc394933
chore: Publish crates
2022-04-13 14:26:17 +00:00
Donny/강동윤
2002554fa2
refactor(es/minifier): Clean up logging ( #4322 )
2022-04-13 23:23:07 +09:00
SWC Bot
279145022d
chore: Publish crates
2022-04-13 10:19:53 +00:00
Donny/강동윤
0245e26af5
fix(es/codegen): Fix overflow of numeric literals ( #4321 )
2022-04-13 10:16:51 +00:00
SWC Bot
b2e4be5c1e
chore: Publish crates
2022-04-13 08:33:46 +00:00
Alexander Akait
ac4f14ad7b
fix(css/prefixer): Handle at-rules and don't generate unnecessary prefixes ( #4318 )
2022-04-13 08:28:09 +00:00
SWC Bot
8959774a78
chore: Publish crates
2022-04-13 07:05:03 +00:00
Alexander Akait
81370d16cb
fix(css/parser): Parse legacy calc
s ( #4320 )
2022-04-13 07:02:31 +00:00
SWC Bot
876baeb77a
chore: Publish crates
2022-04-12 13:38:41 +00:00
Alexander Akait
65b18ee602
feat(css/minifier): Compress colors ( #4308 )
2022-04-12 13:35:57 +00:00
SWC Bot
591b98df66
chore: Publish crates
2022-04-12 22:11:46 +09:00
Donny/강동윤
6c9882ec68
fix(es/compat): Fix renaming bug of block_scoping
( #4310 )
2022-04-12 22:11:34 +09:00
SWC Bot
06c829da71
chore: Publish crates
2022-04-12 03:42:51 +00:00
Donny/강동윤
74a5087989
feat(es/minifier): Enable dead_code
by default ( #4309 )
2022-04-12 03:40:10 +00:00
SWC Bot
e133071c41
chore: Publish crates
2022-04-12 02:15:01 +00:00
Donny/강동윤
7e8f613272
feat(es/minifier): Enable conditionals
by default ( #4301 )
2022-04-12 02:12:10 +00:00
SWC Bot
fa880634bd
chore: Publish crates
2022-04-11 20:05:28 +00:00
magic-akari
d0de5a63a0
feat(es): Support typeof
with private fields ( #4302 )
2022-04-11 20:02:51 +00:00
SWC Bot
5eed25f552
chore: Publish crates
2022-04-11 19:14:46 +00:00
Alexander Akait
690ce2628c
fix(css/prefixer): Don't prefix if it's already prefixed ( #4307 )
2022-04-11 19:12:12 +00:00
SWC Bot
4a097adbf7
chore: Publish crates
2022-04-11 18:48:43 +00:00
那里好脏不可以
37a8c90750
chore(*): Typo + fomatting ( #4304 )
2022-04-11 18:45:58 +00:00
Austaras
df0d572b4f
chore(es/minifier): Update terser test references ( #4297 )
2022-04-10 06:50:52 +00:00
SWC Bot
d1a5115c6e
chore: Publish crates
2022-04-09 09:18:07 +00:00
Donny/강동윤
b990b19ed1
fix(es/minifier): Fix inlining of uninitialized variables ( #4292 )
2022-04-09 09:15:40 +00:00
SWC Bot
1fb456c630
chore: Publish crates
2022-04-09 08:16:20 +00:00
Austaras
e4a565c2d4
fix(es/lints): Check parameters in the duplicate binding rule ( #4288 )
2022-04-09 08:14:01 +00:00
SWC Bot
ea3d6c1a58
chore: Publish crates
2022-04-09 07:50:29 +00:00
OJ Kwon
cf7ca5076a
refactor(plugin/api): Expand the proxy crate ( #4290 )
2022-04-09 07:47:43 +00:00
Donny/강동윤
6fe4ee79be
chore: Publish crates
2022-04-09 16:18:24 +09:00
SWC Bot
67f1944441
chore: Publish crates
2022-04-09 07:14:42 +00:00
OJ Kwon
281db2cc4f
feat(plugin): Make more types serializable ( #4289 )
2022-04-09 16:12:14 +09:00
Donny/강동윤
dc7fc74172
chore: Publish v1.2.165
2022-04-09 16:08:03 +09:00
SWC Bot
431f70d563
chore: Publish crates
2022-04-08 18:11:07 +00:00
Donny/강동윤
4868c73d5b
fix(es/optimization): Don't create invalid sequence expressions ( #4285 )
2022-04-08 18:08:31 +00:00
SWC Bot
6c50ae6b0d
chore: Publish crates
2022-04-08 09:22:45 +00:00
Alexander Akait
ee108af3d0
feat(html): Add raw fields ( #4281 )
2022-04-08 09:19:58 +00:00
SWC Bot
974919eafa
chore: Publish crates
2022-04-08 08:59:03 +00:00
Donny/강동윤
c961371c31
fix(es/minifier): Fix handling of eval
( #4273 )
2022-04-08 08:56:28 +00:00
SWC Bot
21d3fea824
chore: Publish crates
2022-04-08 08:34:58 +00:00
OJ Kwon
3c4e5204ec
feat(plugin): Implement Copy
and Clone
for the comment proxy ( #4280 )
2022-04-08 08:32:05 +00:00
SWC Bot
aabb48d9b2
chore: Publish crates
2022-04-08 08:11:00 +00:00
OJ Kwon
fc3a2d0cf9
feat(plugin/runner): Allow fs access from wasi plugin ( #4279 )
2022-04-08 08:03:03 +00:00
SWC Bot
e0556cb136
chore: Publish crates
2022-04-08 06:56:04 +00:00
Alexander Akait
7f38e06e02
fix(css/prefixer): FIx a bug related to writing-mode
( #4278 )
2022-04-08 06:53:38 +00:00
SWC Bot
1211a34618
chore: Publish crates
2022-04-08 06:31:07 +00:00
Austaras
720244fff9
fix(es/module): Support top-level await in dynamic imports ( #4277 )
2022-04-08 15:28:10 +09:00
SWC Bot
9feabcd145
chore: Publish crates
2022-04-07 08:11:17 +00:00
Donny/강동윤
434dcf4af7
refactor(es/minifier): Merge code for multi-replacer ( #4269 )
2022-04-07 08:08:42 +00:00
SWC Bot
67c8c6debd
chore: Publish crates
2022-04-07 07:30:41 +00:00
OJ Kwon
fad652f879
chore(plugin): Align version of swc_common
to include dummy comment api ( #4270 )
2022-04-07 07:21:37 +00:00
Donny/강동윤
c45d9c5697
chore: Publish v1.2.164
2022-04-07 14:56:59 +09:00
SWC Bot
4c89ddd020
chore: Publish crates
2022-04-07 05:39:57 +00:00
OJ Kwon
b15e984317
feat(plugin): Implement proxy for dummy_with_cmt
( #4268 )
2022-04-07 05:37:12 +00:00
SWC Bot
92186d0407
chore: Publish crates
2022-04-07 05:15:21 +00:00
Alexander Akait
105a0cccf7
fix(html/parser): Fix bugs ( #4265 )
2022-04-07 14:12:54 +09:00
SWC Bot
ddbf5a3d43
chore: Publish crates
2022-04-07 04:09:36 +00:00
OJ Kwon
8706c17c4f
refactor(plugin): Consolidate exported namespaces ( #4263 )
2022-04-07 04:07:10 +00:00
SWC Bot
55418fb4fe
chore: Publish crates
2022-04-07 03:45:35 +00:00
Hannes Bornö
674275c824
feat(es/parser): Report more errors ( #4244 )
2022-04-07 03:43:10 +00:00
SWC Bot
ed2815baec
chore: Publish crates
2022-04-07 03:18:28 +00:00
William Tetlow
b89937c3c0
fix(es/parser): Adjust context in a function block ( #4264 )
2022-04-07 12:15:59 +09:00
SWC Bot
91e889f531
chore: Publish crates
2022-04-06 11:10:53 +00:00
Donny/강동윤
1f5cac4d41
feat(es/minifier): Implement more rules for hoist_props
( #4262 )
2022-04-06 11:01:45 +00:00
SWC Bot
35ad940ca5
chore: Publish crates
2022-04-06 06:31:19 +00:00
Donny/강동윤
ab1f440103
feat(es/minifier): Exclude local bindings from aliases ( #4261 )
...
- We now exclude bindings created by the initializer while analyzing aliases.
2022-04-06 06:28:49 +00:00
SWC Bot
3ed18eb480
chore: Publish crates
2022-04-06 06:01:48 +00:00
Alexander Akait
3f6037b467
fix(html/parser): Support cdata ( #4259 )
2022-04-06 14:59:10 +09:00
SWC Bot
0505a09ecd
chore: Publish crates
2022-04-06 05:33:56 +00:00
Alexander Akait
8640c8bd43
feat(html): Support boolean attributes ( #4258 )
2022-04-06 05:31:27 +00:00
SWC Bot
e91be102d7
chore: Publish crates
2022-04-06 05:10:26 +00:00
Alexander Akait
8b6647cf85
feat(css/parser): Improve error recovery for unknown at-rules ( #4257 )
2022-04-06 05:07:48 +00:00
SWC Bot
b72ec7b53b
chore: Publish crates
2022-04-06 04:46:07 +00:00
Victor Sumner
7bc04a6791
feat(plugin/api): Expose swc_ecma_utils
( #4256 )
2022-04-06 04:43:32 +00:00
Alexander Akait
1f0039f2c3
test(es/parser): Add a test for a fixed issue ( #4255 )
2022-04-06 00:21:13 +09:00
SWC Bot
5eb3d8315a
chore: Publish crates
2022-04-05 12:49:22 +00:00
Alexander Akait
f39d3aca4d
feat(es/ast): Add raw
to Num
( #4245 )
2022-04-05 12:46:35 +00:00
SWC Bot
8c4ad410f8
chore: Publish crates
2022-04-05 11:49:50 +00:00
Donny/강동윤
ccd3188c8b
fix(es/codegen): Handle comments on the argument of throw
( #4254 )
2022-04-05 11:47:18 +00:00
SWC Bot
bef40f8443
chore: Publish crates
2022-04-05 09:14:49 +00:00
Donny/강동윤
8cd903b3b0
fix(es/codegen): Commit ;
before a template literal ( #4252 )
2022-04-05 09:12:23 +00:00
Donny/강동윤
c32f42b374
test(es): Organize tests ( #4251 )
2022-04-05 08:21:19 +00:00
SWC Bot
9843ee42df
chore: Publish crates
2022-04-05 07:37:06 +00:00
Donny/강동윤
350a19587e
fix(es/minifier): Fix infinite loops ( #4250 )
...
- We now don't mark changes due to `negate_cost` as a change.
2022-04-05 07:29:10 +00:00
SWC Bot
ea871e2879
chore: Publish crates
2022-04-05 06:27:53 +00:00
Donny/강동윤
4701da576f
feat(es/minifier): Improve inliner and evaluator ( #4216 )
2022-04-05 06:25:23 +00:00
Donny/강동윤
990b320394
chore: Publish crates
2022-04-05 14:44:51 +09:00
OJ Kwon
4093814895
chore(build): Dedup swc_common
( #4247 )
2022-04-05 14:28:07 +09:00
那里好脏不可以
06020bb76d
chore(es/preset-env): Typo ( #4243 )
2022-04-04 15:15:11 +00:00
Donny/강동윤
1f466e1d2f
chore(ci): Fix benchmark action ( #4242 )
2022-04-04 20:12:03 +09:00
SWC Bot
fd7cbfb99d
chore: Publish crates
2022-04-04 04:39:08 +00:00
Xiaotao
8008b79f8c
feat(es): Support jsonc for .swcrc
( #4236 )
2022-04-04 04:36:47 +00:00
Alexander Akait
3e7872c8de
feat(html): Initialize ( #4240 )
2022-04-04 04:12:45 +00:00
SWC Bot
b973d35282
chore: Publish crates
2022-04-04 03:48:39 +00:00
magic-akari
6a51d0471a
fix(es/minifier): Handle empty RegExp ( #4235 )
2022-04-04 03:46:07 +00:00
SWC Bot
abc412cdbd
chore: Publish crates
2022-04-04 03:25:37 +00:00
Austaras
b1645f606d
fix(es/optimizer/simplifier): Collect idents in init first ( #4239 )
2022-04-04 12:23:15 +09:00
Donny/강동윤
06d0891e7c
chore(bench): Migrate to criterion ( #4237 )
2022-04-04 00:56:29 +09:00
SWC Bot
14ab63b26e
chore: Publish crates
2022-04-03 14:12:13 +00:00
magic-akari
6d380ea6fa
fix(es/parser): Support error reporting for TS1274 ( #4232 )
2022-04-03 23:09:36 +09:00
SWC Bot
6e4dc582ba
chore: Publish crates
2022-04-03 13:15:32 +00:00
Donny/강동윤
fe358ad0b9
feat(es/minifier): Improve sequential inlining ( #4231 )
2022-04-03 13:13:15 +00:00
SWC Bot
aac4e34d91
chore: Publish crates
2022-04-03 11:49:06 +00:00
Donny/강동윤
55b98fc874
fix(es/minifier): Remap variables on IIFE evaluation ( #4230 )
...
- We now check if there's pending inlining before remapping variables.
- We now use ad-hoc type for remapping.
- We now inline before remapping to prevent interference with inlining.
2022-04-03 11:39:05 +00:00
Donny/강동윤
012d3a67fa
chore: Publish v1.2.163
2022-04-03 16:06:38 +09:00
SWC Bot
833b045102
chore: Publish crates
2022-04-03 06:25:15 +00:00
OJ Kwon
6ea66cf001
feat(plugin): Implement plugin api for comments ( #4229 )
2022-04-03 15:22:36 +09:00
Donny/강동윤
f39895e563
chore: Publish crates
2022-04-02 16:25:18 +09:00
Donny/강동윤
7eea95be7a
fix(es/preset-env): Change order of passes
2022-04-02 06:57:17 +00:00
Donny/강동윤
bbbaf15bba
test(es): Add a test to ensure that an issue is not a bug of swc ( #4227 )
2022-04-02 06:29:09 +00:00
SWC Bot
3337777f8c
chore: Publish crates
2022-04-02 06:06:39 +00:00
Alexander Akait
e91f271873
feat(es/ast): Add raw
to BigInt
( #4218 )
2022-04-02 06:04:14 +00:00
SWC Bot
257f0dbb7f
chore: Publish crates
2022-04-02 05:37:49 +00:00
Alexander Akait
def2826029
feat(css/ast): Derive more traits ( #4220 )
2022-04-02 14:35:05 +09:00
SWC Bot
0bac3d08f0
chore: Publish crates
2022-04-02 05:34:19 +00:00
Victor Sumner
69cb512e57
fix(cli): Update plugin template ( #4222 )
2022-04-02 05:31:57 +00:00
Donny/강동윤
ac2357ebd9
chore: Publish crates
2022-04-02 01:59:34 +09:00
SWC Bot
77abfef314
chore: Publish crates
2022-04-01 11:55:47 +00:00
Alexander Akait
6696a93b5c
refactor(css/ast): Union all at-rules to one at-rule in AST ( #4189 )
2022-04-01 20:53:23 +09:00
SWC Bot
d2f44095dc
chore: Publish crates
2022-04-01 11:14:19 +00:00
Donny/강동윤
688f653323
perf(es/minifier): Add fast-path for sequences pass ( #4217 )
2022-04-01 11:06:35 +00:00
SWC Bot
4679f65782
chore: Publish crates
2022-04-01 06:54:28 +00:00
Alexander Akait
75b0ed55f6
fix(css/prefixer): Fix flex box ( #4212 )
2022-04-01 06:52:03 +00:00
SWC Bot
ee9e661e03
chore: Publish crates
2022-04-01 06:22:48 +00:00
Donny/강동윤
164556290b
perf(es/parser): Improve performance by using #[cold]
( #4215 )
2022-04-01 06:20:29 +00:00
SWC Bot
1068561800
chore: Publish crates
2022-04-01 04:29:08 +00:00
magic-akari
b793aa0200
feat(es/compat): Support more regex expressions ( #4205 )
2022-04-01 04:26:30 +00:00
Donny/강동윤
a05a0d58a6
chore: Publish v1.2.162
2022-03-31 23:12:53 +09:00
Donny/강동윤
60c9ddf5fd
chore: Publish crates
2022-03-31 23:08:24 +09:00
Donny/강동윤
61366c85b3
chore: Publish crates
2022-03-31 23:06:10 +09:00
SWC Bot
d19c8a8aa3
chore: Publish crates
2022-03-31 13:03:06 +00:00
magic-akari
6a27a0ce88
fix(es/compat): Hoist env in function params ( #4210 )
2022-03-31 13:00:19 +00:00
Donny/강동윤
3b1da220e2
refactor(*): Remove fastmem
( #4211 )
2022-03-31 11:40:06 +00:00
SWC Bot
30742ae6e7
chore: Publish crates
2022-03-31 09:14:23 +00:00
Donny/강동윤
10718547e0
fix(es/minifier): Fix evaluation of IIFEs ( #4207 )
...
- We now remap parameters using a new syntax context. This is required because we may copy functions, and it can result in duplicated variables with respect to the span hygiene.
- We now visit the sequence expression generated by inlining. This is to improve performance in some cases.
- We now remove variables from variable statements if it's identical to a parameter declared in the function.
- IIFE evaluation is now aware of `this` being different for member expressions.
- We now have more logic for detecting simple functions.
2022-03-31 09:11:54 +00:00
SWC Bot
79866cf0d2
chore: Publish crates
2022-03-31 08:47:32 +00:00
OJ Kwon
536a190dc9
feat(plugin): Implement PoC of comments api ( #4206 )
2022-03-31 08:45:08 +00:00
OJ Kwon
eecda21d9a
fix(node-swc): Initialize custom trace subscriber only once ( #4209 )
2022-03-31 07:11:31 +00:00
SWC Bot
24ce355d77
chore: Publish crates
2022-03-31 00:56:42 +00:00
overlookmotel
073751f70d
fix(es/optimization): Support jsx in dce
( #4203 )
2022-03-31 00:54:20 +00:00
SWC Bot
30cde5b0eb
chore: Publish crates
2022-03-30 23:37:49 +00:00
Donny/강동윤
11fe5fabd8
feat(es/minifier): Evaluate more iifes ( #4200 )
2022-03-30 23:35:30 +00:00
SWC Bot
c6a583741c
chore: Publish crates
2022-03-30 22:53:40 +00:00
SWC Bot
19bc43f3ed
chore: Publish crates
2022-03-30 22:03:54 +00:00
William Tetlow
99a0d34a1e
fix(es/parser): Fix parsing of an arrow and a conditional expression ( #4199 )
2022-03-30 22:01:31 +00:00
SWC Bot
cfed024514
chore: Publish crates
2022-03-30 21:19:05 +00:00
Austaras
c946236fcc
fix(es/compat): Fix label handling of block_scoping
( #4198 )
2022-03-30 21:16:34 +00:00
SWC Bot
9a3591a424
chore: Publish crates
2022-03-30 20:34:01 +00:00
David Sherret
cffe5ca58e
feat(es/parser): Allow parsing files with missing close braces ( #4187 )
2022-03-30 20:31:24 +00:00
SWC Bot
b67c104877
chore: Publish crates
2022-03-30 12:07:14 +00:00
Austaras
3426dda4f7
fix(es/compat): Handle new.target
in getter/setter properties ( #4194 )
2022-03-30 12:04:27 +00:00
SWC Bot
40b3381ae8
chore: Publish crates
2022-03-30 10:32:51 +00:00
magic-akari
4f5c5cf842
fix(es/compat): Handle spreads of string literials ( #4191 )
2022-03-30 19:30:06 +09:00
SWC Bot
a320f4ddfd
chore: Publish crates
2022-03-30 06:10:09 +00:00
David Sherret
1759567fc4
chore(es/parser): Add span tests back ( #4186 )
2022-03-30 06:07:40 +00:00
SWC Bot
1ac4e54ee4
chore: Publish crates
2022-03-29 10:16:17 +00:00
Donny/강동윤
9a9a4f37d8
fix(es/minifier): Fix react-ace
( #4183 )
2022-03-29 10:13:30 +00:00
SWC Bot
9b63369d1e
chore: Publish crates
2022-03-29 06:20:24 +00:00
OJ Kwon
8ca4e67451
refactor(cli): Alias plugin build with wasm target ( #4181 )
2022-03-29 15:17:40 +09:00
SWC Bot
c0abdb394a
chore: Publish crates
2022-03-29 04:27:33 +00:00
Donny/강동윤
6d3ea17aa6
feat(es/minifier): Optimize switches more correctly ( #4180 )
2022-03-29 04:25:15 +00:00
SWC Bot
783904917d
chore: Publish crates
2022-03-29 01:48:37 +00:00
Donny/강동윤
a6f6799811
feat(es/minifier): Evaluate trivial expressions ( #4179 )
2022-03-29 01:46:09 +00:00
Donny/강동윤
3d62f42020
chore: Publish crates
2022-03-29 07:07:48 +09:00
Donny/강동윤
e763af77dd
chore: Publish v1.2.161
2022-03-28 21:26:46 +09:00
SWC Bot
6125de9808
chore: Publish crates
2022-03-28 12:20:51 +00:00
Alexander Akait
fcf67c4570
fix(es): Consume surrogate pairs ( #4115 )
2022-03-28 12:18:06 +00:00
SWC Bot
13e7b4f92a
chore: Publish crates
2022-03-28 09:16:49 +00:00
Donny/강동윤
6f25e5774b
feat(es/minifier): Implement more rules for dropping unused assignemnts ( #4171 )
2022-03-28 09:14:16 +00:00
SWC Bot
e7089d8b3e
chore: Publish crates
2022-03-28 08:52:53 +00:00
Artur
a88d56ee08
feat(es/lints): Implement no-obj-calls
rule ( #4168 )
2022-03-28 08:50:32 +00:00
SWC Bot
4bb22f9b5c
chore: Publish crates
2022-03-28 08:30:00 +00:00
Artur
2a9cb2d12a
refactor(es/lints): Use util for parens ( #4167 )
2022-03-28 08:20:46 +00:00
SWC Bot
589ff584e7
chore: Publish crates
2022-03-28 06:51:53 +00:00
OJ Kwon
b473414b3c
chore(deps): Update string-cache
( #4169 )
2022-03-28 15:49:30 +09:00
SWC Bot
4cdf4b96e3
chore: Publish crates
2022-03-27 05:34:40 +00:00
RiESAEX
ea0de90137
fix(es/codegen): Emit sourcemap of key-value properties correctly ( #4166 )
2022-03-27 14:26:53 +09:00
SWC Bot
3761ba4c98
chore: Publish crates
2022-03-26 06:52:11 +00:00
Artur
10851ece98
feat(es/lints): Implement symbol-description
rule ( #4161 )
2022-03-26 06:49:57 +00:00
SWC Bot
6debb423d5
chore: Publish crates
2022-03-26 06:28:01 +00:00
magic-akari
fce554cfb0
fix(es/lints): Ignore type-only imports while checking duplicates ( #4163 )
2022-03-26 15:25:17 +09:00
Donny/강동윤
32c2de1181
chore: Publish crates
2022-03-25 21:15:57 +09:00
SWC Bot
1a3ed8e625
chore: Publish crates
2022-03-25 12:10:43 +00:00
Donny/강동윤
b37dafbd27
feat(es/minifier): Implement rules for optimizing loops ( #4157 )
2022-03-25 12:08:14 +00:00
SWC Bot
7e9118f6b6
chore: Publish crates
2022-03-25 11:18:40 +00:00
Donny/강동윤
5de31416be
feat(es/plugin): Make quote
optional ( #4160 )
2022-03-25 11:16:06 +00:00
Donny/강동윤
78175473fa
refactor(css/prefixer): Rename crate ( #4159 )
2022-03-25 19:46:45 +09:00
SWC Bot
38d91471ab
chore: Publish crates
2022-03-25 07:07:48 +00:00
OJ Kwon
161353cf25
feat(plugin/runner): Implement initial loading for wasm32 ( #4151 )
2022-03-25 07:05:26 +00:00
Donny/강동윤
97dfcb9ccb
chore(es/minifier): Add logging ( #4156 )
2022-03-25 06:44:07 +00:00
Alexander Akait
364ebd951a
feat(css/minifier): Compress more properties ( #4155 )
2022-03-25 06:20:39 +00:00
SWC Bot
e23066487e
chore: Publish crates
2022-03-25 05:59:35 +00:00
Alexander Akait
46c35dab25
feat(css/prefixer): Prefix more properties ( #4153 )
2022-03-25 05:57:04 +00:00
SWC Bot
973890bc52
chore: Publish crates
2022-03-25 05:08:50 +00:00
RiESAEX
7a1dcb1b93
fix(es): Make ErrorConfig.filename
default to true ( #4150 )
2022-03-25 05:06:15 +00:00
SWC Bot
d8abd9d2aa
chore: Publish crates
2022-03-24 17:23:24 +00:00
Artur
7a06c5b3d8
feat(es/lints): Remove source map accesses ( #4147 )
2022-03-24 17:07:18 +00:00
SWC Bot
d4b6b53641
chore: Publish crates
2022-03-24 11:18:13 +00:00
Hannes Bornö
cd7112b18b
feat(es/parser): Report more errors for invalid patterns ( #4145 )
2022-03-24 11:15:28 +00:00
SWC Bot
9431eae9f4
chore: Publish crates
2022-03-24 10:30:10 +00:00
Artur
47712de0da
feat(es/lints): Implement no-param-reassign
rule ( #4134 )
2022-03-24 10:27:26 +00:00
SWC Bot
a293adca0a
chore: Publish crates
2022-03-24 04:23:15 +00:00
magic-akari
f5ce79a72c
fix(es/parser): Fix logic for consuming ts modifiers ( #4137 )
2022-03-24 04:20:53 +00:00
Donny/강동윤
e6088408bf
chore: Publish crates
2022-03-24 12:05:47 +09:00