강동윤
|
f0c2021c5e
|
Run browserslist if the target is not specified
|
2019-12-28 23:06:39 +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 |
|
강동윤
|
8562d3fbfb
|
Fix parser (#539)
swc_ecma_parser:
- mark `declare` as `declare` (#538)
- fix span of `export * from 'foo'` (#535)
|
2019-12-28 12:19:44 +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 |
|
강동윤
|
b98f17b84d
|
Bump versions
|
2019-12-26 08:53:13 +09:00 |
|
David Sherret
|
32860576f2
|
Comment and TokenAndSpan - Implement Spanned (#534)
|
2019-12-26 08:35:43 +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 |
|
강동윤
|
d8541c4f63
|
Fix a bug
|
2019-12-23 14:37:25 +09:00 |
|
David Sherret
|
668c2713d9
|
Support numeric separator for typescript. (#524)
|
2019-12-23 14:35:58 +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 |
|
강동윤
|
ed8ba26ae6
|
Fix tests
|
2019-12-21 17:09:53 +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 |
|
강동윤
|
51d21af031
|
Fix #516
|
2019-12-19 13:08:52 +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 |
|
강동윤
|
f9a649ff7a
|
Bump version
|
2019-12-15 08:15:26 +09:00 |
|
David Sherret
|
fb9539df6f
|
Expose token module. (#510)
swc_ecma_parser:
- expose token module
|
2019-12-15 08:08:13 +09:00 |
|
강동윤
|
42ad8a92a2
|
ParseOptions.target
|
2019-12-14 18:57:44 +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 |
|
강동윤
|
5076249c90
|
fixup! Add a test for #503
|
2019-12-13 08:38: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 |
|
강동윤
|
8622193d04
|
ParseOptions.is_module
|
2019-12-11 16:18:47 +09:00 |
|
강동윤
|
d53c94f1fb
|
Bump parser's version.
Closes #500
|
2019-12-11 15:56:27 +09:00 |
|
kdy1
|
fa98c470d6
|
Program instead of Module (#499)
This pr adds an option to parse file as script, not module.
Related: https://github.com/swc-project/swc/issues/491
|
2019-12-11 06:07:21 +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 |
|
Nurbol Alpysbayev
|
79128a1d1e
|
Typo (#497)
|
2019-12-11 07:09:45 +09:00 |
|
Nurbol Alpysbayev
|
2f4ce50d06
|
Fix the Wasm blocker for Parser (#495)
|
2019-12-11 00:02:39 +09:00 |
|
강동윤
|
30869dc340
|
Fix template_literal in a script
|
2019-12-10 11:57:22 +09:00 |
|
강동윤
|
ef45401a18
|
Update tests
|
2019-12-10 10:50:37 +09:00 |
|
강동윤
|
cd486288b7
|
Bump version
|
2019-12-10 07:23:27 +09:00 |
|
강동윤
|
ae6de87abb
|
Add more tests (#489)
|
2019-12-09 21:02:51 +09:00 |
|
강동윤
|
552d20213f
|
Update
|
2019-12-07 19:37:49 +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 |
|
강동윤
|
bc19ee274b
|
Update parser test references
|
2019-12-02 17:12:53 +09:00 |
|
Zimon Dai
|
ec086a1dab
|
use 2018 edition syntax (#479)
|
2019-12-02 17:10:05 +09:00 |
|
강동윤
|
776e014a11
|
Fix tests (#478)
|
2019-12-01 18:11:59 +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 |
|
강동윤
|
0d5da173d2
|
Remove loc from span
|
2019-11-30 14:51:22 +09:00 |
|
강동윤
|
265eb9e30c
|
Improve performance of serialization and deserialization (#475)
|
2019-11-30 14:49:18 +09:00 |
|
강동윤
|
51558c6c36
|
Final groundwork for plugin (#474)
swc:
- add serialization tests
ast_node:
- handle `*` tag properly
swc_ecma_ast:
- update serialization of ExprOrSpread
|
2019-11-30 11:12:34 +09:00 |
|
강동윤
|
a7a8a4a2e4
|
Plugin (#473)
swc_common:
- apply patch from rust-lang/rust#59693
swc:
- use &Options instead of Options
- configures commons::CM
- exposes `handler`
|
2019-11-29 23:46:06 +09:00 |
|