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

@pnpm/config

Package Overview
Dependencies
Maintainers
2
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 1.2.2 to 1.2.3

9

lib/index.js

@@ -85,9 +85,12 @@ "use strict";

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

@@ -94,0 +97,0 @@ ? pnpmConfig.globalPrefix

{
"name": "@pnpm/config",
"version": "1.2.2",
"version": "1.2.3",
"description": "Gets configs for pnpm",

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

"tape": "^4.8.0",
"ts-node": "^6.0.3",
"ts-node": "^7.0.0",
"tslint": "^5.8.0",

@@ -49,0 +49,0 @@ "typescript": "^2.9.1"

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