Comparing version 1.0.5 to 1.0.6
@@ -10,10 +10,11 @@ // defaults, types, and shorthands. | ||
, nopt = require("nopt") | ||
, os = require('os') | ||
, os = require("os") | ||
, osenv = require("osenv") | ||
var log | ||
try { | ||
var log = require("npmlog") | ||
log = require("npmlog") | ||
} catch (er) { | ||
var util = require('util') | ||
var log = { warn: function (m) { | ||
var util = require("util") | ||
log = { warn: function (m) { | ||
console.warn(m + util.format.apply(util, [].slice.call(arguments, 1))) | ||
@@ -52,3 +53,3 @@ } } | ||
nopt.invalidHandler = function (k, val, type, data) { | ||
nopt.invalidHandler = function (k, val, type) { | ||
log.warn("invalid config", k + "=" + JSON.stringify(val)) | ||
@@ -158,3 +159,3 @@ | ||
, "ignore-scripts": false | ||
, "init-module": path.resolve(home, '.npm-init.js') | ||
, "init-module": path.resolve(home, ".npm-init.js") | ||
, "init.author.name" : "" | ||
@@ -196,2 +197,3 @@ , "init.author.email" : "" | ||
, "save-prefix": "^" | ||
, scope : "" | ||
, searchopts: "" | ||
@@ -217,3 +219,3 @@ , searchexclude: null | ||
, userconfig : path.resolve(home, ".npmrc") | ||
, umask: 022 | ||
, umask: "022" | ||
, version : false | ||
@@ -302,2 +304,3 @@ , versions : false | ||
, "save-prefix": String | ||
, scope : String | ||
, searchopts : String | ||
@@ -304,0 +307,0 @@ , searchexclude: [null, String] |
{ | ||
"name": "npmconf", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"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
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
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
37088
22
1095
1