Commit Graph

4554 Commits

Author SHA1 Message Date
Donny/강동윤
367ac825f6
refactor(es/parser): Make lexer not generic over Input (#6993)
**Description:**

Currently, it uses `StringInput` as the input type, but I'll refactor it to use `String` or `Vec<u8>` directly to optimize it further.

**Related issue:**

 - https://github.com/swc-project/swc/discussions/6991
2023-02-28 08:20:29 +00:00
SWC Bot
bbb3615af7 chore: Publish crates 2023-02-28 06:42:16 +00:00
Donny/강동윤
37533a23fd
feat(es/parser): Support auto accessors (#6981) 2023-02-28 06:39:25 +00:00
SWC Bot
94138c801c chore: Publish crates 2023-02-28 06:04:29 +00:00
magic-akari
beb38d34a2
feat(es/typescript): Support export type * from "mod" (#6867) 2023-02-28 06:01:37 +00:00
Donny/강동윤
dc925f9863 chore: Publish crates 2023-02-28 11:14:03 +09:00
SWC Bot
460a5cb897 chore: Publish crates 2023-02-27 02:40:15 +00:00
SWC Bot
2525a844da chore: Publish crates 2023-02-23 08:49:08 +00:00
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