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

verdaccio-htpasswd

Package Overview
Dependencies
Maintainers
2
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

verdaccio-htpasswd - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

11

lib/utils.js

@@ -40,2 +40,3 @@ 'use strict';

}
return cb(null, res);

@@ -89,3 +90,5 @@ });

var err = Error('username should not contain non-uri-safe characters');
// err.status = 409;
// $FlowFixMe
err.status = 409;
throw err;

@@ -100,4 +103,4 @@ }

var comment = 'autocreated ' + new Date().toJSON();
var newline = `${user}:${passwd}:${comment}\n`;
var newline = `${user}:${passwd}:${comment}\n`;
if (body.length && body[body.length - 1] !== '\n') {

@@ -123,6 +126,8 @@ newline = '\n' + newline;

}
if (err) {
// err.status = 403;
// $FlowFixMe
err.status = 403;
}
return err;
}
{
"name": "verdaccio-htpasswd",
"version": "0.1.1",
"version": "0.1.2",
"description": "verdaccio htpasswd auth plugin",

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