apr-waterfall
Advanced tools
Comparing version 1.0.5 to 3.0.0
{ | ||
"name": "apr-waterfall", | ||
"version": "1.0.5", | ||
"license": "MIT", | ||
"version": "3.0.0", | ||
"description": "Runs the tasks array of functions in series, each passing their results to the next in the array.", | ||
@@ -25,9 +26,20 @@ "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" | ||
}, | ||
"devDependencies": { | ||
"bup": "^4.1.3" | ||
} | ||
} |
@@ -5,12 +5,16 @@ <!-- Generated by documentation.js. Update this documentation by updating the source code. --> | ||
<a id="waterfall"></a> | ||
Runs the `tasks` array of functions in series, each passing their results to the next in the array. | ||
<a id="waterfall"></a> Runs the `tasks` array of functions in series, each | ||
passing their results to the next in the array. | ||
[![](https://img.shields.io/npm/v/apr-waterfall.svg?style=flat-square)](https://www.npmjs.com/package/apr-waterfall) [![](https://img.shields.io/npm/l/apr-waterfall.svg?style=flat-square)](https://www.npmjs.com/package/apr-waterfall) | ||
[![](https://img.shields.io/npm/v/apr-waterfall.svg?style=flat-square)](https://www.npmjs.com/package/apr-waterfall) | ||
[![](https://img.shields.io/npm/l/apr-waterfall.svg?style=flat-square)](https://www.npmjs.com/package/apr-waterfall) | ||
**Parameters** | ||
- `input` | ||
- `initial` **Any?** | ||
- `tasks` **([Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)<[Function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function)> | [Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object))** | ||
* `input` | ||
* `initial` **Any?** | ||
* `tasks` | ||
**([Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)<[Function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function)> | ||
| | ||
[Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object))** | ||
@@ -33,2 +37,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)** |
12966
5
141
38
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