Comparing version 0.3.3 to 0.3.4
@@ -9,5 +9,3 @@ #! /usr/bin/env node | ||
? process.env.USERPROFILE | ||
: process.env.SUDO_USER | ||
? join('/home', process.env.SUDO_USER) | ||
: process.env.HOME | ||
: process.env.HOME | ||
@@ -18,3 +16,3 @@ module.exports = function (name, defaults, argv) { | ||
if(!argv) | ||
argv = require('optimist').argv | ||
argv = require('minimist')(process.argv.slice(2)) | ||
defaults = ( | ||
@@ -21,0 +19,0 @@ 'string' === typeof defaults |
{ | ||
"name": "rc", | ||
"version": "0.3.3", | ||
"version": "0.3.4", | ||
"description": "hardwired configuration loader", | ||
@@ -24,3 +24,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"optimist": "~0.3.4", | ||
"minimist": "~0.0.7", | ||
"deep-extend": "~0.2.5", | ||
@@ -27,0 +27,0 @@ "ini": "~1.1.0" |
@@ -34,3 +34,3 @@ # rc | ||
* command line arguments (parsed by optimist) | ||
* command line arguments (parsed by minimist) | ||
* environment variables prefixed with `${appname}_` | ||
@@ -37,0 +37,0 @@ * if you passed an option `--config file` then from that file |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
5
10307
124
+ Addedminimist@~0.0.7
+ Addedminimist@0.0.10(transitive)
- Removedoptimist@~0.3.4
- Removedoptimist@0.3.7(transitive)
- Removedwordwrap@0.0.3(transitive)