Donny/강동윤
01db30f91e
fix(es/parser): Reset ctx for cond while parsing a stmt ( #7232 )
2023-04-10 10:45:49 +00:00
SWC Bot
ab9e793fa8
chore: Publish crates
2023-04-10 08:48:13 +00:00
Yukang
b1c40a411f
fix(es/parser): Use a hard error for missing r-paren in an if stmt ( #7223 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/7104 .
2023-04-10 08:46:01 +00:00
SWC Bot
2204b7809b
chore: Publish crates
2023-04-10 03:42:39 +00:00
SWC Bot
c6b28f91cc
chore: Publish crates
2023-04-05 05:17:51 +00:00
SWC Bot
a679dbe9aa
chore: Publish crates
2023-04-02 22:16:24 +00:00
Marvin Hagemeister
414e66910d
fix(es/parser): Fix infinite loop on jsx in js ( #7191 )
2023-04-02 22:14:29 +00:00
SWC Bot
b94fbed4c9
chore: Publish crates
2023-03-31 06:17:53 +00:00
SWC Bot
b1fb6b655f
chore: Publish crates
2023-03-30 08:08:20 +00:00
Donny/강동윤
0259a7465f
build(cargo): Update rustc
to nightly-2023-03-20
( #7170 )
...
**Description:**
This PR also updates `rkyv` to `=0.7.40`.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6807 .
2023-03-30 08:06:02 +00:00
SWC Bot
44062d6fa5
chore: Publish crates
2023-03-29 08:50:54 +00:00
Donny/강동윤
12546c853a
build(cargo): Revert rustc upgrade ( #7162 )
...
**Description:**
The `rkyv` bug is not fixed.
2023-03-29 17:48:45 +09:00
SWC Bot
d74103739a
chore: Publish crates
2023-03-29 06:26:30 +00:00
Donny/강동윤
e445502072
build(cargo): Update rustc
to nightly-2023-03-28
( #7154 )
...
**Description:**
This PR also updates `rkyv` to `=0.7.40`.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6807 .
2023-03-29 06:24:19 +00:00
SWC Bot
47f15f9f28
chore: Publish crates
2023-03-27 06:04:11 +00:00
SWC Bot
8fe52a12b3
chore: Publish crates
2023-03-27 04:31:35 +00:00
Donny/강동윤
30bc086052
refactor(ast): Make serde optional ( #7138 )
...
**Description:**
Turbopack does not use `serde` of swc AST types.
2023-03-27 13:28:42 +09:00
Donny/강동윤
28261985b0
chore(cargo): Refactor Cargo.toml
to reduce merge conflict ( #7139 )
2023-03-24 13:46:42 +09:00
SWC Bot
6635d54128
chore: Publish crates
2023-03-24 02:42:16 +00:00
Donny/강동윤
915f747cb7
refactor(es/parser): Remove EnumKind
to reduce compile time ( #7137 )
2023-03-24 11:40:26 +09:00
SWC Bot
b178ff5661
chore: Publish crates
2023-03-23 09:19:33 +00:00
SWC Bot
42f71431bf
chore: Publish crates
2023-03-23 05:19:01 +00:00
SWC Bot
e77bc0a62f
chore: Publish crates
2023-03-23 04:39:01 +00:00
SWC Bot
0195f536ef
chore: Publish crates
2023-03-22 11:50:07 +00:00
SWC Bot
212af9b0a7
chore: Publish crates
2023-03-21 08:48:30 +00:00
SWC Bot
cda09e44c3
chore: Publish crates
2023-03-21 07:21:46 +00:00
Crayon
dd2b16db9e
fix(es/parser): Fix parsing of static accessors ( #7108 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/7107 .
2023-03-21 07:19:45 +00:00
SWC Bot
60ccdab60e
chore: Publish crates
2023-03-16 02:20:24 +00:00
Donny/강동윤
963c460613
refactor: Fix lints using clippy from nightly-2023-03-13
( #6920 )
2023-03-14 04:56:21 +00:00
SWC Bot
6bf5f03884
chore: Publish crates
2023-03-13 08:34:46 +00:00
Donny/강동윤
f854d51343
perf(es/lexer): Use jump table for skip_space
( #7073 )
2023-03-13 08:32:49 +00:00
SWC Bot
3da6d18d47
chore: Publish crates
2023-03-13 03:27:50 +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
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
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
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
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
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/강동윤
f378a14888
perf(es/parser): Use SmartString
as the buffer ( #7033 )
2023-03-09 08:07:40 +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
SWC Bot
79549c0f20
chore: Publish crates
2023-03-07 14:50:22 +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
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
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/강동윤
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
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
SWC Bot
786f8180ad
chore: Publish crates
2023-02-20 05:31:02 +00: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
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
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
0bb4dc2c3d
chore: Publish crates
2023-01-29 14:56:26 +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
8fc1b651b1
chore: Publish crates
2023-01-26 02:11:53 +00:00
SWC Bot
a5707ae7c1
chore: Publish crates
2023-01-15 06:45:26 +00:00
SWC Bot
cd06479a43
chore: Publish crates
2023-01-11 03:00:59 +00:00
HeYunfei
ff8facef64
fix(es/parser): Allow parsing import.meta
as an expression ( #6783 )
2023-01-11 02:58:25 +00:00
SWC Bot
478b1fe458
chore: Publish crates
2023-01-10 05:10:48 +00:00
magic-akari
019cf37199
feat(es/typescript): Support const modifier on type parameters ( #6672 )
...
**Related issue:**
- https://github.com/microsoft/TypeScript/pull/51865 .
2023-01-10 05:08:29 +00:00
SWC Bot
a225efe363
chore: Publish crates
2023-01-08 04:59:27 +00:00
SWC Bot
1161360d54
chore: Publish crates
2023-01-06 03:49:20 +00:00
SWC Bot
790c478a7a
chore: Publish crates
2023-01-04 07:29:33 +00:00
Donny/강동윤
65a0d3a310
fix(es/parser): Fix priority of >>>
( #6748 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6739 .
2023-01-04 07:27:08 +00:00
SWC Bot
61245739ea
chore: Publish crates
2022-12-21 03:03:05 +00:00
SWC Bot
913230d02a
chore: Publish crates
2022-12-20 06:11:34 +00:00
SWC Bot
fa1b02bbd2
chore: Publish crates
2022-12-14 09:23:16 +00:00
SWC Bot
30692bc26c
chore: Publish crates
2022-12-13 15:48:32 +00:00
SWC Bot
292c3388b5
chore: Publish crates
2022-12-13 07:31:37 +00:00
SWC Bot
581d9ce769
chore: Publish crates
2022-12-13 03:38:21 +00:00
SWC Bot
4d4406d5b3
chore: Publish crates
2022-12-12 02:40:19 +00:00
SWC Bot
fc21895bce
chore: Publish crates
2022-12-10 00:09:46 +00:00
Alexander Akait
c44f1d0a7f
fix(es/parser): Parse types in CallExpression
inside templates ( #6611 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6601 .
2022-12-10 00:05:25 +00:00
SWC Bot
9d0247a394
chore: Publish crates
2022-12-06 00:54:17 +00:00
Alexander Akait
ad95ead291
fix(es/parser): Fix parsing of JSX with ASI ( #6577 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6522 .
2022-12-06 09:50:26 +09:00
SWC Bot
2379fc1fd9
chore: Publish crates
2022-12-04 05:55:52 +00:00
SWC Bot
cffa11122b
chore: Publish crates
2022-12-03 00:26:38 +00:00
SWC Bot
ab2e19b601
chore: Publish crates
2022-12-02 08:01:39 +00:00
SWC Bot
912743aadb
chore: Publish crates
2022-11-30 17:13:08 +00:00
Alexander Akait
aa28aa0c7f
fix(es/parser): Fix typeof
in TSCallSignatureDeclaration
( #6553 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6430
2022-11-30 17:09:53 +00:00
SWC Bot
171733e8bb
chore: Publish crates
2022-11-30 07:50:13 +00:00
Donny/강동윤
7ee86d1d25
test: Use correct extensions for fixture tests ( #6539 )
2022-11-29 09:47:56 +00:00
SWC Bot
6ca36c198b
chore: Publish crates
2022-11-29 06:00:22 +00:00
Donny/강동윤
cb157215d2
feat(es/parser): Make error message helpful ( #6535 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6525 .
2022-11-29 05:57:23 +00:00
SWC Bot
5a9aab2392
chore: Publish crates
2022-11-28 16:00:01 +00:00
Donny/강동윤
b8fe04f720
feat(common): Add contexts to the error messages ( #6526 )
...
**Description:**
This PR makes the error reporter print contexts.
**Related issue:**
- https://github.com/swc-project/swc/issues/6525 .
2022-11-29 00:56:47 +09:00
SWC Bot
96a1f93e91
chore: Publish crates
2022-11-28 07:54:59 +00:00
SWC Bot
66b4966d60
chore: Publish crates
2022-11-20 23:40:48 +00:00
Austaras
c57307d002
refactor(es): Remove settings related to privateInObject
( #6468 )
2022-11-21 08:34:20 +09:00
SWC Bot
59954370cb
chore: Publish crates
2022-11-20 00:30:30 +00:00
SWC Bot
e45c66535c
chore: Publish crates
2022-11-18 07:19:26 +00:00
Alexander Akait
3e702b9804
fix(es/parser): Fix parsing of regexp ( #6469 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6322 .
- Closes https://github.com/swc-project/swc/issues/6323 .
2022-11-18 07:16:22 +00:00
SWC Bot
2088dd4a84
chore: Publish crates
2022-11-11 22:50:50 +00:00
SWC Bot
9f685796c3
chore: Publish crates
2022-11-07 03:59:24 +00:00
Daiki Nishikawa
f6faeb3bad
fix(es/parser): Fix parsing of TS satisfies
expressions ( #6354 )
2022-11-07 03:56:15 +00:00
SWC Bot
4293463bb6
chore: Publish crates
2022-11-03 04:55:30 +00:00
Alexander Akait
28af15e475
fix(es/parser): Fix parsing of await
( #6316 )
2022-11-03 04:52:11 +00:00
SWC Bot
a4546a4d22
chore: Publish crates
2022-10-28 01:27:37 +00:00
SWC Bot
fd4b66ea8c
chore: Publish crates
2022-10-27 01:25:04 +00:00
SWC Bot
51132f0636
chore: Publish crates
2022-10-27 00:19:24 +00:00
SWC Bot
2f05c3fd32
chore: Publish crates
2022-10-24 03:58:37 +00:00
SWC Bot
e2c1fcffd4
chore: Publish crates
2022-10-21 23:50:56 +00:00
Maxime
61e63df0a0
chore(es/parser): Typo ( #6228 )
2022-10-21 23:48:15 +00:00
SWC Bot
b79997ba02
chore: Publish crates
2022-10-21 09:11:29 +00:00
SWC Bot
3f648bdf0f
chore: Publish crates
2022-10-20 08:59:26 +00:00
SWC Bot
0c23592d14
chore: Publish crates
2022-10-20 01:50:04 +00:00
SWC Bot
b48ec880fd
chore: Publish crates
2022-10-19 04:00:51 +00:00
SWC Bot
a049ef058b
chore: Publish crates
2022-10-18 14:51:39 +00:00
SWC Bot
fed888f822
chore: Publish crates
2022-10-17 08:33:49 +00:00
Donny/강동윤
0ca5ded618
fix(es/parser): Fix parsing of arrow in cond ( #6067 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/4911 .
2022-10-17 08:31:11 +00:00
SWC Bot
1affcfe8e8
chore: Publish crates
2022-10-13 06:12:56 +00:00
SWC Bot
56da9981bb
chore: Publish crates
2022-10-12 10:06:01 +00:00
SWC Bot
e37ced5bf4
chore: Publish crates
2022-10-12 01:55:47 +00:00
SWC Bot
dcb3a4371d
chore: Publish crates
2022-10-11 23:55:24 +00:00
SWC Bot
5bf306565f
chore: Publish crates
2022-10-11 11:23:16 +00:00
SWC Bot
018ca946e7
chore: Publish crates
2022-10-10 13:09:51 +00:00
Anthony Morris
ca67d5244d
doc(es/parser): Change file extension in TypeScript example ( #6094 )
2022-10-10 05:02:02 +00:00
SWC Bot
5f49ac012e
chore: Publish crates
2022-10-06 11:38:55 +00:00
SWC Bot
d620ce60ff
chore: Publish crates
2022-10-02 15:36:08 +00:00
Donny/강동윤
10fb645552
chore(ci): Merge CI scripts ( #5999 )
...
**Description:**
This PR merges CI scripts, and make integration tests use patched crates.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/5540 .
2022-09-30 16:57:15 +09:00
OJ Kwon
af64217f19
build(cargo): Introduce workspace deps ( #5997 )
2022-09-30 13:43:32 +09:00
SWC Bot
c499e2054d
chore: Publish crates
2022-09-28 22:57:51 +00:00
SWC Bot
d75addbdec
chore: Publish crates
2022-09-28 10:37:40 +00:00
SWC Bot
e001226674
chore: Publish crates
2022-09-26 09:21:39 +00:00
Donny/강동윤
2ba88154fc
fix(es/codegen): Align sourcemap with terser ( #5657 )
2022-09-26 18:12:42 +09:00
SWC Bot
e1f421b6af
chore: Publish crates
2022-09-25 01:36:48 +00:00
John Daly
cdd69d0145
fix(es/parser): Allow as
in destructuring assignment ( #5948 )
2022-09-25 10:29:33 +09:00
SWC Bot
e5ba9636ac
chore: Publish crates
2022-09-24 03:36:47 +00:00
SWC Bot
8a5ed1e0ba
chore: Publish crates
2022-09-23 07:50:26 +00:00