Commit Graph

2417 Commits

Author SHA1 Message Date
SWC Bot
e001226674 chore: Publish crates 2022-09-26 09:21:39 +00:00
Donny/강동윤
2ba88154fc
fix(es/codegen): Align sourcemap with terser (#5657) 2022-09-26 18:12:42 +09:00
SWC Bot
b5027f00a0 chore: Publish crates 2022-09-25 02:23:02 +00:00
Donny/강동윤
b219fa2f01
feat(dbg-swc): Add a size debugger for next.js (#5945) 2022-09-25 11:18:53 +09:00
SWC Bot
e1f421b6af chore: Publish crates 2022-09-25 01:36:48 +00:00
SWC Bot
e5ba9636ac chore: Publish crates 2022-09-24 03:36:47 +00:00
SWC Bot
8a5ed1e0ba chore: Publish crates 2022-09-23 07:50:26 +00:00
SWC Bot
ae14211f04 chore: Publish crates 2022-09-23 05:25:48 +00:00
SWC Bot
ae6c344fe5 chore: Publish crates 2022-09-23 04:19:14 +00:00
SWC Bot
15d21651c9 chore: Publish crates 2022-09-22 14:28:07 +00:00
SWC Bot
8dbef496cf chore: Publish crates 2022-09-22 13:58:09 +00:00
SWC Bot
098a021a43 chore: Publish crates 2022-09-22 13:18:22 +00:00
SWC Bot
0879a0504a chore: Publish crates 2022-09-22 10:25:54 +00:00
SWC Bot
60bcdf768a chore: Publish crates 2022-09-22 09:22:14 +00:00
SWC Bot
a2b3063784 chore: Publish crates 2022-09-22 06:57:15 +00:00
SWC Bot
5e82dd63af chore: Publish crates 2022-09-22 06:19:31 +00:00
SWC Bot
f5d42aa2b6 chore: Publish crates 2022-09-22 03:56:27 +00:00
SWC Bot
4c3813dbcc chore: Publish crates 2022-09-22 03:16:22 +00:00
SWC Bot
043c95307e chore: Publish crates 2022-09-21 15:12:52 +00:00
Donny/강동윤
19ce2737b1
feat(es/minifier): Collapse let without init (#5909)
**Description:**

This patch applies the variable collapsing logic for the variables declared with `var` to the variables declared with `let`. This requires some patch about the behavior of visitors about `BlockStmt`, so this patch includes relevant changes.

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/5696.
2022-09-21 15:04:29 +00:00
SWC Bot
1cf0e2369b chore: Publish crates 2022-09-21 12:22:25 +00:00
SWC Bot
a9270a8475 chore: Publish crates 2022-09-21 11:36:41 +00:00
SWC Bot
60417bdf77 chore: Publish crates 2022-09-21 10:58:05 +00:00
SWC Bot
6e560644e5 chore: Publish crates 2022-09-21 08:24:14 +00:00
SWC Bot
ce6b0886d1 chore: Publish crates 2022-09-21 07:40:12 +00:00
SWC Bot
8a9cc7dd2a chore: Publish crates 2022-09-21 07:33:40 +00:00
Donny/강동윤
6d1e5c77f1 chore: Publish crates 2022-09-21 09:59:44 +09:00
SWC Bot
be81c4737e chore: Publish crates 2022-09-20 08:32:27 +00:00
SWC Bot
1898d6686a chore: Publish crates 2022-09-20 06:44:48 +00:00
SWC Bot
cb2044234a chore: Publish crates 2022-09-20 04:32:30 +00:00
SWC Bot
5c2b1bb15d chore: Publish crates 2022-09-20 03:51:28 +00:00
SWC Bot
26b9f1fc23 chore: Publish crates 2022-09-20 01:50:11 +00:00
SWC Bot
8c112c371b chore: Publish crates 2022-09-19 15:11:28 +00:00
SWC Bot
345e955265 chore: Publish crates 2022-09-19 13:37:22 +00:00
SWC Bot
a18625c0d0 chore: Publish crates 2022-09-19 12:25:00 +00:00
SWC Bot
65296b4a68 chore: Publish crates 2022-09-19 08:28:54 +00:00
SWC Bot
b93d740396 chore: Publish crates 2022-09-19 07:49:46 +00:00
SWC Bot
7db72e8232 chore: Publish crates 2022-09-18 10:02:24 +00:00
SWC Bot
473f5c4111 chore: Publish crates 2022-09-17 00:13:31 +00:00
SWC Bot
6b684ca162 chore: Publish crates 2022-09-16 23:17:15 +00:00
Donny/강동윤
f0ca487848 chore: Publish crates 2022-09-16 15:46:25 +09:00
SWC Bot
c953ff414c chore: Publish crates 2022-09-16 03:28:09 +00:00
SWC Bot
99094def0e chore: Publish crates 2022-09-16 02:47:08 +00:00
SWC Bot
ca6325ca7d chore: Publish crates 2022-09-16 01:07:09 +00:00
SWC Bot
52c17f3056 chore: Publish crates 2022-09-15 14:49:03 +00:00
SWC Bot
5cf78b0213 chore: Publish crates 2022-09-15 13:20:59 +00:00
SWC Bot
dd2a7c1cd1 chore: Publish crates 2022-09-15 08:53:05 +00:00
SWC Bot
69bf533571 chore: Publish crates 2022-09-15 07:03:50 +00:00
SWC Bot
9f182c555c chore: Publish crates 2022-09-15 06:56:26 +00:00
SWC Bot
1d633e8ba7 chore: Publish crates 2022-09-15 06:08:07 +00:00
SWC Bot
ec8bb432b9 chore: Publish crates 2022-09-15 05:23:46 +00:00
OJ Kwon
092b7281d0
refactor(es/ast): Apply rkyv-bytecheck flag (#5866) 2022-09-15 05:20:46 +00:00
SWC Bot
92eea2fece chore: Publish crates 2022-09-15 04:20:45 +00:00
SWC Bot
73ee9d6784 chore: Publish crates 2022-09-15 03:06:15 +00:00
SWC Bot
b972c7a815 chore: Publish crates 2022-09-14 15:09:25 +00:00
SWC Bot
55a4e18991 chore: Publish crates 2022-09-14 13:00:55 +00:00
SWC Bot
03096ff072 chore: Publish crates 2022-09-14 10:22:06 +00:00
SWC Bot
d35792f424 chore: Publish crates 2022-09-14 07:56:20 +00:00
Donny/강동윤
4cde553811
fix(es/ast): Revert #5798 (#5798) (#5855)
This reverts commit 37f42df877.
2022-09-14 16:52:46 +09:00
SWC Bot
8432c0a1ad chore: Publish crates 2022-09-14 07:19:24 +00:00
OJ Kwon
37f42df877
refactor(es/ast): Apply rkyv-bytecheck flag (#5798)
**Description:**

This PR updates ast* related package's rkyv bytecheck flags.
2022-09-14 16:16:18 +09:00
SWC Bot
0c24841274 chore: Publish crates 2022-09-14 06:54:54 +00:00
SWC Bot
0a56a2d5ab chore: Publish crates 2022-09-14 06:10:39 +00:00
SWC Bot
ad4b0d200c chore: Publish crates 2022-09-14 05:05:55 +00:00
SWC Bot
9d5439281a chore: Publish crates 2022-09-14 03:03:29 +00:00
SWC Bot
3f4e469913 chore: Publish crates 2022-09-13 10:35:40 +00:00
SWC Bot
76d22dfeb1 chore: Publish crates 2022-09-13 07:46:53 +00:00
SWC Bot
cae41739d5 chore: Publish crates 2022-09-13 06:48:34 +00:00
SWC Bot
c624c3de03 chore: Publish crates 2022-09-13 06:06:00 +00:00
SWC Bot
d16fb9a8cf chore: Publish crates 2022-09-13 05:04:36 +00:00
Alexander Akait
ccd618ce54
perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
SWC Bot
abc722c6f8 chore: Publish crates 2022-09-13 04:46:38 +00:00
SWC Bot
d8c1e4a62e chore: Publish crates 2022-09-13 03:56:39 +00:00
SWC Bot
6cb280fdb5 chore: Publish crates 2022-09-13 03:09:24 +00:00
SWC Bot
b2c0fbd7ba chore: Publish crates 2022-09-13 02:19:15 +00:00
SWC Bot
35b88e3adc chore: Publish crates 2022-09-12 22:34:21 +00:00
SWC Bot
2df19176fb chore: Publish crates 2022-09-12 05:16:53 +00:00
SWC Bot
9f28c246dc chore: Publish crates 2022-09-12 04:34:08 +00:00
Donny/강동윤
24004270d9
perf(atoms): Reduce size of Atom (#5831)
**Description:**

This patch reduces the memory footprint.
2022-09-12 04:31:17 +00:00
SWC Bot
485632ae03 chore: Publish crates 2022-09-12 01:14:29 +00:00
SWC Bot
bfb06f1248 chore: Publish crates 2022-09-12 00:28:51 +00:00
SWC Bot
c92474ee13 chore: Publish crates 2022-09-11 23:40:40 +00:00
SWC Bot
7811ceea3b chore: Publish crates 2022-09-11 13:59:34 +00:00
SWC Bot
fb2c33e132 chore: Publish crates 2022-09-11 09:28:02 +00:00
SWC Bot
35736a313d chore: Publish crates 2022-09-11 07:19:34 +00:00
SWC Bot
70f1be9919 chore: Publish crates 2022-09-11 06:26:58 +00:00
SWC Bot
2b1e73737f chore: Publish crates 2022-09-11 06:21:56 +00:00
SWC Bot
5fe032c01a chore: Publish crates 2022-09-11 03:00:57 +00:00
SWC Bot
7f6483a94c chore: Publish crates 2022-09-11 02:07:00 +00:00
SWC Bot
4084fc1aeb chore: Publish crates 2022-09-10 17:14:48 +00:00
SWC Bot
b2b7b23460 chore: Publish crates 2022-09-10 16:23:17 +00:00
SWC Bot
961a9047c0 chore: Publish crates 2022-09-10 15:07:06 +00:00
SWC Bot
133da8e92b chore: Publish crates 2022-09-10 10:46:37 +00:00
SWC Bot
0fe3ee682a chore: Publish crates 2022-09-10 10:06:02 +00:00
SWC Bot
f739976bdd chore: Publish crates 2022-09-10 09:21:51 +00:00
SWC Bot
53b134f80b chore: Publish crates 2022-09-10 08:35:20 +00:00
SWC Bot
417b1f2a92 chore: Publish crates 2022-09-10 07:23:37 +00:00
SWC Bot
6cf71285a6 chore: Publish crates 2022-09-10 06:39:04 +00:00
SWC Bot
4c078b0ac3 chore: Publish crates 2022-09-10 06:04:28 +00:00
SWC Bot
c8bb70f97e chore: Publish crates 2022-09-10 05:48:09 +00:00
SWC Bot
4859052f4f chore: Publish crates 2022-09-10 04:42:39 +00:00
Donny/강동윤
88e59ffcda
perf(css/minifier): Setup benchmark (#5800)
**Description:**

I created a simple benchmark for the css minifier. It's full benchmark, which also profiles parser and codegen
2022-09-10 13:39:55 +09:00
SWC Bot
a94d9f1fbd chore: Publish crates 2022-09-10 03:54:47 +00:00
SWC Bot
575940e770 chore: Publish crates 2022-09-09 08:09:53 +00:00
OJ Kwon
6f19f8902f
refactor(swc_core): enable bytechecked flag (#5792)
**Description:**

Another update to enable bytecheck rkyv feature flag.

Our dep tree is quite tangled with implicit enable (plugin -> rkyv). PR tries to detach some of it while trying to preserve existing behavior as much as it can.
2022-09-09 08:05:51 +00:00
SWC Bot
54b108dc51 chore: Publish crates 2022-09-09 05:55:06 +00:00
SWC Bot
701fa74631 chore: Publish crates 2022-09-09 05:05:59 +00:00
SWC Bot
0fe604817a chore: Publish crates 2022-09-09 04:14:30 +00:00
SWC Bot
b5deaa77f1 chore: Publish crates 2022-09-08 15:09:08 +00:00
SWC Bot
9b723cc6f5 chore: Publish crates 2022-09-08 08:11:24 +00:00
SWC Bot
32cd51dc29 chore: Publish crates 2022-09-08 05:26:49 +00:00
SWC Bot
d2188eac3f chore: Publish crates 2022-09-08 04:28:01 +00:00
SWC Bot
bc39c9b9f2 chore: Publish crates 2022-09-08 01:39:44 +00:00
SWC Bot
bad9811ea8 chore: Publish crates 2022-09-07 06:16:59 +00:00
SWC Bot
4507b10219 chore: Publish crates 2022-09-07 05:32:06 +00:00
SWC Bot
0649b054b4 chore: Publish crates 2022-09-07 04:49:51 +00:00
SWC Bot
c9a6c2193e chore: Publish crates 2022-09-07 03:54:49 +00:00
SWC Bot
cee1c48298 chore: Publish crates 2022-09-07 02:09:22 +00:00
SWC Bot
d6a5acd30b chore: Publish crates 2022-09-06 16:50:15 +00:00
SWC Bot
51b9d694be chore: Publish crates 2022-09-06 13:28:30 +00:00
SWC Bot
e654741336 chore: Publish crates 2022-09-06 12:41:54 +00:00
SWC Bot
50bb6ffea9 chore: Publish crates 2022-09-06 11:09:32 +00:00
SWC Bot
910526980b chore: Publish crates 2022-09-06 05:39:57 +00:00
SWC Bot
8493c88b06 chore: Publish crates 2022-09-06 01:42:23 +00:00
SWC Bot
55b03eb970 chore: Publish crates 2022-09-05 13:40:03 +00:00
SWC Bot
912dd8f6a1 chore: Publish crates 2022-09-05 09:28:21 +00:00
SWC Bot
b6efd4300e chore: Publish crates 2022-09-05 07:09:22 +00:00
SWC Bot
e8dd50c12e chore: Publish crates 2022-09-05 04:39:12 +00:00
OJ Kwon
1202762f30
chore(swc_core): Update deps (#5748) 2022-09-05 03:46:07 +00:00
OJ Kwon
83dbe6cdc3
fix(swc_core): Update deps (#5746) 2022-09-05 02:31:49 +00:00
SWC Bot
e7c565dbb2 chore: Publish crates 2022-09-04 16:24:37 +00:00
SWC Bot
17aeba68f4 chore: Publish crates 2022-09-04 15:38:04 +00:00
SWC Bot
c44fd43b15 chore: Publish crates 2022-09-04 14:57:35 +00:00
Donny/강동윤
64f42bec27
refactor(es/utils): Move utilities for parallel processing (#5742) 2022-09-04 23:54:36 +09:00
SWC Bot
d0f5cd38c6 chore: Publish crates 2022-09-04 14:37:47 +00:00
SWC Bot
c00f1a4d52 chore: Publish crates 2022-09-04 13:21:00 +00:00
Donny/강동윤
74b3d2170c chore: Publish crates 2022-09-04 17:27:19 +09:00
SWC Bot
b814189f57 chore: Publish crates 2022-09-04 07:36:20 +00:00
SWC Bot
8c7f968b53 chore: Publish crates 2022-09-04 05:40:36 +00:00
SWC Bot
30bbe6ac4d chore: Publish crates 2022-09-04 04:52:28 +00:00
OJ Kwon
aad50dcc6e
refactor(swc_core): Directly export swc_ecma_transforms_base (#5731) 2022-09-04 03:19:42 +00:00
SWC Bot
e97756c4b1 chore: Publish crates 2022-09-03 16:04:42 +00:00
OJ Kwon
9c43713109
fix(swc_core): Bump swc_ecma_quote_macros (#5723) 2022-09-03 16:01:45 +00:00
SWC Bot
1013d18fa8 chore: Publish crates 2022-09-03 15:11:30 +00:00
SWC Bot
fafafecb3d chore: Publish crates 2022-09-03 07:37:21 +00:00
SWC Bot
a3a66c1191 chore: Publish crates 2022-09-03 06:47:08 +00:00
SWC Bot
5f09a1c14a chore: Publish crates 2022-09-03 05:36:44 +00:00
Donny/강동윤
25c96b4b7a
perf(es/minifier): Use faster hash algorithm for DCE (#5725) 2022-09-03 14:33:09 +09:00
SWC Bot
0b462e2a5d chore: Publish crates 2022-09-03 05:32:12 +00:00
OJ Kwon
d6e67b5944
feat(atoms): Introduce bytecheck-ed rkyv version (#5686) 2022-09-03 14:29:02 +09:00