Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

p-pipe

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

p-pipe - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

6

index.js
'use strict';
// TODO: use rest/spread when targeting Node.js 6
// TODO: Use rest/spread when targeting Node.js 6
module.exports = function () {
const args = [].slice.apply(arguments);
module.exports = function (input) {
const args = Array.isArray(input) ? input : [].slice.apply(arguments);

@@ -8,0 +8,0 @@ if (args.length === 0) {

{
"name": "p-pipe",
"version": "1.0.0",
"version": "1.1.0",
"description": "Compose promise-returning & async functions into a reusable pipeline",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -34,2 +34,4 @@ # p-pipe [![Build Status](https://travis-ci.org/sindresorhus/p-pipe.svg?branch=master)](https://travis-ci.org/sindresorhus/p-pipe)

You can also specify an array as the first argument instead of multiple function arguments. Mostly only useful if you have to support Node.js 4. With Node.js 6 and above you can just use spread syntax.
#### input

@@ -45,2 +47,4 @@

- [p-each-series](https://github.com/sindresorhus/p-each-series) - Iterate over promises serially
- [p-series](https://github.com/sindresorhus/p-series) - Run promise-returning & async functions in series
- [p-waterfall](https://github.com/sindresorhus/p-waterfall) - Run promise-returning & async functions in series, each passing its result to the next
- [More…](https://github.com/sindresorhus/promise-fun)

@@ -47,0 +51,0 @@

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