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 2.8.0-beta to 2.8.1-beta

2.x.demo/public/index.html

4

package.json

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

"version": "2.8.0-beta",
"version": "2.8.1-beta",

@@ -52,3 +52,3 @@ "repository": {

"@websanova/vue-auth": "2.8.0-beta",
"@websanova/vue-auth": "2.8.1-beta",
"axios": "0.15.3",

@@ -55,0 +55,0 @@ "vue-axios": "1.2.2"

@@ -463,3 +463,3 @@ # Vue Auth

* Returns either an object if a redirect occurred or null.
* Returns either an object if a redirect occurred or `null`.
* The object is in the form `{type: <string>, from: <object>, to: <object>}` Where `type` is one of `401`, `403`, `404` and the `from` and `to` objects are just copies of the route transitions.

@@ -814,2 +814,3 @@

* Fix for `loginData.fetchUser` when set to `false`.
* Removed `transition` method, replaced with `redirect`.

@@ -816,0 +817,0 @@ * Added `redirect` method for easy access to check for redirects from auth.

@@ -123,3 +123,3 @@ var __utils = require('./lib/utils.js'),

function _parseUserData(data) {
return data.data;
return data.data || {};
}

@@ -126,0 +126,0 @@

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

function toArray(val) {
return (typeof val) === 'string' || (typeof val) === 'number' ? [val] : val;
return val === undefined || (typeof val) === 'string' || (typeof val) === 'number' ? [val] : val;
}

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