New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

yaku

Package Overview
Dependencies
Maintainers
1
Versions
137
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yaku - npm Package Compare versions

Comparing version 0.11.3 to 0.11.4

12

lib/promisify.js

@@ -19,8 +19,8 @@ var _ = require("./_");

switch (len) {
case 0: fn(cb); break;
case 1: isFn(a) ? fn(a) : fn(a, cb); break;
case 2: isFn(b) ? fn(a, b) : fn(a, b, cb); break;
case 3: isFn(c) ? fn(a, b, c) : fn(a, b, c, cb); break;
case 4: isFn(d) ? fn(a, b, c, d) : fn(a, b, c, d, cb); break;
case 5: isFn(e) ? fn(a, b, c, d, e) : fn(a, b, c, d, e, cb); break;
case 0: fn.call(self, cb); break;
case 1: isFn(a) ? fn.call(self, a) : fn.call(self, a, cb); break;
case 2: isFn(b) ? fn.call(self, a, b) : fn.call(self, a, b, cb); break;
case 3: isFn(c) ? fn.call(self, a, b, c) : fn.call(self, a, b, c, cb); break;
case 4: isFn(d) ? fn.call(self, a, b, c, d) : fn.call(self, a, b, c, d, cb); break;
case 5: isFn(e) ? fn.call(self, a, b, c, d, e) : fn.call(self, a, b, c, d, e, cb); break;
default:

@@ -27,0 +27,0 @@ args = new Array(len);

/*
Yaku v0.11.3
Yaku v0.11.4
(c) 2015 Yad Smood. http://ysmood.org

@@ -4,0 +4,0 @@ License MIT

{
"name": "yaku",
"version": "0.11.3",
"version": "0.11.4",
"description": "A light-weight ES6 Promises/A+ implementation that doesn't hurt.",

@@ -5,0 +5,0 @@ "main": "lib/yaku.js",

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