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

q

Package Overview
Dependencies
Maintainers
0
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

q - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

q/test/methods.js

9

q/lib/q.js

@@ -1,2 +0,2 @@

// vim:ts=4:sts=4:sw=4:
// Tyler Close

@@ -254,4 +254,5 @@ // Ported and revised by Kris Kowal

reject.prototype = create(Promise.prototype);
reject.prototype.constructor = reject;
reject.prototype = create(Promise.prototype, {
constructor: { value: reject }
});

@@ -280,3 +281,3 @@ /**

},
"delete": function (name) {
"del": function (name) {
delete object[name];

@@ -283,0 +284,0 @@ },

{
"name": "q",
"description": "defer/when-style promises (CommonJS/Promises/B)",
"version": "0.2.3",
"version": "0.2.4",
"homepage": "http://github.com/kriskowal/q/",

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

@@ -9,4 +9,5 @@ 'use strict'

exports['test multiple listeners'] = require('./multiple-listeners')
exports['test methods'] = require('./methods')
if (module == require.main) require('test').run(exports)

@@ -122,3 +122,3 @@ 'use strict'

, resolve
, function resolved(v) {
, function rejected(v) {
assert.equal(v, v1, 'promise#1 delegates rejection')

@@ -129,5 +129,5 @@ done()

d1.resolve(v1)
d1.reject(v1)
}
if (module == require.main) require('test').run(exports)

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