magic-akari
7da3f52485
feat(es/minifier): Evaluate more toFixed
expressions ( #8109 )
2023-10-13 15:07:00 +09:00
SWC Bot
a1d7ea7899
chore: Publish crates
2023-10-13 02:52:46 +00:00
SWC Bot
1364c568e1
chore: Publish crates
2023-10-12 00:42:04 +00:00
Donny/강동윤
94bb42e294
fix(es/minifier): Don't inline functions if keep_fnames
is enabled ( #8093 )
...
**Related issue:**
- https://github.com/vercel/next.js/issues/56550
2023-10-12 00:39:19 +00:00
SWC Bot
a25fff5c46
chore: Publish crates
2023-10-11 18:35:43 +00:00
SWC Bot
1183c32e3c
chore: Publish crates
2023-10-11 14:05:36 +00:00
SWC Bot
17fe7b29c5
chore: Publish crates
2023-10-11 12:44:18 +00:00
SWC Bot
8a07681f78
chore: Publish crates
2023-10-11 12:26:14 +00:00
Donny/강동윤
a2d077958f
chore(es/minifier): Fix script for extracting test cases from next.js app ( #8092 )
2023-10-10 23:18:39 +09:00
SWC Bot
f44205bd57
chore: Publish crates
2023-10-10 04:10:33 +00:00
SWC Bot
34e03c4661
chore: Publish crates
2023-10-08 00:41:50 +00:00
Donny/강동윤
84cec8766d
refactor(atoms): Remove usage of js_word!
to drop string-cache
( #7976 )
...
**Description:**
This PR is to prepare removal of `string-cache`. Actually, this PR does not remove it. Instead, this PR only removes direct usages of `js_word!`s, especially in patterns.
**Related issue:**
- #4946 .
2023-10-08 00:39:51 +00:00
SWC Bot
d716dc823b
chore: Publish crates
2023-10-07 14:22:43 +00:00
Donny/강동윤
a5621bb30a
chore(xtask): Migrate scripts to xtask ( #8072 )
...
This PR adds
- `xtask clean`
- `xtask bench`
2023-10-06 14:44:53 +00:00
SWC Bot
5c6c82bc6a
chore: Publish crates
2023-10-06 12:41:57 +00:00
SWC Bot
a6527bf9ab
chore: Publish crates
2023-10-06 00:12:18 +00:00
SWC Bot
da9bee9776
chore: Publish crates
2023-10-05 09:17:21 +00:00
SWC Bot
89676946e6
chore: Publish crates
2023-10-03 06:04:32 +00:00
SWC Bot
b3a59613ab
chore: Publish crates
2023-10-02 17:32:00 +00:00
SWC Bot
c53a655154
chore: Publish crates
2023-10-02 16:45:51 +00:00
SWC Bot
2bf935c68b
chore: Publish crates
2023-10-02 06:18:14 +00:00
SWC Bot
203b2297c3
chore: Publish crates
2023-09-30 11:42:29 +00:00
Austaras
01391e3c13
fix(es/minifier): Check if object shorthand is skippable for seq inliner ( #8036 )
...
**Related issue:**
- Closes #7984
2023-09-30 11:40:46 +00:00
SWC Bot
3fd6f64e60
chore: Publish crates
2023-09-29 21:35:08 +00:00
SWC Bot
5283e5bf82
chore: Publish crates
2023-09-29 20:36:29 +00:00
SWC Bot
920362685b
chore: Publish crates
2023-09-29 11:01:28 +00:00
Donny/강동윤
725f7f5bda
refactor(es/minifier): Move JS options to swc_ecma_minifier
( #8028 )
...
**Description:**
This is not a public API, though.
2023-09-29 10:59:43 +00:00
SWC Bot
2153c05c66
chore: Publish crates
2023-09-29 10:27:04 +00:00
SWC Bot
632a63a46e
chore: Publish crates
2023-09-27 23:30:11 +00:00
SWC Bot
0871d4e0f0
chore: Publish crates
2023-09-27 14:36:52 +00:00
SWC Bot
0e24dc9c74
chore: Publish crates
2023-09-27 00:57:21 +00:00
SWC Bot
7c227870c8
chore: Publish crates
2023-09-26 23:39:31 +00:00
SWC Bot
78e12595a4
chore: Publish crates
2023-09-26 03:59:50 +00:00
SWC Bot
b74a9f4357
chore: Publish crates
2023-09-25 23:38:00 +00:00
Donny/강동윤
39c680d814
fix(es/codegen): Fix codegen of unicode surrogates ( #7985 )
...
**Description:**
x-ref: https://vercel.slack.com/archives/C02HY34AKME/p1695334071194139
Reproduction: https://github.com/kdy1/repro-test-mdx-korean
Regression of next.js: `v13.4.11`(swc_core@v0.79.13 ) => `v13.5.2`
(swc_core@v0.83.12 )
- `next@v13.4.19` works (swc_core@v0.79.59 )
- `next@v13.4.20-canary.3` works (swc_core@v0.79.70 )
- **`next@v13.4.20-canary.32` fails** (swc_core@v0.83.12 )
Commit range:
662f236aa5...e67bf05f9d
- `swc_core@v0.79.70`:
662f236aa5
- `swc_core@v0.83.12`:
e67bf05f9d
Diff: https://gist.github.com/kdy1/047e7e5537c34180d446cb3d5b95fce8
---
I did more investigation by monkey-patching the `next` package.
`.minify()` resolved without an exception.
It means that `.minify()` is producing an invalid ES code.
So... candidates are
- https://github.com/swc-project/swc/pull/7890
- https://github.com/swc-project/swc/pull/7876
- https://github.com/swc-project/swc/pull/7858
- https://github.com/swc-project/swc/pull/7856
- https://github.com/swc-project/swc/pull/7853
- https://github.com/swc-project/swc/pull/7832
2023-09-25 23:36:05 +00:00
SWC Bot
5a94ff1083
chore: Publish crates
2023-09-25 04:04:09 +00:00
SWC Bot
e146ff7d8e
chore: Publish crates
2023-09-25 01:42:53 +00:00
SWC Bot
ee6260d53b
chore: Publish crates
2023-09-21 05:18:49 +00:00
SWC Bot
95285e8a4a
chore: Publish crates
2023-09-20 06:58:46 +00:00
Donny/강동윤
b3d3a7bc73
fix(es/minifier): Do not inline into a template literal with sequential inliner ( #7971 )
...
**Related issue:**
- Closes #7969 .
2023-09-20 06:57:03 +00:00
SWC Bot
e749328312
chore: Publish crates
2023-09-16 09:19:13 +00:00
SWC Bot
fc90ead01d
chore: Publish crates
2023-09-16 04:33:48 +00:00
SWC Bot
e67bf05f9d
chore: Publish crates
2023-09-15 12:38:09 +00:00
SWC Bot
16ad8ec4d1
chore: Publish crates
2023-09-14 07:19:55 +00:00
SWC Bot
9f8d454e00
chore: Publish crates
2023-09-14 02:49:44 +00:00
SWC Bot
858a4f4a22
chore: Publish crates
2023-09-13 02:05:35 +00:00
SWC Bot
0d0f04689c
chore: Publish crates
2023-09-11 08:33:49 +00:00
SWC Bot
5431010c75
chore: Publish crates
2023-09-10 07:00:21 +00:00
SWC Bot
3210556c7e
chore: Publish crates
2023-09-10 06:29:19 +00:00
SWC Bot
8bb911269c
chore: Publish crates
2023-09-06 17:31:41 +00:00