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

bluefeather

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bluefeather - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

3

dist/promisify.js

@@ -20,3 +20,2 @@ 'use strict';

const multipleArguments = typeof options.multipleArguments === 'boolean' ? options.multipleArguments : false;
const context = options.context || null;

@@ -41,3 +40,3 @@ return (...args) => {

nodeFunction.apply(context, args.concat([callback]));
nodeFunction(...args.concat([callback]));
});

@@ -44,0 +43,0 @@ };

@@ -64,3 +64,3 @@ {

},
"version": "2.1.0"
"version": "2.2.0"
}

@@ -47,7 +47,5 @@ # Bluefeather

/**
* @property context Invokes `nodeFunction` using `context` as the calling object.
* @property multipleArguments Makes the resulting promise fulfill with an array of the callback's success value(s).
*/
type PromisifyOptionsType = {|
context?: any,
multipleArguments?: boolean

@@ -54,0 +52,0 @@ |};

@@ -8,3 +8,2 @@ // @flow

type PromisifyOptionsType = {|
context?: any,
multipleArguments?: boolean

@@ -21,3 +20,2 @@ |};

const multipleArguments = typeof options.multipleArguments === 'boolean' ? options.multipleArguments : false;
const context = options.context || null;

@@ -42,3 +40,5 @@ return (...args: Array<any>): Promise<any> => {

nodeFunction.apply(context, args.concat([callback]));
nodeFunction(
...args.concat([callback])
);
});

@@ -45,0 +45,0 @@ };

Sorry, the diff of this file is not supported yet

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