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 9.1.0 to 9.2.0

11

CHANGELOG.md
# @pnpm/config
## 9.2.0
### Minor Changes
- 71a8c8ce3: Added a new setting: `public-hoist-pattern`. This setting can be overwritten by `--[no-]shamefully-hoist`. The default value of `public-hoist-pattern` is `types/*`.
### Patch Changes
- Updated dependencies [71a8c8ce3]
- @pnpm/types@6.1.0
## 9.1.0

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

1

lib/Config.d.ts

@@ -89,2 +89,3 @@ import { ProjectManifest, Registries } from '@pnpm/types';

hoistPattern?: string[];
publicHoistPattern?: string[];
useStoreServer?: boolean;

@@ -91,0 +92,0 @@ useRunningStoreServer?: boolean;

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

'production': [null, true],
'public-hoist-pattern': Array,
'publish-branch': String,

@@ -127,6 +128,6 @@ 'reporter': String,

'pending': false,
'public-hoist-pattern': ['@types/*'],
'registry': npmDefaults.registry,
'save-peer': false,
'save-workspace-protocol': true,
'shamefully-hoist': false,
'shared-workspace-lockfile': true,

@@ -284,2 +285,10 @@ 'shared-workspace-shrinkwrap': true,

}
switch (pnpmConfig.shamefullyHoist) {
case false:
delete pnpmConfig.publicHoistPattern;
break;
case true:
pnpmConfig.publicHoistPattern = ['*'];
break;
}
if (typeof pnpmConfig['color'] === 'boolean') {

@@ -286,0 +295,0 @@ switch (pnpmConfig['color']) {

4

package.json
{
"name": "@pnpm/config",
"version": "9.1.0",
"version": "9.2.0",
"description": "Gets configuration options for pnpm",

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

"@pnpm/error": "1.2.0",
"@pnpm/types": "6.0.0",
"@pnpm/types": "6.1.0",
"@zkochan/npm-conf": "2.0.0",

@@ -39,0 +39,0 @@ "camelcase": "6.0.0",

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