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

htpasswd-mgr

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

htpasswd-mgr - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

5

package.json

@@ -5,3 +5,3 @@ {

"description": "HTPasswd Manager for Node.js",
"version": "0.0.1",
"version": "0.0.2",
"repository": {

@@ -22,4 +22,3 @@ "type": "git",

"apache-crypt": "1.2.1",
"apache-md5": "1.1.2",
"underscore": "1.9.1"
"apache-md5": "1.1.2"
},

@@ -26,0 +25,0 @@ "engines": {

6

src/manager.js

@@ -23,4 +23,6 @@ 'use strict';

function readFile() {
let htpasswdContents = fs.readFileSync(path, {encoding: 'utf8'});
parseFile(htpasswdContents);
if (fs.existsSync(path)) {
let htpasswdContents = fs.readFileSync(path, {encoding: 'utf8'});
parseFile(htpasswdContents);
}
return Promise.resolve();

@@ -27,0 +29,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