Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pnpm/npm-conf

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/npm-conf - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

7

index.js

@@ -12,2 +12,3 @@ 'use strict';

const warnings = [];
let failedToLoadBuiltInConfig = false;

@@ -21,4 +22,5 @@ if (require.resolve.paths) {

} catch (error) {
// If npm module cannot be found, add warning about adding global config to overwrite builtin config
warnings.push('Load npm builtin configs failed, you can use "pnpm config ls" to show builtin configs. And then use "pnpm config --global set <key> <value>" to migrate configs from builtin to global.');
// Error will be thrown if module cannot be found.
// Update the flag while loading builtin config failed.
failedToLoadBuiltInConfig = true;
}

@@ -74,2 +76,3 @@

warnings: warnings.filter(Boolean),
failedToLoadBuiltInConfig,
};

@@ -76,0 +79,0 @@ };

{
"name": "@pnpm/npm-conf",
"version": "2.0.1",
"version": "2.0.2",
"description": "Get the npm config",

@@ -5,0 +5,0 @@ "license": "MIT",

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