Socket
Socket
Sign inDemoInstall

promiser.js

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

promiser.js - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

package.json
{
"name": "promiser.js",
"version": "1.0.3",
"version": "1.0.4",
"description": "Creates a native ES6 Promise from a function which takes a node style Error-First callback.",

@@ -5,0 +5,0 @@ "main": "promiser.js",

@@ -11,3 +11,7 @@ const createPromise = (fttc, context) => {

} else {
resolve(res);
if (res.length > 1) {
resolve(res);
} else {
resolve(res[0]);
}
}

@@ -14,0 +18,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