@pnpm/npm-conf
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -63,5 +63,2 @@ 'use strict'; | ||
warnings.push(conf.addFile(conf.get('globalconfig'), 'global')); | ||
if (conf.get('globalPnpmConfig')) { | ||
warnings.push(conf.addFile(conf.get('globalPnpmConfig'), 'pnpm-global')); | ||
} | ||
conf.loadUser(); | ||
@@ -68,0 +65,0 @@ |
@@ -58,3 +58,2 @@ // Generated with `lib/make.js` | ||
also: null, | ||
audit: true, | ||
'auth-type': 'legacy', | ||
@@ -72,4 +71,3 @@ 'bin-links': true, | ||
cert: null, | ||
cidr: null, | ||
color: process.env.NO_COLOR == null, | ||
color: true, | ||
depth: Infinity, | ||
@@ -88,3 +86,2 @@ description: true, | ||
'git-tag-version': true, | ||
'commit-hooks': true, | ||
global: false, | ||
@@ -117,3 +114,2 @@ globalconfig: path.resolve(globalPrefix, 'etc', 'npmrc'), | ||
'metrics-registry': null, | ||
'node-options': null, | ||
// We remove node-version to fix the issue described here: https://github.com/pnpm/pnpm/issues/4203#issuecomment-1133872769 | ||
@@ -124,5 +120,3 @@ 'offline': false, | ||
optional: true, | ||
otp: null, | ||
'package-lock': true, | ||
'package-lock-only': false, | ||
parseable: false, | ||
@@ -134,7 +128,6 @@ 'prefer-offline': false, | ||
'progress': !process.env.TRAVIS && !process.env.CI, | ||
'proprietary-attribs': true, | ||
proxy: null, | ||
'https-proxy': null, | ||
'no-proxy': null, | ||
'user-agent': 'npm/{npm-version} ' + 'node/{node-version} ' + '{platform} ' + '{arch}', | ||
'read-only': false, | ||
'rebuild-bundle': true, | ||
@@ -151,3 +144,2 @@ registry: 'https://registry.npmjs.org/', | ||
scope: '', | ||
'script-shell': null, | ||
'scripts-prepend-node-path': 'warn-only', | ||
@@ -154,0 +146,0 @@ searchopts: '', |
@@ -7,3 +7,2 @@ /// <reference types="node" /> | ||
also: (string | null)[]; | ||
audit: BooleanConstructor; | ||
'auth-type': string[]; | ||
@@ -21,3 +20,2 @@ 'bin-links': BooleanConstructor; | ||
cert: (StringConstructor | null)[]; | ||
cidr: (StringConstructor | ArrayConstructor | null)[]; | ||
color: (string | BooleanConstructor)[]; | ||
@@ -37,3 +35,2 @@ depth: NumberConstructor; | ||
'git-tag-version': BooleanConstructor; | ||
'commit-hooks': BooleanConstructor; | ||
global: BooleanConstructor; | ||
@@ -68,5 +65,3 @@ globalconfig: import("path").PlatformPath; | ||
'metrics-registry': (StringConstructor | null)[]; | ||
'node-options': (StringConstructor | null)[]; | ||
'node-version': ((() => void) | null)[]; | ||
'no-proxy': (StringConstructor | ArrayConstructor | null)[]; | ||
offline: BooleanConstructor; | ||
@@ -77,4 +72,2 @@ 'onload-script': (StringConstructor | null)[]; | ||
'package-lock': BooleanConstructor; | ||
otp: (StringConstructor | null)[]; | ||
'package-lock-only': BooleanConstructor; | ||
parseable: BooleanConstructor; | ||
@@ -86,4 +79,4 @@ 'prefer-offline': BooleanConstructor; | ||
progress: BooleanConstructor; | ||
'proprietary-attribs': BooleanConstructor; | ||
proxy: (boolean | typeof import("url") | null)[]; | ||
'read-only': BooleanConstructor; | ||
'rebuild-bundle': BooleanConstructor; | ||
@@ -100,3 +93,2 @@ registry: (typeof import("url") | null)[]; | ||
scope: StringConstructor; | ||
'script-shell': (StringConstructor | null)[]; | ||
'scripts-prepend-node-path': (string | boolean)[]; | ||
@@ -103,0 +95,0 @@ searchopts: StringConstructor; |
@@ -16,3 +16,2 @@ // Generated with `lib/make.js` | ||
also: [null, 'dev', 'development'], | ||
audit: Boolean, | ||
'auth-type': ['legacy', 'sso', 'saml', 'oauth'], | ||
@@ -30,3 +29,2 @@ 'bin-links': Boolean, | ||
cert: [null, String], | ||
cidr: [null, String, Array], | ||
color: ['always', Boolean], | ||
@@ -46,3 +44,2 @@ depth: Number, | ||
'git-tag-version': Boolean, | ||
'commit-hooks': Boolean, | ||
global: Boolean, | ||
@@ -79,5 +76,3 @@ globalconfig: path, | ||
'metrics-registry': [null, String], | ||
'node-options': [null, String], | ||
'node-version': [null, semver], | ||
'no-proxy': [null, String, Array], | ||
offline: Boolean, | ||
@@ -88,4 +83,2 @@ 'onload-script': [null, String], | ||
'package-lock': Boolean, | ||
otp: [null, String], | ||
'package-lock-only': Boolean, | ||
parseable: Boolean, | ||
@@ -97,5 +90,5 @@ 'prefer-offline': Boolean, | ||
progress: Boolean, | ||
'proprietary-attribs': Boolean, | ||
proxy: [null, false, url], | ||
// allow proxy to be disabled explicitly | ||
'read-only': Boolean, | ||
'rebuild-bundle': Boolean, | ||
@@ -112,3 +105,2 @@ registry: [null, url], | ||
scope: String, | ||
'script-shell': [null, String], | ||
'scripts-prepend-node-path': [false, true, 'auto', 'warn-only'], | ||
@@ -115,0 +107,0 @@ searchopts: String, |
{ | ||
"name": "@pnpm/npm-conf", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Get the npm config", | ||
@@ -24,3 +24,3 @@ "license": "MIT", | ||
"dependencies": { | ||
"@pnpm/config.env-replace": "^1.0.0", | ||
"@pnpm/config.env-replace": "^1.1.0", | ||
"@pnpm/network.ca-file": "^1.0.1", | ||
@@ -27,0 +27,0 @@ "config-chain": "^1.1.11" |
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
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
24
27387
850