Socket
Socket
Sign inDemoInstall

npmconf

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npmconf - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

5

lib/set-user.js
module.exports = setUser
var Conf = require('../npmconf.js').Conf
var assert = require('assert')
var path = require('path')

@@ -7,3 +9,4 @@ var fs = require('fs')

function setUser (cb) {
var defaultConf = Object.getPrototypeOf(this.root)
var defaultConf = this.root
assert(defaultConf !== Object.prototype)

@@ -10,0 +13,0 @@ // If global, leave it as-is.

2

package.json
{
"name": "npmconf",
"version": "1.0.4",
"version": "1.0.5",
"description": "The config thing npm uses",

@@ -5,0 +5,0 @@ "main": "npmconf.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