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.2.1 to 0.3.0

test/queue.js

4

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

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

"dependencies": {
"q": ">=0.5.2"
"q": ">=0.7.0"
},

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

@@ -14,2 +14,9 @@ (function (require, exports) {

// ES5 shim
var isArray =
Array.isArray =
Array.isArray || function (object) {
return Object.prototype.toString.call(o) === "[object Array]";
};
// Copyright (C) 2010 Google Inc.

@@ -208,9 +215,11 @@ //

for (var i in object) {
(function (i, value) {
synchronize = Q.when(synchronize, function () {
return Q.when(deep(value), function (value) {
object[i] = value;
if (Object.prototype.hasOwnProperty.call(object, i)) {
(function (i, value) {
synchronize = Q.when(synchronize, function () {
return Q.when(deep(value), function (value) {
object[i] = value;
});
});
});
})(i, object[i]);
})(i, object[i]);
}
}

@@ -320,3 +329,3 @@ return Q.when(synchronize, function () {

};
if (Array.isArray(constructor)) {
if (isArray(constructor)) {
constructor.forEach(forward);

@@ -323,0 +332,0 @@ } else {

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