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

envinfo

Package Overview
Dependencies
Maintainers
1
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

envinfo - npm Package Compare versions

Comparing version 3.3.0 to 3.4.0

13

envinfo.js

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

console.log('\x1b[4mPackages:\x1b[0m');
console.log('\x1b[4mPackages:\x1b[0m (wanted => installed)');

@@ -157,3 +157,12 @@ var devDependencies = packageJson.devDependencies || {};

var logFunction = function(dep) {
if (allDependencies[dep]) console.log(' ' + dep + ': ', allDependencies[dep]);
if (allDependencies[dep]) {
var wanted = allDependencies[dep];
var installed;
try {
installed = require(process.cwd() + '/node_modules/' + dep + '/package.json').version;
} catch (err) {
installed = 'Not Installed';
}
console.log(' ' + dep + ': ' + wanted + ' => ' + installed);
}
};

@@ -160,0 +169,0 @@

2

package.json
{
"name": "envinfo",
"version": "3.3.0",
"version": "3.4.0",
"description": "Info about your dev environment for debugging purposes",

@@ -5,0 +5,0 @@ "repository": "https://github.com/tabrindle/envinfo",

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