putout 22.8.2 → 22.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/ChangeLog CHANGED
@@ -1,3 +1,20 @@
1
+ 2021.12.20, v22.9.0
2
+
3
+ fix:
4
+ - (@putout/plugin-putout) convert-replace-with: crawl
5
+
6
+ feature:
7
+ - (@putout/plugin-apply-await-import) exclude cases where parent not VariableDeclarator
8
+ - (@putout/plugin-apply-await-import) add
9
+ - (@putout/plugin-putout) declare: add replaceWith
10
+ - (@putout/plugin-tape) add-args: add support of async functions
11
+ - (package) ts-morph v13.0.2
12
+ - (@putout/plugin-declare-undefined-variables) add support of url
13
+ - (@putout/engine-loader) improve Yarn PnP support (#93)
14
+ - (@putout/plugin-remove-useless-return) improve handling of call expressions
15
+ - (@putout/plugin-tape) add-t-end: exclude case where callback used
16
+
17
+
1
18
  2021.12.16, v22.8.2
2
19
 
3
20
  fix:
package/README.md CHANGED
@@ -86,6 +86,7 @@
86
86
  - apply `filter(Boolean)`;
87
87
  - apply [isArray](https://web.mit.edu/jwalden/www/isArray.html);
88
88
  - apply `if condition`;
89
+ - apply `await import`;
89
90
 
90
91
  ## Why?
91
92
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "putout",
3
- "version": "22.8.2",
3
+ "version": "22.9.0",
4
4
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
5
5
  "description": "🐊 Pluggable and configurable code transformer with built-in eslint, babel plugins and jscodeshift codemods support of js, jsx typescript, flow files, markdown, yaml and json",
6
6
  "homepage": "http://github.com/coderaiser/putout",
@@ -69,6 +69,7 @@
69
69
  "@putout/operator-declare": "^2.0.0",
70
70
  "@putout/operator-regexp": "^1.0.0",
71
71
  "@putout/plugin-apply-array-at": "^1.0.0",
72
+ "@putout/plugin-apply-await-import": "^1.0.0",
72
73
  "@putout/plugin-apply-as-type-assertions": "^1.0.0",
73
74
  "@putout/plugin-apply-destructuring": "^5.0.0",
74
75
  "@putout/plugin-apply-if-condition": "^1.0.0",
package/putout.json CHANGED
@@ -140,6 +140,7 @@
140
140
  },
141
141
  "plugins": [
142
142
  "apply-array-at",
143
+ "apply-await-import",
143
144
  "apply-is-array",
144
145
  "apply-destructuring",
145
146
  "apply-optional-chaining",