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

10

index.js

@@ -20,2 +20,6 @@ const path = require('path');

packageJsonPath = path.resolve(specifiedPackageJsonLocation, 'package.json');
if (!fileExists(packageJsonPath)) {
errorAndExit(`${packageJsonPath} doesn't exist`);
}
} else {

@@ -25,6 +29,6 @@ const findNearestFile = require('find-nearest-file');

packageJsonPath = findNearestFile('package.json');
}
if (!fileExists(packageJsonPath)) {
errorAndExit(`${packageJsonPath} doesn't exist`);
if (packageJsonPath === null) {
errorAndExit('Couldn\'t find package.json');
}
}

@@ -31,0 +35,0 @@

{
"name": "check-deps-versions",
"version": "0.2.1",
"version": "0.2.2",
"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