Comparing version 0.2.2 to 0.2.3
@@ -288,2 +288,5 @@ | ||
return object[name].apply(object, args); | ||
}, | ||
"keys": function () { | ||
return Object.keys(object); | ||
} | ||
@@ -448,2 +451,10 @@ }, undefined, function valueOf() { | ||
/** | ||
* Requests the names of the owned properties of a promised | ||
* object in a future turn. | ||
* @param object promise or immediate reference for target object | ||
* @return promise for the keys of the eventually resolved object | ||
*/ | ||
exports.keys = Method("keys"); | ||
/** | ||
* Guarantees that the give promise resolves to a defined, non-null value. | ||
@@ -450,0 +461,0 @@ */ |
{ | ||
"name": "q", | ||
"description": "defer/when-style promises (CommonJS/Promises/B)", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"homepage": "http://github.com/kriskowal/q/", | ||
@@ -6,0 +6,0 @@ "author": "Kris Kowal <kris@cixar.com> (http://github.com/kriskowal/)", |
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
69015
1249