Commit Graph

6822 Commits

Author SHA1 Message Date
magic-akari
ae348e32e1
fix(es/compat): Insert the variable declaration nearest to the available statements (#7067)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/7064.
2023-03-13 01:57:14 +00:00
SWC Bot
136c498c80 chore: Publish crates 2023-03-12 04:52:09 +00:00
Donny/강동윤
085c6f35f1
fix(es/ast): Fix memory layout (#7062)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/7061.
2023-03-12 04:50:28 +00:00
SWC Bot
4015714633 chore: Publish crates 2023-03-12 03:57:57 +00:00
magic-akari
bb6dde7943
fix(es/compat): Handle useDefineForClassFields: false (#7055)
**BREAKING CHANGE:**

IMPORTANT NOTE: Users of decorators are recommended to configure `"useDefineForClassFields": false` to ensure that your code is properly transpiled.


**Related issue:**
 - Closes https://github.com/swc-project/swc/issues/6985.
2023-03-12 12:56:10 +09:00
SWC Bot
caaf29db66 chore: Publish crates 2023-03-12 00:48:40 +00:00
Donny/강동윤
1b40689c3a
fix(bindings/cli): Update swc_ecma_ast (#7060) 2023-03-12 00:46:46 +00:00
SWC Bot
2486e6b6bf chore: Publish crates 2023-03-11 12:14:51 +00:00
Donny/강동윤
9beefaa1d5
perf(es/lexer): Use jump table for read_token (#7058) 2023-03-11 12:13:00 +00:00
SWC Bot
fa627e178a chore: Publish crates 2023-03-11 10:43:53 +00:00
Donny/강동윤
fbb3016870
fix(es): Support stable rustc again (#7057)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/7039.
2023-03-11 10:42:04 +00:00
SWC Bot
0b0e61beb6 chore: Publish crates 2023-03-11 03:44:48 +00:00
Donny/강동윤
d1d0607158
perf(es/lexer): Make lexer faster (#7052) 2023-03-11 03:43:06 +00:00
SWC Bot
d868434845 chore: Publish crates 2023-03-11 02:56:04 +00:00
Daiki Nishikawa
3730463874
fix(es/preset-env): Update data for core-js3 (#7023) 2023-03-11 02:54:09 +00:00
SWC Bot
fd26f467a1 chore: Publish crates 2023-03-11 00:32:35 +00:00
magic-akari
b78ce8b7c2
feat(es/compat): Simplify static blocks in classes (#7056) 2023-03-11 00:30:49 +00:00
SWC Bot
d4ebb5e6ef chore: Publish crates 2023-03-10 06:28:00 +00:00
suxin2017
9acaf4deeb
fix(es/parser): Handle class members with accessor as the name (#7046)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/7042.
2023-03-10 06:26:14 +00:00
Donny/강동윤
740a78ba88 chore: Publish crates 2023-03-10 14:12:09 +09:00
SWC Bot
f46933615c chore: Publish crates 2023-03-10 04:55:46 +00:00
Donny/강동윤
bdc57edac3
chore: Publish v1.3.39 (#7049) 2023-03-10 04:54:02 +00:00
SWC Bot
02e9e49733 chore: Publish crates 2023-03-10 03:54:16 +00:00
Donny/강동윤
962b0fc8af
perf(es/lexer): Use string searcher for lexing line comments (#7043) 2023-03-10 03:52:14 +00:00
SWC Bot
e0d4220264 chore: Publish crates 2023-03-09 14:21:23 +00:00
magic-akari
0314869464
fix(es/transforms): Handle object shorthand in const_modules (#7022) 2023-03-09 14:18:46 +00:00
Donny/강동윤
32bc2f57be doc: MSRV 2023-03-09 22:38:05 +09:00
SWC Bot
03488a3fb6 chore: Publish crates 2023-03-09 13:36:17 +00:00
Donny/강동윤
a9fe1d2d22
perf(es/ast): Shrink size of Expr (#7041)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/7019.
2023-03-09 13:34:11 +00:00
Donny/강동윤
691a8c1a54 chore(ci): Fix bot 2023-03-09 18:33:49 +09:00
Donny/강동윤
f378a14888
perf(es/parser): Use SmartString as the buffer (#7033) 2023-03-09 08:07:40 +00:00
SWC Bot
fd2619ca24 chore: Publish crates 2023-03-09 04:13:27 +00:00
Anders Kaseorg
e698a34816
test(es/quote): Fix doctests (#7038) 2023-03-09 13:10:47 +09:00
SWC Bot
0f09789c43 chore: Publish crates 2023-03-08 06:52:40 +00:00
HeYunfei
8bfef35c1b
perf(es/utils): Introduce NodeIgnoringSpan (#7030) 2023-03-08 06:49:41 +00:00
SWC Bot
50ee7d1c83 chore: Publish crates 2023-03-08 04:57:40 +00:00
Donny/강동윤
30546a28f2
perf(es/parser): Use Cow for _ in numeric literals (#7031) 2023-03-08 04:54:28 +00:00
SWC Bot
56aac6783b chore: Publish crates 2023-03-08 02:51:08 +00:00
Yoni Feng
9841f0b5d1
perf(atoms): Update string-cache for per-bucket mutex (#6980) 2023-03-08 11:47:42 +09:00
SWC Bot
79549c0f20 chore: Publish crates 2023-03-07 14:50:22 +00:00
Donny/강동윤
81495f5f21
feat(common): Add an API to create a SourceFile without allocation (#7029) 2023-03-07 14:47:21 +00:00
SWC Bot
e93c79b479 chore: Publish crates 2023-03-07 04:13:14 +00:00
magic-akari
5c7c8e0736
fix(es/transforms): Handle member object in missing else branch (#7027)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/7025.
2023-03-07 04:10:06 +00:00
SWC Bot
7f6b4f0089 chore: Publish crates 2023-03-07 02:08:30 +00:00
Austaras
1318afe2b4
fix(es/minifier): Bailout regex optimization on invalid flags (#7020) 2023-03-07 11:05:04 +09:00
Donny/강동윤
2a8f6aeb37 chore: Publish crates 2023-03-06 18:32:18 +09:00
Donny/강동윤
873e532f91
chore: Publish v1.3.38 (#7018) 2023-03-06 09:30:21 +00:00
SWC Bot
0d3cff58c5 chore: Publish crates 2023-03-06 07:55:21 +00:00
Donny/강동윤
34f9ad3778
fix(es/typescript): Treat export default declarations as declarations (#7017)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6953.
2023-03-06 07:51:52 +00:00
SWC Bot
66247f0c49 chore: Publish crates 2023-03-06 07:15:47 +00:00