putout 24.0.1 → 24.0.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 +6 -0
- package/package.json +2 -11
- package/putout.json +4 -29
package/ChangeLog
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "putout",
|
|
3
|
-
"version": "24.0.
|
|
3
|
+
"version": "24.0.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 and babel plugins support of js, jsx typescript, flow files, markdown, yaml and json",
|
|
@@ -69,14 +69,12 @@
|
|
|
69
69
|
"@putout/operator-add-args": "^1.0.0",
|
|
70
70
|
"@putout/operator-declare": "^2.0.0",
|
|
71
71
|
"@putout/operator-regexp": "^1.0.0",
|
|
72
|
-
"@putout/plugin-apply-as-type-assertions": "^1.0.0",
|
|
73
72
|
"@putout/plugin-apply-await-import": "^1.0.0",
|
|
74
73
|
"@putout/plugin-apply-destructuring": "^5.0.0",
|
|
75
74
|
"@putout/plugin-apply-if-condition": "^1.0.0",
|
|
76
75
|
"@putout/plugin-apply-is-array": "^2.0.0",
|
|
77
76
|
"@putout/plugin-apply-numeric-separators": "^1.0.0",
|
|
78
77
|
"@putout/plugin-apply-optional-chaining": "^2.0.0",
|
|
79
|
-
"@putout/plugin-apply-utility-types": "^1.0.0",
|
|
80
78
|
"@putout/plugin-browserlist": "^1.0.0",
|
|
81
79
|
"@putout/plugin-convert-apply-to-spread": "^3.0.0",
|
|
82
80
|
"@putout/plugin-convert-arguments-to-rest": "^1.0.0",
|
|
@@ -92,7 +90,6 @@
|
|
|
92
90
|
"@putout/plugin-convert-for-each-to-for-of": "^6.0.0",
|
|
93
91
|
"@putout/plugin-convert-for-in-to-for-of": "^2.0.0",
|
|
94
92
|
"@putout/plugin-convert-for-to-for-of": "^2.0.0",
|
|
95
|
-
"@putout/plugin-convert-generic-to-shorthand": "^2.0.0",
|
|
96
93
|
"@putout/plugin-convert-index-of-to-includes": "^1.0.0",
|
|
97
94
|
"@putout/plugin-convert-map-to-for-of": "^1.0.0",
|
|
98
95
|
"@putout/plugin-convert-math-pow": "^4.0.0",
|
|
@@ -125,10 +122,8 @@
|
|
|
125
122
|
"@putout/plugin-remove-constant-conditions": "^3.0.0",
|
|
126
123
|
"@putout/plugin-remove-debugger": "^4.0.0",
|
|
127
124
|
"@putout/plugin-remove-duplicate-case": "^1.0.0",
|
|
128
|
-
"@putout/plugin-remove-duplicate-interface-keys": "^3.0.0",
|
|
129
125
|
"@putout/plugin-remove-duplicate-keys": "^2.0.0",
|
|
130
126
|
"@putout/plugin-remove-duplicates-from-logical-expressions": "^1.0.0",
|
|
131
|
-
"@putout/plugin-remove-duplicates-from-union": "^1.0.0",
|
|
132
127
|
"@putout/plugin-remove-empty": "^6.0.0",
|
|
133
128
|
"@putout/plugin-remove-iife": "^1.0.0",
|
|
134
129
|
"@putout/plugin-remove-nested-blocks": "^4.0.0",
|
|
@@ -137,7 +132,6 @@
|
|
|
137
132
|
"@putout/plugin-remove-unused-expressions": "^4.0.0",
|
|
138
133
|
"@putout/plugin-remove-unused-for-of-variables": "^1.0.0",
|
|
139
134
|
"@putout/plugin-remove-unused-private-fields": "^1.0.0",
|
|
140
|
-
"@putout/plugin-remove-unused-types": "^2.0.0",
|
|
141
135
|
"@putout/plugin-remove-unused-variables": "*",
|
|
142
136
|
"@putout/plugin-remove-useless-arguments": "^5.0.0",
|
|
143
137
|
"@putout/plugin-remove-useless-array-constructor": "^1.0.0",
|
|
@@ -150,8 +144,6 @@
|
|
|
150
144
|
"@putout/plugin-remove-useless-for-of": "^2.0.0",
|
|
151
145
|
"@putout/plugin-remove-useless-functions": "^2.0.0",
|
|
152
146
|
"@putout/plugin-remove-useless-map": "^1.0.0",
|
|
153
|
-
"@putout/plugin-remove-useless-mapped-types": "^1.0.0",
|
|
154
|
-
"@putout/plugin-remove-useless-mapping-modifiers": "^1.0.0",
|
|
155
147
|
"@putout/plugin-remove-useless-new": "^1.0.0",
|
|
156
148
|
"@putout/plugin-remove-useless-operand": "^1.0.0",
|
|
157
149
|
"@putout/plugin-remove-useless-return": "^4.0.0",
|
|
@@ -159,8 +151,6 @@
|
|
|
159
151
|
"@putout/plugin-remove-useless-template-expressions": "^1.0.0",
|
|
160
152
|
"@putout/plugin-remove-useless-type-conversion": "^1.0.0",
|
|
161
153
|
"@putout/plugin-remove-useless-typeof": "^1.0.0",
|
|
162
|
-
"@putout/plugin-remove-useless-types": "^1.0.0",
|
|
163
|
-
"@putout/plugin-remove-useless-types-from-constants": "^1.0.0",
|
|
164
154
|
"@putout/plugin-remove-useless-variables": "^5.0.0",
|
|
165
155
|
"@putout/plugin-reuse-duplicate-init": "^3.0.0",
|
|
166
156
|
"@putout/plugin-simplify-assignment": "^1.0.0",
|
|
@@ -170,6 +160,7 @@
|
|
|
170
160
|
"@putout/plugin-split-variable-declarations": "^2.0.0",
|
|
171
161
|
"@putout/plugin-strict-mode": "^2.0.0",
|
|
172
162
|
"@putout/plugin-tape": "^7.0.0",
|
|
163
|
+
"@putout/plugin-typescript": "^1.0.0",
|
|
173
164
|
"@putout/plugin-webpack": "^1.0.0",
|
|
174
165
|
"@putout/processor-css": "^3.0.0",
|
|
175
166
|
"@putout/processor-ignore": "^2.0.0",
|
package/putout.json
CHANGED
|
@@ -84,15 +84,7 @@
|
|
|
84
84
|
"convert-esm-to-commonjs": "on"
|
|
85
85
|
},
|
|
86
86
|
"*.{ts,tsx}": {
|
|
87
|
-
"
|
|
88
|
-
"apply-utility-types": "on",
|
|
89
|
-
"convert-generic-to-shorthand": "on",
|
|
90
|
-
"remove-duplicate-interface-keys": "on",
|
|
91
|
-
"remove-useless-types": "on",
|
|
92
|
-
"remove-useless-mapped-types": "on",
|
|
93
|
-
"remove-useless-mapping-modifiers": "on",
|
|
94
|
-
"remove-useless-types-from-constants": "on",
|
|
95
|
-
"remove-unused-types": "on"
|
|
87
|
+
"typescript": "on"
|
|
96
88
|
},
|
|
97
89
|
"*.d.ts": {
|
|
98
90
|
"declare-undefined-variables": "off"
|
|
@@ -111,17 +103,10 @@
|
|
|
111
103
|
"**/package-lock.json"
|
|
112
104
|
],
|
|
113
105
|
"rules": {
|
|
114
|
-
"
|
|
115
|
-
"apply-utility-types": "off",
|
|
106
|
+
"typescript": "off",
|
|
116
107
|
"convert-esm-to-commonjs": "off",
|
|
117
108
|
"convert-commonjs-to-esm": "off",
|
|
118
109
|
"nodejs/convert-top-level-return": "off",
|
|
119
|
-
"convert-generic-to-shorthand": "off",
|
|
120
|
-
"remove-useless-types": "off",
|
|
121
|
-
"remove-useless-mapped-types": "off",
|
|
122
|
-
"remove-useless-mapping-modifiers": "off",
|
|
123
|
-
"remove-useless-types-from-constants": "off",
|
|
124
|
-
"remove-unused-types": "off",
|
|
125
110
|
"putout": "off",
|
|
126
111
|
"putout-config": "off",
|
|
127
112
|
"eslint": "off",
|
|
@@ -134,8 +119,7 @@
|
|
|
134
119
|
"tape": "off",
|
|
135
120
|
"strict-mode": "off",
|
|
136
121
|
"regexp/convert-replace-to-replace-all": "off",
|
|
137
|
-
"convert-mock-require-to-mock-import": "off"
|
|
138
|
-
"remove-duplicate-interface-keys": "off"
|
|
122
|
+
"convert-mock-require-to-mock-import": "off"
|
|
139
123
|
},
|
|
140
124
|
"plugins": [
|
|
141
125
|
"apply-await-import",
|
|
@@ -143,8 +127,6 @@
|
|
|
143
127
|
"apply-destructuring",
|
|
144
128
|
"apply-optional-chaining",
|
|
145
129
|
"apply-numeric-separators",
|
|
146
|
-
"apply-as-type-assertions",
|
|
147
|
-
"apply-utility-types",
|
|
148
130
|
"apply-if-condition",
|
|
149
131
|
"extract-object-properties",
|
|
150
132
|
"extract-sequence-expressions",
|
|
@@ -158,7 +140,6 @@
|
|
|
158
140
|
"remove-empty",
|
|
159
141
|
"remove-unreferenced-variables",
|
|
160
142
|
"remove-unused-variables",
|
|
161
|
-
"remove-unused-types",
|
|
162
143
|
"remove-unused-for-of-variables",
|
|
163
144
|
"remove-unused-private-fields",
|
|
164
145
|
"remove-unused-expressions",
|
|
@@ -166,8 +147,6 @@
|
|
|
166
147
|
"remove-useless-map",
|
|
167
148
|
"remove-useless-new",
|
|
168
149
|
"remove-useless-constructor",
|
|
169
|
-
"remove-useless-mapped-types",
|
|
170
|
-
"remove-useless-mapping-modifiers",
|
|
171
150
|
"remove-useless-array-constructor",
|
|
172
151
|
"remove-useless-continue",
|
|
173
152
|
"remove-useless-operand",
|
|
@@ -178,8 +157,6 @@
|
|
|
178
157
|
"remove-useless-spread",
|
|
179
158
|
"remove-useless-return",
|
|
180
159
|
"remove-useless-typeof",
|
|
181
|
-
"remove-useless-types",
|
|
182
|
-
"remove-useless-types-from-constants",
|
|
183
160
|
"remove-useless-type-conversion",
|
|
184
161
|
"remove-useless-functions",
|
|
185
162
|
"remove-useless-template-expressions",
|
|
@@ -188,9 +165,7 @@
|
|
|
188
165
|
"remove-constant-conditions",
|
|
189
166
|
"remove-boolean-from-assertions",
|
|
190
167
|
"remove-boolean-from-logical-expressions",
|
|
191
|
-
"remove-duplicates-from-union",
|
|
192
168
|
"remove-duplicates-from-logical-expressions",
|
|
193
|
-
"remove-duplicate-interface-keys",
|
|
194
169
|
"remove-duplicate-case",
|
|
195
170
|
"remove-nested-blocks",
|
|
196
171
|
"remove-unreachable-code",
|
|
@@ -220,7 +195,6 @@
|
|
|
220
195
|
"convert-template-to-string",
|
|
221
196
|
"convert-equal-to-strict-equal",
|
|
222
197
|
"convert-index-of-to-includes",
|
|
223
|
-
"convert-generic-to-shorthand",
|
|
224
198
|
"convert-mock-require-to-mock-import",
|
|
225
199
|
"convert-assignment-to-arrow-function",
|
|
226
200
|
"convert-assignment-to-comparison",
|
|
@@ -233,6 +207,7 @@
|
|
|
233
207
|
"putout",
|
|
234
208
|
"putout-config",
|
|
235
209
|
"promises",
|
|
210
|
+
"typescript",
|
|
236
211
|
"gitignore",
|
|
237
212
|
"npmignore",
|
|
238
213
|
"browserlist",
|