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

@zkochan/npm-conf

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zkochan/npm-conf - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

9

index.js

@@ -23,8 +23,11 @@ 'use strict';

conf.addFile(conf.get('userconfig'), 'user');
if (conf.get('workspace-prefix')) {
// TODO: cover with tests that configs from workspace .npmrc have bigger priority
// than the ones in userconfig
if (conf.get('workspace-prefix') && conf.get('workspace-prefix') !== projectConf) {
const workspaceConf = path.resolve(conf.get('workspace-prefix'), '.npmrc');
conf.addFile(workspaceConf, 'workspace');
}
conf.addFile(conf.get('userconfig'), 'user');
if (conf.get('prefix')) {

@@ -31,0 +34,0 @@ const etc = path.resolve(conf.get('prefix'), 'etc');

{
"name": "@zkochan/npm-conf",
"version": "1.2.1",
"version": "1.2.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