SWC Bot
d7c5ff48f4
chore: Publish crates
2022-02-14 18:16:06 +09:00
Austaras
0b162102fa
fix(es/compat): Fix handling of constructor in classes
( #3505 )
...
swc_ecma_transforms_compat:
- Use `SuperFieldAccessFolder` for `super` fields in constructors.
- Fix handling of variables in constructors with the same name as the class name.
- Fix handling of functions in constructors with this/super.
2022-02-14 18:14:55 +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
ba4083959f
chore: Publish crates
2022-01-17 22:41:25 +09:00
Austaras
90a62bb215
refactor(es/utils): Merge the super field visitor with FnEnvHoister
( #3279 )
2022-01-17 13:35:32 +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
c114e1b6a9
chore: Publish crates
2022-01-14 08:34:08 +09:00
mrauhu
69978518c9
fix(es/ast): Update EsVersion::latest()
( #3261 )
2022-01-14 08:33:38 +09:00
Donny/강동윤
15b604b6d6
refactor(*): Fix some clippy warnings ( #3257 )
2022-01-14 07:20:45 +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
d51904b93e
chore: Publish crates
2022-01-11 14:42:17 +09:00
Donny/강동윤
1edbf1a37a
feat(es/ast): Update is-macro
( #3226 )
...
swc_ecma_ast:
- Add `as_*` for ast enums.
2022-01-11 14:41:34 +09: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
db71f7a42d
chore: Publish crates
2022-01-10 15:16:55 +09:00
magic-akari
5bee4e4902
refactor(es/compat): Preserve length of functions in async_generator
( #3202 )
2022-01-08 15:19:41 +00:00
Donny
6892f27ad7
chore: Publish crates
2022-01-06 20:19:36 +09:00
Sosuke Suzuki
432f877790
feat(es/ast): Use ModuleExportName
for ExportNamespaceSpecifier
( #3195 )
2022-01-06 20:19:11 +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
a883e604f2
chore: Publish crates
2022-01-02 16:24:06 +09:00
Donny/강동윤
bf751cb690
feat(es/ast): Add rkyv
support ( #3166 )
...
ast_node:
- `#[ast_node]`: Add support for `rkyv`.
swc_common:
- Add a feature flag for `rkyv`.
swc_ecma_ast:
- Add a feature flag for `rkyv`.
2022-01-02 16:23:37 +09:00
Donny
b1a72315db
chore: Publish crates
2022-01-02 12:50:50 +09:00
Donny/강동윤
7a83c0cb57
perf(es/ast/serde): Make deserialization faster ( #3160 )
...
ast_node:
- Improve deserialization of enums.
swc_css_ast:
- Fix a compilation issue.
swc_ecma_ast:
- Update `serde`.
swc_ecma_parser:
- Fix a compilation issue.
swc_estree_ast:
- Fix serialization.
2022-01-02 12:49:09 +09:00
Donny/강동윤
194b3e9b67
refactor(*): Use 2021 edition ( #3151 )
2021-12-30 18:59:18 +09:00
Donny
bf820b7937
chore: Publish crates
2021-12-29 16:01:48 +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
836cbd63a8
chore: Publish crates
2021-12-26 23:38:59 +09:00
magic-akari
ac78a527eb
fix(es/compat): Fix handling of hoisted functions in regenerator ( #3119 )
...
swc_ecma_ast:
- Implement `Take` for `FnDecl`.
swc_ecma_transforms_compat:
- `regenerator`: Handle hoisted function declarations properly. (Closes #2556 )
- `regenerator`: Fix handling of class properties with an async function as the initializer. (Closes #2620 )
2021-12-26 14:36:21 +00:00
Donny
cb603cc1ff
chore: Publish crates
2021-12-24 13:40:54 +09:00
magic-akari
e5971f77d5
fix(es/ast): Fix Ident::verify_symbol
( #3108 )
2021-12-24 04:29:49 +00:00
Donny
4bb264d480
chore: Publish crates
2021-12-24 10:47:59 +09:00
Donny/강동윤
d923f89db1
fix(es/compat): Fix classes
pass ( #3107 )
...
swc_ecma_ast:
- Add `Ident::verify_symbol`.
swc_ecma_transforms_compat:
- Don't generate invalid identifiers. (Closes #3106 )
2021-12-24 10:46:55 +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/강동윤
8340a86fbb
refactor(es/ast): Move Id
to swc_ecma_ast
( #3004 )
2021-12-10 23:36:43 +09:00
Donny
b1a47ee971
chore: Publish crates
2021-12-07 14:34:44 +09:00
Donny
86d2cebd37
chore: Publish v1.2.115
2021-12-01 14:20:52 +09:00
Donny/강동윤
f5af22ef71
chore: Document features ( #2890 )
2021-11-27 16:55:42 +09:00
Donny/강동윤
28850eef5c
chore: Allow using #[doc(cfg)]
( #2871 )
2021-11-25 14:16:18 +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