Commit Graph

157 Commits

Author SHA1 Message Date
Donny/강동윤
ee9a841f33
test(*): Print diagnostics to stderr while testing (#4003)
**Description:**

This will make debugging stack overflow and parser issues easier because it writes to stderrr right away, instead of holding a buffer for it.
2022-03-14 02:06:34 +00:00
Donny/강동윤
38c0c0faa6 chore: Publish crates 2022-03-14 04:11:07 +09:00
Donny/강동윤
40b8a4e596
feat(common): Implement a pretty error reporter (#3946) 2022-03-13 19:07:18 +00:00
Donny/강동윤
ddfa490899 chore: Publish crates 2022-03-12 10:00:23 +09:00
SWC Bot
df7ad95e88 chore: Publish crates 2022-03-11 16:31:05 +00:00
Donny/강동윤
6a6c32203b
chore(es/parser): Add some inline attributes (#3969) 2022-03-11 16:29:05 +00:00
LongYinan
1206c84e19
feat(*): Update dependencies (#3964) 2022-03-11 23:00:55 +09:00
SWC Bot
6e7fe34557 chore: Publish crates 2022-03-11 09:12:58 +00:00
Donny/강동윤
76e646804a
fix(es/parser): Parse if-else chain iteratively (#3961) 2022-03-11 09:10:54 +00:00
OJ Kwon
86ea23785d
perf(*): Update tracing to improve performance of disabled spans (#3932) 2022-03-10 03:15:49 +00:00
SWC Bot
a99b9e6bff chore: Publish crates 2022-03-09 12:55:36 +00:00
Donny/강동윤
4b4aef3270
fix(es/parser): Fix the logic for token contexts (#3926) 2022-03-09 12:53:47 +00:00
SWC Bot
79a9cb4c72 chore: Publish crates 2022-03-09 04:46:20 +00:00
Donny/강동윤
a8ac7e39b0
feat(es/parser): Relax MSRV requirement (#3922) 2022-03-09 04:44:22 +00:00
SWC Bot
4b1b9a7dd3 chore: Publish crates 2022-03-08 07:46:12 +00:00
Austaras
16182d586f
feat(es/parser): Report errors for non-abstract members in an abstract class (#3917) 2022-03-08 07:38:12 +00:00
Donny/강동윤
f3da3499c5
perf(es): Add fast memory deallocator (#3910) 2022-03-07 22:36:06 +00:00
SWC Bot
c6e2abf340 chore: Publish crates 2022-03-07 17:02:10 +00:00
Donny/강동윤
43878137e7
perf(es/parser): Improve performance by adjusting inlining (#3902) 2022-03-07 17:00:25 +00:00
SWC Bot
56773a4cc8 chore: Publish crates 2022-03-06 14:35:19 +00:00
Donny/강동윤
aea59b844c
fix(es/parser): Fix parsing of const in ambient context (#3883) 2022-03-06 14:33:14 +00:00
Donny/강동윤
8d3c9d39f0
test(es): Add tests for fixed issues (#3875)
**Description:**

Adds tests for fixed issues.
This commit modifies one type because the previous type makes transform flaky.

**BREAKING CHANGE:**

To preserve order, the type `swc::Paths` is now `IndexMap` instead of `HashMap`.
2022-03-06 02:27:08 +00:00
SWC Bot
94d9416ca8 chore: Publish crates 2022-03-05 19:54:29 +00:00
magic-akari
f7571630ca
fix(es/parser): Allow await in non-strict mode (#3871) 2022-03-05 19:52:45 +00:00
SWC Bot
2fdc5f625d chore: Publish crates 2022-03-05 14:52:49 +00:00
Austaras
26abc6ba7e
refactor(es/ast): Remove useless fields in private property (#3868) 2022-03-05 23:51:04 +09:00
Donny/강동윤
44262508c6
fix(es/parser): Use unicode id instead of xid (#3867) 2022-03-05 12:24:45 +00:00
SWC Bot
08b20b662b chore: Publish crates 2022-03-01 12:26:46 +00:00
Satish Srinivasan
2aa3b2123f
feat(es/parser): Raise a syntax error on an invalid shorthand assignment (#3734) 2022-03-01 12:24:41 +00:00
SWC Bot
3c2f5dbd6c chore: Publish crates 2022-03-01 11:58:19 +09:00
Donny/강동윤
e3c374b53b
feat(es/quote): Support variables (#3774) 2022-02-28 10:44:06 +00:00
Donny/강동윤
3798436201
chore: Update rustc (#3768) 2022-02-28 16:12:28 +09:00
Donny/강동윤
fe0ddcc54b
feat(es/quote): Implement quasi quoter partially (#3155) 2022-02-27 13:21:38 +00:00
William Tetlow
abc0572557
fix(es/parser) Throw a syntax error for const without initializer in strict mode (#3742)
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2022-02-27 06:25:05 +00:00
SWC Bot
0062b1bdd1 chore: Publish crates 2022-02-26 06:43:07 +00:00
SWC Bot
2ab150c603 chore: Publish crates 2022-02-26 12:11:27 +09:00
SWC Bot
faeafbecb8 chore: Publish crates 2022-02-26 00:31:21 +00:00
Donny/강동윤
47ccff8a7c
feat(es/parser): Provide more api for reducing binary size (#3747) 2022-02-26 09:29:05 +09:00
SWC Bot
233e5d2a73 chore: Publish crates 2022-02-25 12:52:25 +00:00
William Tetlow
342dccce47
fix(es/parser): Handle trailing comma and bracket after an arrow function in conditional (#3685) 2022-02-25 12:50:04 +00:00
Austaras
05de029cfa
fix(es/compat): Fix handling of private getters and setters (#3695) 2022-02-25 06:08:35 +00:00
OJ Kwon
a454996314
feat(node-swc): Add experimental trace support in @swc/core (#3731) 2022-02-25 04:06:45 +00:00
SWC Bot
118801e5e0 chore: Publish crates 2022-02-24 13:39:16 +00:00
Donny/강동윤
e21579d84e
perf(es/parser): Reduce usage of generics to reduce binary size (#3726) 2022-02-24 13:36:37 +00:00
SWC Bot
fb561123c7 chore: Publish crates 2022-02-24 07:32:19 +00:00
Donny/강동윤
8b87bb4870
fix(es/parser): Don't attach comments to ; (#3720) 2022-02-24 07:23:53 +00:00
SWC Bot
d0a9295ba2 chore: Publish crates 2022-02-24 04:38:20 +00:00
David Sherret
4318a2e73b
fix(es/parser): Fix the span of an export declaration containing a const enum (#3701) 2022-02-24 04:36:05 +00:00
SWC Bot
6f7c06c9f8 chore: Publish crates 2022-02-23 15:50:44 +00:00
Pig Fang
010fe048c2
fix(es/parser): Fix a typescript instantiation expression followed by EOF (#3699) 2022-02-23 15:48:17 +00:00