Comparing version 0.4.0 to 0.4.1
{ | ||
"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/)", |
7
q.js
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
124298
2560
0