From 122d56d0ef0eb89fd454f3e05fb423ee5ac58edd Mon Sep 17 00:00:00 2001 From: sttk Date: Sun, 13 May 2018 07:04:16 +0900 Subject: [PATCH] 1.3.2 --- README.md | 4 +++- package.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 72b7cde..4ba167b 100644 --- a/README.md +++ b/README.md @@ -93,6 +93,7 @@ Executes the *fn* function for all properties. | *depth* | number | The depth of the property. | | *parent* | object | The parent node of the property. | | *sort* |function| A sort function which orders the child properties. This function is inherited from *opts*, if be specified. | + ... and any properties inherited from *opts*. * **Properties of opts** @@ -100,6 +101,7 @@ Executes the *fn* function for all properties. | Properties | Type | Description | |:-------------|:------:|:-----------------------------------------| | *sort* |function| A sort function which orders the same level properties. (Optional) | + ... and any properties you want to pass to each node. ## License @@ -110,7 +112,7 @@ This program is free software under [MIT][mit-url] License. See the file LICENSE in this distribution for more details. [repo-url]: https://github.com/sttk/each-props/ -[npm-img]: https://img.shields.io/badge/npm-v1.3.1-blue.svg +[npm-img]: https://img.shields.io/badge/npm-v1.3.2-blue.svg [npm-url]: https://www.npmjs.org/package/each-props/ [mit-img]: https://img.shields.io/badge/license-MIT-green.svg [mit-url]: https://opensource.org/licenses.MIT diff --git a/package.json b/package.json index ea5118c..d6476e9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "each-props", - "version": "1.3.1", + "version": "1.3.2", "description": "Processes each properties of an object deeply.", "main": "index.js", "files": [