Commit Graph

4608 Commits

Author SHA1 Message Date
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
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
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
limerick
da5367b3fb
fix(es): Allow any kind of input source maps if it's enabled (#7002) 2023-03-06 07:12:54 +00:00
SWC Bot
f32be0e7c6 chore: Publish crates 2023-03-06 03:36:45 +00:00
magic-akari
3cb03d5299
feat(es/transforms): Support namespace imports from const_modules (#7013) 2023-03-06 03:33:52 +00:00
SWC Bot
b7cef34637 chore: Publish crates 2023-03-06 02:52:14 +00:00
Daiki Nishikawa
b46a7248c6
fix(es/preset-env): Move findLast and findLastIndex to finished proposals (#7012) 2023-03-06 02:49:08 +00:00
SWC Bot
1a368def06 chore: Publish crates 2023-03-05 07:30:48 +00:00
IWANABETHATGUY
6d6731f355
fix(es/parser): Fix parsing of an array spread in tsx properties (#7011) 2023-03-05 07:28:01 +00:00
SWC Bot
bb64643d94 chore: Publish crates 2023-03-05 06:43:31 +00:00
Donny/강동윤
a431a3a204
chore(ci): Fix CI (#7014) 2023-03-05 06:40:35 +00:00
SWC Bot
68b849be74 chore: Publish crates 2023-03-05 05:25:35 +00:00
Daiki Nishikawa
67d0a89ae6
feat(es/transforms): Add an option to drop unused imports (#6962) 2023-03-05 05:21:58 +00:00
SWC Bot
a82dd99c45 chore: Publish crates 2023-03-04 09:01:39 +00:00
magic-akari
bb2486c459
fix(es/minifier): Don't create invalid property names (#7010) 2023-03-04 17:58:49 +09:00
SWC Bot
28ee1e05fe chore: Publish crates 2023-03-04 04:17:10 +00:00
Austaras
06cbb9002d
feat(es/minifier): Optimize calls to Boolean/Number/String/Symbol (#7006) 2023-03-04 04:14:14 +00:00
SWC Bot
6b48896c4c chore: Publish crates 2023-03-04 03:35:01 +00:00
Austaras
cfeb088c37
fix(es/minifier): Don't skip expressions with side effects from seq inliner (#7007) 2023-03-04 12:32:15 +09:00