magic-akari
fa0216d908
fix(es/modules): Hoist named exports ( #3479 )
2022-02-09 04:50:33 +00:00
Donny/강동윤
e9ceb57584
chore: Publish crates
2022-02-09 12:01:52 +09:00
RiESAEX
ff6eb272a0
fix(es/modules): Use correct StrKind
after rewriting import path ( #3489 )
2022-02-09 12:01:22 +09:00
Donny/강동윤
38e2ffb929
chore: Publish crates
2022-02-05 14:49:39 +09:00
RiESAEX
745604b26d
fix(es/modules): Allow using a dynamic import with an expression from another import ( #3450 )
2022-02-05 14:49:13 +09:00
Donny/강동윤
19e7c70bd7
chore: Publish crates
2022-02-04 13:21:41 +09:00
Donny
b104fd3db0
chore: Publish crates
2022-02-01 22:45:54 +09:00
Donny/강동윤
2c99ca1bab
fix(es/modules): Fix span of imports ( #3418 )
...
swc_ecma_transforms_module:
- `common_js`: Use original span with the syntax conext of an import specifier.
2022-02-01 22:37:42 +09:00
Donny
e215e077ef
chore: Publish crates
2022-01-28 15:37:22 +09:00
RiESAEX
1dcc188dd8
fix(es/modules): Allow using dynamic import with a name from another import ( #3390 )
2022-01-28 06:36:20 +00:00
Donny
ad860c9a1c
chore: Publish crates
2022-01-25 06:22:21 +09:00
Donny
c977ce3ed1
chore: Publish crates
2022-01-22 17:11:56 +09:00
padorang684
b2bf38d025
fix(es/module): Remove .jsx
file extension ( #3334 )
2022-01-21 14:10:33 +00:00
Donny
681de03e4b
chore: Publish crates
2022-01-17 13:36:00 +09:00
Donny
7ec6e94cb0
chore: Publish crates
2022-01-16 16:58:21 +09:00
Donny/강동윤
9dd0647e3a
feat(es/ast): Improve AST api for plugin authors ( #3281 )
...
swc_ecma_ast:
- Improve API for AST creation.
2022-01-16 16:56:41 +09:00
Donny/강동윤
357a350390
refactor(*): Cleanup ( #3274 )
2022-01-15 16:43:34 +09:00
Donny/강동윤
2690742db0
refactor(es/transforms): Cleanup ( #3273 )
2022-01-15 15:36:40 +09:00
Donny/강동윤
978de5943e
chore(ci): Configure clippy
( #3250 )
2022-01-13 23:06:11 +09:00
Donny
c13bba8401
chore: Publish crates
2022-01-12 18:39:56 +09:00
Donny
9a62ef21b7
chore: Publish crates
2022-01-11 16:48:26 +09:00
Donny
7fbe8f644e
chore: Publish crates
2022-01-11 16:15:11 +09:00
Guillaume Malette
9565149539
fix(es/modules): Fix lazy import handling ( #3211 )
...
swc_ecma_transforms_module:
- `common_js`: Correctly track lazy imports. (Closes #3081 )
2022-01-11 07:13:12 +00:00
Donny
852ec783f3
chore: Publish crates
2022-01-10 22:57:17 +09:00
Austaras
f58b50bea7
refactor(es/ast): Change types of member-like expressions ( #3178 )
...
swc_ecma_ast:
- Split `MemberExpr` into `MemberExpr` and `SuperPropExpr`.
- Use `Box<Expr>` for `MemberExpr.obj`.
- Use ad-hoc type for `MemberExpr.prop`.
- Use ad-hoc type for `SuperPropExpr.prop`.
- Use `Callee` instead of `ExprOrSpread` for `CallExpr`.
- Simplify types for meta property expressions.
2022-01-10 13:54:42 +00:00
Donny
0d4b671052
chore: Publish crates
2022-01-10 15:05:26 +09:00
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