Socket
Socket
Sign inDemoInstall

@pnpm/npm-conf

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/npm-conf - npm Package Compare versions

Comparing version 2.1.1 to 2.2.0

13

lib/defaults.js

@@ -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,

3

package.json
{
"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"
}
}
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