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
318
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 11.1.0 to 11.2.0

11

CHANGELOG.md
# @pnpm/config
## 11.2.0
### Minor Changes
- ad69677a7: A new option added that allows to resolve the global bin directory from directories to which there is no write access.
### Patch Changes
- Updated dependencies [ad69677a7]
- @pnpm/global-bin-dir@1.2.0
## 11.1.0

@@ -4,0 +15,0 @@

1

lib/index.d.ts

@@ -8,2 +8,3 @@ import { Config, UniversalOptions } from './Config';

declare const _default: (opts: {
globalDirShouldAllowWrite?: boolean;
cliOptions: CliOptions;

@@ -10,0 +11,0 @@ packageManager: {

2

lib/index.js

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

? cliOptions.dir : path.resolve(cliOptions.dir, 'bin'))
: global_bin_dir_1.default([pnpmConfig.npmGlobalBinDir]);
: global_bin_dir_1.default([pnpmConfig.npmGlobalBinDir], { shouldAllowWrite: opts.globalDirShouldAllowWrite === true });
pnpmConfig.allowNew = true;

@@ -209,0 +209,0 @@ pnpmConfig.ignoreCurrentPrefs = true;

{
"name": "@pnpm/config",
"version": "11.1.0",
"version": "11.2.0",
"description": "Gets configuration options for pnpm",

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

"@pnpm/error": "1.2.0",
"@pnpm/global-bin-dir": "^1.1.1",
"@pnpm/global-bin-dir": "^1.2.0",
"@pnpm/types": "6.2.0",

@@ -48,8 +48,8 @@ "@zkochan/npm-conf": "2.0.0",

"@types/mz": "^2.7.1",
"@types/ramda": "^0.27.6",
"@types/ramda": "^0.27.11",
"@types/which": "1.3.2",
"mz": "2.7.0",
"tempy": "0.5.0"
"tempy": "^0.6.0"
},
"funding": "https://opencollective.com/pnpm"
}
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