putout 29.1.1 → 29.1.2
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 +5 -0
- package/README.md +1 -1
- package/package.json +2 -7
- package/putout.json +3 -9
package/ChangeLog
CHANGED
package/README.md
CHANGED
|
@@ -58,7 +58,7 @@ module.exports.replace = () => ({
|
|
|
58
58
|
- ❌ [**Prettier**](https://github.com/prettier/prettier) is a formatter.
|
|
59
59
|
- ❌ [**jscodeshift**](https://github.com/facebook/jscodeshift) has no `config` and `plugins` support.
|
|
60
60
|
|
|
61
|
-
☝️ *🐊**Putout** on the other hand can make more drastic code transformations that directly
|
|
61
|
+
☝️ *🐊**Putout** on the other hand can make more drastic code transformations that directly affects your codebase making it a better place to code 💻.*
|
|
62
62
|
|
|
63
63
|
[It can](https://github.com/coderaiser/putout#-built-in-transformations):
|
|
64
64
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "putout",
|
|
3
|
-
"version": "29.1.
|
|
3
|
+
"version": "29.1.2",
|
|
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",
|
|
@@ -87,15 +87,10 @@
|
|
|
87
87
|
"@putout/plugin-convert-concat-to-flat": "^1.0.0",
|
|
88
88
|
"@putout/plugin-convert-const-to-let": "^1.0.0",
|
|
89
89
|
"@putout/plugin-convert-esm-to-commonjs": "^5.0.0",
|
|
90
|
-
"@putout/plugin-convert-for-each-to-for-of": "^8.0.0",
|
|
91
|
-
"@putout/plugin-convert-for-in-to-for-of": "^2.0.0",
|
|
92
|
-
"@putout/plugin-convert-for-to-for-of": "^4.0.0",
|
|
93
90
|
"@putout/plugin-convert-index-of-to-includes": "^1.0.0",
|
|
94
|
-
"@putout/plugin-convert-map-to-for-of": "^2.0.0",
|
|
95
91
|
"@putout/plugin-convert-mock-require-to-mock-import": "^4.0.0",
|
|
96
92
|
"@putout/plugin-convert-object-assign-to-merge-spread": "^6.0.0",
|
|
97
93
|
"@putout/plugin-convert-quotes-to-backticks": "^2.0.0",
|
|
98
|
-
"@putout/plugin-convert-reduce-to-for-of": "^1.0.0",
|
|
99
94
|
"@putout/plugin-convert-template-to-string": "^1.0.0",
|
|
100
95
|
"@putout/plugin-convert-to-arrow-function": "^3.0.0",
|
|
101
96
|
"@putout/plugin-declare": "^1.0.1",
|
|
@@ -104,6 +99,7 @@
|
|
|
104
99
|
"@putout/plugin-eslint": "^4.2.0",
|
|
105
100
|
"@putout/plugin-extract-object-properties": "^8.0.0",
|
|
106
101
|
"@putout/plugin-extract-sequence-expressions": "^3.0.0",
|
|
102
|
+
"@putout/plugin-for-of": "^1.0.0",
|
|
107
103
|
"@putout/plugin-github": "^4.0.0",
|
|
108
104
|
"@putout/plugin-gitignore": "^3.0.0",
|
|
109
105
|
"@putout/plugin-logical-expressions": "^1.0.0",
|
|
@@ -146,7 +142,6 @@
|
|
|
146
142
|
"@putout/plugin-remove-useless-continue": "^2.0.0",
|
|
147
143
|
"@putout/plugin-remove-useless-else": "^1.0.0",
|
|
148
144
|
"@putout/plugin-remove-useless-escape": "^3.0.0",
|
|
149
|
-
"@putout/plugin-remove-useless-for-of": "^2.0.0",
|
|
150
145
|
"@putout/plugin-remove-useless-functions": "^2.0.0",
|
|
151
146
|
"@putout/plugin-remove-useless-map": "^1.0.0",
|
|
152
147
|
"@putout/plugin-remove-useless-operand": "^2.0.0",
|
package/putout.json
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"remove-useless-variables": "off",
|
|
39
39
|
"remove-useless-return": "off",
|
|
40
40
|
"remove-empty": "off",
|
|
41
|
-
"remove-unused-
|
|
41
|
+
"for-of/remove-unused-variables": "off",
|
|
42
42
|
"conditions/remove-constant": "off",
|
|
43
43
|
"remove-console": "off",
|
|
44
44
|
"remove-unreachable-code": "off",
|
|
@@ -157,7 +157,6 @@
|
|
|
157
157
|
"remove-empty",
|
|
158
158
|
"remove-unreferenced-variables",
|
|
159
159
|
"remove-unused-variables",
|
|
160
|
-
"remove-unused-for-of-variables",
|
|
161
160
|
"remove-unused-private-fields",
|
|
162
161
|
"remove-unused-expressions",
|
|
163
162
|
"remove-useless-assign",
|
|
@@ -176,7 +175,6 @@
|
|
|
176
175
|
"remove-useless-return",
|
|
177
176
|
"remove-useless-functions",
|
|
178
177
|
"remove-useless-template-expressions",
|
|
179
|
-
"remove-useless-for-of",
|
|
180
178
|
"remove-useless-array-entries",
|
|
181
179
|
"remove-duplicate-case",
|
|
182
180
|
"remove-nested-blocks",
|
|
@@ -195,11 +193,6 @@
|
|
|
195
193
|
"convert-arguments-to-rest",
|
|
196
194
|
"convert-object-assign-to-merge-spread",
|
|
197
195
|
"convert-to-arrow-function",
|
|
198
|
-
"convert-for-to-for-of",
|
|
199
|
-
"convert-for-each-to-for-of",
|
|
200
|
-
"convert-for-in-to-for-of",
|
|
201
|
-
"convert-map-to-for-of",
|
|
202
|
-
"convert-reduce-to-for-of",
|
|
203
196
|
"convert-array-copy-to-slice",
|
|
204
197
|
"convert-template-to-string",
|
|
205
198
|
"convert-index-of-to-includes",
|
|
@@ -232,7 +225,8 @@
|
|
|
232
225
|
"new",
|
|
233
226
|
"logical-expressions",
|
|
234
227
|
"types",
|
|
235
|
-
"conditions"
|
|
228
|
+
"conditions",
|
|
229
|
+
"for-of"
|
|
236
230
|
]
|
|
237
231
|
}
|
|
238
232
|
|