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.2-beta to 3.1.3-beta

2

package.json

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

"version": "3.1.2-beta",
"version": "3.1.3-beta",

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

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

if ( ! __auth.check()) {
__auth.$vm.transitionRedirectType = 401;
__auth.transitionRedirectType = 401;

@@ -298,3 +298,3 @@ if (typeof authRedirect === 'function') {

else if ((routeAuth.constructor === Array || __utils.isObject(routeAuth)) && ! __utils.compare(routeAuth, __auth.$vm.data[__auth.options.rolesKey])) {
__auth.$vm.transitionRedirectType = 403;
__auth.transitionRedirectType = 403;

@@ -308,4 +308,4 @@ if (typeof forbiddenRedirect === 'function') {

else {
__auth.$vm.redirect = __auth.$vm.transitionRedirectType ? {type: __auth.$vm.transitionRedirectType, from: __auth.$vm.transitionPrev, to: __auth.$vm.transitionThis} : null;
__auth.$vm.transitionRedirectType = null;
__auth.$vm.redirect = __auth.transitionRedirectType ? {type: __auth.transitionRedirectType, from: __auth.transitionPrev, to: __auth.transitionThis} : null;
__auth.transitionRedirectType = null;

@@ -316,3 +316,3 @@ return cb();

else if (routeAuth === false && __auth.check()) {
__auth.$vm.transitionRedirectType = 404;
__auth.transitionRedirectType = 404;

@@ -326,4 +326,4 @@ if (typeof notFoundRedirect === 'function') {

else {
__auth.$vm.redirect = __auth.$vm.transitionRedirectType ? {type: __auth.$vm.transitionRedirectType, from: __auth.$vm.transitionPrev, to: __auth.$vm.transitionThis} : null;
__auth.$vm.transitionRedirectType = null;
__auth.$vm.redirect = __auth.transitionRedirectType ? {type: __auth.transitionRedirectType, from: __auth.transitionPrev, to: __auth.transitionThis} : null;
__auth.transitionRedirectType = null;

@@ -330,0 +330,0 @@ return cb();

Sorry, the diff of this file is not supported yet

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