putout 37.21.1 → 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 +20 -0
- package/package.json +2 -5
- package/putout.json +2 -5
package/ChangeLog
CHANGED
|
@@ -1,3 +1,23 @@
|
|
|
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
|
+
|
|
12
|
+
2025.01.29, v37.22.0
|
|
13
|
+
|
|
14
|
+
fix:
|
|
15
|
+
- 147dce894 @putout/test: eslint: UPDATE
|
|
16
|
+
|
|
17
|
+
feature:
|
|
18
|
+
- f3c660348 @putout/plugin-convert-break-to-return: add
|
|
19
|
+
- 5717ab6ff @putout/operator-keyword: break
|
|
20
|
+
|
|
1
21
|
2025.01.28, v37.21.1
|
|
2
22
|
|
|
3
23
|
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",
|
|
@@ -131,7 +130,6 @@
|
|
|
131
130
|
"@putout/plugin-maybe": "^2.0.0",
|
|
132
131
|
"@putout/plugin-merge-destructuring-properties": "^10.0.0",
|
|
133
132
|
"@putout/plugin-merge-duplicate-functions": "^2.0.0",
|
|
134
|
-
"@putout/plugin-merge-return-with-next-sibling": "^1.0.0",
|
|
135
133
|
"@putout/plugin-montag": "^3.0.0",
|
|
136
134
|
"@putout/plugin-new": "^3.0.1",
|
|
137
135
|
"@putout/plugin-nodejs": "^13.0.0",
|
|
@@ -172,13 +170,12 @@
|
|
|
172
170
|
"@putout/plugin-remove-useless-operand": "^2.0.0",
|
|
173
171
|
"@putout/plugin-remove-useless-push": "^1.0.0",
|
|
174
172
|
"@putout/plugin-remove-useless-replace": "^1.0.1",
|
|
175
|
-
"@putout/plugin-remove-useless-return": "^7.0.0",
|
|
176
173
|
"@putout/plugin-remove-useless-spread": "^11.0.0",
|
|
177
174
|
"@putout/plugin-remove-useless-template-expressions": "^2.0.0",
|
|
178
175
|
"@putout/plugin-remove-useless-variables": "^12.0.0",
|
|
176
|
+
"@putout/plugin-return": "^1.0.0",
|
|
179
177
|
"@putout/plugin-reuse-duplicate-init": "^6.0.0",
|
|
180
178
|
"@putout/plugin-simplify-assignment": "^3.0.0",
|
|
181
|
-
"@putout/plugin-simplify-boolean-return": "^2.0.0",
|
|
182
179
|
"@putout/plugin-simplify-ternary": "^7.0.0",
|
|
183
180
|
"@putout/plugin-split-assignment-expressions": "^1.0.0",
|
|
184
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,19 +232,18 @@
|
|
|
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",
|
|
@@ -265,7 +263,6 @@
|
|
|
265
263
|
"esm",
|
|
266
264
|
"merge-destructuring-properties",
|
|
267
265
|
"merge-duplicate-functions",
|
|
268
|
-
"merge-return-with-next-sibling",
|
|
269
266
|
"declare-before-reference",
|
|
270
267
|
"declare",
|
|
271
268
|
"labels",
|