apr-reduce
Advanced tools
Comparing version 1.0.5 to 3.0.0
{ | ||
"name": "apr-reduce", | ||
"version": "1.0.5", | ||
"license": "MIT", | ||
"version": "3.0.0", | ||
"description": "Reduces coll into a single value using an async iteratee to return each successive step.", | ||
@@ -25,10 +26,21 @@ "keywords": [ | ||
"bugs": "https://github.com/ramitos/apr/issues", | ||
"license": "MIT", | ||
"author": "Sérgio Ramos <mail@sergioramos.me> (http://sergioramos.me)", | ||
"main": "src/index.js", | ||
"repository": "ramitos/apr", | ||
"main": "dist/apr-apply.umd.js", | ||
"jsnext:main": "dist/apr-apply.es.js", | ||
"module": "dist/apr-apply.es.js", | ||
"entry": "index.js", | ||
"files": [ | ||
"dist" | ||
], | ||
"scripts": { | ||
"prepublish": "NODE_ENV=production bup" | ||
}, | ||
"dependencies": { | ||
"apr-engine-each": "^1.0.3", | ||
"apr-engine-each": "^3.0.0", | ||
"lodash.defaults": "^4.2.0" | ||
}, | ||
"devDependencies": { | ||
"bup": "^4.1.3" | ||
} | ||
} |
@@ -5,14 +5,20 @@ <!-- Generated by documentation.js. Update this documentation by updating the source code. --> | ||
<a id="reduce"></a> | ||
Reduces `coll` into a single value using an async `iteratee` to return each successive step. | ||
<a id="reduce"></a> Reduces `coll` into a single value using an async `iteratee` | ||
to return each successive step. | ||
[![](https://img.shields.io/npm/v/apr-reduce.svg?style=flat-square)](https://www.npmjs.com/package/apr-reduce) [![](https://img.shields.io/npm/l/apr-reduce.svg?style=flat-square)](https://www.npmjs.com/package/apr-reduce) | ||
[![](https://img.shields.io/npm/v/apr-reduce.svg?style=flat-square)](https://www.npmjs.com/package/apr-reduce) | ||
[![](https://img.shields.io/npm/l/apr-reduce.svg?style=flat-square)](https://www.npmjs.com/package/apr-reduce) | ||
**Parameters** | ||
- `input` **([Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array) \| [Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object) | Iterable)** | ||
- `fn` | ||
- `sum` | ||
- `opts` | ||
- `iteratee` **[Function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function)** | ||
* `input` | ||
**([Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array) | ||
\| | ||
[Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object) | ||
| Iterable)** | ||
* `fn` | ||
* `sum` | ||
* `opts` | ||
* `iteratee` | ||
**[Function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function)** | ||
@@ -29,2 +35,3 @@ **Examples** | ||
Returns **[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)** | ||
Returns | ||
**[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)** |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12626
5
123
36
1
+ Addedapr-engine-each@3.0.3(transitive)
+ Addedapr-engine-iterator@3.0.3(transitive)
+ Addedapr-engine-run@3.0.3(transitive)
+ Addedapr-engine-until@3.0.3(transitive)
- Removedapr-engine-each@1.0.3(transitive)
- Removedapr-engine-iterator@1.0.3(transitive)
- Removedapr-engine-run@1.0.3(transitive)
- Removedapr-engine-until@1.0.3(transitive)
Updatedapr-engine-each@^3.0.0