Donny
6892f27ad7
chore: Publish crates
2022-01-06 20:19:36 +09:00
Sosuke Suzuki
432f877790
feat(es/ast): Use ModuleExportName
for ExportNamespaceSpecifier
( #3195 )
2022-01-06 20:19:11 +09:00
Donny
781aa79b82
chore: Publish crates
2022-01-04 19:29:50 +09:00
Donny
1e5bc88cd3
chore: Publish crates
2022-01-03 17:45:09 +09:00
Sosuke Suzuki
07c0489575
feat(es/ast): Add ModuleExportName
( #3048 )
...
swc_ecma_ast:
- Allow using string as import/export specifiers.
2022-01-03 08:44:11 +00:00
Donny
b1a72315db
chore: Publish crates
2022-01-02 12:50:50 +09:00
Donny/강동윤
7a83c0cb57
perf(es/ast/serde): Make deserialization faster ( #3160 )
...
ast_node:
- Improve deserialization of enums.
swc_css_ast:
- Fix a compilation issue.
swc_ecma_ast:
- Update `serde`.
swc_ecma_parser:
- Fix a compilation issue.
swc_estree_ast:
- Fix serialization.
2022-01-02 12:49:09 +09:00
Donny/강동윤
194b3e9b67
refactor(*): Use 2021 edition ( #3151 )
2021-12-30 18:59:18 +09:00
Jim Berlage
a4e8e53c19
test(es/parser): Add tests about null escape ( #3147 )
2021-12-30 08:54:10 +00:00
OJ Kwon
72c963662d
refactor(*): Drop unused dependencies ( #3138 )
2021-12-29 15:27:51 +09:00
Donny
fc9622f779
chore: Publish crates
2021-12-28 23:33:53 +09:00
Andreu Botella
2f3ca22ecf
fix(es/parser): Support import assertions in specifier-less imports ( #3134 )
2021-12-28 14:00:00 +00:00
Donny/강동윤
d482d61b9f
chore(scripts): Use cargo profile instruments
instead of cargo instruments
( #3086 )
2021-12-21 16:09:19 +09:00
Donny/강동윤
8afb5af517
chore(repo): Make git
faster ( #3075 )
...
swc_ecma_parser:
- Flatten parser test suite ported from `tsc`.
swc:
- Flatten the reference directory for the `tsc` test suite.
2021-12-20 14:05:57 +09:00
Donny
9c62047653
chore: Publish crates
2021-12-19 05:03:01 +09:00
Sosuke Suzuki
f1a28329cb
feat(es/parser): Report an error for export type * from "mod";
( #3064 )
2021-12-19 05:02:36 +09:00
Donny
021fe66652
chore: Publish crates
2021-12-19 00:18:47 +09:00
Donny/강동윤
b4d95b44a7
perf(es/parser): Improve performance ( #3059 )
...
swc_common:
- Optimize `StringInput`.
swc_ecma_parser:
- Optimize `skip_space`.
- Remove useless `.clone()`.
2021-12-19 00:18:00 +09:00
Donny
188b856694
chore: Publish crates
2021-12-18 23:15:17 +09:00
asterite3
0c813ae453
fix(es/lexer): Fix lexing of numbers with large exponent ( #3061 )
...
swc_ecma_parser:
- Fix lexing of numbers where exponents are large enough to be parsed as `Infinity`. (Closes #3060 )
2021-12-18 23:14:36 +09:00
Donny
189b1e286d
chore: Publish crates
2021-12-16 19:57:40 +09:00
Donny/강동윤
61e9b5f841
fix(es/lexer): Don't report lexer errors while backtracking ( #3051 )
...
swc_ecma_parser:
- Share backtracking state with the lexer.
- Don't report lexing errors while backtracking (Closes #2896 )
2021-12-16 19:57:19 +09:00
Donny
c658af4365
chore: Publish crates
2021-12-16 15:31:03 +09:00
magic-akari
23a59db9bb
fix(es/parser): Allow assignment assertions in typescript classes ( #3047 )
2021-12-16 15:30:34 +09:00
Donny
9b36abbe75
chore: Publish crates
2021-12-15 16:22:00 +09:00
Austaras
38955c0c8d
refactor(es/ast): Change type or the key
of ClassProp
to PropName
( #3038 )
2021-12-15 16:21:30 +09:00
Donny
5a173bce3a
chore: Publish crates
2021-12-13 11:39:41 +09:00
Donny/강동윤
7236a2213e
refactor(es/parser): Make some verification logic optional ( #3024 )
...
swc_ecma_parser:
- Make dependency on `swc_ecma_visit` optional.
2021-12-13 11:39:17 +09:00
Donny
de95e2a9b9
chore: Publish crates
2021-12-13 05:44:01 +09:00
Sosuke Suzuki
b4c210d1d9
fix(es/parser): Allow trailing comma in dynamic imports if import assertion is enabled ( #3018 )
2021-12-13 05:42:19 +09:00
Donny
b1a47ee971
chore: Publish crates
2021-12-07 14:34:44 +09:00
Donny/강동윤
e48263b2f3
refactor(visit): Remove &dyn Node
from Visit
( #2984 )
...
swc_visit_macros:
- Remove `&dyn Node` from `Visit`.
- Implement `VisitWith<V>` for `[T]`.
2021-12-07 14:34:16 +09:00
Donny
acc45e7c36
chore: Publish crates
2021-12-05 17:34:04 +09:00
Donny/강동윤
1ea965cecb
fix(es/parser): Drop outdated options ( #2974 )
...
swc_ecma_parser:
- Drop flags in `EsConfig`.
- Drop flags in `TsConfig`.
- Drop unused variants from `SyntaxError`.
2021-12-05 17:33:34 +09:00
Donny
529f980693
chore: Publish crates
2021-12-05 15:44:50 +09:00
Donny
58159d377c
chore: Publish crates
2021-12-05 15:43:04 +09:00
David Sherret
97df4cef80
refactor(es/parser): Remove import_assertions
from TsConfig
( #2950 )
2021-12-05 05:43:41 +00:00
Donny
36db1ed359
chore: Publish crates
2021-12-02 15:55:03 +09:00
RiESAEX
d8c8641e59
fix(es/parser, es/compat): transform tagged template with invalid escape sequence ( #2939 )
...
swc_ecma_parser:
- Preserve more data for invalid escapes in template literals.
swc_ecma_transforms_compat:
- Fix handling of template literals. (Closes #2674 )
2021-12-02 15:49:45 +09:00
Donny
86d2cebd37
chore: Publish v1.2.115
2021-12-01 14:20:52 +09:00
Donny
3d75b9a968
chore: Publish crates
2021-11-29 16:47:27 +09:00
such0624
c186aa443a
fix(es/parser): Fix parser ( #2903 )
...
swc_ecma_parser:
- Fix `skip_ts_parameter_start`. (Closes #2160 )
2021-11-29 07:46:14 +00:00
Donny/강동윤
f5af22ef71
chore: Document features ( #2890 )
2021-11-27 16:55:42 +09:00
Donny
a38889be91
chore: Publish crates
2021-11-26 08:31:11 +09:00
David Sherret
b853d4ac95
feat(es/parser): Implement more error recovery ( #2874 )
...
swc_ecma_parser:
- Recover from unterminated string literals.
2021-11-25 23:12:40 +00:00
Donny/강동윤
28850eef5c
chore: Allow using #[doc(cfg)]
( #2871 )
2021-11-25 14:16:18 +09:00
Donny
770da5ae9e
chore: Publish crates
2021-11-24 15:05:46 +09:00
RiESAEX
cf777c5ba1
fix(es/lexer): Fix lexing of hexadecimal escape sequences ( #2838 )
2021-11-24 05:26:38 +00:00
Donny/강동윤
6b96a3d8ed
feat: Enable logging of timings ( #2833 )
...
swc_timer:
- Add `Timer`.
- Add `timer!()`.
node:
- Enable logging.
2021-11-22 21:01:08 +09:00
Donny
46e722559e
chore: Publish crates
2021-11-22 01:02:49 +09:00