Commit Graph

6890 Commits

Author SHA1 Message Date
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
SWC Bot
0ade738e43 chore: Publish crates 2023-03-03 02:49:46 +00:00
Daiki Nishikawa
a6471f34c0
feat(es/parser): Add an option to disallow ambiguous jsx (#6913) 2023-03-03 02:47:09 +00:00
SWC Bot
c2f0629f57 chore: Publish crates 2023-03-03 02:08:25 +00:00
Chen Yangjian
30cff01656
fix(bindings/node): Fix visitBindingIdentifier (#7000) 2023-03-03 02:03:54 +00:00
SWC Bot
a504e2a11d chore: Publish crates 2023-02-28 08:23:25 +00:00
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
realtimetodie
4c38a4427b
chore: Publish v1.3.37 (#6992) 2023-02-28 11:12:57 +09:00
SWC Bot
460a5cb897 chore: Publish crates 2023-02-27 02:40:15 +00:00
realtimetodie
3e3e41a175
fix(bindings/cli): Implement source-file-name and source-root options (#6973) 2023-02-27 02:37:32 +00:00
SWC Bot
2525a844da chore: Publish crates 2023-02-23 08:49:08 +00:00