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 5.0.1 to 5.0.2

1

lib/Config.d.ts
import { IncludedDependencies, Registries } from '@pnpm/types';
export interface Config {
allowNew: boolean;
auditLevel?: 'low' | 'moderate' | 'high' | 'critical';
bail: boolean;

@@ -5,0 +6,0 @@ color: 'always' | 'auto' | 'never';

5

lib/index.js

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

exports.types = Object.assign({
'audit-level': ['low', 'moderate', 'high', 'critical'],
'background': Boolean,

@@ -125,2 +126,5 @@ 'bail': Boolean,

catch (err) { } // tslint:disable-line:no-empty
if (cliArgs['dir']) {
cliArgs['prefix'] = cliArgs['dir']; // the npm config system still expects `prefix`
}
const dir = (_d = cliArgs['dir'], (_d !== null && _d !== void 0 ? _d : process.cwd()));

@@ -130,3 +134,2 @@ const workspaceDir = cliArgs['global'] // tslint:disable-line

: await findWorkspacePrefix(dir);
cliArgs['prefix'] = dir; // the npm config system still expects `prefix`
const npmConfig = loadNpmConf(cliArgs, exports.types, {

@@ -133,0 +136,0 @@ 'bail': true,

{
"name": "@pnpm/config",
"version": "5.0.1",
"version": "5.0.2",
"description": "Gets configuration options for pnpm",

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

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