Socket
Socket
Sign inDemoInstall

q

Package Overview
Dependencies
Maintainers
2
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.9.7 to 1.0.0

2

package.json
{
"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",

@@ -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 @@ ) {

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