@pnpm/npm-conf
Advanced tools
Comparing version 2.1.1 to 2.2.0
@@ -58,2 +58,3 @@ // Generated with `lib/make.js` | ||
also: null, | ||
audit: true, | ||
'auth-type': 'legacy', | ||
@@ -71,3 +72,4 @@ 'bin-links': true, | ||
cert: null, | ||
color: true, | ||
cidr: null, | ||
color: process.env.NO_COLOR == null, | ||
depth: Infinity, | ||
@@ -86,2 +88,3 @@ description: true, | ||
'git-tag-version': true, | ||
'commit-hooks': true, | ||
global: false, | ||
@@ -114,2 +117,3 @@ 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 | ||
@@ -120,3 +124,5 @@ 'offline': false, | ||
optional: true, | ||
otp: null, | ||
'package-lock': true, | ||
'package-lock-only': false, | ||
parseable: false, | ||
@@ -128,6 +134,8 @@ 'prefer-offline': false, | ||
'progress': !process.env.TRAVIS && !process.env.CI, | ||
'proprietary-attribs': true, | ||
provenance: false, | ||
proxy: null, | ||
'https-proxy': null, | ||
'no-proxy': null, | ||
'user-agent': 'npm/{npm-version} ' + 'node/{node-version} ' + '{platform} ' + '{arch}', | ||
'read-only': false, | ||
'rebuild-bundle': true, | ||
@@ -144,2 +152,3 @@ registry: 'https://registry.npmjs.org/', | ||
scope: '', | ||
'script-shell': null, | ||
'scripts-prepend-node-path': 'warn-only', | ||
@@ -146,0 +155,0 @@ searchopts: '', |
@@ -7,2 +7,3 @@ /// <reference types="node" /> | ||
also: (string | null)[]; | ||
audit: BooleanConstructor; | ||
'auth-type': string[]; | ||
@@ -20,2 +21,3 @@ 'bin-links': BooleanConstructor; | ||
cert: (StringConstructor | null)[]; | ||
cidr: (StringConstructor | ArrayConstructor | null)[]; | ||
color: (string | BooleanConstructor)[]; | ||
@@ -35,2 +37,3 @@ depth: NumberConstructor; | ||
'git-tag-version': BooleanConstructor; | ||
'commit-hooks': BooleanConstructor; | ||
global: BooleanConstructor; | ||
@@ -65,3 +68,5 @@ globalconfig: import("path").PlatformPath; | ||
'metrics-registry': (StringConstructor | null)[]; | ||
'node-options': (StringConstructor | null)[]; | ||
'node-version': ((() => void) | null)[]; | ||
'no-proxy': (StringConstructor | ArrayConstructor | null)[]; | ||
offline: BooleanConstructor; | ||
@@ -72,2 +77,4 @@ 'onload-script': (StringConstructor | null)[]; | ||
'package-lock': BooleanConstructor; | ||
otp: (StringConstructor | null)[]; | ||
'package-lock-only': BooleanConstructor; | ||
parseable: BooleanConstructor; | ||
@@ -79,4 +86,5 @@ 'prefer-offline': BooleanConstructor; | ||
progress: BooleanConstructor; | ||
'proprietary-attribs': BooleanConstructor; | ||
provenance: BooleanConstructor; | ||
proxy: (boolean | typeof import("url") | null)[]; | ||
'read-only': BooleanConstructor; | ||
'rebuild-bundle': BooleanConstructor; | ||
@@ -93,2 +101,3 @@ registry: (typeof import("url") | null)[]; | ||
scope: StringConstructor; | ||
'script-shell': (StringConstructor | null)[]; | ||
'scripts-prepend-node-path': (string | boolean)[]; | ||
@@ -95,0 +104,0 @@ searchopts: StringConstructor; |
@@ -16,2 +16,3 @@ // Generated with `lib/make.js` | ||
also: [null, 'dev', 'development'], | ||
audit: Boolean, | ||
'auth-type': ['legacy', 'sso', 'saml', 'oauth'], | ||
@@ -29,2 +30,3 @@ 'bin-links': Boolean, | ||
cert: [null, String], | ||
cidr: [null, String, Array], | ||
color: ['always', Boolean], | ||
@@ -44,2 +46,3 @@ depth: Number, | ||
'git-tag-version': Boolean, | ||
'commit-hooks': Boolean, | ||
global: Boolean, | ||
@@ -76,3 +79,5 @@ globalconfig: path, | ||
'metrics-registry': [null, String], | ||
'node-options': [null, String], | ||
'node-version': [null, semver], | ||
'no-proxy': [null, String, Array], | ||
offline: Boolean, | ||
@@ -83,2 +88,4 @@ 'onload-script': [null, String], | ||
'package-lock': Boolean, | ||
otp: [null, String], | ||
'package-lock-only': Boolean, | ||
parseable: Boolean, | ||
@@ -90,5 +97,6 @@ 'prefer-offline': Boolean, | ||
progress: Boolean, | ||
'proprietary-attribs': Boolean, | ||
proxy: [null, false, url], | ||
provenance: Boolean, | ||
// allow proxy to be disabled explicitly | ||
'read-only': Boolean, | ||
'rebuild-bundle': Boolean, | ||
@@ -105,2 +113,3 @@ registry: [null, url], | ||
scope: String, | ||
'script-shell': [null, String], | ||
'scripts-prepend-node-path': [false, true, 'auto', 'warn-only'], | ||
@@ -107,0 +116,0 @@ searchopts: String, |
{ | ||
"name": "@pnpm/npm-conf", | ||
"version": "2.1.1", | ||
"version": "2.2.0", | ||
"description": "Get the npm config", | ||
@@ -39,4 +39,5 @@ "license": "MIT", | ||
"scripts": { | ||
"__prepublishOnly": "node lib/make.js && tsc -p lib/tsconfig.make-out.json", | ||
"test": "jest" | ||
} | ||
} |
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
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
28322
877
25