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

check-deps-versions

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

check-deps-versions - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

7

index.js

@@ -34,3 +34,3 @@ const chalk = require('chalk');

if (versionsInRange.length === 0) {
error(`'${packageName}' does not have versions in range ${localRange}. Latest version is ${latestVersion}.`);
error(`Package \`${packageName}\` does not have versions in range ${localRange}. Latest version is ${latestVersion}.`);
return {};

@@ -47,2 +47,5 @@ }

return {};
})
.catch(err => {
error(err.message);
});

@@ -56,3 +59,3 @@

updates.reduce((result, update, index) => {
if (update.latest) {
if (update && update.latest) { // update will be undefined if the promise is rejected (which happens when the package doesn't exist)
result[packages[index]] = update;

@@ -59,0 +62,0 @@ }

{
"name": "check-deps-versions",
"version": "0.0.6",
"version": "0.0.7",
"description": "Check if dependencies specified in package.json are up to date with the latest available versions.",

@@ -5,0 +5,0 @@ "repository": {

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