Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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 1.0.2 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.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc