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

@websanova/vue-auth

Package Overview
Dependencies
Maintainers
1
Versions
151
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@websanova/vue-auth - npm Package Compare versions

Comparing version 3.1.0-beta to 3.1.1-beta

2

package.json

@@ -17,3 +17,3 @@ {

"version": "3.1.0-beta",
"version": "3.1.1-beta",

@@ -20,0 +20,0 @@ "repository": {

@@ -282,3 +282,3 @@ import * as __utils from './lib/utils.js';

forbiddenRedirect = (routeAuth || '').forbiddenRedirect || (routeAuth || '').redirect || __auth.options.forbiddenRedirect,
notFoundRedirect = (routeAuth || '').redirect || __auth.options.notFoundRedirect;
notFoundRedirect = (routeAuth || '').notFoundRedirect || (routeAuth || '').redirect || __auth.options.notFoundRedirect;

@@ -290,2 +290,7 @@ routeAuth = __utils.toArray((routeAuth || '').roles !== undefined ? routeAuth.roles : routeAuth);

__auth.$vm.transitionRedirectType = 401;
if (typeof authRedirect === 'function') {
authRedirect = authRedirect(transition);
}
cb.call(__auth, authRedirect);

@@ -295,2 +300,7 @@ }

__auth.$vm.transitionRedirectType = 403;
if (typeof forbiddenRedirect === 'function') {
forbiddenRedirect = forbiddenRedirect(transition);
}
cb.call(__auth, forbiddenRedirect);

@@ -307,2 +317,7 @@ }

__auth.$vm.transitionRedirectType = 404;
if (typeof notFoundRedirect === 'function') {
notFoundRedirect = notFoundRedirect(transition);
}
cb.call(__auth, notFoundRedirect);

@@ -309,0 +324,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