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

http-auth

Package Overview
Dependencies
Maintainers
1
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

http-auth - npm Package Compare versions

Comparing version 3.1.2 to 3.1.3

2

package.json
{
"name": "http-auth",
"description": "Node.js package for HTTP basic and digest access authentication.",
"version": "3.1.2",
"version": "3.1.3",
"author": "Gevorg Harutyunyan (http://github.com/gevorg)",

@@ -6,0 +6,0 @@ "maintainers": [

@@ -40,3 +40,4 @@ "use strict";

} else if (hash.length === password.length) {
return crypto.timingSafeEqual(new Buffer(hash), new Buffer(password));
return crypto.timingSafeEqual ?
crypto.timingSafeEqual(new Buffer(hash), new Buffer(password)) : hash === password;
}

@@ -43,0 +44,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