@putout/plugin-putout 11.8.0 → 11.9.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/README.md CHANGED
@@ -278,7 +278,7 @@ const {
278
278
  } = require('putout').types;
279
279
  ```
280
280
 
281
- ## convert-to-no-transform-code
281
+ ## convert-destructuring-to-identifier
282
282
 
283
283
  ### ❌ Example of incorrect code
284
284
 
@@ -24,6 +24,7 @@ module.exports.fix = ({path, __aPath, init}) => {
24
24
  if (compare(path, GET_TEMPLATE_VALUES_NODE)) {
25
25
  const {__a} = getTemplateValues(path, GET_TEMPLATE_VALUES_NODE);
26
26
  replaceWith(__aPath, __a);
27
+
27
28
  return;
28
29
  }
29
30
 
@@ -5,6 +5,7 @@ module.exports = {
5
5
  compare: `const {compare} = operator`,
6
6
  compareAll: `const {compareAll} = operator`,
7
7
  compareAny: `const {compareAny} = operator`,
8
+ compute: `const {compute} = operator`,
8
9
  contains: `const {contains} = operator`,
9
10
  declare: `const {declare} = operator`,
10
11
  extract: `const {extract} = operator`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/plugin-putout",
3
- "version": "11.8.0",
3
+ "version": "11.9.0",
4
4
  "type": "commonjs",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "🐊Putout plugin helps with plugins development",