Commit Graph

20 Commits

Author SHA1 Message Date
Donny/강동윤
95119be5b2
chore: Publish v1.2.248 (#5755) 2022-09-06 00:20:33 +09:00
Donny/강동윤
bc9aef891e chore(ci): Fix publish action 2022-08-18 14:52:48 +09:00
Donny/강동윤
91d494dfd4 chore(ci): Fix publish action 2022-08-18 14:12:21 +09:00
OJ Kwon
719444c42c
fix(ci): Wait exec asynchronously (#5547) 2022-08-18 14:08:52 +09:00
OJ Kwon
f1a4263954
feat(swc_core): Implement engine diagnostics (#5515) 2022-08-18 04:29:19 +00:00
Donny/강동윤
6a97c7bef8
fix(es/utils): Fix wrong apis (#4604)
# API Changes

## `swc_ecma_utils`

### Renames

 - `find_ids` => `find_pat_ids`
 - `prepend` => `prepend_stmt`
 - `as_bool` => `cast_to_bool`
 - `as_number` => `as_pure_number`
 - `as_string` => `cast_to_string`
 - (`as_pure_bool`, `cast_to_number` is not renamed)
 - `UsageFinder` => `IdentUsageFinder`.
 - `IdentFinder` => `IdentRefFinder`.

## Changes

 - Re-export of `HANDLER` from `swc_common::errors` is removed. Use `swc_common::error::HANDLER` instead.
 - Re-export of `Id` from `swc_ecma_ast` is removed. Use `swc_ecma_ast::Id` instead.
 - `ExprCtx` is used for apis related to `Expr`.
 - `preserve_effects` is now a method of `ExprCtx`. It was a top-level function.
 - `extract_side_effects_to` is now a method of `ExprCtx`. It was a top-level function.
 - `IdentUsageFinder` (previously `UsageFinder`) now takes `Id` instead of `Ident`.
 - `IdentRefFinder` (previously `IdentFinder`) now takes `Id` instead of `Ident`.
 - `ExprExt::is_ident_ref_to` is removed.
 - `Expr::is_global_ref_to` is added.
 - `:🆔:id` is removed. Use `Ident::to_id()` instead.
2022-05-11 04:36:22 +00:00
Donny/강동윤
2c861bd9e5
feat(es/ast): Improve Id APIs (#4614)
# API Changes

 - `Ident` now has `to_id()`. This method is added to allow removing an import.
2022-05-11 12:02:14 +09:00
Donny/강동윤
a6d404a8c2
chore(repo): Configure prettier (#4523) 2022-05-04 14:25:28 +00:00
Donny/강동윤
c216a03673
chore(ci): Improve bot script (#4430)
- It will now rebase another PR if there's a merge conflict.
 - It does not update the base branch if it's already up-to-date.
2022-04-25 19:21:34 +09:00
那里好脏不可以
37a8c90750
chore(*): Typo + fomatting (#4304) 2022-04-11 18:45:58 +00:00
Donny/강동윤
9b8b111264 chore(ci): Fix auto-rebase script 2022-03-15 16:46:15 +09:00
Donny/강동윤
be09ea6991
feat(es/minifier): Drop noop calls (#4019) 2022-03-15 16:23:32 +09:00
Donny/강동윤
c27b84c3f6
chore(ci): Make bump-command check lazy (#4018) 2022-03-15 15:17:20 +09:00
Donny/강동윤
814dcc09d6
test(es/compat): Organize tests (#3825) 2022-03-03 05:51:09 +00:00
Donny/강동윤
6d98d146a6 chore: Skip CI for automated commits (#3760) 2022-02-27 14:44:35 +09:00
Donny/강동윤
76ec275c3c
chore(ci): Reduce CI time (#3719) 2022-02-24 06:06:03 +00:00
Donny/강동윤
2d9735b9a9 chore(ci): Fix the auto-bump scripts 2022-02-16 14:36:45 +09:00
Donny/강동윤
a1e45c4b86
feat(bot): Add auto-bump script (#3573) 2022-02-15 19:35:59 +09:00
Donny/강동윤
d3f1c4e602 chore: Fix auto-rebase script again 2022-02-15 02:12:32 +09:00
Donny/강동윤
b1fc7a9e34
chore(ci): Add a bot for auto-rebasing (#3560) 2022-02-14 19:49:21 +09:00