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

byu-jwt

Package Overview
Dependencies
Maintainers
15
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

byu-jwt - npm Package Compare versions

Comparing version 3.0.3 to 3.0.4

7

lib/index.js

@@ -67,3 +67,6 @@ /**

} catch (err) {
console.error(err.stack)
const cleanedStack = err.stack
.replace(/\r\n/g, '\r')
.replace(/\n/g, '\r')
console.error('[ByuJWT]', cleanedStack)
const response = err instanceof AuthenticationError

@@ -356,3 +359,3 @@ ? { code: 401, message: err.message }

if (options.development) {
console.error('WARNING: JWT verification skipped in development mode')
console.error('[ByuJWT] WARNING: JWT verification skipped in development mode')
debug('JWT verification skipped in development mode')

@@ -359,0 +362,0 @@ return jsonWebToken.decode(jwt)

{
"name": "byu-jwt",
"version": "3.0.3",
"version": "3.0.4",
"description": "The byu-jwt module provides helpful functions to retrieve a specified BYU .well-known URL and verify BYU signed JWTs.",

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