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.2.0 to 1.2.1

test/unit/specs/__snapshots__/App.spec.js.snap

19

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

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

"test": "npm run unit",
"lint": "eslint --ext .js,.vue src test/unit/specs",
"install": "mkdir -p ../../static/img && cp -r ./static/img/ ../../static/img/"
"lint": "eslint --ext .js,.vue src test/unit/specs"
},
"dependencies": {
"axios": "^0.15.3",
"concurrently": "^3.5.0",
"jquery": "^3.2.1",

@@ -25,2 +25,4 @@ "jwt-decode": "^2.2.0",

"lodash": "^4.17.4",
"mkdirp": "^0.5.1",
"ncp": "^2.0.0",
"qs": "^6.5.0",

@@ -64,2 +66,3 @@ "url-template": "^2.0.8"

"jest": "^20.0.4",
"jest-vue-preprocessor": "^1.0.1",
"karma": "^1.4.1",

@@ -111,2 +114,10 @@ "karma-coverage": "^1.1.1",

"jest": {
"moduleFileExtensions": [
"js",
"vue"
],
"transform": {
"^.+\\.js$": "<rootDir>/node_modules/babel-jest",
".*\\.(vue)$": "<rootDir>/node_modules/jest-vue-preprocessor"
},
"moduleNameMapper": {

@@ -116,5 +127,5 @@ "@/components/(.*).$": "<rootDir>/src/components/$1.vue"

"setupFiles": [
"<rootDir>/test/unit/mocks/*.js"
"<rootDir>/test/unit/mocks/localstorage.js"
]
}
}

@@ -87,2 +87,3 @@ import Vue from 'vue'

$init: async (context) => {
context.state.loading = true
if (!localStorage.getItem('jwt')) {

@@ -89,0 +90,0 @@ context.commit('STOP_LOADING')

@@ -0,1 +1,3 @@

import $ from 'jquery'
class LocalStorageMock {

@@ -24,1 +26,4 @@ constructor() {

global.localStorage = new LocalStorageMock()
global.$ = global.jQuery = $

Sorry, the diff of this file is not supported yet

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