Comparing version 0.0.3 to 0.0.4
@@ -81,2 +81,3 @@ | ||
// check for a builtin if provided. | ||
exports.usingBuiltin = !!builtin | ||
var rc = exports.rootConf = new Conf() | ||
@@ -86,7 +87,8 @@ var defaults = configDefs.defaults | ||
rc.addFile(builtin, 'builtin') | ||
else { | ||
else | ||
rc.add({}, 'builtin') | ||
} | ||
rc.on('load', function () { | ||
var conf = new Conf(rc) | ||
conf.usingBuiltin = !!builtin | ||
conf.add(cli, 'cli') | ||
@@ -93,0 +95,0 @@ conf.addEnv() |
{ | ||
"name": "npmconf", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "The config thing npm uses", | ||
@@ -5,0 +5,0 @@ "main": "npmconf.js", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
27644
816
0