Socket
Socket
Sign inDemoInstall

@npmcli/config

Package Overview
Dependencies
Maintainers
5
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@npmcli/config - npm Package Compare versions

Comparing version 1.2.8 to 1.2.9

8

lib/set-envs.js

@@ -56,10 +56,4 @@ // Set environment variables for any non-default configs,

const { DESTDIR } = env
if (platform !== 'win32' && DESTDIR && globalPrefix.indexOf(DESTDIR) === 0)
env.PREFIX = globalPrefix.substr(DESTDIR.length)
else
env.PREFIX = globalPrefix
env.INIT_CWD = process.cwd()
env.INIT_CWD = env.INIT_CWD || process.cwd()
// if the key is the default value,

@@ -66,0 +60,0 @@ // if the environ is NOT the default value,

2

package.json
{
"name": "@npmcli/config",
"version": "1.2.8",
"version": "1.2.9",
"files": [

@@ -5,0 +5,0 @@ "lib"

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