putout 37.22.0 → 38.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 +11 -0
- package/package.json +2 -6
- package/putout.json +2 -6
package/ChangeLog
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
2025.01.29, v38.0.0
|
|
2
|
+
|
|
3
|
+
fix:
|
|
4
|
+
- 34b3cfb3e @putout/plugin-convert-break-to-return: report
|
|
5
|
+
|
|
6
|
+
feature:
|
|
7
|
+
- 315f40e32 @putout/plugin-return: convert-from-break/continue: simplify
|
|
8
|
+
- e43dc88e4 eslint-plugin-putout: drop support of 🐊 < 38
|
|
9
|
+
- 664d486f5 eslint-plugin-putout: remove-useless-return -> return/remove-useless
|
|
10
|
+
- eaeda59c9 @putout/plugin-return: add
|
|
11
|
+
|
|
1
12
|
2025.01.29, v37.22.0
|
|
2
13
|
|
|
3
14
|
fix:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "putout",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "38.0.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, Babel and support of js, jsx, typescript, flow, markdown, yaml and json",
|
|
@@ -88,7 +88,6 @@
|
|
|
88
88
|
"@putout/plugin-apply-at": "^2.0.0",
|
|
89
89
|
"@putout/plugin-apply-destructuring": "^7.0.0",
|
|
90
90
|
"@putout/plugin-apply-dot-notation": "^2.0.0",
|
|
91
|
-
"@putout/plugin-apply-early-return": "^3.0.0",
|
|
92
91
|
"@putout/plugin-apply-flat-map": "^2.0.0",
|
|
93
92
|
"@putout/plugin-apply-overrides": "^2.0.0",
|
|
94
93
|
"@putout/plugin-apply-shorthand-properties": "^6.0.0",
|
|
@@ -102,7 +101,6 @@
|
|
|
102
101
|
"@putout/plugin-convert-assignment-to-arrow-function": "^1.0.0",
|
|
103
102
|
"@putout/plugin-convert-assignment-to-comparison": "^2.0.0",
|
|
104
103
|
"@putout/plugin-convert-assignment-to-declaration": "^2.0.0",
|
|
105
|
-
"@putout/plugin-convert-break-to-return": "^1.0.0",
|
|
106
104
|
"@putout/plugin-convert-concat-to-flat": "^1.0.0",
|
|
107
105
|
"@putout/plugin-convert-const-to-let": "^4.0.0",
|
|
108
106
|
"@putout/plugin-convert-expression-to-params": "^1.0.0",
|
|
@@ -132,7 +130,6 @@
|
|
|
132
130
|
"@putout/plugin-maybe": "^2.0.0",
|
|
133
131
|
"@putout/plugin-merge-destructuring-properties": "^10.0.0",
|
|
134
132
|
"@putout/plugin-merge-duplicate-functions": "^2.0.0",
|
|
135
|
-
"@putout/plugin-merge-return-with-next-sibling": "^1.0.0",
|
|
136
133
|
"@putout/plugin-montag": "^3.0.0",
|
|
137
134
|
"@putout/plugin-new": "^3.0.1",
|
|
138
135
|
"@putout/plugin-nodejs": "^13.0.0",
|
|
@@ -173,13 +170,12 @@
|
|
|
173
170
|
"@putout/plugin-remove-useless-operand": "^2.0.0",
|
|
174
171
|
"@putout/plugin-remove-useless-push": "^1.0.0",
|
|
175
172
|
"@putout/plugin-remove-useless-replace": "^1.0.1",
|
|
176
|
-
"@putout/plugin-remove-useless-return": "^7.0.0",
|
|
177
173
|
"@putout/plugin-remove-useless-spread": "^11.0.0",
|
|
178
174
|
"@putout/plugin-remove-useless-template-expressions": "^2.0.0",
|
|
179
175
|
"@putout/plugin-remove-useless-variables": "^12.0.0",
|
|
176
|
+
"@putout/plugin-return": "^1.0.0",
|
|
180
177
|
"@putout/plugin-reuse-duplicate-init": "^6.0.0",
|
|
181
178
|
"@putout/plugin-simplify-assignment": "^3.0.0",
|
|
182
|
-
"@putout/plugin-simplify-boolean-return": "^2.0.0",
|
|
183
179
|
"@putout/plugin-simplify-ternary": "^7.0.0",
|
|
184
180
|
"@putout/plugin-split-assignment-expressions": "^1.0.0",
|
|
185
181
|
"@putout/plugin-split-nested-destructuring": "^3.0.0",
|
package/putout.json
CHANGED
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"remove-useless-escape": "off",
|
|
61
61
|
"remove-useless-variables": "off",
|
|
62
62
|
"remove-useless-push": "off",
|
|
63
|
-
"remove-useless
|
|
63
|
+
"return/remove-useless": "off",
|
|
64
64
|
"remove-empty": "off",
|
|
65
65
|
"for-of/remove-unused-variables": "off",
|
|
66
66
|
"remove-console": "off",
|
|
@@ -194,7 +194,6 @@
|
|
|
194
194
|
"apply-at",
|
|
195
195
|
"apply-arrow",
|
|
196
196
|
"apply-dot-notation",
|
|
197
|
-
"apply-early-return",
|
|
198
197
|
"apply-flat-map",
|
|
199
198
|
"apply-destructuring",
|
|
200
199
|
"apply-shorthand-properties",
|
|
@@ -233,25 +232,23 @@
|
|
|
233
232
|
"remove-useless-arguments",
|
|
234
233
|
"remove-useless-escape",
|
|
235
234
|
"remove-useless-spread",
|
|
236
|
-
"remove-useless-return",
|
|
237
235
|
"remove-useless-functions",
|
|
238
236
|
"remove-useless-template-expressions",
|
|
239
237
|
"remove-duplicate-case",
|
|
240
238
|
"remove-nested-blocks",
|
|
241
239
|
"remove-unreachable-code",
|
|
242
240
|
"remove-duplicate-keys",
|
|
241
|
+
"return",
|
|
243
242
|
"reuse-duplicate-init",
|
|
244
243
|
"split-assignment-expressions",
|
|
245
244
|
"split-variable-declarations",
|
|
246
245
|
"split-nested-destructuring",
|
|
247
246
|
"simplify-assignment",
|
|
248
|
-
"simplify-boolean-return",
|
|
249
247
|
"simplify-ternary",
|
|
250
248
|
"convert-const-to-let",
|
|
251
249
|
"convert-expression-to-params",
|
|
252
250
|
"convert-assignment-to-declaration",
|
|
253
251
|
"convert-apply-to-spread",
|
|
254
|
-
"convert-break-to-return",
|
|
255
252
|
"convert-concat-to-flat",
|
|
256
253
|
"convert-arguments-to-rest",
|
|
257
254
|
"convert-object-assign-to-merge-spread",
|
|
@@ -266,7 +263,6 @@
|
|
|
266
263
|
"esm",
|
|
267
264
|
"merge-destructuring-properties",
|
|
268
265
|
"merge-duplicate-functions",
|
|
269
|
-
"merge-return-with-next-sibling",
|
|
270
266
|
"declare-before-reference",
|
|
271
267
|
"declare",
|
|
272
268
|
"labels",
|