강동윤
13bf89d08c
Fix bugs ( #339 )
...
swc_ecma_parser:
- fix parsing of type query (#338 )
- fix parsing of `in` in a let / const declaration (#337 )
swc_ecma_transforms:
- string literal is computed (#336 )
- modules: handle imports in lhs of assignment correctly (#335 )
2019-03-11 20:33:15 +09:00
강동윤
2025f20e8c
Handle imported stuffs in shorthand property. ( #333 )
...
swc_ecma_transforms:
- handle imported stuffs in shorthand property (#332 )
2019-03-10 22:17:08 +09:00
강동윤
a40518f667
v1.0.36 ( #330 )
...
swc_ecma_parser
- decorator_before_export is true for typescript. (#325 )
- fix parsing of dynamic imports. (#328 )
- fix parsing of conditional expression. (#327 )
2019-03-09 09:07:15 +09:00
강동윤
cdf4a09e65
Fixes ( #283 )
...
swc_ecma_transforms:
- Remove State / Clone
- Fix hygiene bug of labels (#281 )
- Fix sequence expression in unary expression (#282 )
2019-02-27 22:40:19 +09:00
강동윤
dff2cb8f75
Implement deserialize for ast nodes ( #274 )
...
string_enum:
- #[derive(StringEnum)] now derives `Deserialize`
swc_ecma_ast:
- implement deserialize for ast nodes.
- change ast to make it serialized / deserialized correctly
swc_ecma_parser:
- jsx, test262, typescript tests now verify serialization and deserialization of module
2019-02-24 14:12:04 +09:00
강동윤
8f932c374e
Fix visibillity
2019-02-21 22:29:06 +09:00
강동윤
07e2cffb43
Fixes ( #265 )
...
swc_ecma_parsr:
- fix parsing of invalid utf8 characters (#261 )
- fix parsing of function body (#257 )
- fix parsing of () => (x = true) (#259 )
swc_ecma_transforms:
- fix default arguments in arrow expression (#254 )
- fix assignment pattern in array pattern (#260 )
- make amd / umd configurable. (#262 )
2019-02-21 22:21:48 +09:00
강동윤
162dee5518
Fix bugs ( #251 )
...
swc_ecma_transforms:
- don't convert typeof to _typeof if not necessary (#250 )
- fix imports of `@swc/helpers` (#248 ).
2019-02-20 20:02:22 +09:00
강동윤
4dc10d849e
Fixes ( #237 )
...
swc_ecma_transforms:
- handle pattern correctly in coomon_js pass (#235 )
- fix object rest in arrow expression (#233 )
2019-02-19 12:52:03 +09:00
강동윤
2b7240c595
Support export * as Foo from 'foo';
( #228 )
...
swc_ecma_parser:
- support `export * as Foo from 'foo';` (Fix #226 )
swc_ecma_transforms:
- support `export * as Foo from 'foo';` (Fix #226 )
2019-02-18 14:01:56 +09:00
강동윤
523307a5da
FIx #225
2019-02-18 12:19:40 +09:00
강동윤
a00d281704
Make Optional
pass
2019-02-17 17:52:48 +09:00
강동윤
bbfcca8f2b
External helpers ( #223 )
...
swc_ecma_transforms
- support extenal helpers (#155 )
2019-02-17 13:48:18 +09:00
강동윤
33ab0db712
Fix travis ( #222 )
...
swc_common:
- ignore copied doctests
swc_ecma_transforms:
- fox some tests
2019-02-16 18:58:29 +09:00
강동윤
046788cf78
Add option to disable module analyzer
2019-02-16 14:27:24 +09:00
강동윤
1a1889f437
Fix bugs ( #221 )
...
swc_ecmascript_parser:
- fix parsing of `export default from 'src';`
swc_ecmascript:
- add a pass which allows injecting helpers before the module pass
2019-02-16 14:18:22 +09:00
강동윤
b27829825e
Fix Bugs ( #205 )
...
swc_ecma_codegen:
- escape characters (#204 )
swc_ecma_parser:
- fix parsing of `<!--`
swc_ecma_transforms:
- promote VarCollector to crate-level utility
- fix es3::member_expr_lits (#206 )
- fix es2015::duplicate_keys pass (#203 )
- improve fixer (paren for assignment) (#201 )
- improve fixer (arrow expression) (#207 )
- make typescript pass strip out type-only exports (#196 )
2019-02-14 11:03:06 +09:00
강동윤
a13e6a09b5
Fix #185 ( #187 )
...
swc_ecma_transforms:
- handle imports correctly (in rhs of assignment)
2019-02-13 12:32:12 +09:00
강동윤
2d062432a8
Shebang & small improvement for object rest spread ( #184 )
...
swc_ecma_ast:
- handle shebang
swc_ecma_codegen:
- handle shebang
swc_ecma_parser:
- handle shebang
swc_ecma_transforms:
- fix arrow expression used with object rest spread
2019-02-13 11:08:21 +09:00
강동윤
fc661f24f0
Bugfixes ( #182 )
...
swc_ecma_ast:
- rename ast to be consistent
2019-02-13 08:18:19 +09:00
강동윤
227423d5f6
Export default from & fix codegen of imports ( #168 )
...
swc_ecma_ast:
- Support `export v from 'foo';`
swc_ecma_parser:
- Support `export v from 'foo';`
swc_ecma_codegen:
- Fix codegen of side-effect imports
2019-02-12 15:30:11 +09:00
강동윤
45e78e40d4
Amd & Correct named exports ( #165 )
2019-02-12 11:41:08 +09:00
강동윤
a0c6b4458e
Revert "Amd & Fix for exports ( #164 )" ( #166 )
...
This reverts commit 8c5c7b55b7
.
2019-02-12 11:40:36 +09:00
강동윤
8c5c7b55b7
Amd & Fix for exports ( #164 )
...
swc_ecma_transforms:
- correctly tracks exported names.
- Implement amd
Fix #162
2019-02-12 11:23:19 +09:00
강동윤
7fe2245a3d
Cleanup ( #152 )
...
- replace Lrc with std::sync::Arc
swc_common:
- make swc_common::sync private
- improve MoveMap
swc_ecma_codegen:
- fix codegen of import.
swc_ecma_transforms:
- properly detect valid identifier.
swc_ecma_parser:
- Fix parsing of cond expr inside paren.
2019-02-11 11:39:20 +09:00
강동윤
654f55b658
Closes #137 , Closes #138
2019-02-09 12:19:20 +09:00
강동윤
43d633b44d
Handle comments and improve codegen ( #136 )
...
swc_ecma_codegen:
- Improve codegen
- Handle comments
swc_ecma_parser:
- Handle comments
2019-02-08 13:00:58 +09:00
강동윤
17ed32a73c
Fix common_js::lazy
2019-02-05 15:47:17 +09:00
강동윤
ea013a1e12
Export module configs
2019-02-05 14:33:29 +09:00
강동윤
4c6c4bc595
Make Helper scoped thread local ( #134 )
...
This allows injecting helpers per file without any multi threading issue.
2019-02-05 14:15:38 +09:00
강동윤
a1629d3997
Implement module transforms ( #133 )
...
swc_ecma_ast:
- implement more `From<T>` for `Expr`
swc_ecma_transforms:
- fnv -> fxhash
- implement common js imports
- improve fixer
- use js_word! instead of &*sym
- add noop pass
- handle state correctly
- ExprFactory::member(), computed_member()
2019-02-05 12:50:19 +09:00