New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dockerode-authconfig

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dockerode-authconfig - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

10

index.js

@@ -5,6 +5,2 @@ function normalize (obj) {

var cur = obj.auths[entry];
if (cur.username && cur.password) {
accum[entry] = cur;
return accum;
}
if (cur.auth) {

@@ -18,2 +14,8 @@ var auth = new Buffer(cur.auth, 'base64').toString('utf8');

}
else if (cur.username && cur.password) {
accum[entry] = cur;
}
else {
accum[entry] = cur;
}
return accum;

@@ -20,0 +22,0 @@ }, {});

2

package.json
{
"name": "dockerode-authconfig",
"version": "1.0.0",
"version": "1.0.1",
"description": "normalize to `authConfig` format for docker daemon",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -12,2 +12,6 @@ var assert = require('assert');

password: 'okyouwin'
},
'other': {
pass: 'thru',
other: 'keys'
}

@@ -26,2 +30,6 @@ }

password: 'okyouwin'
},
'other': {
pass: 'thru',
other: 'keys'
}

@@ -28,0 +36,0 @@ }

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