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

@mapomodule/core

Package Overview
Dependencies
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mapomodule/core - npm Package Compare versions

Comparing version 1.0.0-alpha.8 to 1.0.0-alpha.9

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

# [1.0.0-alpha.9](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.8...v1.0.0-alpha.9) (2022-02-08)
**Note:** Version bump only for package @mapomodule/core
# [1.0.0-alpha.8](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.7...v1.0.0-alpha.8) (2022-01-23)

@@ -8,0 +16,0 @@

6

index.js

@@ -7,3 +7,3 @@ import createRepository from '@mapomodule/core/api/crud'

const meta = Array.isArray(route?.meta) ? route.meta[0] : route.meta
const { middleware } = meta
const { middleware } = meta || {}
return (typeof middleware === "string" ? [middleware] : middleware) || []

@@ -50,3 +50,3 @@ }

get username() { return ctx.store.getters['mapo/user/username'] },
get permissions() { return ctx.store.getters['mapo/user/pagePermission'](ctx.app.context.route.name) },
get permissions() { return ctx.store.getters['mapo/user/pagePermission'](ctx.app?.context?.route?.name || "") },
get role() { return ctx.store.getters['mapo/user/role'] }

@@ -59,3 +59,3 @@ },

get routeMiddlewares() {
return getRouteMiddlewares(ctx.app.context.route)
return getRouteMiddlewares(ctx.app?.context?.route || {})
},

@@ -62,0 +62,0 @@ /**

{
"name": "@mapomodule/core",
"version": "1.0.0-alpha.8",
"version": "1.0.0-alpha.9",
"description": "This is part of Mapo nuxt module. Injects the core mapo plugin helpers.",

@@ -16,3 +16,3 @@ "author": "bnznamco <gabriele.baldi.01@gmail.com>",

"dependencies": {
"@mapomodule/utils": "^1.0.0-alpha.8"
"@mapomodule/utils": "^1.0.0-alpha.9"
},

@@ -22,3 +22,3 @@ "publishConfig": {

},
"gitHead": "4448ce925e9f3af25f78f86c3e28a88145201520"
"gitHead": "a75142247a9371981aea57b76828bd354b375aea"
}
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