Commit Graph

1300 Commits

Author SHA1 Message Date
Donny/강동윤
28261985b0
chore(cargo): Refactor Cargo.toml to reduce merge conflict (#7139) 2023-03-24 13:46:42 +09:00
SWC Bot
6635d54128 chore: Publish crates 2023-03-24 02:42:16 +00:00
SWC Bot
4eef5532a4 chore: Publish crates 2023-03-23 09:42:52 +00:00
SWC Bot
b178ff5661 chore: Publish crates 2023-03-23 09:19:33 +00:00
SWC Bot
42f71431bf chore: Publish crates 2023-03-23 05:19:01 +00:00
SWC Bot
e77bc0a62f chore: Publish crates 2023-03-23 04:39:01 +00:00
SWC Bot
f81ac50c2a chore: Publish crates 2023-03-23 04:00:14 +00:00
SWC Bot
0195f536ef chore: Publish crates 2023-03-22 11:50:07 +00:00
SWC Bot
8c5a1f140a chore: Publish crates 2023-03-22 06:33:46 +00:00
Donny/강동윤
6d9763e8c0
fix(es/renamer): Don't use symbols used by declarations if eval exists (#7116)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6971.
 - Closes https://github.com/swc-project/swc/issues/7094.
2023-03-22 06:31:43 +00:00
SWC Bot
e37666bb6e chore: Publish crates 2023-03-22 02:26:23 +00:00
Donny/강동윤
610e1bb581
fix(es/minifier): Don't inline into arrow heads (#7099)
**Related issue:**

 - https://github.com/vercel/next.js/issues/47005
2023-03-22 02:24:13 +00:00
SWC Bot
1aa9a98b27 chore: Publish crates 2023-03-21 09:29:42 +00:00
SWC Bot
212af9b0a7 chore: Publish crates 2023-03-21 08:48:30 +00:00
Donny/강동윤
6a570a334c
fix(es/ast): Fix EqIgnoreSpan impl of Number (#7112)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/7111.
2023-03-21 08:46:22 +00:00
SWC Bot
cda09e44c3 chore: Publish crates 2023-03-21 07:21:46 +00:00
SWC Bot
f40175b960 chore: Publish crates 2023-03-20 05:30:14 +00:00
SWC Bot
85c51a81e7 chore: Publish crates 2023-03-20 02:03:09 +00:00
SWC Bot
d6cc123d62 chore: Publish crates 2023-03-19 02:59:07 +00:00
Austaras
0f09e356c3
feat(es/resolver): Make scope context identical to the vars (#7095) 2023-03-19 11:57:14 +09:00
SWC Bot
17356bca25 chore: Publish crates 2023-03-17 03:24:05 +00:00
Anders Kaseorg
493a4f7042
fix(es/minifier): Remove wrong optimization of new RegExp(…) (#7091) 2023-03-17 03:22:02 +00:00
SWC Bot
8902741084 chore: Publish crates 2023-03-17 02:40:31 +00:00
SWC Bot
5f4fea2a5b chore: Publish crates 2023-03-16 03:37:09 +00:00
SWC Bot
60ccdab60e chore: Publish crates 2023-03-16 02:20:24 +00:00
SWC Bot
b14e6b9e54 chore: Publish crates 2023-03-15 02:33:33 +00:00
Donny/강동윤
86295ba8f2
fix(es/minifier): Preserve delete of unresolved variables (#7072)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/7045.
2023-03-15 02:31:08 +00:00
Donny/강동윤
963c460613
refactor: Fix lints using clippy from nightly-2023-03-13 (#6920) 2023-03-14 04:56:21 +00:00
SWC Bot
6bf5f03884 chore: Publish crates 2023-03-13 08:34:46 +00:00
SWC Bot
3da6d18d47 chore: Publish crates 2023-03-13 03:27:50 +00:00
SWC Bot
45fba897c6 chore: Publish crates 2023-03-13 01:59:04 +00:00
SWC Bot
136c498c80 chore: Publish crates 2023-03-12 04:52:09 +00:00
SWC Bot
4015714633 chore: Publish crates 2023-03-12 03:57:57 +00:00
SWC Bot
2486e6b6bf chore: Publish crates 2023-03-11 12:14:51 +00:00
SWC Bot
fa627e178a chore: Publish crates 2023-03-11 10:43:53 +00:00
SWC Bot
0b0e61beb6 chore: Publish crates 2023-03-11 03:44:48 +00:00
SWC Bot
fd26f467a1 chore: Publish crates 2023-03-11 00:32:35 +00:00
SWC Bot
d4ebb5e6ef chore: Publish crates 2023-03-10 06:28:00 +00:00
SWC Bot
02e9e49733 chore: Publish crates 2023-03-10 03:54:16 +00:00
SWC Bot
e0d4220264 chore: Publish crates 2023-03-09 14:21:23 +00:00
SWC Bot
03488a3fb6 chore: Publish crates 2023-03-09 13:36:17 +00:00
Donny/강동윤
a9fe1d2d22
perf(es/ast): Shrink size of Expr (#7041)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/7019.
2023-03-09 13:34:11 +00:00
Donny/강동윤
f378a14888
perf(es/parser): Use SmartString as the buffer (#7033) 2023-03-09 08:07:40 +00:00
SWC Bot
0f09789c43 chore: Publish crates 2023-03-08 06:52:40 +00:00
HeYunfei
8bfef35c1b
perf(es/utils): Introduce NodeIgnoringSpan (#7030) 2023-03-08 06:49:41 +00:00
SWC Bot
50ee7d1c83 chore: Publish crates 2023-03-08 04:57:40 +00:00
SWC Bot
56aac6783b chore: Publish crates 2023-03-08 02:51:08 +00:00
SWC Bot
79549c0f20 chore: Publish crates 2023-03-07 14:50:22 +00:00
SWC Bot
e93c79b479 chore: Publish crates 2023-03-07 04:13:14 +00:00
SWC Bot
7f6b4f0089 chore: Publish crates 2023-03-07 02:08:30 +00:00
Austaras
1318afe2b4
fix(es/minifier): Bailout regex optimization on invalid flags (#7020) 2023-03-07 11:05:04 +09:00
SWC Bot
0d3cff58c5 chore: Publish crates 2023-03-06 07:55:21 +00:00
SWC Bot
f32be0e7c6 chore: Publish crates 2023-03-06 03:36:45 +00:00
SWC Bot
1a368def06 chore: Publish crates 2023-03-05 07:30:48 +00:00
SWC Bot
68b849be74 chore: Publish crates 2023-03-05 05:25:35 +00:00
Daiki Nishikawa
67d0a89ae6
feat(es/transforms): Add an option to drop unused imports (#6962) 2023-03-05 05:21:58 +00:00
SWC Bot
a82dd99c45 chore: Publish crates 2023-03-04 09:01:39 +00:00
magic-akari
bb2486c459
fix(es/minifier): Don't create invalid property names (#7010) 2023-03-04 17:58:49 +09:00
SWC Bot
28ee1e05fe chore: Publish crates 2023-03-04 04:17:10 +00:00
Austaras
06cbb9002d
feat(es/minifier): Optimize calls to Boolean/Number/String/Symbol (#7006) 2023-03-04 04:14:14 +00:00
SWC Bot
6b48896c4c chore: Publish crates 2023-03-04 03:35:01 +00:00
Austaras
cfeb088c37
fix(es/minifier): Don't skip expressions with side effects from seq inliner (#7007) 2023-03-04 12:32:15 +09:00
SWC Bot
0ade738e43 chore: Publish crates 2023-03-03 02:49:46 +00:00
SWC Bot
a504e2a11d chore: Publish crates 2023-02-28 08:23:25 +00:00
SWC Bot
bbb3615af7 chore: Publish crates 2023-02-28 06:42:16 +00:00
SWC Bot
94138c801c chore: Publish crates 2023-02-28 06:04:29 +00:00
SWC Bot
447c1dad93 chore: Publish crates 2023-02-23 01:39:46 +00:00
SWC Bot
9e05f4c2d2 chore: Publish crates 2023-02-22 14:20:23 +00:00
SWC Bot
6496796c59 chore: Publish crates 2023-02-22 06:52:59 +00:00
SWC Bot
e42b60b65c chore: Publish crates 2023-02-21 06:25:11 +00:00
magic-akari
a27ffd2242
feat(es/minifier): Drop unused import bindings (#6967) 2023-02-21 06:22:25 +00:00
SWC Bot
786f8180ad chore: Publish crates 2023-02-20 05:31:02 +00:00
magic-akari
1dfadb8790
fix(es/minifier): Fix optimization of expressions in numeric context (#6965) 2023-02-20 05:28:28 +00:00
SWC Bot
89bbadbda6 chore: Publish crates 2023-02-19 14:53:16 +00:00
SWC Bot
b9398ce2d9 chore: Publish crates 2023-02-19 14:20:55 +00:00
magic-akari
9382bda786
fix(es/minifier): Fix toFixed, toPrecision, toExponential and toString of Number (#6960) 2023-02-19 23:18:14 +09:00
SWC Bot
6d7bf02e96 chore: Publish crates 2023-02-15 04:34:08 +00:00
SWC Bot
f1f5a19e61 chore: Publish crates 2023-02-12 21:38:45 +00:00
SWC Bot
e600586925 chore: Publish crates 2023-02-10 03:56:01 +00:00
SWC Bot
b9212cfee0 chore: Publish crates 2023-02-10 02:51:53 +00:00
SWC Bot
cade201a1f chore: Publish crates 2023-02-10 02:30:18 +00:00
SWC Bot
fe095e9dc1 chore: Publish crates 2023-02-09 03:10:10 +00:00
Donny/강동윤
725d3fb645
fix(es/minifier): Don't skip shorthand properties from sequential inliner (#6918)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6914.
2023-02-09 03:07:31 +00:00
SWC Bot
a566f9c999 chore: Publish crates 2023-02-08 05:17:01 +00:00
SWC Bot
6112471d25 chore: Publish crates 2023-02-08 02:13:29 +00:00
Donny/강동윤
951dafbc1a
fix(es/minifier): Don't break ternary with assignment in test (#6906)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6903.
2023-02-08 02:10:44 +00:00
SWC Bot
7f7e21b687 chore: Publish crates 2023-02-07 16:12:00 +00:00
SWC Bot
e65699c755 chore: Publish crates 2023-02-07 14:35:38 +00:00
SWC Bot
bd0072511b chore: Publish crates 2023-02-07 08:09:02 +00:00
SWC Bot
113b85ee40 chore: Publish crates 2023-02-07 05:17:06 +00:00
Donny/강동윤
432dca647b
fix(es/minifier): Respect span hygiene from expr simplifier (#6899)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6896.
2023-02-07 05:14:19 +00:00
SWC Bot
18af9c3a27 chore: Publish crates 2023-02-01 06:51:38 +00:00
SWC Bot
5160378f53 chore: Publish crates 2023-01-31 06:27:05 +00:00
SWC Bot
f89d3d688c chore: Publish crates 2023-01-31 05:47:59 +00:00
Donny/강동윤
d6a24a28e8
build(cargo): Drop dependencies on retain_mut (#6884) 2023-01-31 05:45:37 +00:00
SWC Bot
3e8d80a324 chore: Publish crates 2023-01-30 11:17:16 +00:00
SWC Bot
edc432713e chore: Publish crates 2023-01-29 15:33:29 +00:00
SWC Bot
0bb4dc2c3d chore: Publish crates 2023-01-29 14:56:26 +00:00
SWC Bot
1b56b40fda chore: Publish crates 2023-01-28 17:21:30 +00:00
Austaras
c0e72ef64a
fix(es/minifier): Track reassign in parent scope (#6865)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6864.
2023-01-28 17:19:19 +00:00