Commit Graph

6070 Commits

Author SHA1 Message Date
Donny/강동윤
241f9f05cb
chore: Publish v1.3.13 (#6320) 2022-11-03 09:33:56 +09:00
SWC Bot
394924cb99 chore: Publish crates 2022-11-02 10:05:19 +00:00
Donny/강동윤
2737aea312
fix(es/resolver): Change order for switch cases (#6317)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6310.
2022-11-02 10:02:06 +00:00
SWC Bot
fffc5f22d6 chore: Publish crates 2022-11-02 09:32:51 +00:00
Donny/강동윤
e34c25e40d
fix(es/helpers): Fix toArray (#6318)
**Related issue (if exists):**

 - Closes https://github.com/swc-project/swc/issues/6302.
2022-11-02 09:30:02 +00:00
SWC Bot
e11368e730 chore: Publish crates 2022-11-02 07:09:42 +00:00
Alexander Akait
3bea6f7248
fix(es/compat): Fix destructuring of an empty array (#6314) 2022-11-02 16:06:52 +09:00
SWC Bot
06a664a1f4 chore: Publish crates 2022-11-02 04:56:02 +00:00
Donny/강동윤
6f2eea03bf
chore: Publish v1.3.12 (#6315) 2022-11-02 04:53:22 +00:00
SWC Bot
75599d5821 chore: Publish crates 2022-11-02 03:39:31 +00:00
Alexander Akait
3a9065799d
perf(html/parser): Refactor (#6313) 2022-11-02 03:36:00 +00:00
SWC Bot
eb9b3c6a21 chore: Publish crates 2022-11-02 03:03:05 +00:00
Donny/강동윤
0f9d930f73
test(es/compat): Add execution tests (#6312) 2022-11-02 02:59:47 +00:00
SWC Bot
5fafa7b296 chore: Publish crates 2022-11-02 02:30:51 +00:00
Donny/강동윤
5b02e2450d
test(es): Enable tests for fixed issues (#6311) 2022-11-02 02:27:13 +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
00457b5275 chore: Publish crates 2022-10-31 08:02:28 +00:00
Donny/강동윤
0967e8f06d
chore(ci): Enforce clippy for all targets (#6299) 2022-10-31 16:59:29 +09:00
SWC Bot
33d83ae734 chore: Publish crates 2022-10-31 02:33:07 +00:00
Austaras
aa18612e62
fix(es/compat): Fix new.target in a nested scope (#6296) 2022-10-31 02:29:55 +00:00
SWC Bot
4f353acc52 chore: Publish crates 2022-10-30 12:38:29 +00:00
Johan Holmerin
a27392a251
fix(es/lints): Fix const-assign in function expressions (#6294) 2022-10-30 12:34:57 +00:00
SWC Bot
ff700d8252 chore: Publish crates 2022-10-29 08:31:56 +00:00
Alexander Akait
6cafeb2bcc
refactor(css/parser): Refactor even more (#6288) 2022-10-29 08:28:39 +00:00
SWC Bot
b1a72db365 chore: Publish crates 2022-10-29 07:32:26 +00:00
Fy
1024a552cf
refactor(es): Accept custom instance of Comments (#6290) 2022-10-29 07:29:37 +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
5480a52d83 chore: Publish crates 2022-10-28 22:59:55 +00:00
Johan Holmerin
244b0af30d
feat(es): Support trailing commas in .swcrc (#6289) 2022-10-28 22:56:45 +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
fdeb7bc4fe chore: Publish crates 2022-10-28 04:37:31 +00:00
Alexander Akait
2813acccc2
fix(css/parser): Fix various issues (#6281) 2022-10-28 04:34:23 +00:00
SWC Bot
ecba41691d chore: Publish crates 2022-10-28 03:17:00 +00:00
Alexander Akait
956d574683
feat(css/parser): Improve error reporting (#6274) 2022-10-28 03:14:08 +00:00
SWC Bot
55f2cdf186 chore: Publish crates 2022-10-28 02:42:26 +00:00
Alexander Akait
02f8d31ef3
feat(html/minifier): Merge script tags (#6273) 2022-10-28 02:39:10 +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
Justin Ridgewell
47d7fcaaed
fix(common): Remove &mut from build_source_map_from (#6276) 2022-10-28 10:24:13 +09:00
SWC Bot
111fb3a508 chore: Publish crates 2022-10-27 12:46:54 +00:00
Alexander Akait
cd1319d9be
test(css/minifier): Fix fixture tester (#6222) 2022-10-27 12:43:01 +00:00
SWC Bot
f56d16dcd6 chore: Publish crates 2022-10-27 03:51:01 +00:00