Socket
Socket
Sign inDemoInstall

@npmcli/config

Package Overview
Dependencies
Maintainers
6
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 4.0.0 to 4.0.1

5

lib/index.js

@@ -569,2 +569,3 @@ // TODO: set the scope config from package.json or explicit cli config

const cliWorkspaces = this[_get]('workspaces', 'cli')
const isGlobal = this[_get]('global') || this[_get]('location') === 'global'

@@ -583,4 +584,4 @@ for (const p of walkUp(this.cwd)) {

// if workspaces are disabled, return now
if (cliWorkspaces === false) {
// if workspaces are disabled, or we're in global mode, return now
if (cliWorkspaces === false || isGlobal) {
return

@@ -587,0 +588,0 @@ }

8

package.json
{
"name": "@npmcli/config",
"version": "4.0.0",
"version": "4.0.1",
"files": [

@@ -33,7 +33,7 @@ "bin",

"devDependencies": {
"@npmcli/template-oss": "^2.7.1",
"@npmcli/template-oss": "^2.8.1",
"tap": "^15.1.6"
},
"dependencies": {
"@npmcli/map-workspaces": "^2.0.0",
"@npmcli/map-workspaces": "^2.0.1",
"ini": "^2.0.0",

@@ -51,4 +51,4 @@ "mkdirp-infer-owner": "^2.0.0",

"templateOSS": {
"version": "2.7.1"
"version": "2.8.1"
}
}
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