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
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 2.2.0 to 2.3.0-0

7

lib/index.js

@@ -53,2 +53,4 @@ "use strict";

'shamefully-flatten': Boolean,
'shared-workspace-shrinkwrap': Boolean,
'shrinkwrap-directory': path,
'shrinkwrap-only': Boolean,

@@ -96,4 +98,6 @@ 'side-effects-cache': Boolean,

'package-lock': npmDefaults['package-lock'],
'pending': false,
'prefix': npmDefaults.prefix,
'registry': npmDefaults.registry,
'shared-workspace-shrinkwrap': false,
'shrinkwrap': npmDefaults.shrinkwrap,

@@ -151,2 +155,5 @@ 'sort': true,

}
if (pnpmConfig.sharedWorkspaceShrinkwrap && !pnpmConfig.shrinkwrapDirectory) {
pnpmConfig.shrinkwrapDirectory = pnpmConfig.workspacePrefix;
}
pnpmConfig.packageManager = packageManager;

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

3

lib/PnpmConfigs.d.ts

@@ -66,2 +66,5 @@ export interface PnpmConfigs extends Record<string, any> {

strictPeerDependencies: boolean;
pending: boolean;
shrinkwrapDirectory?: string;
sharedWorkspaceShrinkwrap: boolean;
}

5

package.json
{
"name": "@pnpm/config",
"version": "2.2.0",
"version": "2.3.0-0",
"description": "Gets configs for pnpm",

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

"test-with-preview": "npm run lint && preview && ts-node test && mos t",
"pretest": "npm config rm fetch-retry-maxtimeout",
"test": "npm run lint && npm run tsc && pnpm link . && ts-node test && mos t"

@@ -54,2 +55,4 @@ },

"tslint": "^5.8.0",
"tslint-config-standard": "8.0.1",
"tslint-eslint-rules": "5.4.0",
"typescript": "^3.0.0"

@@ -56,0 +59,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