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

vue-jwt-auth

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-jwt-auth - npm Package Compare versions

Comparing version 0.8.0 to 0.8.1

2

package.json

@@ -19,3 +19,3 @@ {

},
"version": "0.8.0"
"version": "0.8.1"
}

@@ -487,3 +487,4 @@ module.exports = (function () {

response (res) {
var authorization = res.headers('Authorization')
var authorization = res.headers('Authorization'),
invalidTokenMethod = auth.getOption('invalidToken')

@@ -498,3 +499,5 @@ if (authorization) {

auth.getOption('invalidToken').bind(auth)(res)
if (invalidTokenMethod) {
invalidTokenMethod.bind(auth)(res)
}

@@ -501,0 +504,0 @@ return res

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