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.1.0 to 1.2.0

4

index.js

@@ -6,3 +6,3 @@ 'use strict';

module.exports = function (input) {
const args = Array.isArray(input) ? input : [].slice.apply(arguments);
const args = Array.isArray(input) ? input : arguments;

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

return args.slice(1).reduce((a, b) => {
return [].slice.call(args, 1).reduce((a, b) => {
return function () {

@@ -16,0 +16,0 @@ return Promise.resolve(a.apply(null, arguments)).then(b);

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

@@ -40,6 +40,3 @@ "license": "MIT",

"xo": "*"
},
"xo": {
"esnext": true
}
}

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

```
$ npm install --save p-pipe
$ npm install p-pipe
```

@@ -12,0 +12,0 @@

Sorry, the diff of this file is not supported yet

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