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

qq

Package Overview
Dependencies
Maintainers
0
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qq - npm Package Compare versions

Comparing version 0.1.2 to 0.2.0

4

package.json
{
"name": "qq",
"description": "A heavy-weight library for promises, based on Q",
"version": "0.1.2",
"version": "0.2.0",
"homepage": "http://github.com/kriskowal/qq/",

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

"dependencies": {
"q": ">=0.4.0"
"q": ">=0.5.0"
},

@@ -34,0 +34,0 @@ "devDependencies": {

@@ -312,11 +312,19 @@ (function (require, exports) {

var proxy = Object.create(result.promise);
while (prototype !== Object.prototype) {
Object.getOwnPropertyNames(prototype).forEach(function (name) {
if (typeof prototype[name] === "function") {
proxy[name] = function () {
return Q.post(result.promise, name, arguments);
};
}
});
prototype = Object.getPrototypeOf(prototype);
var forward = function (name) {
proxy[name] = function () {
var args = Array.prototype.slice.call(arguments);
return Q.post(result.promise, name, args);
};
};
if (Array.isArray(constructor)) {
constructor.forEach(forward);
} else {
while (prototype !== Object.prototype) {
Object.getOwnPropertyNames(prototype).forEach(function (name) {
if (typeof prototype[name] === "function") {
forward(name);
}
});
prototype = Object.getPrototypeOf(prototype);
}
}

@@ -323,0 +331,0 @@ return proxy;

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