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 3.4.1 to 3.4.2

14

lib/index.js

@@ -74,2 +74,16 @@ "use strict";

const command = opts.command || [];
switch (command[command.length - 1]) {
case 'update':
if (typeof cliArgs['frozen-lockfile'] !== 'undefined') {
const err = new Error('The "frozen-lockfile" option cannot be used with the "update" command');
err['code'] = 'ERR_PNPM_CONFIG_BAD_OPTION'; // tslint:disable-line:no-string-literal
throw err;
}
if (typeof cliArgs['prefer-frozen-lockfile'] !== 'undefined') {
const err = new Error('The "prefer-frozen-lockfile" option cannot be used with the "update" command');
err['code'] = 'ERR_PNPM_CONFIG_BAD_OPTION'; // tslint:disable-line:no-string-literal
throw err;
}
break;
}
// This is what npm does as well, overriding process.execPath with the resolved location of Node.

@@ -76,0 +90,0 @@ // The value of process.execPath is changed only for the duration of config initialization.

4

package.json
{
"name": "@pnpm/config",
"version": "3.4.1",
"version": "3.4.2",
"description": "Gets configs for pnpm",

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

"rimraf": "2.6.3",
"tape": "4.10.2",
"tape": "4.11.0",
"tempy": "0.3.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