putout 29.12.11 → 29.13.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 CHANGED
@@ -1,3 +1,16 @@
1
+ 2023.06.13, v29.13.0
2
+
3
+ feature:
4
+ - fa0df1d32 @putout/plugin-simplify-boolean-return: add
5
+ - 2bccf0897 @putout/compare: add support of __bool
6
+ - 520a68081 @putout/compare: vars: add support of extra parenthesized
7
+
8
+ 2023.06.13, v29.12.12
9
+
10
+ feature:
11
+ - e028f142f package: @putout/plugin-split-nested-destructuring v3.0.0
12
+ - d5fcd28e1 @putout/plugin-split-nested-destructuring: drop support of 🐊 < 29
13
+
1
14
  2023.06.12, v29.12.11
2
15
 
3
16
  fix:
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
@@ -87,9 +87,7 @@ module.exports = async ({argv, halt, log, write, logError, readFile, writeFile})
87
87
  'config',
88
88
  'staged',
89
89
  ],
90
- number: [
91
- 'fix-count',
92
- ],
90
+ number: ['fix-count'],
93
91
  string: [
94
92
  'format',
95
93
  'disable',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "putout",
3
- "version": "29.12.11",
3
+ "version": "29.13.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",
@@ -152,8 +152,9 @@
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
- "@putout/plugin-split-nested-destructuring": "^2.0.0",
157
+ "@putout/plugin-split-nested-destructuring": "^3.0.0",
157
158
  "@putout/plugin-split-variable-declarations": "^3.0.0",
158
159
  "@putout/plugin-strict-mode": "^6.0.0",
159
160
  "@putout/plugin-tape": "^11.0.0",
package/putout.json CHANGED
@@ -190,6 +190,7 @@
190
190
  "split-variable-declarations",
191
191
  "split-nested-destructuring",
192
192
  "simplify-assignment",
193
+ "simplify-boolean-return",
193
194
  "simplify-ternary",
194
195
  "convert-const-to-let",
195
196
  "convert-esm-to-commonjs",