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

q

Package Overview
Dependencies
Maintainers
0
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

q - npm Package Compare versions

Comparing version 0.5.1 to 0.5.2

2

package.json
{
"name": "q",
"description": "A library for promises (CommonJS/Promises/A,B,D)",
"version": "0.5.1",
"version": "0.5.2",
"homepage": "http://github.com/kriskowal/q/",

@@ -6,0 +6,0 @@ "author": "Kris Kowal <kris@cixar.com> (http://github.com/kriskowal/)",

@@ -638,7 +638,9 @@ // vim:ts=4:sts=4:sw=4:

return when(promise, function (value) {
callback(value, undefined);
return value;
return when(callback(value, undefined), function () {
return value;
});
}, function (reason) {
callback(undefined, reason);
return reject(reason);
return when(callback(undefined, reason), function () {
return reject(reason);
});
});

@@ -645,0 +647,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