🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

promise.pipe

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

promise.pipe - npm Package Compare versions

Comparing version

to
3.0.0

4

index.js

@@ -12,4 +12,4 @@ module.exports = pipe

function rest (ar) {
return ar.slice(1)
function rest (array) {
return array.slice(1)
}

@@ -16,0 +16,0 @@

{
"name": "promise.pipe",
"version": "1.0.2",
"version": "3.0.0",
"description": "Performs left to right composition of one or more functions whom return promises",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -26,3 +26,3 @@ # promise-pipe

#### `pipe(Array<Function<Promise>>, or Function<Promise>)` -> `promise`
#### `pipe(callbacks..., or Array<callbacks>)` -> `promise`

@@ -29,0 +29,0 @@ Runs multiple promise-returning functions in a series, passing each result to the next defined promise-returning function.