putout 22.8.0 → 23.0.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,51 @@
1
+ 2021.12.21, v23.0.0
2
+
3
+ feature:
4
+ - (package) @putout/engine-loader v5.0.0
5
+ - (package) @putout/engine-loader v5.0.0
6
+ - (package) @putout/plugin-regexp v4.0.0
7
+ - (@putout/plugin-regexp) drop support of putout < 23
8
+ - (putout) drop jscodeshift support
9
+ - (@putout/engine-loader) drop support of jscodeshift
10
+ - (putout) apply @putout/recast v1.5.1 modifications
11
+ - (eslint-plugin-putout) putout: add ability parse error instead of throw
12
+ - (eslint-plugin-putout) ts: add no-redeclare
13
+ - (@putout/plugin-tape) add-await-to-re-import: add suport of nested blocks
14
+
15
+
16
+ 2021.12.20, v22.9.0
17
+
18
+ fix:
19
+ - (@putout/plugin-putout) convert-replace-with: crawl
20
+
21
+ feature:
22
+ - (@putout/plugin-apply-await-import) exclude cases where parent not VariableDeclarator
23
+ - (@putout/plugin-apply-await-import) add
24
+ - (@putout/plugin-putout) declare: add replaceWith
25
+ - (@putout/plugin-tape) add-args: add support of async functions
26
+ - (package) ts-morph v13.0.2
27
+ - (@putout/plugin-declare-undefined-variables) add support of url
28
+ - (@putout/engine-loader) improve Yarn PnP support (#93)
29
+ - (@putout/plugin-remove-useless-return) improve handling of call expressions
30
+ - (@putout/plugin-tape) add-t-end: exclude case where callback used
31
+
32
+
33
+ 2021.12.16, v22.8.2
34
+
35
+ fix:
36
+ - (@putout/formatter-memory) memry -> memory
37
+
38
+ feature:
39
+ - (putout) options: ignore: add .pnp.*
40
+ - (@putout/engine-loader) improve support of Yarn PnP (#93)
41
+
42
+
43
+ 2021.12.15, v22.8.1
44
+
45
+ feature:
46
+ - (putout) config: ignore .yarn directory
47
+
48
+
1
49
  2021.12.15, v22.8.0
2
50
 
3
51
  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,8 +1,8 @@
1
1
  {
2
2
  "name": "putout",
3
- "version": "22.8.0",
3
+ "version": "23.0.0",
4
4
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
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",
5
+ "description": "🐊 Pluggable and configurable code transformer with built-in eslint and babel plugins support of js, jsx typescript, flow files, markdown, yaml and json",
6
6
  "homepage": "http://github.com/coderaiser/putout",
7
7
  "main": "./lib/putout.js",
8
8
  "exports": {
@@ -51,7 +51,7 @@
51
51
  "@putout/cli-ruler": "^1.0.0",
52
52
  "@putout/cli-validate-args": "^1.0.0",
53
53
  "@putout/compare": "^8.0.0",
54
- "@putout/engine-loader": "^4.0.0",
54
+ "@putout/engine-loader": "^5.0.0",
55
55
  "@putout/engine-parser": "^4.0.0",
56
56
  "@putout/engine-processor": "^4.0.0",
57
57
  "@putout/engine-runner": "^11.0.0",
@@ -70,6 +70,7 @@
70
70
  "@putout/operator-regexp": "^1.0.0",
71
71
  "@putout/plugin-apply-array-at": "^1.0.0",
72
72
  "@putout/plugin-apply-as-type-assertions": "^1.0.0",
73
+ "@putout/plugin-apply-await-import": "^1.0.0",
73
74
  "@putout/plugin-apply-destructuring": "^5.0.0",
74
75
  "@putout/plugin-apply-if-condition": "^1.0.0",
75
76
  "@putout/plugin-apply-is-array": "^2.0.0",
@@ -118,7 +119,7 @@
118
119
  "@putout/plugin-promises": "^6.0.0",
119
120
  "@putout/plugin-putout": "^8.0.0",
120
121
  "@putout/plugin-putout-config": "^2.0.0",
121
- "@putout/plugin-regexp": "^3.0.0",
122
+ "@putout/plugin-regexp": "^4.0.0",
122
123
  "@putout/plugin-remove-boolean-from-assertions": "^1.0.0",
123
124
  "@putout/plugin-remove-boolean-from-logical-expressions": "^4.0.0",
124
125
  "@putout/plugin-remove-console": "^3.0.0",
@@ -214,7 +215,6 @@
214
215
  "devDependencies": {
215
216
  "@babel/plugin-transform-react-jsx": "^7.14.5",
216
217
  "@cloudcmd/stub": "^3.0.0",
217
- "async-await-codemod": "https://github.com/sgilroy/async-await-codemod.git",
218
218
  "babel-plugin-transform-inline-consecutive-adds": "^0.5.0-alpha.9",
219
219
  "c8": "^7.5.0",
220
220
  "currify": "^4.0.0",
package/putout.json CHANGED
@@ -102,6 +102,8 @@
102
102
  "**/node_modules",
103
103
  "**/fixture",
104
104
  "**/.nyc_output",
105
+ "**/.yarn",
106
+ "**/.pnp.*",
105
107
  "**/coverage",
106
108
  "**/dist",
107
109
  "**/dist-dev",
@@ -138,6 +140,7 @@
138
140
  },
139
141
  "plugins": [
140
142
  "apply-array-at",
143
+ "apply-await-import",
141
144
  "apply-is-array",
142
145
  "apply-destructuring",
143
146
  "apply-optional-chaining",