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

hapi-auth-jwt2

Package Overview
Dependencies
Maintainers
1
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hapi-auth-jwt2 - npm Package Compare versions

Comparing version 5.1.1 to 5.1.2

test/try-and-optional-auth-mode.test.js

4

lib/index.js

@@ -31,6 +31,2 @@ var Boom = require('boom'); // error handling https://github.com/hapijs/boom

if (!token && request.auth.mode !== 'required') {
return reply.continue({ credentials: {} });
}
if (!token) {

@@ -37,0 +33,0 @@ return reply(Boom.unauthorized(null, 'Token'));

{
"name": "hapi-auth-jwt2",
"version": "5.1.1",
"version": "5.1.2",
"description": "Hapi.js Authentication Plugin/Scheme using JSON Web Tokens (JWT)",

@@ -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