강동윤
|
806a6d97da
|
Regenerator (#554)
swc_ecma_transforms:
- implement regenerator pass
- add regenerator pass to es2015 preset
swc_ecma_preset_env:
- add regenerator
|
2020-01-02 20:53:06 +09:00 |
|
David Sherret
|
288008091a
|
Typo (#550)
|
2020-01-02 10:13:47 +09:00 |
|
강동윤
|
916858ae81
|
Bugfixes (#549)
swc_ecma_ast:
- fix TsExprWithTypeArgs (closes #548)
swc_ecma_codegen:
- allow using default import with namespace import (closes #546)
swc_ecma_parser:
- parse import.meta (closes #545)
|
2020-01-01 06:57:34 +09:00 |
|
강동윤
|
aa2a394f7d
|
Fix #542 (#543)
swc_ecma_transforms:
- preserve space after a jsx element
|
2019-12-30 00:05:43 +09:00 |
|
강동윤
|
702800e0d9
|
Attach comments to correct node (#541)
|
2019-12-28 22:02:58 +09:00 |
|
강동윤
|
3cf1caa4b1
|
Bump version
|
2019-12-28 14:05:12 +09:00 |
|
강동윤
|
6fa85b646f
|
preset-env (#537)
swc_ecma_preset_env:
- can inject polyfills automatically
- can apply transforms automatically
swc:
- added env config to .swcrc
|
2019-12-28 11:25:54 +09:00 |
|
강동윤
|
31a5bed497
|
Legacy decorator for class and class members (#531)
|
2019-12-25 19:30:16 +09:00 |
|
강동윤
|
ac3f69acd0
|
Split tests to reduce compile time (#530)
|
2019-12-24 22:53:48 +09:00 |
|
강동윤
|
e2764e997b
|
Transform for nullish coalescing operator.
Fixes #526.
|
2019-12-24 18:01:27 +09:00 |
|
강동윤
|
b1e4122b02
|
Nullish coalescing / optional chaining / comments (#529)
swc_ecma_ast:
- rename `TsOptChain` to `OptChainExpr` (Fixes #525)
- add `BinOp::NullishCoalescing`
swc_ecma_parser:
- parse `??` (Fixes #526)
swc_ecma_transforms:
- remap comments from fixer (Fixes #528)
|
2019-12-24 17:01:32 +09:00 |
|
강동윤
|
24b5c44ba3
|
Numeric separator & Bigint (#523)
swc_ecma_ast:
- `BigInt` literal
swc_ecma_parser:
- numeric separators. (#521)
- parsing of bigint literal
|
2019-12-22 17:14:04 +09:00 |
|
강동윤
|
6186af04a9
|
Fix handling of jsx texts (#519)
swc_ecma_transforms:
- Fix handling of jsx texts (#517)
|
2019-12-21 16:59:04 +09:00 |
|
강동윤
|
30af06bb70
|
Ast (#513)
swc_ecmascript:
- add `ExprStmt`.
- change type of regex.expression and regex.flags.
|
2019-12-16 18:08:21 +09:00 |
|
강동윤
|
332061f44d
|
Parser: respect jsc.target (#507)
swc:
- make parser respect `jsc.target`.
|
2019-12-14 18:51:08 +09:00 |
|
kdy1
|
3ec395ba75
|
Improve performance & update rustfmt (#504)
|
2019-12-13 06:21:25 +00:00 |
|
강동윤
|
6fc91f2017
|
Remove #[inline(never)]
|
2019-12-13 08:47:46 +09:00 |
|
강동윤
|
126b6bc761
|
Add a test for #503
|
2019-12-13 08:35:32 +09:00 |
|
kdy1
|
0df908fdb4
|
ast & parser improvement (#502)
Parser can now parse typescript source code and rxjs.
Closes #468.
|
2019-12-11 14:28:35 +00:00 |
|
강동윤
|
1a48efa4e4
|
ES3 (#498)
* Add a test for #496
- Better error message for TS1056
- Allow using dynamic import with es3 target
|
2019-12-11 13:35:15 +09:00 |
|
강동윤
|
30869dc340
|
Fix template_literal in a script
|
2019-12-10 11:57:22 +09:00 |
|
강동윤
|
ae6de87abb
|
Add more tests (#489)
|
2019-12-09 21:02:51 +09:00 |
|
강동윤
|
69e768e6bd
|
Fix codegen of typescript enum (#488)
swc_ecma_trnsnofrms
- Handle export enum
|
2019-12-04 10:08:17 +09:00 |
|
강동윤
|
b4e93f2b53
|
Handle catch clause properly (#484)
swc_ecma_transforms
- Fix #483
|
2019-12-03 11:50:33 +09:00 |
|
강동윤
|
b3a2ee8e9b
|
Fix bugs (#482)
swc_ecma_parser:
- fix lexing of numbers like 9.09
swc_ecma_transforms:
- jsx_text_to_str
- use fxhash instead of ahash for exports
|
2019-12-02 20:19:15 +09:00 |
|
Zimon Dai
|
ec086a1dab
|
use 2018 edition syntax (#479)
|
2019-12-02 17:10:05 +09:00 |
|
강동윤
|
153cf36168
|
Jsonify large pure object literals (#477)
swc_ecma_transforms:
- add `jsonify` transform
|
2019-12-01 17:32:44 +09:00 |
|
강동윤
|
3f2477196c
|
Fix typescript enum
|
2019-12-01 11:27:28 +09:00 |
|
강동윤
|
8c7005d7ab
|
More testing (#469)
swc:
- Move tests from node-swc to swc
- Add integration tests (webpack, rxjs, angular-core)
- Support `exclude`
swc_ecma_transforms:
- More span validation
- classes:
- Strip `TsIndexSignature`
swc_ecma_parser:
- Fix span of member expression
- Fix span of binary expression
- Fix span of unary expression
|
2019-11-26 10:08:48 +09:00 |
|
강동윤
|
fc9880e4f4
|
Bump parser's version
|
2019-11-24 14:42:08 +09:00 |
|
강동윤
|
b46c4ec300
|
Update dependencies (#464)
|
2019-11-24 14:17:27 +09:00 |
|
강동윤
|
7d4168f415
|
Parser performance (#463)
- Update string_cache from 0.7 to 0.8
- Update unicode_xid from 0.1 to 0.2
swc_ecma_parser:
- Add benchmarks for lexer
|
2019-11-23 23:03:19 +09:00 |
|
강동윤
|
fa941b3ea3
|
resolver: Handle arrow expression correctly (#462)
swc_ecma_transforms:
- resolver: Handle arrow expression correctly (#462)
|
2019-11-23 19:14:52 +09:00 |
|
강동윤
|
107c35fb41
|
Fix renaming bug related to import (#457)
- Fix renaming bug related to import (#456)
- Add tests for common_js / umd / amd
|
2019-11-20 21:32:42 +09:00 |
|
강동윤
|
210686011d
|
Resolver: Handle hoisting (#455)
swc_ecma_transforms:
- resolver: Handle variable hoisting
- resolver: Handle function hoisting
|
2019-11-19 19:10:15 +09:00 |
|
강동윤
|
d50ab99ef0
|
Fix #451 (#452)
swc_ecma_parser:
- Fix parser of eval and arguments
swc_ecma_transforms:
- Improve fixer (#451)
|
2019-11-18 18:19:25 +09:00 |
|
강동윤
|
d074063867
|
Parser: Error recovery (#449)
Implement some error recovery logic to parser
|
2019-11-17 18:36:47 +09:00 |
|
Jasper De Sutter
|
716bfe05b2
|
Cleanup (#448)
- cargo fix
- update all crates to 2018 edition
|
2019-11-17 13:21:53 +09:00 |
|
강동윤
|
bc4a2976e5
|
Validate spans (#447)
- Add span validator to swc_ecma_transforms
|
2019-11-16 23:49:32 +09:00 |
|
강동윤
|
350f609afd
|
Allow accessing same constant from static property and constructor (#445)
Fix #443.
|
2019-11-15 18:36:43 +09:00 |
|
강동윤
|
37b80dfd08
|
Optional chaining for typescript (#444)
Implement typescript 3.7's optional chaining
|
2019-11-15 14:34:48 +09:00 |
|
강동윤
|
d64d125996
|
Bugfixes (#440)
* Allow running swc on babel's output (#438)
* Print comments correctly (#439)
|
2019-11-10 18:21:28 +09:00 |
|
강동윤
|
076957661d
|
Fix a test
|
2019-11-10 15:23:40 +09:00 |
|
강동윤
|
264dcf0d7b
|
Fix #439
|
2019-11-10 13:21:44 +09:00 |
|
강동윤
|
167008de6f
|
Expose tokenizer (#437)
swc_common:
- Added input::Input
swc_ecma_parser:
- Made lexer public
- Make input type of parser generic
- Added example of using lexer
|
2019-11-06 13:14:44 +09:00 |
|
강동윤
|
ae3326cd9d
|
Compiler apis & .swcrc improvement (#434)
- Expose high-level compiler apis (#431)
- Support multiple entries in .swcrc (#414)
|
2019-10-25 10:11:24 +09:00 |
|
강동윤
|
2e5c81ee8e
|
Fix parsing readonly array and tests
Closes #432
|
2019-10-23 20:20:17 +09:00 |
|
강동윤
|
01b1cc1a5e
|
Update rustfmt
|
2019-10-19 12:21:56 +09:00 |
|
dependabot[bot]
|
2ca5aa5766
|
Bump js-yaml from 3.12.0 to 3.13.1 in /ecmascript/transforms (#426)
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.12.0 to 3.13.1.
- [Release notes](https://github.com/nodeca/js-yaml/releases)
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/3.12.0...3.13.1)
Signed-off-by: dependabot[bot] <support@github.com>
|
2019-10-05 14:14:38 +09:00 |
|
dependabot[bot]
|
451f5938c9
|
Bump mixin-deep from 1.3.1 to 1.3.2 in /ecmascript/transforms (#428)
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2)
Signed-off-by: dependabot[bot] <support@github.com>
|
2019-10-05 14:14:26 +09:00 |
|