Skip to content

Commit bfe754e

Browse files
author
sttk
committed
1.2.0
1 parent cdaf188 commit bfe754e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Usage
7979
// => { a: 1, b: { c: 'CCC' }, d: { e: 'EEE' } }
8080
```
8181

82-
* Can copy reversively (from *dst* to *src*) by option `{ reverse: true }` :
82+
* Can copy reversively (from *dst* to *src*) by option `{ reverse: true }` (and return *src*):
8383

8484
```js
8585
var src = { a: 1, b: { b1: 'bbb' }, c: 'ccc' };
@@ -177,7 +177,7 @@ copyProps(src, dst, {
177177

178178
*opts* can have following properties:
179179

180-
* **reverse** [boolean] : Copys reversively from *dst* to *src*. *fromToProps* is also reversively used from value to key. This default value is `false`.
180+
* **reverse** [boolean] : Copys reversively from *dst* to *src* and returns *src* object. *fromToProps* is also reversively used from value to key. This default value is `false`.
181181
* **rejectNull** [boolean] : if this option is `true`, a value of a source object or a return value of *converter* is not copied when the value is null. The default value is `true`.
182182

183183

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "copy-props",
3-
"version": "1.1.0",
3+
"version": "1.2.0",
44
"description": "Copy properties deeply between two objects.",
55
"main": "index.js",
66
"files": [

0 commit comments

Comments
 (0)