Commit Graph

4596 Commits

Author SHA1 Message Date
Gengkun
cc1d9bd567
fix(css/utils): Fix minification of class names with whitespace (#6983) 2023-02-23 08:46:24 +00:00
SWC Bot
c46c4f518f chore: Publish crates 2023-02-23 07:58:41 +00:00
Donny/강동윤
b887b30092
test(es/tsc): Update tsc test suite (#6982)
**Description:**

This is required for https://github.com/swc-project/swc/pull/6981 and https://github.com/swc-project/swc/pull/6950
2023-02-23 07:55:58 +00:00
SWC Bot
447c1dad93 chore: Publish crates 2023-02-23 01:39:46 +00:00
magic-akari
703b340d39
fix(es/decorator): Preserve evaluation order (#6972)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6951.
2023-02-23 01:37:06 +00:00
SWC Bot
9e05f4c2d2 chore: Publish crates 2023-02-22 14:20:23 +00:00
IWANABETHATGUY
f1e7a2a9cc
chore(es/parser): Reduce pre-allocation to reduce memory usage (#6979)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6966.
2023-02-22 14:17:45 +00:00
SWC Bot
6496796c59 chore: Publish crates 2023-02-22 06:52:59 +00:00
Donny/강동윤
f12bfd1e55 chore: Publish crates 2023-02-21 16:10:52 +09: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
2eb4c1cabd chore: Publish crates 2023-02-21 05:38:59 +00:00
Hikaru Terazono (3c1u)
4771aa206a
fix(css/modules): Fix CSS animation on CSS Modules (#6969) 2023-02-21 14:36:22 +09: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
Donny/강동윤
e946c43f4e
fix(es/resolver): Use type context for export = if it's unresolved (#6963)
**Related issue:**

 - https://github.com/dudykr/stc/issues/717.
2023-02-19 23:50:19 +09: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
6f18f23326 chore: Publish crates 2023-02-18 11:50:22 +00:00
SWC Bot
63c5c7bbb0 chore: Publish crates 2023-02-16 05:05:34 +00:00
Laurent Gaucheron
542bb62ef7
fix(bundler): Don't panic while finding exports (#6947) 2023-02-16 14:00:49 +09:00
SWC Bot
6d7bf02e96 chore: Publish crates 2023-02-15 04:34:08 +00:00
Donny/강동윤
14454c9dbd
fix(es/react): Don't panic on key without a value (#6945)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6939.
2023-02-15 04:31:02 +00:00
SWC Bot
4c6775646b chore: Publish crates 2023-02-14 04:50:23 +00:00
SWC Bot
8c5a53d0d5 chore: Publish crates 2023-02-14 03:16:15 +00:00
LongYinan
0771418dd0
chore(swc_nodejs_common): remove swc_node_base from swc_nodejs_common (#6940)
- Ref: https://github.com/vercel/turbo/pull/3772
2023-02-14 03:13:36 +00:00
SWC Bot
f1f5a19e61 chore: Publish crates 2023-02-12 21:38:45 +00:00
Donny/강동윤
a9b25aaf4a
fix(es/react): Fix handling of whitespaces (#6935)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6931.
2023-02-12 21:35:55 +00:00
SWC Bot
5a598140c1 chore: Publish crates 2023-02-11 16:29:50 +00:00
Donny/강동윤
1ec161a0f1
fix(es/module): Fix jsc.paths on Windows (#6930)
**Related issue:**

 - Reverts https://github.com/swc-project/swc/pull/6716.
 - Closes https://github.com/swc-project/swc/issues/6782.
2023-02-11 16:27:17 +00:00
SWC Bot
e332dffb58 chore: Publish crates 2023-02-10 18:32:51 +00:00
Donny/강동윤
0559f2c2b4 chore: Publish crates 2023-02-10 14:02:48 +09:00
SWC Bot
e600586925 chore: Publish crates 2023-02-10 03:56:01 +00:00
Donny/강동윤
ebc65c7dcb
fix(es/typescript): Fix handling of non-uppercase JSX elements (#6928)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6923.
2023-02-10 12:53:11 +09: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
OJ Kwon
75376cd65c
chore: Bump swc_css_* (#6924) 2023-02-10 11:27:20 +09:00
SWC Bot
29fee38224 chore: Publish crates 2023-02-09 05:11:07 +00:00
Donny/강동윤
85a8defc37
fix(es/preset-env): Fix default target (#6921)
**Description:**

Previously the default value of `targets` was `""`, which is not deterministic.

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6888.
2023-02-09 05:08:41 +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
Donny/강동윤
932d5a5302 chore: Publish crates 2023-02-08 16:51:05 +09:00
SWC Bot
b72ee503e4 chore: Publish crates 2023-02-08 07:48:41 +00:00
SWC Bot
63216ccf3f chore: Publish crates 2023-02-08 06:47:21 +00:00
Donny/강동윤
d18027cf9b
test(es/module): Add a test for jsc.paths on windows (#6915)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/5165.
2023-02-08 06:44:22 +00:00
SWC Bot
f7f18eded3 chore: Publish crates 2023-02-08 05:48:53 +00:00
SWC Bot
a566f9c999 chore: Publish crates 2023-02-08 05:17:01 +00:00
Donny/강동윤
4c5d5a6fca
fix(es/parser): Don't use stacker for armv7 (#6916) 2023-02-08 05:14:41 +00:00
SWC Bot
4be6c33687 chore: Publish crates 2023-02-08 04:37:20 +00:00
Ah
f85ea9cb57
fix(css/modules): Fix interop of & and :global (#6900) 2023-02-08 04:34:38 +00:00
Donny/강동윤
c293c14aaa chore: Publish crates 2023-02-08 12:04:02 +09: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
Alex Vasilev
85fffdad02
fix(es/module): Fix SystemJS imports (#6879)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/5922.
2023-02-07 16:07:46 +00:00
SWC Bot
74070935a9 chore: Publish crates 2023-02-07 15:20:28 +00:00
Daiki Nishikawa
76bc8a2974
feat(bindings/cli): Support for *.mts/*.cts files (#6909)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/4679.
2023-02-07 15:18:10 +00:00
SWC Bot
e65699c755 chore: Publish crates 2023-02-07 14:35:38 +00:00
Donny/강동윤
f36d945a33
fix(es/parser): Fix stack overflow due to deeply nested if (#6910)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6813.
2023-02-07 14:33:13 +00:00
SWC Bot
bd0072511b chore: Publish crates 2023-02-07 08:09:02 +00:00
Donny/강동윤
ee3a1071a5
fix(es/typescript): Ignore jsx element names (#6911)
**Related issue:**

 - https://github.com/vercel/next.js/issues/45561.
2023-02-07 08:06:37 +00:00
SWC Bot
58b74ffbe2 chore: Publish crates 2023-02-07 06:24:58 +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
af175fde8b chore: Publish crates 2023-02-07 03:46:20 +00:00
SWC Bot
33093877c1 chore: Publish crates 2023-02-05 21:38:41 +00:00
Jonathan Rudenberg
d993c4def6
feat(bindings/cli): Add --config (#6835) 2023-02-05 21:35:48 +00:00
SWC Bot
f2333e4ccf chore: Publish crates 2023-02-05 19:50:46 +00:00
SWC Bot
c223113338 chore: Publish crates 2023-02-01 10:34:44 +00:00
SWC Bot
18af9c3a27 chore: Publish crates 2023-02-01 06:51:38 +00:00
Donny/강동윤
861d87cae6
fix(es/resolver): Resolve parameters correctly (#6890)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/5622.
2023-02-01 15:49:08 +09:00
Donny/강동윤
ab02c0a07e chore: Publish crates 2023-02-01 09:37:56 +09:00
SWC Bot
61397267bb chore: Publish crates 2023-01-31 15:04:52 +00:00
Donny/강동윤
e79d46697c
test(es/compat): Add a test for a fixed issue (#6887)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6886.
2023-01-31 15:01:57 +00:00
SWC Bot
5160378f53 chore: Publish crates 2023-01-31 06:27:05 +00:00
Donny/강동윤
57781e90d3
fix(es/compat): Make optional chaining pass less permissive (#6885)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6878.
2023-01-31 06:24:23 +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
cdfaa8e292 chore: Publish crates 2023-01-31 03:24:17 +00:00
Donny/강동윤
9301703311
fix(es): Remove useless message (#6882) 2023-01-31 03:21:32 +00:00
Donny/강동윤
1bf2b2ddbf chore: Publish crates 2023-01-30 22:35:40 +09:00
SWC Bot
3e8d80a324 chore: Publish crates 2023-01-30 11:17:16 +00:00
Donny/강동윤
d8088646df
fix(es/compat): Fix optional chaining pass (#6875)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6762.
2023-01-30 11:14:53 +00:00
SWC Bot
edc432713e chore: Publish crates 2023-01-29 15:33:29 +00:00
Daiki Nishikawa
6b7249dcde
feat(es/loader): Support node: prefix from NodeModulesResolver (#6868) 2023-01-29 15:31:13 +00:00
SWC Bot
0bb4dc2c3d chore: Publish crates 2023-01-29 14:56:26 +00:00
HeYunfei
508267dccf
fix(visit): Fix detection of Option<Vec<T>> (#6872) 2023-01-29 14:54:08 +00:00
Donny/강동윤
b8fcf3bc62 chore: Publish crates 2023-01-29 22:44:56 +09:00
SWC Bot
2836fb207b chore: Publish crates 2023-01-29 13:30:41 +00:00
Donny/강동윤
cb3901cb5e chore: Publish crates 2023-01-29 03:35:48 +09:00
SWC Bot
3babace12d chore: Publish crates 2023-01-28 18:34:39 +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
Alex Vasilev
39c75fdcce
fix(es/module): Fix handling of this for systemjs (#6857)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6784.
2023-01-27 12:58:22 +00:00
SWC Bot
5a5a7d70e4 chore: Publish crates 2023-01-27 06:59:44 +00:00
Donny/강동윤
60d9403073
fix(es/parser): Fix parsing of generics (#6859)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6851.
2023-01-27 06:57:19 +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