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
315
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 2.0.1 to 2.1.0

9

lib/index.js

@@ -56,2 +56,3 @@ "use strict";

'side-effects-cache-readonly': Boolean,
'sort': Boolean,
'store': path,

@@ -97,2 +98,3 @@ 'use-running-store-server': Boolean,

'shrinkwrap': npmDefaults.shrinkwrap,
'sort': true,
'unsafe-perm': npmDefaults['unsafe-perm'],

@@ -115,5 +117,6 @@ 'userconfig': npmDefaults.userconfig,

pnpmConfig.rawNpmConfig = Object.assign.apply(Object, npmConfig.list.reverse().concat([cliArgs]));
const npmGlobalPrefix = process.env.APPDATA
? path.join(process.env.APPDATA, 'npm')
: npmConfig.globalPrefix;
const npmGlobalPrefix = pnpmConfig.rawNpmConfig['pnpm-prefix'] ||
(process.env.APPDATA
? path.join(process.env.APPDATA, 'npm')
: npmConfig.globalPrefix);
pnpmConfig.globalBin = process.platform === 'win32'

@@ -120,0 +123,0 @@ ? npmGlobalPrefix

@@ -1,6 +0,6 @@

export interface PnpmConfigs {
export interface PnpmConfigs extends Record<string, any> {
bail: boolean;
cliArgs: object;
cliArgs: Record<string, any>;
filter: string[];
rawNpmConfig: object;
rawNpmConfig: Record<string, any>;
globalPrefix: string;

@@ -64,2 +64,3 @@ globalBin: string;

linkWorkspacePackages: boolean;
sort: boolean;
}
{
"name": "@pnpm/config",
"version": "2.0.1",
"version": "2.1.0",
"description": "Gets configs for pnpm",

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

Sorry, the diff of this file is not supported yet

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