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

check-node-version

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

check-node-version - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

2

bin.js

@@ -83,3 +83,3 @@ #!/usr/bin/env node

if (err) {
console.error(err.message);
console.error(err.longMessage || err.message);
process.exit(1);

@@ -86,0 +86,0 @@ return;

@@ -9,12 +9,11 @@ "use strict";

exec(command, function(err, stdin, stderr) {
if (err) {
var commandDescription = JSON.stringify(command);
if (err || stderr) {
var err = new Error("Command failed: " + commandDescription);
err.longMessage = err.message + (stderr && ("\n" + stderr.trim()));
err.execError = err;
callback(err);
}
else {
if (stderr.length > 0) {
callback(new Error(stderr.toString()));
}
else {
callback(null, stdin.toString().trim());
}
callback(null, stdin.toString().trim());
}

@@ -21,0 +20,0 @@ });

{
"name": "check-node-version",
"version": "1.1.1",
"version": "1.1.2",
"description": "Check installed versions of node and npm",

@@ -5,0 +5,0 @@ "main": "index.js",

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