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.3 to 1.2.4

9

index.js

@@ -15,3 +15,10 @@ 'use strict';

// Assume that last path in resolve paths is builtin modules directory
const npmPath = require.resolve('npm', {paths: paths.slice(-1)});
let npmPath;
try {
npmPath = require.resolve('npm', {paths: paths.slice(-1)});
} catch (error) {
// Error will be thrown if module cannot be found.
// We should ignore that error.
}
if (npmPath) {

@@ -18,0 +25,0 @@ /**

2

package.json
{
"name": "@zkochan/npm-conf",
"version": "1.2.3",
"version": "1.2.4",
"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