putout 29.12.12 → 29.13.1
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 +13 -0
- package/README.md +3 -9
- package/lib/cli/index.js +1 -3
- package/package.json +3 -2
- package/putout.json +1 -0
package/ChangeLog
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
2023.06.13, v29.13.1
|
|
2
|
+
|
|
3
|
+
feature:
|
|
4
|
+
- 7eb70588a package: @putout/plugin-convert-assignment-to-comparison v2.0.0
|
|
5
|
+
- f77a5eaf7 @putout/plugin-convert-assignment-to-comparison: drop support of 🐊 < 29
|
|
6
|
+
|
|
7
|
+
2023.06.13, v29.13.0
|
|
8
|
+
|
|
9
|
+
feature:
|
|
10
|
+
- fa0df1d32 @putout/plugin-simplify-boolean-return: add
|
|
11
|
+
- 2bccf0897 @putout/compare: add support of __bool
|
|
12
|
+
- 520a68081 @putout/compare: vars: add support of extra parenthesized
|
|
13
|
+
|
|
1
14
|
2023.06.13, v29.12.12
|
|
2
15
|
|
|
3
16
|
feature:
|
package/README.md
CHANGED
|
@@ -242,9 +242,7 @@ When you need to ignore some routes no metter what, you can use `ignore` section
|
|
|
242
242
|
|
|
243
243
|
```json
|
|
244
244
|
{
|
|
245
|
-
"ignore": [
|
|
246
|
-
"test/fixture"
|
|
247
|
-
]
|
|
245
|
+
"ignore": ["test/fixture"]
|
|
248
246
|
}
|
|
249
247
|
```
|
|
250
248
|
|
|
@@ -261,9 +259,7 @@ For example if you need to `remove-something` create 🐊[**Putout**](https://gi
|
|
|
261
259
|
|
|
262
260
|
```json
|
|
263
261
|
{
|
|
264
|
-
"plugins": [
|
|
265
|
-
"remove-something"
|
|
266
|
-
]
|
|
262
|
+
"plugins": ["remove-something"]
|
|
267
263
|
}
|
|
268
264
|
```
|
|
269
265
|
|
|
@@ -285,9 +281,7 @@ const source = `
|
|
|
285
281
|
`;
|
|
286
282
|
|
|
287
283
|
putout(source, {
|
|
288
|
-
plugins: [
|
|
289
|
-
'remove-unused-variables',
|
|
290
|
-
],
|
|
284
|
+
plugins: ['remove-unused-variables'],
|
|
291
285
|
});
|
|
292
286
|
|
|
293
287
|
// returns
|
package/lib/cli/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "putout",
|
|
3
|
-
"version": "29.
|
|
3
|
+
"version": "29.13.1",
|
|
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",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"@putout/plugin-convert-arguments-to-rest": "^2.0.0",
|
|
83
83
|
"@putout/plugin-convert-array-copy-to-slice": "^3.0.0",
|
|
84
84
|
"@putout/plugin-convert-assignment-to-arrow-function": "^1.0.0",
|
|
85
|
-
"@putout/plugin-convert-assignment-to-comparison": "^
|
|
85
|
+
"@putout/plugin-convert-assignment-to-comparison": "^2.0.0",
|
|
86
86
|
"@putout/plugin-convert-commonjs-to-esm": "^9.0.0",
|
|
87
87
|
"@putout/plugin-convert-concat-to-flat": "^1.0.0",
|
|
88
88
|
"@putout/plugin-convert-const-to-let": "^1.0.0",
|
|
@@ -152,6 +152,7 @@
|
|
|
152
152
|
"@putout/plugin-remove-useless-variables": "^8.0.0",
|
|
153
153
|
"@putout/plugin-reuse-duplicate-init": "^4.0.0",
|
|
154
154
|
"@putout/plugin-simplify-assignment": "^3.0.0",
|
|
155
|
+
"@putout/plugin-simplify-boolean-return": "^1.0.0",
|
|
155
156
|
"@putout/plugin-simplify-ternary": "^5.0.1",
|
|
156
157
|
"@putout/plugin-split-nested-destructuring": "^3.0.0",
|
|
157
158
|
"@putout/plugin-split-variable-declarations": "^3.0.0",
|