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
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
SWC Bot
cd06479a43
chore: Publish crates
2023-01-11 03:00:59 +00:00
SWC Bot
6f1e08fa3c
chore: Publish crates
2023-01-10 06:45:17 +00:00
Donny/강동윤
ec7e913815
fix(es/minifier): Make name mangler respect toplevel
( #6774 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6418 .
2023-01-10 06:42:49 +00:00
SWC Bot
52dada97ff
chore: Publish crates
2023-01-10 06:03:34 +00:00
SWC Bot
478b1fe458
chore: Publish crates
2023-01-10 05:10:48 +00:00
SWC Bot
ca64ab0906
chore: Publish crates
2023-01-09 11:00:40 +00:00
SWC Bot
a225efe363
chore: Publish crates
2023-01-08 04:59:27 +00:00
SWC Bot
fb6770f649
chore: Publish crates
2023-01-06 08:17:26 +00:00
HeYunfei
8a6a1cbcf1
feat(es/minifier): Handle boolean in Evaluator
( #6756 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/5953 .
2023-01-06 08:15:07 +00:00
SWC Bot
1161360d54
chore: Publish crates
2023-01-06 03:49:20 +00:00
SWC Bot
ec8497b42c
chore: Publish crates
2023-01-06 03:16:51 +00:00
HeYunfei
a1ccc8afdf
feat(es/minifier): Make name mangler understand block scoping ( #6670 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/5090 .
- Closes https://github.com/swc-project/swc/issues/5766 .
2023-01-06 03:14:10 +00:00
SWC Bot
918a01bf5c
chore: Publish crates
2023-01-04 14:19:54 +00:00
SWC Bot
790c478a7a
chore: Publish crates
2023-01-04 07:29:33 +00:00
SWC Bot
1638105865
chore: Publish crates
2023-01-04 04:33:32 +00:00
Donny/강동윤
88d40e8ab8
fix(es/minifier): Fix usage counter to fix infinite loop ( #6744 )
...
**Description:**
We skip non-computed property names while checking if we can inline an expression.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6729 .
2023-01-04 04:31:12 +00:00
SWC Bot
30471796c9
chore: Publish crates
2023-01-03 09:47:06 +00:00
Donny/강동윤
206c0dbebe
fix(es/compat): Fix syntax context of async-to-generator
( #6741 )
...
**Description:**
Previously, the `async-to-generator` produced invalid AST, in the aspect of span hygiene.
[Playground](https://play.swc.rs/?version=1.3.24&code=H4sIAAAAAAAAAz1MbQqAIBT77yn2UyG6gNQJuoSZRCAa7xkk4d1TicZgH7C5%2B4yUYGPgBE7ZuyWazREmSIVpxiMAcumi0C3ANZxyvQ6%2Fqa8CehxjaGNpOAcLaWjn%2F6KhKN1dGaoULSpfHPTdxn8AAAA%3D&config=H4sIAAAAAAAAA0WOSwrDMAxE76K1F22hXfgE3fQQxlWCi39ICsQY3z12cMlOjObNTIUfW9AVsiFGGheXKGYHDVIysiWXBRQId2kxnrEpwF2QovFv9BmJQQtt2D2GVpROIj9u92enfEqMk1MQXHRLGR02hUzIfL1MXP3f2XpFSN9tCPWccWa%2BoF0Zk3P8mcYxoR3Kj7IYzwAAAA%3D%3D ).
It generate two bindings for `args` so it's invalid.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6730 .
2023-01-03 09:45:03 +00:00
SWC Bot
2e32faaa3c
chore: Publish crates
2023-01-03 03:14:24 +00:00
HeYunfei
b5d31cc2da
fix(es/utils): Fix detection of hoisting ( #6738 )
2023-01-03 03:12:01 +00:00
SWC Bot
61245739ea
chore: Publish crates
2022-12-21 03:03:05 +00:00
SWC Bot
923e4ff840
chore: Publish crates
2022-12-20 09:37:22 +00:00
Donny/강동윤
707b1e3cd2
feat(es/minifier): Improve simplification of ?.
( #6681 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6492 .
2022-12-20 09:34:50 +00:00
SWC Bot
417278f79e
chore: Publish crates
2022-12-20 07:47:43 +00:00
Donny/강동윤
7e6ec8d587
fix(es/minifier): Don't inline invalid LHS into an update argument ( #6680 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6641 .
2022-12-20 07:45:29 +00:00
SWC Bot
913230d02a
chore: Publish crates
2022-12-20 06:11:34 +00:00
SWC Bot
fc6ed6b0c0
chore: Publish crates
2022-12-15 09:35:01 +00:00
SWC Bot
139e35666c
chore: Publish crates
2022-12-15 07:53:24 +00:00
Donny/강동윤
bb9fab8d03
fix(es/minifier): Abort IIFE invoker completely on eval ( #6659 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6628 .
2022-12-15 07:49:58 +00:00
SWC Bot
fa1b02bbd2
chore: Publish crates
2022-12-14 09:23:16 +00:00
Donny/강동윤
7f3e6983e5
test(es/minifier): Enable size tests created from creduce
( #6646 )
2022-12-14 09:19:51 +00:00
SWC Bot
d831fb3cdd
chore: Publish crates
2022-12-14 04:49:13 +00:00
Donny/강동윤
e4e4d6cf6b
fix(es/minifier): Abort sequential inliner on optional chaining ( #6637 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6636 .
2022-12-14 04:45:47 +00:00
SWC Bot
4986694d4c
chore: Publish crates
2022-12-14 04:07:34 +00:00
SWC Bot
30692bc26c
chore: Publish crates
2022-12-13 15:48:32 +00:00
SWC Bot
292c3388b5
chore: Publish crates
2022-12-13 07:31:37 +00:00
SWC Bot
d33fb7e98c
chore: Publish crates
2022-12-13 06:53:51 +00:00
HeYunfei
08ccb8384c
chore(es/minifier): Expose globals_defs
pass ( #6633 )
2022-12-13 06:50:11 +00:00
SWC Bot
c4ab41eca4
chore: Publish crates
2022-12-13 04:22:30 +00:00
Donny/강동윤
8b2e1d17e5
fix(es/minifier): Abort IIFE invoker on eval
( #6478 )
...
**Related issue:**
- https://github.com/vercel/next.js/issues/43052 .
2022-12-13 04:18:57 +00:00
SWC Bot
581d9ce769
chore: Publish crates
2022-12-13 03:38:21 +00:00
SWC Bot
4d4406d5b3
chore: Publish crates
2022-12-12 02:40:19 +00:00
SWC Bot
2e50dd54e8
chore: Publish crates
2022-12-12 02:01:40 +00:00
SWC Bot
3d80fa4c25
chore: Publish crates
2022-12-10 00:55:14 +00:00
SWC Bot
fc21895bce
chore: Publish crates
2022-12-10 00:09:46 +00:00
SWC Bot
fef8fc99a0
chore: Publish crates
2022-12-09 01:52:11 +00:00
SWC Bot
6fadb48a52
chore: Publish crates
2022-12-08 05:15:03 +00:00
SWC Bot
96f9858639
chore: Publish crates
2022-12-07 23:43:51 +00:00
SWC Bot
9cc5b928a6
chore: Publish crates
2022-12-07 11:57:23 +00:00
Alex Kirszenberg
e1d01d8b7a
feat(es/analyzer): Extract the analyzer from the minifier to a separate crate ( #6586 )
2022-12-07 11:53:49 +00:00
SWC Bot
9d0247a394
chore: Publish crates
2022-12-06 00:54:17 +00:00
SWC Bot
c3dd8ffe79
chore: Publish crates
2022-12-05 00:17:56 +00:00
IWANABETHATGUY
586bfd5480
refactor(es/minifier): Remove unnecessary code ( #6575 )
2022-12-05 00:14:51 +00:00
SWC Bot
2379fc1fd9
chore: Publish crates
2022-12-04 05:55:52 +00:00
SWC Bot
cffa11122b
chore: Publish crates
2022-12-03 00:26:38 +00:00
SWC Bot
ab2e19b601
chore: Publish crates
2022-12-02 08:01:39 +00:00
SWC Bot
912743aadb
chore: Publish crates
2022-11-30 17:13:08 +00:00
SWC Bot
171733e8bb
chore: Publish crates
2022-11-30 07:50:13 +00:00
Donny/강동윤
8d8f150792
test(es/minifier): Add tests for preserving top-level directives ( #6545 )
2022-11-30 05:46:48 +00:00
SWC Bot
180f6740c1
chore: Publish crates
2022-11-29 07:04:40 +00:00
Yongwook Choi (Leo)
81224b5d67
fix(es/minifier): Don't convert a signed integer literal key to a numeric literal ( #6529 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6528 .
2022-11-29 07:01:30 +00:00
SWC Bot
6ca36c198b
chore: Publish crates
2022-11-29 06:00:22 +00:00
SWC Bot
01676568e6
chore: Publish crates
2022-11-29 05:26:59 +00:00
Donny/강동윤
9752b43f94
fix(es/minifier): Use unsafe option for arrow => method ( #6521 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6504 .
- https://github.com/vercel/next.js/issues/43208 .
2022-11-29 05:23:55 +00:00
SWC Bot
40cc78f384
chore: Publish crates
2022-11-29 04:53:35 +00:00
Donny/강동윤
27ae59e77b
fix(es/minifier): Make sequential inliner respect resolution order ( #6509 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6491 .
2022-11-29 04:50:15 +00:00
SWC Bot
c14acc1b14
chore: Publish crates
2022-11-29 04:15:55 +00:00
Donny/강동윤
b394f9f1d3
fix(es/minifier): Don't drop used variables from sequential inliner ( #6520 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6510 .
2022-11-29 04:12:11 +00:00
SWC Bot
5a9aab2392
chore: Publish crates
2022-11-28 16:00:01 +00:00
SWC Bot
96a1f93e91
chore: Publish crates
2022-11-28 07:54:59 +00:00
SWC Bot
f019c0210b
chore: Publish crates
2022-11-25 11:31:34 +00:00
SWC Bot
2ce5e2287a
chore: Publish crates
2022-11-24 15:25:03 +00:00
SWC Bot
bc61b0948a
chore: Publish crates
2022-11-24 09:46:57 +00:00
HeYunfei
8d906b45e5
fix(es/minifier): Preserve classes with side effects in static fields ( #6480 )
2022-11-24 09:43:00 +00:00
SWC Bot
6fd97971c9
chore: Publish crates
2022-11-24 08:47:34 +00:00
SWC Bot
553ba9c382
chore: Publish crates
2022-11-21 00:11:04 +00:00
SWC Bot
66b4966d60
chore: Publish crates
2022-11-20 23:40:48 +00:00
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
SWC Bot
a4546a4d22
chore: Publish crates
2022-10-28 01:27:37 +00:00
SWC Bot
09b296164c
chore: Publish crates
2022-10-27 03:05:43 +00:00
SWC Bot
fd4b66ea8c
chore: Publish crates
2022-10-27 01:25:04 +00:00
SWC Bot
bd61e0614c
chore: Publish crates
2022-10-27 00:54:01 +00:00
Donny/강동윤
743a1aab4f
feat(es/minfiier): Compute more with sequential inliner ( #6169 )
2022-10-27 00:50:52 +00:00
SWC Bot
51132f0636
chore: Publish crates
2022-10-27 00:19:24 +00:00