Donny/강동윤
073b1469e6
fix(es/minifier): Don't create names which is same as an unresolved var ( #4806 )
2022-05-26 09:27:24 +00:00
SWC Bot
829a9c0dd3
chore: Publish crates
2022-05-26 07:40:07 +00:00
Donny/강동윤
1c48a8c8f4
fix(es/minifier): Consider side effects while removing an object spread ( #4788 )
2022-05-26 07:37:34 +00:00
SWC Bot
cf4c46517b
chore: Publish crates
2022-05-26 06:15:59 +00:00
Alexander Akait
c35cb598f7
fix(html/minifier): Avoid removing id with spaces ( #4786 )
2022-05-26 06:13:39 +00:00
SWC Bot
e9559e7d13
chore: Publish crates
2022-05-26 05:51:57 +00:00
Alexander Akait
f71ef61cb7
perf(html/parser): Improve lexer ( #4802 )
2022-05-26 05:49:18 +00:00
SWC Bot
e9ce992250
chore: Publish crates
2022-05-25 18:11:42 +00:00
OJ Kwon
2b03047cb0
fix(es/modules): Fix local scoped amd require ( #4800 )
2022-05-25 18:08:49 +00:00
SWC Bot
54fd602bae
chore: Publish crates
2022-05-25 17:35:52 +00:00
Alexander Akait
8894e77bc1
perf(html/parser): Improve lexer ( #4796 )
2022-05-25 17:33:15 +00:00
SWC Bot
7a122eb089
chore: Publish crates
2022-05-25 16:51:14 +00:00
Alexander Akait
c6ec9f9cf2
feat(html/codegen): Omit start and end tags if it is possible ( #4780 )
2022-05-25 16:48:33 +00:00
Donny/강동윤
c8f6f44a5d
chore: Publish v1.2.194
2022-05-25 23:56:52 +09:00
SWC Bot
4b26cab74c
chore: Publish crates
2022-05-25 14:54:28 +00:00
LongYinan
adf70f6c07
fix(common): Fix jemalloc ( #4794 )
2022-05-25 14:51:36 +00:00
Donny/강동윤
f4a60e2eda
chore: Publish v1.2.193
2022-05-25 17:15:06 +09:00
SWC Bot
cb528459e8
chore: Publish crates
2022-05-25 08:13:08 +00:00
Donny/강동윤
6f04e84639
perf(common): Use jemalloc
for linux ( #4791 )
2022-05-25 08:10:44 +00:00
Donny/강동윤
38a866a900
test(es): Make execution tests faster ( #4789 )
2022-05-25 06:23:35 +00:00
SWC Bot
f2d79b8495
chore: Publish crates
2022-05-25 03:05:21 +00:00
Alexander Akait
11aa6bee9e
feat(html/minifier): Sort classes ( #4783 )
2022-05-25 03:02:27 +00:00
SWC Bot
7eac561639
chore: Publish crates
2022-05-25 02:40:41 +00:00
Alexander Akait
b5e481c114
feat(html/minifier): Improve script type compression ( #4785 )
2022-05-25 02:35:43 +00:00
SWC Bot
ee2470c3cc
chore: Publish crates
2022-05-25 02:12:44 +00:00
OJ Kwon
a937357d47
feat(plugin): Implement SourceMap.span_to_*
( #4781 )
2022-05-25 02:09:55 +00:00
Donny/강동윤
1337f3a550
chore: Publish v1.2.192
2022-05-24 23:39:57 +09:00
SWC Bot
3d496d6408
chore: Publish crates
2022-05-24 13:32:27 +00:00
Shinobu Hayashi
a3e4c201de
fix(es/compat): Escape keywords in class method names ( #4775 )
2022-05-24 13:29:59 +00:00
SWC Bot
6ba367116e
chore: Publish crates
2022-05-24 13:02:50 +00:00
Alexander Akait
07c197f51c
feat(html/codegen): Omit end tags ( #4770 )
2022-05-24 12:54:12 +00:00
SWC Bot
f4d828feaf
chore: Publish crates
2022-05-24 12:34:23 +00:00
Austaras
db1698e012
fix(es/compat): Handle nested break
/continue
in block_scoping
( #4778 )
2022-05-24 12:31:50 +00:00
SWC Bot
9857b2f4ca
chore: Publish crates
2022-05-24 11:35:40 +00:00
Austaras
4f00914c1a
fix(es/compat): Handle nested for loops with break
/continue
( #4777 )
2022-05-24 11:32:49 +00:00
Donny/강동윤
5ddd2dca6d
chore: Publish v1.2.191
2022-05-24 20:03:55 +09:00
SWC Bot
85b1d35cc9
chore: Publish crates
2022-05-24 11:03:16 +00:00
Donny/강동윤
75bb8586cc
fix(es/modules): Adjust absolute path while rewriting imports ( #4776 )
2022-05-24 20:00:26 +09:00
SWC Bot
555e08d4d6
chore: Publish crates
2022-05-24 09:27:11 +00:00
brightwu
f28d9c143b
fix(es/resolver): Fix more edge cases related to catch
and var
( #4773 )
2022-05-24 09:24:42 +00:00
SWC Bot
26578c8c0a
chore: Publish crates
2022-05-24 07:55:58 +00:00
brightwu
e2da3ddc03
fix(es/resolver): Handle var
after catch with the same name ( #4772 )
2022-05-24 16:53:13 +09:00
SWC Bot
43f9b94c3f
chore: Publish crates
2022-05-24 07:22:08 +00:00
OJ Kwon
3298cb7906
feat(plugin): Implement more SourceMap
apis ( #4769 )
2022-05-24 07:19:27 +00:00
SWC Bot
6fd58b0d8b
chore: Publish crates
2022-05-24 06:59:31 +00:00
Alexander Akait
86626659b1
fix(html/codegen): Emit textarea
and pre
in foreign context ( #4766 )
2022-05-24 06:56:22 +00:00
SWC Bot
2771267c08
chore: Publish crates
2022-05-24 06:34:57 +00:00
Alexander Akait
c07780fab3
feat(html/parser): Improve public api ( #4762 )
2022-05-24 06:32:15 +00:00
Donny/강동윤
f9068df4a4
chore: Publish v1.2.190
2022-05-24 15:10:23 +09:00
SWC Bot
565fb38aec
chore: Publish crates
2022-05-24 05:58:20 +00:00
Austaras
65b7c4b695
fix(es/fixer): Preserve the paren in a spread element ( #4771 )
2022-05-24 05:55:45 +00:00
SWC Bot
6730fbd778
chore: Publish crates
2022-05-24 05:06:51 +00:00
Alexander Akait
984d69e67b
test(html/parser): Enable error reporting tests ( #4764 )
2022-05-24 05:04:20 +00:00
SWC Bot
fd8a08a7e7
chore: Publish crates
2022-05-24 04:43:53 +00:00
Satish Srinivasan
8720f9a948
fix(es/compat): Fix span of instanceof
( #4757 )
2022-05-24 04:41:34 +00:00
Donny/강동윤
995e9661cc
chore: Publish crates
2022-05-24 13:15:57 +09:00
SWC Bot
fa649d87be
chore: Publish crates
2022-05-24 04:14:30 +00:00
Donny/강동윤
b8d2fb8546
feat(es/helpers): Import only used helpers ( #4767 )
2022-05-24 04:09:59 +00:00
SWC Bot
5be6661e9a
chore: Publish crates
2022-05-23 22:11:58 +00:00
Donny/강동윤
20b724d3cd
feat(es/minifier): Implement more rules ( #4763 )
2022-05-23 22:09:33 +00:00
SWC Bot
f7dc3fff1f
chore: Publish crates
2022-05-23 20:15:04 +00:00
OJ Kwon
065b2a514f
fix(es/typescript): Preserve referenced imports for namespace ( #4759 )
2022-05-24 05:12:39 +09:00
Donny/강동윤
ae39b02df3
chore: Publish crates
2022-05-24 03:13:24 +09:00
SWC Bot
b2e4406f0f
chore: Publish crates
2022-05-23 16:04:00 +00:00
Pig Fang
07d31aa50a
fix(css/parser): Allow var()
call in color functions ( #4713 )
2022-05-23 16:00:44 +00:00
SWC Bot
4f8484add0
chore: Publish crates
2022-05-23 13:07:01 +00:00
Donny/강동윤
e4dee1ed33
fix(es/minifier): Consider parameters while detecting pure calls ( #4748 )
2022-05-23 13:04:11 +00:00
SWC Bot
476c830a30
chore: Publish crates
2022-05-23 10:02:59 +00:00
Baoshuo Ren
22bf5f014e
chore(es/minifier): Add #[doc(hidden)]
( #4751 )
2022-05-23 19:00:22 +09:00
SWC Bot
ea92ae10e8
chore: Publish crates
2022-05-23 09:44:48 +00:00
Donny/강동윤
b7a195a1cf
refactor(es/parser): Remove duplicate ( #4750 )
2022-05-23 09:42:29 +00:00
SWC Bot
4d606effdf
chore: Publish crates
2022-05-23 09:21:24 +00:00
Donny/강동윤
98df64517e
perf(common): Add more methods to Spanned
( #4749 )
...
- Lots of code only needs `lo` or `hi`, but they call `span()`, which is inefficient in some cases.
- This PR only adds a trivial amount of optimization. I may add full optimization in future.
- This PR improves codegen performance of `ExprOrSpread` and `Option<ExprOrSpread>`.
2022-05-23 09:18:40 +00:00
Donny/강동윤
0f85f7b9de
chore(ci): Fix CI ( #4747 )
2022-05-23 07:47:05 +00:00
Donny/강동윤
49b3c2715c
refactor(es/minifier): Make rust-analyzer
fast, really ( #4746 )
2022-05-23 16:16:05 +09:00
Donny/강동윤
47e6cc5190
refactor(es/minifier): Make rust-analyzer
faster ( #4744 )
...
- We now use a separate crate for testing the minifier. This makes IDE much faster.
2022-05-23 15:53:01 +09:00
SWC Bot
37b0056ad0
chore: Publish crates
2022-05-23 05:44:50 +00:00
Donny/강동윤
777ea371d0
fix(es/loader): Fix hang related to jsc.paths
( #4742 )
2022-05-23 05:42:20 +00:00
SWC Bot
8060264715
chore: Publish crates
2022-05-23 04:32:07 +00:00
Donny/강동윤
a51816a577
feat(es/minifier): Handle prefix update expressions with sequential inliner ( #4741 )
2022-05-23 04:29:31 +00:00
SWC Bot
516b0b804b
chore: Publish crates
2022-05-23 04:06:56 +00:00
Alexander Akait
51f4cea103
feat(html/parser): Improve error reporting ( #4740 )
2022-05-23 04:04:20 +00:00
Donny/강동윤
417b2182ce
fix(es/loader): Fix jsc.paths
on windows ( #4739 )
2022-05-22 20:12:22 +00:00
SWC Bot
624c4ad48b
chore: Publish crates
2022-05-22 12:09:50 +00:00
Donny/강동윤
9e42382091
feat(es/minifier): Implement pure_funcs
( #4710 )
2022-05-22 12:07:28 +00:00
SWC Bot
032d584265
chore: Publish crates
2022-05-21 19:58:14 +00:00
Donny/강동윤
d9bb59a8cb
fix(es/modules/cjs): FIx detection of exported names ( #4737 )
2022-05-21 19:55:35 +00:00
SWC Bot
f7e000383c
chore: Publish crates
2022-05-21 19:36:32 +00:00
Alexander Akait
c346d309a7
feat(html/parser): Improve error reporting ( #4728 )
2022-05-21 19:34:02 +00:00
SWC Bot
706b38787e
chore: Publish crates
2022-05-21 19:11:24 +00:00
Donny/강동윤
41d4437671
fix(es/typescript): Mark namespaces as concrete ( #4736 )
2022-05-22 04:08:48 +09:00
SWC Bot
73d049123c
chore: Publish crates
2022-05-21 18:34:49 +00:00
OJ Kwon
886585b90e
feat(es/modules/amd): Support local-scoped amd requires ( #4727 )
2022-05-21 18:32:34 +00:00
SWC Bot
2a8aa2cb6e
chore: Publish crates
2022-05-21 18:11:57 +00:00
Alexander Akait
e9b2ebfc3b
feat(html/parser): Improve error reporting for misplaced non-space characters inside a table ( #4723 )
2022-05-21 18:09:33 +00:00
SWC Bot
3ae6644900
chore: Publish crates
2022-05-21 16:31:35 +00:00
Alexander Akait
1c4d50f06a
fix(html/parser): Fix parsing of closing tag in foreign contents ( #4721 )
2022-05-22 01:28:48 +09:00
SWC Bot
602be228db
chore: Publish crates
2022-05-21 15:24:12 +00:00
Alexander Akait
4df0637817
fix(html/parser): Fix error reporting in the foreign context ( #4725 )
2022-05-21 15:22:10 +00:00
Donny/강동윤
dabdaca20c
chore: Publish crates
2022-05-21 23:43:00 +09:00