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

@ject/pipe

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ject/pipe - npm Package Compare versions

Comparing version 0.0.7 to 0.0.9

18

dist/index.cjs.js

@@ -23,16 +23,6 @@ 'use strict';

let l = funcs.length;
switch (l) {
case 0:
return void 0;
case 1:
return funcs[0];
case 2:
return duopipe.apply(null, funcs);
default:
return pipemany.apply(null, funcs);
}
if (l === 0) return void 0;
if (l === 1) return funcs[0];
if (l === 2) return duopipe.apply(null, funcs);
return pipemany.apply(null, funcs);
};

@@ -39,0 +29,0 @@

@@ -19,18 +19,8 @@ const duopipe = (alpha, beta) => {

let l = funcs.length;
switch (l) {
case 0:
return void 0;
case 1:
return funcs[0];
case 2:
return duopipe.apply(null, funcs);
default:
return pipemany.apply(null, funcs);
}
if (l === 0) return void 0;
if (l === 1) return funcs[0];
if (l === 2) return duopipe.apply(null, funcs);
return pipemany.apply(null, funcs);
};
export { duopipe, pipe };
{
"name": "@ject/pipe",
"version": "0.0.7",
"version": "0.0.9",
"description": "Util for functions",

@@ -31,3 +31,3 @@ "main": "dist/index.cjs.js",

"homepage": "https://github.com/hoyeungw/ject#readme",
"gitHead": "5f5af8ef9203ca0a67074491d632ac4caece8d3e"
"gitHead": "09ab70b01ef0359753825bbb8c980cf6603740b1"
}
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