Commit Graph

5892 Commits

Author SHA1 Message Date
Donny/강동윤
ea4ae3dfbc
build(es/plugin): Fix Wasm build, really (#6180) 2022-10-17 20:06:08 +09:00
SWC Bot
995c701bc4 chore: Publish crates 2022-10-17 10:33:10 +00:00
Donny/강동윤
7c40e44d3f
build(es/plugin): Fix Wasm build (#6179) 2022-10-17 19:30:28 +09:00
SWC Bot
167359e089 chore: Publish crates 2022-10-17 09:38:57 +00:00
Donny/강동윤
cb8f3500b2
fix(es/plugin): Fix plugin on non x86_64 (#6178) 2022-10-17 09:36:26 +00:00
SWC Bot
fed888f822 chore: Publish crates 2022-10-17 08:33:49 +00:00
Donny/강동윤
0ca5ded618
fix(es/parser): Fix parsing of arrow in cond (#6067)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/4911.
2022-10-17 08:31:11 +00:00
Donny/강동윤
ec5782e4a0 chore: Publish crates 2022-10-17 09:26:50 +09:00
SWC Bot
99c55dc93b chore: Publish crates 2022-10-16 15:52:36 +00:00
Austaras
9d93b6cd85
fix(es/typescript): Don't generate class field for abstract properties (#6174) 2022-10-17 00:49:37 +09:00
Donny/강동윤
55a836ac82 chore: Add lock action 2022-10-16 09:47:14 +09:00
SWC Bot
b3b8e2192d chore: Publish crates 2022-10-16 00:28:22 +00:00
magic-akari
82cca674e3
fix(es/modules): Resolve jsc.paths for export alls (#6170) 2022-10-16 00:25:55 +00:00
SWC Bot
c3ba51f48e chore: Publish crates 2022-10-15 23:59:27 +00:00
Kevin Barabash
083924c0e1
fix(es/codegen): Emit readonly for TsIndexSignature (#6172) 2022-10-16 08:56:56 +09:00
SWC Bot
78f2d6012c chore: Publish crates 2022-10-15 12:55:40 +00:00
Donny/강동윤
2e153e5555
fix(es/minifier): Don't create a numeric literal with NaN value (#6166) 2022-10-15 12:52:34 +00:00
SWC Bot
23e30fd149 chore: Publish crates 2022-10-15 09:14:15 +00:00
Donny/강동윤
aec5cdacc6
fix(es/minifier): Preserve this of tagged template literals (#6165)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6146
2022-10-15 09:11:20 +00:00
SWC Bot
ba6d714fe7 chore: Publish crates 2022-10-15 06:24:26 +00:00
Alexander Akait
0f38e38984
feat(css/minifier): Handle zero in at-rules (#6155) 2022-10-15 06:21:20 +00:00
SWC Bot
16df44221f chore: Publish crates 2022-10-15 05:50:28 +00:00
Austaras
b40d486253
fix(es/minifier): Consider function body cost while inlining function (#5342) 2022-10-15 05:47:56 +00:00
SWC Bot
3352c4543b chore: Publish crates 2022-10-15 05:21:07 +00:00
Donny/강동윤
899021e440
fix(es/plugin): Disable SIMD (#6163)
**Description:**

This PR disables SIMD for all hosts because wasmer cache is not portable.
2022-10-15 05:18:19 +00:00
SWC Bot
608aa94935 chore: Publish crates 2022-10-15 04:39:37 +00:00
Donny/강동윤
6d0ca05cb5
fix(es/minifier): Fix ordering issue of analyzer (#6150)
**Description:**

This is the groundwork for a parallel analyzer. This PR fixes the ordering issue of the analyzer so that the analyzer works identically regardless of the visit order. This patch contains some improvements because previously, we mixed `.and_modify()` and `.or_default()`.
2022-10-15 04:37:11 +00:00
SWC Bot
4e079b221d chore: Publish crates 2022-10-15 03:06:30 +00:00
Fy
65029793a6
fix(es/quote): Fix handling of template literals (#6157) 2022-10-15 12:03:39 +09:00
SWC Bot
1ed0203262 chore: Publish crates 2022-10-14 14:49:13 +00:00
Alexander Akait
26aeb18c0c
fix(css/parser): Improve handling of math functions in at-rules (#6140) 2022-10-14 14:46:36 +00:00
SWC Bot
a50b5aeeb1 chore: Publish crates 2022-10-14 10:42:11 +00:00
Donny/강동윤
6a42e511e8
feat(es/utils): Add indexed API to the parallel helper (#6149) 2022-10-14 10:39:36 +00:00
SWC Bot
8f349f8bac chore: Publish crates 2022-10-14 03:33:09 +00:00
Donny/강동윤
f1bb365e8e
doc(repo): Document maintenance (#6145) 2022-10-14 03:29:55 +00:00
SWC Bot
ef5ed9b4a9 chore: Publish crates 2022-10-14 03:00:49 +00:00
Donny/강동윤
d334c6e783
feat(es/minifier): Ignore return value if a param of IIFE is not used (#6115) 2022-10-14 02:58:00 +00:00
SWC Bot
e46a192cb6 chore: Publish crates 2022-10-14 02:25:59 +00:00
Donny/강동윤
1196d60182
feat(css/modules): Add a lifetime to config parameter (#6144) 2022-10-14 01:40:50 +00:00
SWC Bot
5c4a2c69b4 chore: Publish crates 2022-10-14 01:00:35 +00:00
Donny/강동윤
2dd98e69e8
chore: Publish v1.3.8 (#6143) 2022-10-14 09:57:59 +09:00
SWC Bot
3ff55caa38 chore: Publish crates 2022-10-14 00:35:25 +00:00
Donny/강동윤
3d271e82a2
fix(es/minifier): Preserve return values of recursive IIFE (#6142)
**Description:**

This PR fixes the logic for dropping return values of IIFE.

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6141.
2022-10-14 09:32:56 +09:00
SWC Bot
31023f8e7e chore: Publish crates 2022-10-13 23:38:26 +00:00
Donny/강동윤
ec0d6d5a0d
feat(es/minifier): Improve trivial rules (#6136) 2022-10-13 23:34:30 +00:00
SWC Bot
0eb91d67a7 chore: Publish crates 2022-10-13 23:03:28 +00:00
Donny/강동윤
3a29bfee9b
feat(es/minifier): Change default pass limit to 3 (#6138) 2022-10-14 08:00:32 +09:00
SWC Bot
1affcfe8e8 chore: Publish crates 2022-10-13 06:12:56 +00:00
Donny/강동윤
9c8ec0ea56
perf(atoms): Use thin pointer for Atom (#6135)
**Description:**

This PR changes the size of `Atom` type to `usize` from 2 * usize`.

**Related issue:**

 - https://github.com/swc-project/swc/issues/4946.
2022-10-13 06:09:44 +00:00
SWC Bot
a871b13906 chore: Publish crates 2022-10-13 05:34:51 +00:00