@putout/plugin-destructuring 1.0.1 → 1.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/README.md CHANGED
@@ -23,6 +23,7 @@ npm i @putout/plugin-destructuring
23
23
  - ✅ [convert-object-to-array](#convert-object-to-array);
24
24
  - ✅ [split-nested](#split-nested);
25
25
  - ✅ [split-call](#split-call);
26
+ - ✅ [merge-properties](#merge-properties);
26
27
 
27
28
  ## Config
28
29
 
@@ -32,7 +33,10 @@ npm i @putout/plugin-destructuring
32
33
  "destructuring/apply-object": "on",
33
34
  "destructuring/apply-array": "on",
34
35
  "destructuring/remove-useless-object": "on",
35
- "destructuring/convert-object-to-array": "on"
36
+ "destructuring/convert-object-to-array": "on",
37
+ "destructuring/split-nested": "on",
38
+ "destructuring/split-call": "on",
39
+ "destructuring/merge-properties": "on"
36
40
  }
37
41
  }
38
42
  ```
package/lib/index.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import * as convertObjectToArray from './convert-object-to-array/index.js';
2
- import * as object from './object/index.js';
3
- import * as array from './array/index.js';
4
- import * as falsy from './falsy/index.js';
2
+ import * as applyObject from './apply-object/index.js';
3
+ import * as applyArray from './apply-array/index.js';
4
+ import * as removeUselessObject from './remove-useless-object/index.js';
5
5
  import * as splitNested from './split-nested/index.js';
6
6
  import * as splitCall from './split-call/index.js';
7
7
  import * as mergeProperties from './merge-properties/index.js';
8
8
 
9
9
  export const rules = {
10
- 'apply-object': object,
11
- 'apply-array': array,
12
- 'remove-useless-object': falsy,
10
+ 'apply-object': applyObject,
11
+ 'apply-array': applyArray,
12
+ 'remove-useless-object': removeUselessObject,
13
13
  'convert-object-to-array': convertObjectToArray,
14
14
  'split-nested': splitNested,
15
15
  'split-call': splitCall,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/plugin-destructuring",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "type": "module",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "🐊Putout plugin adds ability to transform destructuring",
File without changes
File without changes
File without changes