Socket
Socket
Sign inDemoInstall

npmconf

Package Overview
Dependencies
Maintainers
2
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npmconf - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

.eslintrc

17

config-defs.js

@@ -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",

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