Comparing version 0.9.7 to 1.0.0
{ | ||
"name": "q", | ||
"version": "0.9.7", | ||
"version": "1.0.0", | ||
"description": "A library for promises (CommonJS/Promises/A,B,D)", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/kriskowal/q", |
14
q.js
@@ -214,5 +214,4 @@ // vim:ts=4:sts=4:sw=4: | ||
// this is just plain paranoid. | ||
// However, this does have the nice side-effect of reducing the size | ||
// of the code by reducing x.call() to merely x(), eliminating many | ||
// hard-to-minify characters. | ||
// However, this **might** have the nice side-effect of reducing the size of | ||
// the minified code by reducing x.call() to merely x() | ||
// See Mark Miller’s explanation of what this does. | ||
@@ -533,3 +532,3 @@ // http://wiki.ecmascript.org/doku.php?id=conventions:safe_meta_programming | ||
// XXX deprecated | ||
promise.valueOf = deprecate(function () { | ||
promise.valueOf = function () { | ||
if (messages) { | ||
@@ -543,3 +542,3 @@ return promise; | ||
return nearerValue; | ||
}, "valueOf", "inspect"); | ||
}; | ||
@@ -776,3 +775,3 @@ promise.inspect = function () { | ||
promise.valueOf = deprecate(function () { | ||
promise.valueOf = function () { | ||
var inspected = inspect(); | ||
@@ -784,3 +783,3 @@ if (inspected.state === "pending" || | ||
return inspected.value; | ||
}); | ||
}; | ||
} | ||
@@ -993,3 +992,2 @@ | ||
typeof window !== "undefined" && | ||
!window.Touch && | ||
window.console | ||
@@ -996,0 +994,0 @@ ) { |
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
Mixed license
License(Experimental) Package contains multiple licenses.
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
91025
1
1838