Socket
Socket
Sign inDemoInstall

args

Package Overview
Dependencies
12
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.2 to 3.0.3

10

lib/utils.js

@@ -323,6 +323,10 @@ 'use strict';

// Load parent module
pkginfo(parent);
try {
pkginfo(parent);
} catch (err) {
// Do nothing, but version could not be aquired
}
// And get its version propery
const version = parent.exports.version;
// And get its version property
const version = parent.exports.version || '-/-';

@@ -329,0 +333,0 @@ if (version) {

{
"name": "args",
"version": "3.0.2",
"version": "3.0.3",
"description": "Minimal toolkit for building CLIs",

@@ -44,8 +44,8 @@ "files": [

"devDependencies": {
"ava": "0.19.1",
"eslint-config-prettier": "2.0.0",
"execa": "0.6.3",
"husky": "0.13.3",
"lint-staged": "3.4.1",
"prettier": "1.3.1",
"ava": "0.21.0",
"eslint-config-prettier": "2.3.0",
"execa": "0.7.0",
"husky": "0.14.3",
"lint-staged": "4.0.1",
"prettier": "1.5.3",
"xo": "0.18.2"

@@ -55,7 +55,7 @@ },

"camelcase": "4.1.0",
"chalk": "1.1.3",
"chalk": "2.0.1",
"minimist": "1.2.0",
"pkginfo": "0.4.0",
"string-similarity": "1.1.0"
"string-similarity": "1.2.0"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc