putout 25.13.0 → 25.14.1

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,59 @@
1
+ 2022.04.08, v25.14.1
2
+
3
+ fix:
4
+ - (putout) cli: get-files: 🐊 No files matching the pattern "package" were found -> 🐊 No files matching the 'pattern' package were found
5
+
6
+
7
+ feature:
8
+ - (@putout/plugin-tape) add apply-stub
9
+ - (eslint-plugin-putout) markdown: add support of babel parser plugins
10
+ - (putout) images: logo: white eye
11
+
12
+
13
+ 2022.04.02, v25.14.0
14
+
15
+ fix:
16
+ - (eslint-plugin-putout) get back ability to catch error during transform
17
+
18
+
19
+ feature:
20
+ - (package) @putout/plugin-convert-mock-require-to-mock-import v3.0.0
21
+ - (@putout/plugin-convert-mock-require-to-mock-import) drop support of putout < 25
22
+ - (package) @putout/plugin-merge-duplicate-imports v6.0.0
23
+ - (@putout/plugin-merge-duplicate-imports) drop support of putout < 25
24
+ - (@putout/plugin-react-hooks) drop support of putout < 25
25
+ - (package) @putout/plugin-remove-console v4.0.0
26
+ - (@putout/plugin-remove-console) drop support of putout < 25
27
+ - (package) @putout/plugin-remove-constant-conditions v4.0.0
28
+ - (@putout/plugin-remove-constant-conditions) drop support of 🐊 < 25
29
+ - (package) @putout/plugin-remove-duplicate-case v2.0.0
30
+ - (@putout/plugin-remove-duplicate-case) drop support of 🐊 < 25
31
+ - (package) @putout/plugin-remove-empty v8.0.0
32
+ - (@putout/plugin-remove-empty) drop support of 🐊 < 25
33
+ - (package) @putout/plugin-remove-unreferenced-variables v2.0.0
34
+ - (@putout/plugin-remove-unreferenced-variables) drop support of 🐊 < 25
35
+ - (package) @putout/plugin-remove-unused-expressions v5.0.0
36
+ - (@putout/plugin-remove-unused-expressions) drop support of 🐊 < 25
37
+ - (package) @putout/plugin-remove-unused-private-fields v2.0.0
38
+ - (@putout/plugin-remove-unused-private-fields) drop support of 🐊 < 25
39
+ - (package) @putout/plugin-remove-useless-arguments v6.0.0
40
+ - (@putout/plugin-remove-useless-arguments) drop support of 🐊 < 25
41
+ - (@putout/plugin-declare-before-reference) add
42
+ - (@putout/plugin-putout) apply-remove: add
43
+ - (@putout/plugin-putout) declare: operator: add support of remove()
44
+ - (@putout/engine-runner) add ability to handle case with replace that returns nothing
45
+ - (eslint-plugin-putout) speed up 🐊 Putout rule: 5.112s -> 3.661s on 2000 loc file
46
+ - (eslint-plugin-putout) improve typescript support
47
+
48
+
49
+ 2022.04.01, v25.13.1
50
+
51
+ feature:
52
+ - (package) @putout/plugin-strict-mode v4.0.0
53
+ - (@putout/plugin-strict-mode) drop support of 🐊 < 25
54
+ - (@putout/plugin-strict-mode) add support of @putout/plugin-typescript
55
+
56
+
1
57
  2022.04.01, v25.13.0
2
58
 
3
59
  feature:
@@ -67,7 +67,7 @@ const addExt = (options) => async function addExt(a) {
67
67
  };
68
68
 
69
69
  function throwNotFound(a) {
70
- throw Error(`No files matching the pattern "${a}" were found`);
70
+ throw Error(`No files matching the pattern '${a}' were found`);
71
71
  }
72
72
 
73
73
  async function safeGlob(glob, options) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "putout",
3
- "version": "25.13.0",
3
+ "version": "25.14.1",
4
4
  "type": "commonjs",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "🐊 Pluggable and configurable code transformer with built-in eslint and babel plugins support of js, jsx typescript, flow files, markdown, yaml and json",
@@ -95,12 +95,13 @@
95
95
  "@putout/plugin-convert-index-of-to-includes": "^1.0.0",
96
96
  "@putout/plugin-convert-map-to-for-of": "^2.0.0",
97
97
  "@putout/plugin-convert-math-pow": "^4.0.0",
98
- "@putout/plugin-convert-mock-require-to-mock-import": "^2.0.0",
98
+ "@putout/plugin-convert-mock-require-to-mock-import": "^3.0.0",
99
99
  "@putout/plugin-convert-object-assign-to-merge-spread": "^5.0.0",
