magic-akari
3ca954b9f9
fix(es/helpers): Use snake_case for helpers ( #7147 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/7144 .
- Closes https://github.com/swc-project/swc/issues/7118 .
2023-03-31 15:15:21 +09:00
magic-akari
b78ce8b7c2
feat(es/compat): Simplify static blocks in classes ( #7056 )
2023-03-11 00:30:49 +00:00
Daiki Nishikawa
b46a7248c6
fix(es/preset-env): Move findLast
and findLastIndex
to finished proposals ( #7012 )
2023-03-06 02:49:08 +00:00
Austaras
06677c26ee
fix(es/preset-env): Don't add instance properties when there's a static property ( #5305 )
2022-07-27 05:11:19 +00:00
Austaras
dd0a152f49
fix(es/preset-env): Realign with babel-polyfills
( #5293 )
2022-07-26 12:16:16 +00:00
Donny/강동윤
78d4c2c46a
fix(preset-env): Ignore unknown versions ( #4809 )
2022-05-26 15:32:06 +00:00
Donny/강동윤
a6d404a8c2
chore(repo): Configure prettier
( #4523 )
2022-05-04 14:25:28 +00:00
Austaras
4262874ce4
fix(es/preset-env): Do not import new features when using old core-js ( #4458 )
2022-04-28 02:52:35 +00:00
那里好脏不可以
06020bb76d
chore(es/preset-env): Typo ( #4243 )
2022-04-04 15:15:11 +00:00
magic-akari
b793aa0200
feat(es/compat): Support more regex expressions ( #4205 )
2022-04-01 04:26:30 +00:00
Austaras
502f934ce5
fix(es/preset-env): Move out finished proposals ( #3970 )
2022-03-11 16:02:05 +00:00
Austaras
487273fc5b
fix(preset-env): Use core-js-compat
and @babel/compat-data
directly ( #3968 )
2022-03-11 12:49:53 +00:00
Austaras
14155eb0e7
feat(es/compat): Implement loose mode for class_properties
( #3722 )
2022-02-27 00:09:02 +09:00
Austaras
89235b8294
fix(es/compat): Apply static_blocks
before class_properties
( #3292 )
2022-01-17 13:20:02 +00: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
magic-akari
52961804d1
feat(es/codegen): Make the output for empty objects and empty statements pretty ( #3171 )
2022-01-03 05:54:58 +09:00
Donny/강동윤
ec7e0aee25
fix(es/utils): Fix is_valid_ident
( #3133 )
...
swc_ecma_utils:
- Fix `is_valid_ident`. (Closes #2118 )
2021-12-28 21:37:38 +09:00
magic-akari
7d125f5cdb
feat(es/preset-env): Add .js
to generated imports ( #3077 )
2021-12-20 09:15:04 +00:00
Pig Fang
5a68a360b4
fix(es/preset-env): Enable "mobile to desktop" ( #2907 )
2021-11-29 19:29:49 +09:00
Donny/강동윤
2c099bfd2c
feat(es/preset_env): Use browserslist-rs
( #2845 )
...
swc_ecma_preset_env:
- Fix `default_path`.
- Use `browserslist-rs` for query. (Closes #2781 )
2021-11-23 19:07:16 +09:00
Donny/강동윤
2b2f6955f2
refactor: Flatten ecmascript
( #2708 )
2021-11-10 19:00:54 +09:00