@@ -19,15 +19,15 @@ npx jscodeshift -t asyncify/index.js path/to/your/project/**/*.js
19
19
20
20
## Support table
21
21
22
- | | ` asyncify ` | ` async-await-codemod ` |
23
- | ------------------------------------------------------------------ | ---------- | --------------------- |
24
- | Renames identifiers in handlers that would conflict | β
| π« |
25
- | Converts promise chains that aren't returned/awaited into IIAAFs | β
| π« |
26
- | Converts ` return Promise.resolve() ` /` return Promise.reject() ` | β
| π« |
27
- | Warns when the original function could return/throw a non-promise | β
| π« |
28
- | ** Refactoring/inlining handlers that contain conditional returns** | | |
29
- | All but one if/else/switch branch return | β
| π« |
30
- | All branches return, even nested ones | β
| β(I don't think so?) |
31
- | All but one nested if/else/switch branch return | π« | π« |
32
- | More than one if/else/switch branch doesn't return | π« | π« |
33
- | Return inside loop | π« | π« |
22
+ | | ` asyncify ` |
23
+ | ------------------------------------------------------------------ | ---------- |
24
+ | Renames identifiers in handlers that would conflict | β
|
25
+ | Converts promise chains that aren't returned/awaited into IIAAFs | β
|
26
+ | Converts ` return Promise.resolve() ` /` return Promise.reject() ` | β
|
27
+ | Warns when the original function could return/throw a non-promise | β
|
28
+ | ** Refactoring/inlining handlers that contain conditional returns** | |
29
+ | All but one if/else/switch branch return | β
|
30
+ | All branches return, even nested ones | β
|
31
+ | All but one nested if/else/switch branch return | π« |
32
+ | More than one if/else/switch branch doesn't return | π« |
33
+ | Return inside loop | π« |
0 commit comments