100
100
  "@putout/plugin-convert-quotes-to-backticks": "^2.0.0",
101
101
  "@putout/plugin-convert-template-to-string": "^1.0.0",
102
102
  "@putout/plugin-convert-to-arrow-function": "^3.0.0",
103
103
  "@putout/plugin-convert-typeof-to-is-type": "^2.0.0",
104
+ "@putout/plugin-declare-before-reference": "^1.0.0",
104
105
  "@putout/plugin-declare-undefined-variables": "^7.0.0",
105
106
  "@putout/plugin-eslint": "^2.0.0",
106
107
  "@putout/plugin-extract-object-properties": "^8.0.0",
@@ -109,7 +110,7 @@
109
110
  "@putout/plugin-gitignore": "^3.0.0",
110
111
  "@putout/plugin-madrun": "^14.0.0",
111
112
  "@putout/plugin-merge-destructuring-properties": "^6.0.0",
112
- "@putout/plugin-merge-duplicate-imports": "^5.0.0",
113
+ "@putout/plugin-merge-duplicate-imports": "^6.0.0",
113
114
  "@putout/plugin-merge-if-statements": "^3.0.0",
114
115
  "@putout/plugin-montag": "^1.0.0",
115
116
  "@putout/plugin-nodejs": "^4.0.0",
@@ -121,22 +122,22 @@
121
122
  "@putout/plugin-regexp": "^5.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
- "@putout/plugin-remove-console": "^3.0.0",
125
- "@putout/plugin-remove-constant-conditions": "^3.0.0",
125
+ "@putout/plugin-remove-console": "^4.0.0",
126
+ "@putout/plugin-remove-constant-conditions": "^4.0.0",
126
127
  "@putout/plugin-remove-debugger": "^4.0.0",
127
- "@putout/plugin-remove-duplicate-case": "^1.0.0",
128
+ "@putout/plugin-remove-duplicate-case": "^2.0.0",
128
129
  "@putout/plugin-remove-duplicate-keys": "^2.0.0",
129
130
  "@putout/plugin-remove-duplicates-from-logical-expressions": "^1.0.0",
130
- "@putout/plugin-remove-empty": "^7.0.0",
131
+ "@putout/plugin-remove-empty": "^8.0.0",
131
132
  "@putout/plugin-remove-iife": "^1.0.0",
132
133
  "@putout/plugin-remove-nested-blocks": "^5.0.0",
133
134
  "@putout/plugin-remove-unreachable-code": "^1.0.0",
134
- "@putout/plugin-remove-unreferenced-variables": "^1.0.0",
135
- "@putout/plugin-remove-unused-expressions": "^4.0.0",
135
+ "@putout/plugin-remove-unreferenced-variables": "^2.0.0",
136
+ "@putout/plugin-remove-unused-expressions": "^5.0.0",
136
137
  "@putout/plugin-remove-unused-for-of-variables": "^2.0.0",
137
- "@putout/plugin-remove-unused-private-fields": "^1.0.0",
138
+ "@putout/plugin-remove-unused-private-fields": "^2.0.0",
138
139
  "@putout/plugin-remove-unused-variables": "*",
139
- "@putout/plugin-remove-useless-arguments": "^5.0.0",
140
+ "@putout/plugin-remove-useless-arguments": "^6.0.0",
140
141
  "@putout/plugin-remove-useless-array-constructor": "^1.0.0",
141
142
  "@putout/plugin-remove-useless-array-entries": "^1.0.0",
142
143
  "@putout/plugin-remove-useless-array-from": "^2.0.0",
@@ -162,7 +163,7 @@
162
163
  "@putout/plugin-simplify-ternary": "^2.0.0",
163
164
  "@putout/plugin-split-nested-destructuring": "^1.0.0",
164
165
  "@putout/plugin-split-variable-declarations": "^2.0.0",
165
- "@putout/plugin-strict-mode": "^3.0.0",
166
+ "@putout/plugin-strict-mode": "^4.0.0",
166
167
  "@putout/plugin-tape": "^9.0.0",
167
168
  "@putout/plugin-try-catch": "^1.0.0",
168
169
  "@putout/plugin-typescript": "^2.0.0",
package/putout.json CHANGED
@@ -205,6 +205,7 @@
205
205
  "merge-duplicate-imports",
206
206
  "merge-if-statements",
207
207
  "declare-undefined-variables",
208
+ "declare-before-reference",
208
209
  "strict-mode",
209
210
  "putout",
210
211
  "putout-config",