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 0.0.10 to 0.0.11

12

npmconf.js

@@ -147,4 +147,11 @@

var target = this.sources[where]
if (!target || !(target.path || target.source) || !target.data)
return this.emit('error', new Error('bad save target: '+where))
if (!target || !(target.path || target.source) || !target.data) {
if (where !== 'builtin')
var er = new Error('bad save target: '+where)
if (cb) {
process.nextTick(cb.bind(null, er))
return this
}
return this.emit('error', er)
}

@@ -156,2 +163,3 @@ if (target.source) {

})
if (cb) process.nextTick(cb)
return this

@@ -158,0 +166,0 @@ }

2

package.json
{
"name": "npmconf",
"version": "0.0.10",
"version": "0.0.11",
"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