Socket
Socket
Sign inDemoInstall

croud-layout

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

croud-layout - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

2

package.json
{
"name": "croud-layout",
"main": "src/plugin.js",
"version": "1.1.0",
"version": "1.1.1",
"description": "A Vue.js project",

@@ -6,0 +6,0 @@ "author": "Brock <brock.reece@croud.co.uk>",

@@ -32,2 +32,5 @@ import Vue from 'vue'

},
UPDATE_ROOT(state) {
state.root = jwtDecode(localStorage.getItem('root'))
},
STOP_LOADING(state) {

@@ -53,2 +56,5 @@ state.loading = false

},
updateRoot: (context) => {
context.commit('UPDATE_ROOT')
},
updateJWT: (context) => {

@@ -72,3 +78,3 @@ context.commit('UPDATE_JWT')

if (!context.getters.root.sub || context.getters.root.sub === context.getters.jwt.sub) {
if (context.getters.root.sub === context.getters.jwt.sub) {
context.dispatch('updateUserSwitches', response.body.data.user_switches.data)

@@ -75,0 +81,0 @@ }

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