Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pnpm/config

Package Overview
Dependencies
Maintainers
3
Versions
317
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/config - npm Package Compare versions

Comparing version 4.0.0-3 to 4.0.0-4

3

lib/Config.d.ts

@@ -25,2 +25,3 @@ import { IncludedDependencies, Registries } from '@pnpm/types';

savePeer?: boolean;
saveWorkspaceProtocol?: boolean;
production?: boolean;

@@ -79,3 +80,3 @@ development?: boolean;

independentLeaves?: boolean;
packageImportMethod?: 'auto' | 'hardlink' | 'copy' | 'reflink';
packageImportMethod?: 'auto' | 'hardlink' | 'copy' | 'clone';
hoistPattern?: string;

@@ -82,0 +83,0 @@ useStoreServer?: boolean;

@@ -46,3 +46,3 @@ "use strict";

'offline': Boolean,
'package-import-method': ['auto', 'hardlink', 'reflink', 'copy'],
'package-import-method': ['auto', 'hardlink', 'clone', 'copy'],
'pending': Boolean,

@@ -59,2 +59,3 @@ 'pnpmfile': String,

'save-peer': Boolean,
'save-workspace-protocol': Boolean,
'shamefully-flatten': Boolean,

@@ -140,4 +141,5 @@ 'shamefully-hoist': Boolean,

'registry': npmDefaults.registry,
'resolution-strategy': 'fast',
'resolution-strategy': 'fewer-dependencies',
'save-peer': false,
'save-workspace-protocol': true,
'shamefully-hoist': false,

@@ -170,5 +172,4 @@ 'shared-workspace-shrinkwrap': true,

: `${packageManager.name}/${packageManager.version} npm/? node/${process.version} ${process.platform} ${process.arch}`;
const defaultRegistry = getScopeRegistries_1.normalizeRegistry(pnpmConfig.registry || 'https://registry.npmjs.org/');
pnpmConfig.rawNpmConfig = Object.assign.apply(Object, [
{ registry: defaultRegistry },
{ registry: 'https://registry.npmjs.org/' },
...npmConfig.list,

@@ -178,3 +179,3 @@ cliArgs,

]); // tslint:disable-line:no-any
pnpmConfig.registries = Object.assign({ default: defaultRegistry }, getScopeRegistries_1.default(pnpmConfig.rawNpmConfig));
pnpmConfig.registries = Object.assign({ default: getScopeRegistries_1.normalizeRegistry(pnpmConfig.rawNpmConfig.registry) }, getScopeRegistries_1.default(pnpmConfig.rawNpmConfig));
const npmGlobalPrefix = pnpmConfig.rawNpmConfig['pnpm-prefix'] ||

@@ -181,0 +182,0 @@ (process.platform !== 'win32'

{
"name": "@pnpm/config",
"version": "4.0.0-3",
"version": "4.0.0-4",
"description": "Gets configuration options for pnpm",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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