@putout/operate
Advanced tools
Comparing version 8.10.0 to 8.11.0
@@ -19,2 +19,4 @@ 'use strict'; | ||
} = require('./get-binding'); | ||
const {isSimple} = require('./is-simple'); | ||
const {extract} = require('./extract'); | ||
@@ -28,2 +30,3 @@ const {compute} = require('./compute'); | ||
} = require('./properties'); | ||
const {assign} = Object; | ||
@@ -40,2 +43,3 @@ | ||
module.exports.toExpression = toExpression; | ||
module.exports.isSimple = isSimple; | ||
@@ -42,0 +46,0 @@ function toExpression(el) { |
{ | ||
"name": "@putout/operate", | ||
"version": "8.10.0", | ||
"version": "8.11.0", | ||
"type": "commonjs", | ||
@@ -5,0 +5,0 @@ "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)", |
@@ -20,2 +20,11 @@ # Operate [![NPM version][NPMIMGURL]][NPMURL] [![Coverage Status][CoverageIMGURL]][CoverageURL] | ||
### `isSimple(path | node)` | ||
Check if path is: | ||
- `Literal`; | ||
- `Identifier`; | ||
- `MemberExpression`; | ||
- `OptionalMemberExpression`; | ||
### `extract(path)` | ||
@@ -22,0 +31,0 @@ |
18405
11
372
186