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.4.0 to 0.4.1

2

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

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

@@ -187,2 +187,6 @@ // vim:ts=4:sts=4:sw=4:

Promise.prototype.end = function () {
return when(this, undefined, error);
};
Promise.prototype.toSource = function () {

@@ -538,3 +542,4 @@ return this.toString();

*/
exports.error = function (reason) {
exports.error = error;
function error(reason) {
throw reason;

@@ -541,0 +546,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