Alexander Akait
634d732803
feat(es/ast): Add raw
to Str
( #4071 )
2022-03-22 07:54:08 +00:00
Donny/강동윤
e19a60aad4
fix(es/compat): Change pass ordering of es2015
( #4029 )
...
**Description:**
We should apply `regenerator` after `block_scoping` because `regenerator` does not know how to handle `const`s.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/3006
2022-03-15 14:17:03 +00:00
Donny/강동윤
73ec0b3dd7
perf(es/transform): Use SingleThreadedComments
for transform ( #3847 )
2022-03-04 12:07:51 +00:00
Donny/강동윤
3798436201
chore: Update rustc
( #3768 )
2022-02-28 16:12:28 +09:00
Donny/강동윤
9b76783281
refactor(common): Cleanup & rustfmt ( #3495 )
...
swc_common:
- Merge identical source codes.
swc_css_parser:
- Deny `clippy::all`.
- Fix lints.
2022-02-09 06:33:32 +00:00
Donny/강동윤
8bf5cf4d03
chore(es): Fix clippy warnings ( #3482 )
2022-02-08 19:50:22 +09:00
Donny/강동윤
e8670b3383
refactor(es): More fix for clippy ( #3280 )
2022-01-16 14:33:06 +09:00
Donny/강동윤
978de5943e
chore(ci): Configure clippy
( #3250 )
2022-01-13 23:06:11 +09:00
Donny/강동윤
4cf58528df
fix(webpack/ast): Fix webpackAST
( #2979 )
...
swc_estree_ast:
- Fix more serialization.
swc_estree_compat:
- Consider multi-byte characters.
swc_webpack_ast:
- Preserve LHS of assignments if required.
2021-12-08 19:53:43 +09:00
Donny/강동윤
c346f12b32
fix(estree): Fix serialization of ObjectMethod
( #2961 )
...
swc_estree_ast:
- Fix serialization of `ObjectMethod` for `acorn`.
swc_webpack_ast:
- `ast_reducer`: Remove unused getter/setter properties.
2021-12-03 23:14:12 +09:00
Donny/강동윤
586ab0cf76
fix(webpack/ast): Adjust acorn
options. ( #2908 )
...
swc_babel_ast:
- Fix serialization of class properties.
- Adjust `acorn` options.
2021-11-29 21:08:22 +09:00
Donny/강동윤
cdef843369
feat(es/estree): Allow emitting acorn
ast ( #2859 )
...
swc_estree_ast:
- Add `Flavor`.
- Adjust serialization based on `Flavor`.
swc_estree_visit:
- Remove.
testing:
- Add `diff_json`.
testing_macros:
- `#[fixture]`: Print input.
2021-11-25 20:16:46 +09:00
Donny/강동윤
790a262c07
refactor(es/estree): Rename: babel
=> estree
( #2846 )
...
swc_babel_ast:
- Rename as `swc_estree_ast`.
swc_babel_compat:
- Rename as `swc_estree_compat`.
swc_babel_visit:
- Rename as `swc_estree_visit`.
2021-11-24 05:34:41 +09:00