New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

olobase

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

olobase - npm Package Compare versions

Comparing version 1.2.8 to 1.2.9

27

index.js

@@ -34,3 +34,2 @@ /*!

i18n,
dashboard,
downloadUrl,

@@ -68,3 +67,2 @@ readFileUrl,

this.i18n = i18n
this.dashboard = dashboard
this.apiUrl = this.env.VITE_API_URL

@@ -271,26 +269,3 @@ this.downloadUrl = downloadUrl

: this.i18n.global.t("titles." + lowerCase(this.title))
/**
* Check and refresh authenticated user with last permissions
* after each navigation
*/
let user = await this.store.dispatch("auth/checkAuth")
/**
* If logged
*/
if (user) {
/**
* Redirect to dashboard route by default if public or root path
*/
if (to.path === "/" || !to.meta.authenticated) {
return next({ name: this.dashboard })
}
return next()
}
/**
* Force redirect to login if not logged for authenticated routes
*/
// if (to.meta.authenticated) {
// return next({ name: "login" })
// }
next()
next();
})

@@ -297,0 +272,0 @@ const l = new LicenseChecker(this.i18n, this.env);

2

package.json
{
"name": "olobase",
"version": "1.2.8",
"version": "1.2.9",
"description": "Create fast and easy admin panel apps with Vue and Php technologies",

@@ -5,0 +5,0 @@ "main": "index.js",

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