Donny
82ece9d0ca
chore: Publish crates
2021-12-07 15:15:08 +09:00
RiESAEX
ae4bb420ae
fix(es/transforms): Update helpers about array ( #2970 )
...
swc_ecma_transforms_base:
- Update helpers. (Closes #2689 )
2021-12-07 06:12:54 +00: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
David Sherret
97df4cef80
refactor(es/parser): Remove import_assertions
from TsConfig
( #2950 )
2021-12-05 05:43:41 +00:00
Donny
42a93dd8ef
chore: Publish crates
2021-12-04 11:53:14 +09:00
David Sherret
67280b6fb0
fix(es/typescript): Run resolver
before typescript::strip
( #2951 )
...
swc_ecma_transforms_base:
- `resolver`: Handle some typescript nodes.
swc_ecma_transforms_typescript:
- `strip`: Use identifier span hygiene information for stripping types.
2021-12-04 02:35:16 +00:00
Donny
32e2f3e46c
chore: Publish crates
2021-12-04 01:55:54 +09:00
David Sherret
beb2c73c2c
fix(swc/hygiene): Prefer not renaming top level variables ( #2940 )
...
swc_ecma_transforms_base:
- `hygiene`: Use concept of depth to prevent renaming top level nodes.
2021-12-04 01:55:27 +09:00
Donny
e8225a66a0
chore: Publish crates
2021-12-02 16:29:34 +09:00
David Sherret
4d993c26b6
fix(es/hygiene): Reduce renaming ( #2938 )
...
swc_ecma_transforms_base:
- `hygiene`: Treat class methods and constructors as a scope.
2021-12-02 07:28:09 +00:00
Donny
67dc0d3b94
chore: Publish crates
2021-12-02 10:08:22 +09:00
Donny
86d2cebd37
chore: Publish v1.2.115
2021-12-01 14:20:52 +09:00
Donny
d4ffce13b5
chore: Publish crates
2021-11-24 10:08:01 +09:00
Donny/강동윤
7a6bf424c5
fix(es/transforms/base): Fix ts_resolver
( #2826 )
...
swc_ecma_transforms_base:
- `ts_resolver`: Hoist type aliases.
2021-11-21 16:31:12 +09:00
Donny
218a269bb5
chore: Publish crates
2021-11-21 15:48:05 +09:00
Donny/강동윤
9cd3d1610d
fix(es/transforms/base): Fix ts_resolver
( #2824 )
...
swc_ecma_transforms_base:
- `ts_resolver`: Hoist interface declarations.
2021-11-21 15:47:38 +09:00
Donny/강동윤
d64b066ef1
bench(es/visit): Add some benchmarks ( #2820 )
2021-11-21 14:08:55 +09:00
Donny/강동윤
665c8e05fc
fix(es): Move TargetEnv
to loader from ast ( #2719 )
...
swc_ecma_ast:
- Move `TargetEnv` to `swc_ecma_loader`.
swc_ecma_loader:
- Drop unused dependencies.
2021-11-11 20:00:46 +09:00
Donny/강동윤
2b2f6955f2
refactor: Flatten ecmascript
( #2708 )
2021-11-10 19:00:54 +09:00