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
321
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 3.3.3 to 3.3.4

lib/findBestGlobalPrefixOnWindows.d.ts

7

lib/index.js

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

const whichcb = require("which");
const findBestGlobalPrefixOnWindows_1 = require("./findBestGlobalPrefixOnWindows");
const getScopeRegistries_1 = require("./getScopeRegistries");

@@ -132,5 +133,5 @@ const npmDefaults = loadNpmConf.defaults;

const npmGlobalPrefix = pnpmConfig.rawNpmConfig['pnpm-prefix'] ||
(process.platform === 'win32' && process.env.APPDATA
? path.join(process.env.APPDATA, 'npm')
: npmConfig.globalPrefix);
(process.platform !== 'win32'
? npmConfig.globalPrefix
: findBestGlobalPrefixOnWindows_1.default(npmConfig.globalPrefix, process.env));
pnpmConfig.globalBin = process.platform === 'win32'

@@ -137,0 +138,0 @@ ? npmGlobalPrefix

{
"name": "@pnpm/config",
"version": "3.3.3",
"version": "3.3.4",
"description": "Gets configs for pnpm",

@@ -37,2 +37,3 @@ "main": "lib/index.js",

"find-up": "4.0.0",
"is-subdir": "1.0.3",
"which": "1.3.1"

@@ -39,0 +40,0 @@ },

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