Socket
Socket
Sign inDemoInstall

npm-check-updates

Package Overview
Dependencies
Maintainers
2
Versions
470
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-check-updates - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

16

lib/npm-check-updates.js

@@ -200,3 +200,3 @@ var options = {};

satisfiedUpgraded = cint.filterObject(satisfiedUpgraded, function (dep) {
return !args.latest || args.latest[dep] !== args.installed[dep];
return !args.latest || !args.installed || args.latest[dep] !== args.installed[dep];
});

@@ -287,10 +287,14 @@ var numSatisfied = Object.keys(satisfiedUpgraded).length;

options = opts || {};
_.defaults(options, {
jsonUpgraded: true,
silent: true,
args: []
});
// if not executed on the command-line (i.e. executed as a node module), set some defaults
if(!options.cli) {
_.defaults(options, {
jsonUpgraded: true,
silent: true,
args: []
});
}
return vm.initialize(options.global).then(programRun);
}
}, vm);
{
"name": "npm-check-updates",
"version": "2.0.0",
"version": "2.0.1",
"author": "Tomas Junnonen <tomas1@gmail.com>",

@@ -5,0 +5,0 @@ "license": "MIT",

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