Skip to content

Commit

Permalink
Updated docs for v2.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Akopyan committed Apr 17, 2023
1 parent b0aa13d commit b72921f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# CHANGELOG

### 2.4.0 - 17 Apr 2023
* Added new method cloneStructure (node > v17)

### 2.3.2 - 03 Jun 2022
* Changed some rules in ESLint
* Changes in documentation
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Available methods:
- getNestedProperty
- fetchNestedProperty
- cloneObject
- cloneStructure

 

Expand Down Expand Up @@ -82,6 +83,12 @@ Deep cloning of object
const objCopy = resolver.cloneObject(obj);
```

### cloneStructure(obj, options)
Deep cloning of structure
```js
const structureCopy = resolver.cloneStructure(obj, options);
```

## Examples

```js
Expand Down

0 comments on commit b72921f

Please sign in to comment.