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.1.2 to 4.1.3

6

lib/index.js

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

const path = require("path");
const pathAbsolute = require("path-absolute");
const whichcb = require("which");

@@ -84,3 +83,2 @@ const findBestGlobalPrefixOnWindows_1 = require("./findBestGlobalPrefixOnWindows");

exports.default = async (opts) => {
var _a, _b;
const packageManager = opts && opts.packageManager || { name: 'pnpm', version: 'undefined' };

@@ -158,2 +156,3 @@ const cliArgs = opts && opts.cliArgs || {};

'userconfig': npmDefaults.userconfig,
'virtual-store-dir': 'node_modules/.pnpm',
'workspace-concurrency': 4,

@@ -276,5 +275,2 @@ 'workspace-prefix': workspacePrefix,

}
if (pnpmConfig.virtualStoreDir) {
pnpmConfig.virtualStoreDir = pathAbsolute(pnpmConfig.virtualStoreDir, pnpmConfig.sharedWorkspaceLockfile ? (_b = (_a = pnpmConfig.lockfileDirectory, (_a !== null && _a !== void 0 ? _a : workspacePrefix)), (_b !== null && _b !== void 0 ? _b : pnpmConfig.prefix)) : pnpmConfig.prefix);
}
pnpmConfig.packageManager = packageManager;

@@ -281,0 +277,0 @@ if (pnpmConfig.only === 'prod' || pnpmConfig.only === 'production' || !pnpmConfig.only && pnpmConfig.production) {

2

package.json
{
"name": "@pnpm/config",
"version": "4.1.2",
"version": "4.1.3",
"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