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.0.0-2 to 3.0.0

15

lib/index.js

@@ -131,5 +131,11 @@ "use strict";

: pnpmConfig['lockfileDirectory'];
pnpmConfig.lockfile = typeof pnpmConfig['lockfile'] === 'undefined'
? pnpmConfig.shrinkwrap
: pnpmConfig['lockfile'];
pnpmConfig.useLockfile = (() => {
if (typeof pnpmConfig['lockfile'] === 'boolean')
return pnpmConfig['lockfile'];
if (typeof pnpmConfig['packageLock'] === 'boolean')
return pnpmConfig['packageLock'];
if (typeof pnpmConfig['shrinkwrap'] === 'boolean')
return pnpmConfig['shrinkwrap'];
return false;
})();
pnpmConfig.lockfileOnly = typeof pnpmConfig['lockfileOnly'] === 'undefined'

@@ -204,5 +210,2 @@ ? pnpmConfig.shrinkwrapOnly

}
if (!pnpmConfig.packageLock && pnpmConfig.lockfile) {
pnpmConfig.lockfile = false;
}
if (typeof pnpmConfig.filter === 'string') {

@@ -209,0 +212,0 @@ pnpmConfig.filter = pnpmConfig.filter.split(' ');

1

lib/PnpmConfigs.d.ts

@@ -69,3 +69,4 @@ import { Registries } from '@pnpm/types';

sharedWorkspaceLockfile: boolean;
useLockfile: boolean;
registries: Registries;
}
{
"name": "@pnpm/config",
"version": "3.0.0-2",
"version": "3.0.0",
"description": "Gets configs for pnpm",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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