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.1.5 to 1.1.6

.eslintrc

3

npmconf.js

@@ -362,3 +362,4 @@

// it is a "_" - convert all other to "-"
var p = k.replace(/^npm_config_/, '')
var p = k.toLowerCase()
.replace(/^npm_config_/, '')
.replace(/(?!^)_/g, '-')

@@ -365,0 +366,0 @@ conf[p] = env[k]

{
"name": "npmconf",
"version": "1.1.5",
"version": "1.1.6",
"description": "The config thing npm uses",

@@ -5,0 +5,0 @@ "main": "npmconf.js",

@@ -18,2 +18,3 @@ var path = require('path')

process.env.npm_config__underbar_env_thing = 'underful'
process.env.NPM_CONFIG_UPPERCASE_ENV_THING = 42

@@ -23,2 +24,3 @@ exports.envData = {

'_underbar-env-thing': 'underful',
'uppercase-env-thing': '42',
'other-env-thing': '1000'

@@ -29,2 +31,3 @@ }

'_underbar-env-thing': 'underful',
'uppercase-env-thing': 42,
'other-env-thing': 1000,

@@ -31,0 +34,0 @@ }

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc