Donny
6892f27ad7
chore: Publish crates
2022-01-06 20:19:36 +09:00
Donny
781aa79b82
chore: Publish crates
2022-01-04 19:29:50 +09:00
Donny
1e5bc88cd3
chore: Publish crates
2022-01-03 17:45:09 +09:00
Sosuke Suzuki
07c0489575
feat(es/ast): Add ModuleExportName
( #3048 )
...
swc_ecma_ast:
- Allow using string as import/export specifiers.
2022-01-03 08:44:11 +00:00
Donny/강동윤
194b3e9b67
refactor(*): Use 2021 edition ( #3151 )
2021-12-30 18:59:18 +09:00
Donny
0cf8265f02
chore: Publish crates
2021-12-29 21:04:30 +09:00
Donny/강동윤
333acb5622
doc(es/ast): Improve rustdoc ( #3142 )
...
swc_ecma_ast:
- Document `Str.kind`.
- Document `TpleElement.cooked`.
2021-12-29 16:01:15 +09:00
Donny
9b36abbe75
chore: Publish crates
2021-12-15 16:22:00 +09:00
Austaras
38955c0c8d
refactor(es/ast): Change type or the key
of ClassProp
to PropName
( #3038 )
2021-12-15 16:21:30 +09:00
Donny
f86c077a37
chore: Publish crates
2021-12-13 06:46:14 +09:00
Donny
a04b4082a4
Bump version
2021-12-11 17:01:12 +09:00
Donny
82ece9d0ca
chore: Publish crates
2021-12-07 15:15:08 +09: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
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
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
67dc0d3b94
chore: Publish crates
2021-12-02 10:08:22 +09:00
Austaras
1555ceb8a3
feat(es/transforms/compat): Add loose mode to parameters
( #2911 )
...
swc_ecma_utils:
- Make `WrapperState` implement `Clone`.
swc_ecma_transforms_compat:
- `paramters`: Fix handling of non-loose mode. (Closes #2800 , Closes #2825 )
2021-12-02 01:04:01 +00:00
Donny
86d2cebd37
chore: Publish v1.2.115
2021-12-01 14:20:52 +09:00
Donny
188eaad24e
chore: Publish crates
2021-11-28 18:09:28 +09:00
Jeremy Grieshop
6f05c101f1
fix(es/transforms/module): Fix overriding of export *
( #2883 )
...
swc_ecma_transforms_module:
- Emit correct value for `_exportNames`. (Closes #2101 )
2021-11-28 09:08:02 +00:00
Donny
ad8dc4ded6
chore: Publish crates
2021-11-27 00:01:32 +09:00
OJ Kwon
43e89fd0c8
fix(es/transforms/module): Fix detection of helpers to inject ( #2868 )
2021-11-26 15:00:44 +00:00
Donny
d4ffce13b5
chore: Publish crates
2021-11-24 10:08:01 +09:00
Donny
2cd565bfc0
chore: Publish crates
2021-11-15 14:31:44 +09:00
Austaras
dc58122283
feat(es/transforms/compat): Add more loose mode ( #2611 )
...
swc_ecma_transforms_compat:
- `computed_properties`: Add loose mode.
- `template_literals`: Add loose mode.
- `object_spread`: Add loose mode.
- `optional_chaining`: Add loose mode.
- `nullish_coalescing`: Add loose mode.
- `optional_chaining`: Fix #2734 .
2021-11-15 14:31:21 +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/강동윤
1d028fe940
fix(es): Fix paths
support ( #2712 )
...
swc_ecma_loader:
- `TsConfigResolver`: Use `baseUrl` on exact match while resolving. (Closes #2126 )
swc_ecma_transforms_module:
- Add `import_rewriter`.
- `NodeImportResolver`: Don't strip extension if it's a directory. (Closes #2269 )
- `NodeImportResolver`: Don't strip extension if it's not `.ts`, `.js` nor `.tsx`.
swc:
- Use `import_rewriter`. (Closes #1943 , Closes #2523 )
- Update test (Closes #2715 )
2021-11-11 16:57:31 +09:00
Donny/강동윤
2b2f6955f2
refactor: Flatten ecmascript
( #2708 )
2021-11-10 19:00:54 +09:00