Commit Graph

1039 Commits

Author SHA1 Message Date
SWC Bot
40ad709523 chore: Publish crates 2022-11-20 10:06:27 +00:00
SWC Bot
59954370cb chore: Publish crates 2022-11-20 00:30:30 +00:00
HeYunfei
9154bbc111
fix(es/minifier): Avoid dropping statements which has side-effects (#6476) 2022-11-20 00:26:52 +00:00
SWC Bot
a4ed624f81 chore: Publish crates 2022-11-18 07:56:33 +00:00
Donny/강동윤
15ad2c2568
fix(es/minifier): Abort inliner on fn declarations used multiple time (#6473)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6463.
2022-11-18 07:53:13 +00:00
SWC Bot
e45c66535c chore: Publish crates 2022-11-18 07:19:26 +00:00
SWC Bot
d78c5452ea chore: Publish crates 2022-11-18 06:38:53 +00:00
SWC Bot
44b0790dcd chore: Publish crates 2022-11-17 06:04:26 +00:00
Alexander Akait
4d7b920bd4
feat(es/minifier): Support script fully (#6455) 2022-11-17 06:00:42 +00:00
SWC Bot
7716f58303 chore: Publish crates 2022-11-17 02:04:20 +00:00
SWC Bot
95d274e403 chore: Publish crates 2022-11-17 00:55:18 +00:00
HeYunfei
dabea71c44
fix(es/minifier): Preserve unused imported specifiers (#6458) 2022-11-17 00:52:19 +00:00
SWC Bot
0d30c7f463 chore: Publish crates 2022-11-16 04:54:58 +00:00
SWC Bot
4d6b182dc2 chore: Publish crates 2022-11-15 07:03:31 +00:00
Donny/강동윤
bb544ba2f5
fix(es/minifier): Fix code for dropping unreachable statements (#6429)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6405.
2022-11-15 07:00:14 +00:00
SWC Bot
6cc71e9493 chore: Publish crates 2022-11-15 02:32:13 +00:00
Donny/강동윤
99934b09f7
fix(es/minifier): Change the default of mangle.toplevel to false (#6439) 2022-11-15 02:28:38 +00:00
SWC Bot
e6e71b5b37 chore: Publish crates 2022-11-15 00:25:10 +00:00
Donny/강동윤
5fd7ab87b6
fix(es/minifier): Preserve op of the op-assignments in seq inliner (#6428)
**Description:**


**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6407.
2022-11-15 00:22:06 +00:00
SWC Bot
cdc1b4cea4 chore: Publish crates 2022-11-14 06:06:09 +00:00
Donny/강동윤
81a4bb304a
fix(es/compat): Fix span hygiene of function naming pass (#6345)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6344.
2022-11-14 06:03:09 +00:00
SWC Bot
b97a59bb3f chore: Publish crates 2022-11-14 05:34:02 +00:00
SWC Bot
6672c52af2 chore: Publish crates 2022-11-13 23:55:36 +00:00
SWC Bot
c74f922311 chore: Publish crates 2022-11-13 08:44:40 +00:00
SWC Bot
2088dd4a84 chore: Publish crates 2022-11-11 22:50:50 +00:00
SWC Bot
c1588eb3e5 chore: Publish crates 2022-11-11 02:00:43 +00:00
SWC Bot
c356f96820 chore: Publish crates 2022-11-09 06:32:39 +00:00
SWC Bot
9f685796c3 chore: Publish crates 2022-11-07 03:59:24 +00:00
Daiki Nishikawa
f6faeb3bad
fix(es/parser): Fix parsing of TS satisfies expressions (#6354) 2022-11-07 03:56:15 +00:00
SWC Bot
981dc88517 chore: Publish crates 2022-11-06 00:23:31 +00:00
SWC Bot
2c8c1392d1 chore: Publish crates 2022-11-05 18:33:53 +00:00
SWC Bot
1b839321c0 chore: Publish crates 2022-11-05 15:28:00 +00:00
SWC Bot
134b134581 chore: Publish crates 2022-11-05 14:10:18 +00:00
SWC Bot
a1a6513ee7 chore: Publish crates 2022-11-03 06:03:12 +00:00
SWC Bot
4293463bb6 chore: Publish crates 2022-11-03 04:55:30 +00:00
SWC Bot
394924cb99 chore: Publish crates 2022-11-02 10:05:19 +00:00
SWC Bot
fffc5f22d6 chore: Publish crates 2022-11-02 09:32:51 +00:00
SWC Bot
5784ae24a5 chore: Publish crates 2022-11-02 02:00:08 +00:00
Donny/강동윤
dd797f7f15
fix(es/minifier): Don't drop an inlined parameter as a duplicate (#6293) 2022-11-02 01:57:15 +00:00
SWC Bot
d22a400fd3 chore: Publish crates 2022-11-02 01:24:27 +00:00
Donny/강동윤
5d52ae971e
feat(es/minifier): Implement trivial optimizations (#6256)
**Description:**

1. Evaluate `Number.toString()`.
2. Mark some terser tests as passing where our output is better.
2022-11-02 01:21:32 +00:00
SWC Bot
108d3b82d4 chore: Publish crates 2022-11-01 16:36:24 +00:00
Donny/강동윤
655f6744c5
fix(es/minifier): Fix infinite loop (#6300)
**Related issue:**

 - https://github.com/vercel/next.js/issues/42171.
2022-11-01 16:32:52 +00:00
SWC Bot
33d83ae734 chore: Publish crates 2022-10-31 02:33:07 +00:00
SWC Bot
41e0698ed6 chore: Publish crates 2022-10-29 00:05:27 +00:00
Donny/강동윤
4eab2ed2fc
fix(es/minifier): Don't inline regex for IIFEs (#6283)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6279.

Co-authored-by: Justin Ridgewell <justin@ridgewell.name>
2022-10-29 00:02:32 +00:00
SWC Bot
9f39013704 chore: Publish crates 2022-10-28 08:04:06 +00:00
Donny/강동윤
0376da73c6
test(es/minifier): Add a test for ?? operator (#6282)
**Related issue:**

 - https://github.com/vercel/next.js/issues/41992.
2022-10-28 08:00:21 +00:00
SWC Bot
30b3596779 chore: Publish crates 2022-10-28 02:04:38 +00:00
Austaras
8c1ac686cb
fix(es/minifier): Don't ignore nullish coalescing (#6272) 2022-10-28 02:00:47 +00:00