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.1-beta to 3.1.2-beta

2

package.json

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

"version": "3.1.1-beta",
"version": "3.1.2-beta",

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

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

Auth.prototype.user = function (data) {
if (data) {
if (data !== undefined) {
_processFetch(data);

@@ -506,6 +506,11 @@ }

Auth.prototype.token = function (name, token, expires) {
if (token) {
expires = (expires === true || expires === false) ? expires : __token.get.call(__auth, __auth.options.staySignedInKey);
if (token !== undefined) {
if (token === null) {
__token.remove.call(__auth, name);
}
else {
expires = (expires === true || expires === false) ? expires : __token.get.call(__auth, __auth.options.staySignedInKey);
__token.set.call(__auth, name, token, expires);
__token.set.call(__auth, name, token, expires);
}
}

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