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
SWC Bot
33dab56853
chore: Publish crates
2023-01-27 13:00:49 +00:00
SWC Bot
5a5a7d70e4
chore: Publish crates
2023-01-27 06:59:44 +00:00
SWC Bot
586783a7ac
chore: Publish crates
2023-01-27 05:38:19 +00:00
Donny/강동윤
d1687d8e01
feat(es/minifier): Improve compatibility of arrows
with terser
( #6862 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6123 .
2023-01-27 14:36:12 +09:00
SWC Bot
8fc1b651b1
chore: Publish crates
2023-01-26 02:11:53 +00:00
SWC Bot
28be71dfaf
chore: Publish crates
2023-01-26 01:19:53 +00:00
Austaras
55225cb994
refactor(es/minifier): Merge cond_init
with reassigned
( #6850 )
...
**Description:**
And optimize the following situation
```js
export function genElement(el, state) {
if ('slot' === el.tag) return el1 = el, genChildren(el1);
if (el.component) {
var el1
return 999;
}
}
```
which rarely happens in hand written JS, but is often generated by swc merge variable pass.
2023-01-26 10:17:33 +09:00
SWC Bot
30b8cc612e
chore: Publish crates
2023-01-24 06:18:52 +00:00
HeYunfei
58208ef8ae
perf(es/minifier): Make pure function check O(1)
( #6840 )
2023-01-24 06:16:23 +00:00
SWC Bot
1d81137592
chore: Publish crates
2023-01-20 08:52:56 +00:00
Donny/강동윤
21e14787c5
fix(es/minifier): Don't inline into await
from sequential inliner ( #6839 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6837 .
2023-01-20 08:50:51 +00:00
SWC Bot
8863e31446
chore: Publish crates
2023-01-20 08:11:11 +00:00
Donny/강동윤
df702614e1
fix(es/codegen): Fix codegen of string literals with \x000
( #6838 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6836 .
2023-01-20 08:08:58 +00:00
SWC Bot
8194c65953
chore: Publish crates
2023-01-18 02:19:16 +00:00
SWC Bot
c3607ba6eb
chore: Publish crates
2023-01-16 16:09:51 +00:00
SWC Bot
b1f3eb74df
chore: Publish crates
2023-01-16 15:26:01 +00:00
SWC Bot
4a75eb0157
chore: Publish crates
2023-01-16 06:59:39 +00:00
Donny/강동윤
ebce18b221
fix(es/renamer): Handle rest params correctly ( #6821 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6819 .
2023-01-16 06:57:16 +00:00
SWC Bot
179a5f8a92
chore: Publish crates
2023-01-16 04:53:53 +00:00
Donny/강동윤
82bd5c2041
feat(es/renamer): Rename synthesized identifiers even on eval
( #6818 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/5068 .
2023-01-16 04:51:47 +00:00
SWC Bot
a5707ae7c1
chore: Publish crates
2023-01-15 06:45:26 +00:00
SWC Bot
0bc0a0d274
chore: Publish crates
2023-01-13 06:57:24 +00:00
Donny/강동윤
8f683e3f77
feat(es/minifier): Remove noop spreads ( #6803 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6788 .
2023-01-13 06:55:04 +00:00
Donny/강동윤
a299fd0418
test(es/minifier): Add a test for an invalid issue ( #6802 )
...
**Related issue:**
- https://github.com/vercel/next.js/discussions/30237#discussioncomment-4674405
2023-01-13 05:39:22 +00:00
SWC Bot
b27793f579
chore: Publish crates
2023-01-13 05:02:46 +00:00
Donny/강동윤
631dd7872b
feat(es/renamer): Support safari10
from the name mangler ( #6801 )
2023-01-13 05:00:13 +00:00
SWC Bot
ba910306ad
chore: Publish crates
2023-01-12 09:22:29 +00:00
Donny/강동윤
c14540905f
fix(es/transform): Apply hygiene
and resolver
if minify is specified ( #6793 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6791 .
2023-01-12 07:29:28 +00:00
Donny/강동윤
5496379454
chore: Publish crates
2023-01-11 18:36:16 +09:00
SWC Bot
1431c735a9
chore: Publish crates
2023-01-11 07:44:21 +00:00
SWC Bot
eddf8fd1bb
chore: Publish crates
2023-01-11 07:06:58 +00:00
Donny/강동윤
06770cff04
fix(es/minifier): Make AST compressor respect toplevel
( #6775 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/4386 .
2023-01-11 07:04:20 +00:00
SWC Bot
267d256b5b
chore: Publish crates
2023-01-11 06:04:36 +00:00
Donny/강동윤
336b1d8b4d
fix(es/minifier): Don't inline conditionally initialized vars ( #6751 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6750 .
- Closes https://github.com/swc-project/swc/issues/6780 .
2023-01-11 06:01:56 +00:00