Commit Graph

2299 Commits

Author SHA1 Message Date
SWC Bot
789af6b663 chore: Publish crates 2022-05-21 11:02:18 +00:00
Alexander Akait
5d0e8fbda4
feat(html/parser): Report an error for a legacy doctype (#4717) 2022-05-21 10:59:56 +00:00
SWC Bot
1b715a1a2b chore: Publish crates 2022-05-20 07:04:12 +00:00
Donny/강동윤
dc67911f61
feat(es/minifier): Implement more skipping rules for sequences (#4716) 2022-05-20 16:01:27 +09:00
SWC Bot
279f9db0b7 chore: Publish crates 2022-05-20 04:59:56 +00:00
Donny/강동윤
1358f452e7
fix(es/minifier): Consider more side effects while inlining (#4715) 2022-05-20 04:57:38 +00:00
SWC Bot
44124ac256 chore: Publish crates 2022-05-20 04:09:42 +00:00
Donny/강동윤
03dd9de1c3
fix(es/codegen): Exclude synthesized files from sourcemap (#4714) 2022-05-20 04:07:16 +00:00
Donny/강동윤
38abde1b44 chore: Publish v1.2.187 2022-05-20 11:59:58 +09:00
SWC Bot
4d2f4a826a chore: Publish crates 2022-05-19 07:15:15 +00:00
Kevin Barabash
72fbf692a4
fix(es/codegen): Don't add a newline after an arrow body (#4711) 2022-05-19 07:12:37 +00:00
Donny/강동윤
a8f156c050 chore: Publish crates 2022-05-19 14:34:32 +09:00
SWC Bot
224a2ea8b6 chore: Publish crates 2022-05-19 05:12:49 +00:00
Donny/강동윤
73dfa95e5a
fix(es/minifier): Fix analysis of assignment patterns (#4712) 2022-05-19 05:10:12 +00:00
Donny/강동윤
6f565fbb3a
test(es/minifier): Categorize more tests (#4709) 2022-05-19 04:33:11 +00:00
SWC Bot
0674c1d287 chore: Publish crates 2022-05-19 02:06:22 +00:00
Donny/강동윤
bf5ba28471
fix(es/config): Add jsc.output.charset (#4708) 2022-05-19 02:03:46 +00:00
SWC Bot
494343456d chore: Publish crates 2022-05-19 01:42:24 +00:00
Alexander Akait
0b39e1b3fc
fix(html/parser): Fix bugs (#4707) 2022-05-19 01:39:11 +00:00
SWC Bot
fc9a85f0f3 chore: Publish crates 2022-05-19 01:18:18 +00:00
Alexander Akait
cac8cee62a
feat(html/minifier): Compress characters in head (#4682) 2022-05-19 01:15:40 +00:00
SWC Bot
b509ca0c7b chore: Publish crates 2022-05-18 22:09:14 +00:00
magic-akari
100c0b58c9
fix(es/compat): Fix break in for await loop (#4705) 2022-05-18 22:06:48 +00:00
SWC Bot
5b96e9f6f3 chore: Publish crates 2022-05-18 21:37:05 +00:00
Donny/강동윤
5f45a3d496
fix(es/react): Fix span of error messages (#4704) 2022-05-18 21:34:36 +00:00
SWC Bot
6a7240f046 chore: Publish crates 2022-05-18 13:54:03 +00:00
Donny/강동윤
9a27b5f275
perf(es/minifier): Make minifier more parallel (#4699) 2022-05-18 13:51:25 +00:00
Donny/강동윤
e272ae0201 chore: Publish crates 2022-05-18 19:51:57 +09:00
SWC Bot
fe5b2e12af chore: Publish crates 2022-05-18 10:49:45 +00:00
Donny/강동윤
809a626a99
fix(es/minifier): Don't create keys with negative number (#4698) 2022-05-18 19:47:00 +09:00
SWC Bot
8d1a586206 chore: Publish crates 2022-05-18 10:24:05 +00:00
Donny/강동윤
ad309f4050
fix(es/config): Auto-detect tsx (#4696) 2022-05-18 10:21:45 +00:00
SWC Bot
d29a00c9cc chore: Publish crates 2022-05-18 08:42:52 +00:00
Donny/강동윤
274648ec26
feat(es/minifier): Improve if_return (#4694) 2022-05-18 08:39:57 +00:00
SWC Bot
9792cffefa chore: Publish crates 2022-05-18 07:27:53 +00:00
Donny/강동윤
183e884cbf
fix(es/minifier): Don't hoist functions with dead_code (#4695) 2022-05-18 07:25:25 +00:00
Donny/강동윤
b93af7ba61
test(es): Add a test for a fixed issue (#4693) 2022-05-18 05:34:05 +00:00
SWC Bot
787f14ec77 chore: Publish crates 2022-05-17 15:47:10 +00:00
David Sherret
606f7c967e
fix(common): Don't use reserved byte position (#4690) 2022-05-17 15:44:25 +00:00
SWC Bot
fc071d0ae7 chore: Publish crates 2022-05-17 11:08:15 +00:00
brightwu
7ce572b497
fix(es/modules): Fix reassignment of exported vars (#4688) 2022-05-17 11:06:03 +00:00
SWC Bot
2096a1da4f chore: Publish crates 2022-05-17 10:45:02 +00:00
Donny/강동윤
07356a5bba
fix(es/ast): Fix EqIgnoreSpan of Ident (#4689) 2022-05-17 10:21:01 +00:00
SWC Bot
f395caa5d1 chore: Publish crates 2022-05-17 08:26:09 +00:00
Alexander Akait
637ef7f49f
fix(html/parser): Fix span of attributes (#4681) 2022-05-17 08:23:24 +00:00
Donny/강동윤
75ed427ad5 chore: Publish v1.2.186 2022-05-17 17:01:53 +09:00
SWC Bot
f226c0a3d8 chore: Publish crates 2022-05-17 07:37:08 +00:00
Donny/강동윤
c01476d9ae
feat(es/minifier): Enable conditionals by default (#4687) 2022-05-17 07:34:47 +00:00
Alexander Akait
b56f3b7f00
perf(html): Setup benchmarks (#4685) 2022-05-17 04:30:24 +00:00
Alexander Akait
1d9ee0a100
test(html/parser): Add tests for broken html/svg (#4683) 2022-05-17 04:07:16 +00:00
SWC Bot
aa8fe92e0b chore: Publish crates 2022-05-17 03:47:02 +00:00
Alexander Akait
3aac28e9df
feat(html/minifier): Compress more json content (#4684) 2022-05-17 03:44:27 +00:00
SWC Bot
9a027ba7c2 chore: Publish crates 2022-05-17 03:16:51 +00:00
Donny/강동윤
fe1e62a5e7
perf(common): Improve performance of StringInput (#4680) 2022-05-17 03:14:14 +00:00
Donny/강동윤
04d66dbc8b
feat(es/minifier): Enable computed_props by default (#4678) 2022-05-16 12:51:38 +00:00
SWC Bot
b395a8b3ce chore: Publish crates 2022-05-16 12:30:22 +00:00
Donny/강동윤
3bb4b74d94
fix(es/minifier): Consider fallthrough while merging swtich cases (#4672) 2022-05-16 12:27:24 +00:00
SWC Bot
35a008d3f3 chore: Publish crates 2022-05-16 03:54:44 +00:00
Donny/강동윤
ba6688a783
feat(dbg-swc): Make reducer parallel (#4676) 2022-05-16 12:49:42 +09:00
SWC Bot
0aa3d96757 chore: Publish crates 2022-05-16 03:31:28 +00:00
Donny/강동윤
da49f810db
feat(es): Add check for BytePos::DUMMY (#4675) 2022-05-16 03:29:24 +00:00
SWC Bot
0a9c78872b chore: Publish crates 2022-05-16 03:04:15 +00:00
Donny/강동윤
36ff4f735f
test(es/minifier): Add size tests using dbg-swc (#4664) 2022-05-16 03:01:53 +00:00
Donny/강동윤
52407319b8 chore: Publish v1.2.185 2022-05-16 04:33:54 +09:00
Donny/강동윤
50db276d82
build(repo): Downgrade rustc (#4674) 2022-05-15 19:28:55 +00:00
SWC Bot
c34192c818 chore: Publish crates 2022-05-15 17:07:50 +00:00
Donny/강동윤
e3cda264bb
feat(dbg-swc): Add a command to diff semantics (#4671) 2022-05-15 17:05:39 +00:00
SWC Bot
e3ef5f8578 chore: Publish crates 2022-05-15 16:46:18 +00:00
Daniel Grant
49c40afb7e
fix(es/modules): Fix handling of import.meta.url (#4670) 2022-05-15 16:44:02 +00:00
SWC Bot
86efe781a3 chore: Publish crates 2022-05-15 16:24:33 +00:00
Donny/강동윤
e57123e61c
feat(es/minifier): Improve ignore_return_value (#4673) 2022-05-15 16:22:21 +00:00
Donny/강동윤
d420d2d275 chore: Publish v1.2.184 2022-05-16 00:01:04 +09:00
SWC Bot
a09bfc22f8 chore: Publish crates 2022-05-15 10:43:11 +00:00
Donny/강동윤
bfb6be7075
doc(es/codegen): Document ascii_only (#4669) 2022-05-15 10:40:41 +00:00
SWC Bot
8b9851a336 chore: Publish crates 2022-05-15 10:04:57 +00:00
Donny/강동윤
8a40b583a5
feat(es/minifier): Implement directives (#4668) 2022-05-15 10:02:55 +00:00
SWC Bot
d591ce8c0b chore: Publish crates 2022-05-15 09:39:48 +00:00
Donny/강동윤
96cec97b2c
fix(es/minifier): Don't inline a function if we need referential equality (#4665) 2022-05-15 09:37:34 +00:00
Donny/강동윤
98e4845fce
build(repo): Update rustc (#4667) 2022-05-15 09:03:54 +00:00
SWC Bot
4eece89ad4 chore: Publish crates 2022-05-15 08:41:24 +00:00
Donny/강동윤
11726cc0e1
perf(es/parser): Optimize for cpu code cache (#4666) 2022-05-15 08:39:09 +00:00
SWC Bot
ead25ee153 chore: Publish crates 2022-05-15 05:09:48 +00:00
Donny/강동윤
eb8508f88c
feat(es/codegen): Implement ascii-only (#4660) 2022-05-15 05:07:21 +00:00
SWC Bot
e602992de1 chore: Publish crates 2022-05-15 04:22:56 +00:00
Alexander Akait
a8467c64e8
feat(html/parser): Improve error reporting (#4663) 2022-05-15 04:20:21 +00:00
SWC Bot
7c73e372c6 chore: Publish crates 2022-05-15 03:53:54 +00:00
Austaras
1150e842ed
refactor(es/react): Use proper ident scope for react refresh (#4649) 2022-05-15 03:51:25 +00:00
SWC Bot
5341478c5b chore: Publish crates 2022-05-15 03:31:35 +00:00
Alexander Akait
69ca9497d0
feat(html): Support iframe_srcdoc (#4658) 2022-05-15 12:27:29 +09:00
SWC Bot
36a3cdaac2 chore: Publish crates 2022-05-14 07:08:36 +00:00
Donny/강동윤
053f42b3aa
feat(es/minifier): Improve minifier (#4655)
swc_ecma_transforms_base:
 - Improved `fixer`.

swc_ecma_minifier:
 - `ignore_return_value`: Support computed access to array literals.
2022-05-14 07:06:03 +00:00
SWC Bot
3149026d0f chore: Publish crates 2022-05-14 06:13:18 +00:00
Artur
9b226a7026
feat(es/lints): Implement no-sparse-arrays rule (#4652) 2022-05-14 06:10:49 +00:00
SWC Bot
c96cbe9b27 chore: Publish crates 2022-05-14 01:46:19 +00:00
Alexander Akait
1f945b9277
fix(html/parser): Fix error reporting (#4644) 2022-05-14 01:43:52 +00:00
SWC Bot
fbc10fc5c2 chore: Publish crates 2022-05-13 14:28:03 +00:00
Donny/강동윤
c8818b0499
feat(dbg-swc): Add auto-reducer for the minifier (#4654) 2022-05-13 23:25:16 +09:00
Donny/강동윤
f63be2fb9e chore: Publish crates 2022-05-13 19:08:09 +09:00
SWC Bot
69a81dcd58 chore: Publish crates 2022-05-13 09:15:57 +00:00
Donny/강동윤
af1d19554f
feat(dbg-swc): Add command to compare minifier (#4653) 2022-05-13 09:13:23 +00:00