putout 25.14.1 → 25.15.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,43 @@
1
+ 2022.04.21, v25.15.0
2
+
3
+ feature:
4
+ - (package) @putout/plugin-remove-unused-for-of-variables v3.0.0
5
+ - (@putout/plugin-remove-unused-for-of-variables) drop support of putout < 25
6
+ - (@putout/plugin-remove-unused-for-of-variables) exclude spread
7
+ - (eslint-plugin-putout) array-element-newline: exclude sparse arrays
8
+ - (@putout/plugin-merde-duplicate-imports) rm converting of import kind, since it handled by babel
9
+ - (eslint-plugin-putout) add remove-duplicate-extensions
10
+ - (package) @putout/eslint-config v7.0.0
11
+ - (@putout/eslint-config) drop support of node < 16
12
+ - (@putout/eslint-config) add ability to always add newline after for
13
+ - (@putout/plugin-tape) add-args: add support of only/skip
14
+ - (eslint-plugin-putout) markdown: rm no-multi-spaces: off
15
+
16
+
17
+ 2022.04.10, v25.14.3
18
+
19
+ feature:
20
+ - (package) @putout/plugin-remove-unused-variables v4.0.0
21
+ - (@putout/plugin-remove-unused-variables) drop support of 🐊 < 25
22
+ - (@putout/plugin-remove-unused-variables) quotes: double -> single
23
+ - (@putout/plugin-strict-mode) quotes: double -> single
24
+ - (package) @putout/plugin-remove-debugger v5.0.0
25
+ - (@putout/plugin-remove-debugger) drop support of 🐊 < 25
26
+ - (@putout/plugin-remove-debugger) quotes: double -> single
27
+
28
+
29
+ 2022.04.09, v25.14.2
30
+
31
+ fix:
32
+ - (putout) `--fix` -> 'fix'
33
+
34
+
35
+ feature:
36
+ - (@putout/plugin-try-catch) skip transformation when there is already exists binding error
37
+ - (@putout/operator-declare) exclude TSTypeAliasDeclaration
38
+ - (@putout/plugin-declare-before-reference) improve support of newly created nodes
39
+
40
+
1
41
  2022.04.08, v25.14.1
2
42
 
3
43
  fix:
package/lib/cli/index.js CHANGED
@@ -187,7 +187,7 @@ module.exports = async ({argv, halt, log, write, logError, readFile, writeFile})
187
187
  }
188
188
 
189
189
  if (fix && (enable || disable || enableAll || disableAll))
190
- return exit(RULLER_WITH_FIX, Error('`--fix` cannot be used with ruler toggler (`--enable`, `--disable`)'));
190
+ return exit(RULLER_WITH_FIX, Error(`'--fix' cannot be used with ruler toggler ('--enable', '--disable')`));
191
191
 
192
192
  if (enable || disable) {
193
193
  const {ruler} = await simpleImport('@putout/cli-ruler');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "putout",
3
- "version": "25.14.1",
3
+ "version": "25.15.0",
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",
@@ -124,7 +124,7 @@
124
124
  "@putout/plugin-remove-boolean-from-logical-expressions": "^4.0.0",
125
125
  "@putout/plugin-remove-console": "^4.0.0",
126
126
  "@putout/plugin-remove-constant-conditions": "^4.0.0",
127
- "@putout/plugin-remove-debugger": "^4.0.0",
127
+ "@putout/plugin-remove-debugger": "^5.0.0",
128
128
  "@putout/plugin-remove-duplicate-case": "^2.0.0",
129
129
  "@putout/plugin-remove-duplicate-keys": "^2.0.0",
130
130
  "@putout/plugin-remove-duplicates-from-logical-expressions": "^1.0.0",
@@ -134,9 +134,9 @@
134
134
  "@putout/plugin-remove-unreachable-code": "^1.0.0",
135
135
  "@putout/plugin-remove-unreferenced-variables": "^2.0.0",
136
136
  "@putout/plugin-remove-unused-expressions": "^5.0.0",
137
- "@putout/plugin-remove-unused-for-of-variables": "^2.0.0",
137
+ "@putout/plugin-remove-unused-for-of-variables": "^3.0.0",
138
138
  "@putout/plugin-remove-unused-private-fields": "^2.0.0",
139
- "@putout/plugin-remove-unused-variables": "*",
139
+ "@putout/plugin-remove-unused-variables": "^4.0.0",
140
140
  "@putout/plugin-remove-useless-arguments": "^6.0.0",
141
141
  "@putout/plugin-remove-useless-array-constructor": "^1.0.0",
142
142
  "@putout/plugin-remove-useless-array-entries": "^1.0.0",