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
Donny/강동윤
5cddb4c734
feat(es/typescript): Support TS 4.9 ( #5938 )
...
**Description:**
This PR adds satisfaction expression to the AST and parser.
2022-09-23 16:41:56 +09:00
SWC Bot
4c3813dbcc
chore: Publish crates
2022-09-22 03:16:22 +00:00
SWC Bot
5c2b1bb15d
chore: Publish crates
2022-09-20 03:51:28 +00:00
Donny/강동윤
1a182ef8d9
perf(es): Optimize memory layout of AST ( #5829 )
2022-09-20 12:47:21 +09:00
Donny/강동윤
f0ca487848
chore: Publish crates
2022-09-16 15:46:25 +09:00
SWC Bot
1d633e8ba7
chore: Publish crates
2022-09-15 06:08:07 +00:00
SWC Bot
ec8bb432b9
chore: Publish crates
2022-09-15 05:23:46 +00:00
Donny/강동윤
dfb01bde71
refactor: Refactor code using clippy ( #5863 )
...
**Description:**
I temporarily updated rustc to use newer version of `cargo clippy`.
2022-09-14 15:05:59 +00:00
SWC Bot
d35792f424
chore: Publish crates
2022-09-14 07:56:20 +00:00
SWC Bot
8432c0a1ad
chore: Publish crates
2022-09-14 07:19:24 +00:00
SWC Bot
d16fb9a8cf
chore: Publish crates
2022-09-13 05:04:36 +00:00
SWC Bot
b2c0fbd7ba
chore: Publish crates
2022-09-13 02:19:15 +00:00
magic-akari
10637b006f
fix(es/parser): Handle more TS1185
( #5834 )
2022-09-13 02:16:22 +00:00
SWC Bot
2df19176fb
chore: Publish crates
2022-09-12 05:16:53 +00:00
Donny/강동윤
10484edbf7
perf(es/parser): Optimize memory layout ( #5833 )
...
**Description:**
I boxed `BigIntValue` in the `Token` type to make `TokenAndSpan` smaller and made the parser use `Vec` instead of `SmallVec` for token contexts.
2022-09-12 05:14:09 +00:00
SWC Bot
9f28c246dc
chore: Publish crates
2022-09-12 04:34:08 +00:00
SWC Bot
5fe032c01a
chore: Publish crates
2022-09-11 03:00:57 +00:00
RiESAEX
8adbe1675e
fix(es/parser): Keep comments of the RHS of a binary expression ( #5812 )
2022-09-11 02:58:06 +00:00
SWC Bot
961a9047c0
chore: Publish crates
2022-09-10 15:07:06 +00:00
IWANABETHATGUY
97729e5d2b
feat(es/parser): Improve jsx lexer ( #5805 )
2022-09-11 00:03:51 +09:00
SWC Bot
417b1f2a92
chore: Publish crates
2022-09-10 07:23:37 +00:00
SWC Bot
575940e770
chore: Publish crates
2022-09-09 08:09:53 +00:00
SWC Bot
701fa74631
chore: Publish crates
2022-09-09 05:05:59 +00:00
magic-akari
9c998d4406
fix(es): Use paren_remover
pass ( #5753 )
...
**Description:**
We now apply the paren_remover pass before applying other transforms.
**Related issue:**
- Closes #5652
- Closes #5752
2022-09-09 05:02:24 +00:00
SWC Bot
d2188eac3f
chore: Publish crates
2022-09-08 04:28:01 +00:00
magic-akari
7deadd8667
feat(es/lexer): Recover from git merge conflict ( #5775 )
2022-09-08 04:24:44 +00:00
SWC Bot
bad9811ea8
chore: Publish crates
2022-09-07 06:16:59 +00:00
Donny/강동윤
c10d55780e
perf(es/parser): Operate on u8
( #5774 )
2022-09-07 06:13:32 +00:00
SWC Bot
e654741336
chore: Publish crates
2022-09-06 12:41:54 +00:00
SWC Bot
55b03eb970
chore: Publish crates
2022-09-05 13:40:03 +00:00
IWANABETHATGUY
9fc6eda89a
fix(es/parser): Fix detection of wrong delete targets ( #5754 )
2022-09-05 13:36:24 +00:00
SWC Bot
1013d18fa8
chore: Publish crates
2022-09-03 15:11:30 +00:00
magic-akari
a3a7277909
fix(es/lexer): Drop ClassExpr
context in object properties ( #5729 )
2022-09-03 15:08:13 +00:00
OJ Kwon
d6e67b5944
feat(atoms): Introduce bytecheck-ed rkyv version ( #5686 )
2022-09-03 14:29:02 +09:00
SWC Bot
baa5540fa2
chore: Publish crates
2022-09-02 07:44:07 +00:00
IWANABETHATGUY
383aa8510c
fix(es/parser): Improve error message ( #5719 )
2022-09-02 07:40:52 +00:00
OJ Kwon
7686faece5
fix(swc_core): Bump versions ( #5706 )
2022-09-01 13:08:04 +09:00
SWC Bot
99c7b976f9
chore: Publish crates
2022-08-29 11:30:29 +00:00
magic-akari
6c2c2587ff
perf(es/lexer): Improve keyword tokenizer ( #5658 )
2022-08-29 11:27:11 +00:00
magic-akari
095cbf1b4f
test(es/transforms): Respect directives in tsc tests ( #5648 )
2022-08-29 10:49:01 +00:00
SWC Bot
3917522bf1
chore: Publish crates
2022-08-27 15:48:16 +00:00
magic-akari
0f0d1db301
feat(es/parser): Handle async
in for...of
( #5646 )
2022-08-27 15:44:51 +00:00
SWC Bot
0d053b9782
chore: Publish crates
2022-08-26 14:17:17 +00:00
magic-akari
838438dc9d
fix(es/parser): Handle more TS2406
errors ( #5640 )
2022-08-26 14:13:38 +00:00
OJ Kwon
1769191f9a
chore(swc_core): Update dependency version ( #5595 )
2022-08-23 10:10:30 +09:00
OJ Kwon
9bc40e3d08
build(swc_core): Fix dependency version ( #5593 )
2022-08-23 00:21:29 +00:00
SWC Bot
2c35990a07
chore: Publish crates
2022-08-21 08:33:31 +00:00
magic-akari
c3f62586bf
fix(es/parser): Fix false-positives of yield used as a parameter in generator ( #5564 )
2022-08-21 08:30:54 +00:00
SWC Bot
52250f0927
chore: Publish crates
2022-08-20 16:18:08 +00:00
magic-akari
78dd071dab
fix(es/parser): Allow expr to follow ClassExpr
( #5572 )
2022-08-20 16:15:47 +00:00
Donny/강동윤
288ae51fb1
fix(es/codgen): Fix sourcemap ofBlockStmt
( #5570 )
2022-08-20 07:53:51 +00:00
SWC Bot
916af18b8f
chore: Publish crates
2022-08-17 06:45:51 +00:00
Alexander van Ratingen
75c8e09d6d
feat(api/rust): Implement more traits for public types ( #5488 )
2022-08-17 06:43:32 +00:00
Donny/강동윤
f7b34e70e9
chore: Publish crates
2022-08-17 14:28:18 +09:00
OJ Kwon
76797b1fc1
build(bindings): Bump up swc_core ( #5484 )
2022-08-14 07:48:15 +00:00
Donny/강동윤
925839adc6
chore: Publish crates
2022-08-13 19:11:26 +09:00
Donny/강동윤
1b089be611
chore: Publish crates
2022-08-13 14:09:52 +09:00
Donny/강동윤
d2f2a1315b
chore: Publish crates
2022-08-13 00:49:08 +09:00
Donny/강동윤
3eb1f4b2b1
chore(ci): Fix lints ( #5462 )
2022-08-12 13:13:35 +00:00
Donny/강동윤
033e05677a
chore: Publish crates
2022-08-12 15:18:06 +09:00
OJ Kwon
e25b37d579
build(atoms): Bump swc_atoms
( #5442 )
2022-08-11 18:52:44 +09:00
SWC Bot
cdb9bbd707
chore: Publish crates
2022-08-08 03:00:13 +00:00
magic-akari
9443419591
fix(es/fixer): Preserve parens for optional chaining expressions ( #5388 )
2022-08-04 04:20:25 +00:00
OJ Kwon
5c9ea16b2a
build(cargo): Update packages ( #5331 )
2022-07-29 08:30:41 +09:00
SWC Bot
129a886e13
chore: Publish crates
2022-07-27 04:18:47 +00:00
SWC Bot
2017daa2d5
chore: Publish crates
2022-07-26 04:04:42 +00:00
Donny/강동윤
3100bf8c62
fix(es/codegen): Fix sourcemap of multiline comments ( #5299 )
2022-07-26 04:02:50 +00:00
Donny/강동윤
a37fdca969
chore: Publish crates
2022-07-22 21:06:43 +09:00
Donny/강동윤
037a53d5d1
perf(es/ast): Use Atom
in some places ( #5271 )
2022-07-22 20:09:25 +09:00
SWC Bot
fe74b7067c
chore: Publish crates
2022-07-20 04:10:58 +00:00
OJ Kwon
0d91741eb9
build(cargo): Align dependency versions ( #5248 )
2022-07-20 03:42:04 +00:00
Donny/강동윤
54982d4d72
chore: Publish crates
2022-07-19 11:38:23 +09:00
SWC Bot
364be526f1
chore: Publish crates
2022-07-13 10:58:04 +00:00
magic-akari
ec9378370d
fix(es/parser): Fix parsing of export specifiers ( #5190 )
2022-07-13 10:55:55 +00:00
SWC Bot
8ee3c8f5fb
chore: Publish crates
2022-07-13 10:31:47 +00:00
Austaras
375774d31e
fix(es): Check the syntax context of arguments
( #5174 )
2022-07-13 10:29:03 +00:00
Donny/강동윤
b433b69263
chore: Publish crates
2022-07-12 23:58:30 +09:00
SWC Bot
2bd5b4413a
chore: Publish crates
2022-07-09 10:17:04 +00:00
SWC Bot
297228a690
chore: Publish crates
2022-07-07 07:48:49 +00:00
SWC Bot
09d4aa4a0d
chore: Publish crates
2022-07-07 07:25:22 +00:00
三丝
9d4be11f2e
doc(es/parser): Typo ( #5136 )
2022-07-07 07:23:21 +00:00
Edwin Coronado
2d94797975
feat(es/parser): Support d
in regex flag for es2022 ( #5127 )
2022-07-07 04:35:49 +00:00
SWC Bot
70bfbfba44
chore: Publish crates
2022-07-06 07:53:08 +00:00
magic-akari
fbfca36f58
fix(es/parser): Support type-only export-import declarations ( #5122 )
2022-07-06 16:51:18 +09:00
SWC Bot
9385103649
chore: Publish crates
2022-07-06 04:44:10 +00:00
SWC Bot
55d71bf9fc
chore: Publish crates
2022-07-02 04:48:04 +00:00
Austaras
b62fd3e6cc
feat(es/parser): Support labelled function from annex B ( #5078 )
2022-07-02 04:45:22 +00:00
Donny/강동윤
c2c923e205
chore: Publish crates
2022-07-01 11:50:45 +09:00
SWC Bot
73874486b2
chore: Publish crates
2022-06-29 11:05:08 +00:00
Alexander Akait
37eb366a1f
feat(es/parser): Add allow_return_outside_function
to options ( #5046 )
2022-06-29 11:02:05 +00:00
SWC Bot
5576c3c601
chore: Publish crates
2022-06-29 03:37:57 +00:00
SWC Bot
ea88660d62
chore: Publish crates
2022-06-25 10:05:37 +00:00
magic-akari
f238093c3b
fix(es/parser): Allow initializer of the var of for-in loop in non-strict mode ( #5038 )
2022-06-25 10:02:43 +00:00
Pig Fang
6bcb92598b
test(es/parser): Add a test case for instantiation expr ( #5014 )
2022-06-21 14:54:17 +00:00
SWC Bot
141575d38d
chore: Publish crates
2022-06-19 17:54:40 +00:00
Pig Fang
a62b2b3244
fix(es/parser): Allow instantiation expression followed by a line break or a binary operator ( #5000 )
2022-06-19 17:52:05 +00:00
SWC Bot
fb7b314721
chore: Publish crates
2022-06-18 10:03:39 +00:00
magic-akari
53a8cb1209
fix(es/parser): Don't panic on an invalid import meta property ( #4994 )
2022-06-18 10:00:52 +00:00
SWC Bot
14140aa5bc
chore: Publish crates
2022-06-18 03:29:17 +00:00
Pig Fang
36ef3e4507
fix(es/parser): Fix binary operator parsed as an instantiation expression ( #4992 )
2022-06-18 03:26:39 +00:00
LongYinan
db9f7a5ad4
chore(ci): Fix publish build on Windows ( #4970 )
2022-06-14 15:58:10 +00:00
SWC Bot
51715e4d0d
chore: Publish crates
2022-06-14 07:08:40 +00:00
Donny/강동윤
3e03ebf8bb
fix(es/parser): Don't assume the length of char ( #4967 )
2022-06-14 07:05:35 +00:00
SWC Bot
ac7dac6198
chore: Publish crates
2022-06-11 08:13:24 +00:00
magic-akari
381d273f11
fix(es/parser): Check for line break after async ( #4940 )
2022-06-11 08:10:49 +00:00
SWC Bot
953453ca8c
chore: Publish crates
2022-06-11 04:18:13 +00:00
magic-akari
11db191af5
fix(es/parser): Allow negative bigint literal in types ( #4938 )
2022-06-11 04:15:21 +00:00
Donny/강동윤
eb0acc3859
chore: Publish crates
2022-06-06 04:54:19 +09:00
Donny/강동윤
fd3501bf87
feat(wasm): Add json error ( #4853 )
2022-06-01 11:51:24 +09:00
Donny/강동윤
f847709787
chore(common): Update rustc ( #4828 )
2022-05-28 07:07:58 +00:00
SWC Bot
ea92ae10e8
chore: Publish crates
2022-05-23 09:44:48 +00:00
Donny/강동윤
b7a195a1cf
refactor(es/parser): Remove duplicate ( #4750 )
2022-05-23 09:42:29 +00:00
SWC Bot
4d606effdf
chore: Publish crates
2022-05-23 09:21:24 +00:00
Donny/강동윤
98df64517e
perf(common): Add more methods to Spanned
( #4749 )
...
- Lots of code only needs `lo` or `hi`, but they call `span()`, which is inefficient in some cases.
- This PR only adds a trivial amount of optimization. I may add full optimization in future.
- This PR improves codegen performance of `ExprOrSpread` and `Option<ExprOrSpread>`.
2022-05-23 09:18:40 +00:00
Donny/강동윤
fe1e62a5e7
perf(common): Improve performance of StringInput
( #4680 )
2022-05-17 03:14:14 +00:00
Donny/강동윤
98e4845fce
build(repo): Update rustc
( #4667 )
2022-05-15 09:03:54 +00:00
Donny/강동윤
11726cc0e1
perf(es/parser): Optimize for cpu code cache ( #4666 )
2022-05-15 08:39:09 +00:00
SWC Bot
97808349a2
chore: Publish crates
2022-05-11 16:17:07 +00:00
Donny/강동윤
67942d5731
feat(common): Reserve BytePos(0)
for dummy spans ( #4616 )
2022-05-11 16:14:42 +00:00
Donny/강동윤
2c861bd9e5
feat(es/ast): Improve Id
APIs ( #4614 )
...
# API Changes
- `Ident` now has `to_id()`. This method is added to allow removing an import.
2022-05-11 12:02:14 +09:00
SWC Bot
e4ce388632
chore: Publish crates
2022-05-06 04:10:39 +00:00
William Tetlow
e2fde1a9a7
fix(es/parser): Revert #4287 ( #4542 )
2022-05-06 04:07:00 +00:00
SWC Bot
416312d0d7
chore: Publish crates
2022-05-06 03:48:41 +00:00
William Tetlow
28310596a6
fix(es/parser): Revert #4067 ( #4540 )
2022-05-06 12:46:15 +09:00
Donny/강동윤
a6d404a8c2
chore(repo): Configure prettier
( #4523 )
2022-05-04 14:25:28 +00:00
SWC Bot
5b12a68cc7
chore: Publish crates
2022-05-04 05:48:37 +00:00
Pig Fang
0e0ded121c
feat(es/parser): Reject accessors named constructor
( #4520 )
2022-05-04 05:45:57 +00:00
SWC Bot
9fc3d2ce58
chore: Publish crates
2022-04-30 12:59:38 +00:00
Pig Fang
857e798194
feat(es/parser): Reject private field called #constructor
( #4491 )
2022-04-30 12:56:55 +00:00
SWC Bot
8c520919fd
chore: Publish crates
2022-04-28 02:11:23 +00:00
Pig Fang
393cfa84b6
fix(es/parser): Throw syntax error for missing function expr body ( #4462 )
2022-04-28 02:08:17 +00:00
SWC Bot
bcef90dc97
chore: Publish crates
2022-04-27 03:10:17 +00:00
Pig Fang
df7b3f611a
feat(es/parser): Reject indirect opt chain in assignment ( #4447 )
2022-04-27 03:07:57 +00:00
SWC Bot
4bdc198a55
chore: Publish crates
2022-04-25 23:13:22 +00:00
Pig Fang
465cc2f929
fix(es/parser): Fix top-level await with binary expr ( #4426 )
2022-04-25 23:10:59 +00:00
SWC Bot
3e2931e878
chore: Publish crates
2022-04-24 03:06:59 +00:00
Pig Fang
6dc64c9ca0
feat(es/parser): Reject 'use strict'
with non-simple params list in TS ( #4416 )
2022-04-24 03:04:38 +00:00
SWC Bot
cda7fc2264
chore: Publish crates
2022-04-23 14:47:56 +00:00
Pig Fang
da02c9dc50
feat(es/parser): Reject invalid new.target
( #4406 )
2022-04-23 14:45:11 +00:00
SWC Bot
5a8250610a
chore: Publish crates
2022-04-23 05:46:23 +00:00
Pig Fang
c96e32243c
feat(es/parser): Reject invalid regex flags ( #4404 )
2022-04-23 05:43:52 +00:00
Donny/강동윤
6b1501cf0f
chore: Publish crates
2022-04-22 10:44:27 +09:00
Pig Fang
59f63da560
feat(es/parser): Reject await expr with **
( #4395 )
2022-04-22 01:40:14 +00:00
OJ Kwon
8419b60430
fix(plugin): Align deps to fix build ( #4377 )
2022-04-20 08:05:02 +00:00
SWC Bot
55708ba272
chore: Publish crates
2022-04-19 22:16:46 +00:00
Hannes Bornö
3bdf5a8960
fix(es/lexer): Fix handling of object properties with the name function
( #4374 )
2022-04-20 07:14:20 +09:00
Donny/강동윤
bf761752f1
test(es/parser): Add a test for a fixed issue ( #4357 )
2022-04-17 22:44:46 +00:00
Donny/강동윤
8309440008
chore(es): Rename benchmarks ( #4355 )
2022-04-17 18:36:15 +00:00
SWC Bot
8937e1c499
chore: Publish crates
2022-04-16 15:27:34 +00:00
Pig Fang
31b3336cd5
fix(es/parser): Reject optional constructor call ( #4340 )
2022-04-16 15:18:14 +00:00
SWC Bot
8191762dd5
chore: Publish crates
2022-04-15 14:18:51 +00:00
Pig Fang
ea466afdc8
fix(es/parser): Make parsing of TS InstantiationExpr more permissive ( #4332 )
2022-04-15 14:16:31 +00:00
SWC Bot
995b4367cc
chore: Publish crates
2022-04-15 07:39:50 +00:00
Donny/강동윤
7599fe7431
fix(es/parser): Enable static blocks by default ( #4334 )
2022-04-15 07:31:41 +00:00
SWC Bot
845312ee45
chore: Publish crates
2022-04-14 00:53:25 +00:00
Pig Fang
37aec5b199
refactor(es/parser): Simplify logic ( #4329 )
2022-04-14 09:50:54 +09:00
SWC Bot
bef183e74a
chore: Publish crates
2022-04-13 19:18:56 +00:00
Pig Fang
1c3d1af01c
feat(es/parser): Support extends
clause to infer
type ( #4326 )
2022-04-13 19:16:15 +00:00
SWC Bot
fa880634bd
chore: Publish crates
2022-04-11 20:05:28 +00:00
magic-akari
d0de5a63a0
feat(es): Support typeof
with private fields ( #4302 )
2022-04-11 20:02:51 +00:00
那里好脏不可以
37a8c90750
chore(*): Typo + fomatting ( #4304 )
2022-04-11 18:45:58 +00:00
OJ Kwon
fad652f879
chore(plugin): Align version of swc_common
to include dummy comment api ( #4270 )
2022-04-07 07:21:37 +00:00
SWC Bot
55418fb4fe
chore: Publish crates
2022-04-07 03:45:35 +00:00
Hannes Bornö
674275c824
feat(es/parser): Report more errors ( #4244 )
2022-04-07 03:43:10 +00:00
SWC Bot
ed2815baec
chore: Publish crates
2022-04-07 03:18:28 +00:00
William Tetlow
b89937c3c0
fix(es/parser): Adjust context in a function block ( #4264 )
2022-04-07 12:15:59 +09:00
SWC Bot
5eb3d8315a
chore: Publish crates
2022-04-05 12:49:22 +00:00
Alexander Akait
f39d3aca4d
feat(es/ast): Add raw
to Num
( #4245 )
2022-04-05 12:46:35 +00:00
OJ Kwon
4093814895
chore(build): Dedup swc_common
( #4247 )
2022-04-05 14:28:07 +09:00
Donny/강동윤
1f466e1d2f
chore(ci): Fix benchmark action ( #4242 )
2022-04-04 20:12:03 +09:00
Donny/강동윤
06d0891e7c
chore(bench): Migrate to criterion ( #4237 )
2022-04-04 00:56:29 +09:00
SWC Bot
14ab63b26e
chore: Publish crates
2022-04-03 14:12:13 +00:00
magic-akari
6d380ea6fa
fix(es/parser): Support error reporting for TS1274 ( #4232 )
2022-04-03 23:09:36 +09:00
SWC Bot
3337777f8c
chore: Publish crates
2022-04-02 06:06:39 +00:00
Alexander Akait
e91f271873
feat(es/ast): Add raw
to BigInt
( #4218 )
2022-04-02 06:04:14 +00:00
SWC Bot
ee9e661e03
chore: Publish crates
2022-04-01 06:22:48 +00:00
Donny/강동윤
164556290b
perf(es/parser): Improve performance by using #[cold]
( #4215 )
2022-04-01 06:20:29 +00:00
SWC Bot
19bc43f3ed
chore: Publish crates
2022-03-30 22:03:54 +00:00
William Tetlow
99a0d34a1e
fix(es/parser): Fix parsing of an arrow and a conditional expression ( #4199 )
2022-03-30 22:01:31 +00:00
SWC Bot
9a3591a424
chore: Publish crates
2022-03-30 20:34:01 +00:00
David Sherret
cffe5ca58e
feat(es/parser): Allow parsing files with missing close braces ( #4187 )
2022-03-30 20:31:24 +00:00
SWC Bot
a320f4ddfd
chore: Publish crates
2022-03-30 06:10:09 +00:00
David Sherret
1759567fc4
chore(es/parser): Add span tests back ( #4186 )
2022-03-30 06:07:40 +00:00
SWC Bot
6125de9808
chore: Publish crates
2022-03-28 12:20:51 +00:00
Alexander Akait
fcf67c4570
fix(es): Consume surrogate pairs ( #4115 )
2022-03-28 12:18:06 +00:00
SWC Bot
d4b6b53641
chore: Publish crates
2022-03-24 11:18:13 +00:00
Hannes Bornö
cd7112b18b
feat(es/parser): Report more errors for invalid patterns ( #4145 )
2022-03-24 11:15:28 +00:00
SWC Bot
a293adca0a
chore: Publish crates
2022-03-24 04:23:15 +00:00
magic-akari
f5ce79a72c
fix(es/parser): Fix logic for consuming ts modifiers ( #4137 )
2022-03-24 04:20:53 +00:00
Donny/강동윤
e6088408bf
chore: Publish crates
2022-03-24 12:05:47 +09:00
SWC Bot
53f4271ab0
chore: Publish crates
2022-03-23 22:34:05 +00:00
William Tetlow
ab4ea9f0cb
fix(es/parser): Allow arrows without parenthesized param in typescript ( #4138 )
2022-03-23 22:31:19 +00:00
magic-akari
bf1924d1a8
feat(es/typescript): Support optional variance annotations ( #4008 )
2022-03-23 14:36:37 +00:00
SWC Bot
77722c4943
chore: Publish crates
2022-03-22 08:03:01 +00:00
Alexander Akait
634d732803
feat(es/ast): Add raw
to Str
( #4071 )
2022-03-22 07:54:08 +00:00
SWC Bot
58e1ed4a5f
chore: Publish crates
2022-03-22 04:54:28 +00:00
Austaras
9a8fc2776e
fix(es/parser): Make let
a reserved word in strict mode ( #4113 )
2022-03-22 04:52:10 +00:00
Donny/강동윤
61f1a37492
fix(es/codegen): Fix codes related to sourcemap ( #4106 )
2022-03-21 05:14:45 +00:00
SWC Bot
7d335cdd28
chore: Publish crates
2022-03-20 11:58:30 +00:00
Hannes Bornö
d38117d4cb
fix(es/parser): Allow parentheses in assignment target ( #4105 )
2022-03-20 11:56:22 +00:00
Donny/강동윤
b31ead5cbe
chore: Fix CI
2022-03-20 15:25:35 +09:00
Donny/강동윤
565a7202ed
chore: Fix CI
2022-03-20 00:15:03 +09:00
Edwin Coronado
57802cfcce
fix(common): Fix the line number of errors ( #4082 )
2022-03-19 23:56:12 +09:00
Donny/강동윤
792ab2ca25
test(es/parser): Add a test for a fixed issue ( #4085 )
2022-03-19 06:14:13 +00:00
SWC Bot
a9708a5a1f
chore: Publish crates
2022-03-17 06:58:38 +00:00
Donny/강동윤
ffcb6ce523
fix(es/parser): Allow nested ambient context in .d.ts
files ( #4060 )
2022-03-17 06:56:26 +00:00
SWC Bot
4d6d766cf8
chore: Publish crates
2022-03-17 05:36:01 +00:00
Austaras
bbe8f3d8fe
fix(es/ast): Revert removal of definite
in PrivateProp
( #4051 )
2022-03-17 05:33:37 +00:00
LongYinan
db9b988845
feat(node-swc): Add libc
field in Linux platform packages ( #4046 )
2022-03-16 18:58:24 +09:00
SWC Bot
0d6fb99384
chore: Publish crates
2022-03-15 16:20:51 +00:00
Austaras
120d2a534e
fix(es/parser): Emit an error for multiple constructors with body ( #4031 )
2022-03-15 16:18:19 +00:00
Donny/강동윤
e19a60aad4
fix(es/compat): Change pass ordering of es2015
( #4029 )
...
**Description:**
We should apply `regenerator` after `block_scoping` because `regenerator` does not know how to handle `const`s.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/3006
2022-03-15 14:17:03 +00:00
SWC Bot
6d5541ccbe
chore: Publish crates
2022-03-15 11:00:48 +00:00
Lennart
25e5ccc548
fix(es/parser): Allow building with stable rustc
( #4024 )
2022-03-15 19:58:29 +09:00
SWC Bot
957a20d383
chore: Publish crates
2022-03-15 05:26:28 +00:00
Sahil mobaidin
f8d6127dd1
fix(es/parser): Report an error if LeftHandSideExpression
is invalid ( #4001 )
2022-03-15 14:24:19 +09:00