🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

nuxt-typed-vuex

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuxt-typed-vuex - npm Package Compare versions

Comparing version

to
0.3.0

2

lib/index.d.ts

@@ -8,2 +8,2 @@ import { Module } from '@nuxt/types';

export default nuxtTypedVuex;
export { nuxtTypedVuex as default };
import { resolve, join } from 'upath';
var name = "nuxt-typed-vuex";
var version = "0.1.22";
var version = "0.2.0";
const nuxtTypedVuex = function nuxtTypedVuex2() {
const nuxtOptions = this.nuxt.options;
if (!nuxtOptions.store)
if (!this.options.store)
console.warn("You do not have a store defined.");

@@ -14,10 +13,10 @@ this.addPlugin({

options: {
store: join(nuxtOptions.buildDir, "store")
store: join(this.options.buildDir, "store")
}
});
nuxtOptions.build.transpile = nuxtOptions.build.transpile || [];
nuxtOptions.build.transpile.push(/typed-vuex/);
this.options.build.transpile = this.options.build.transpile || [];
this.options.build.transpile.push(/typed-vuex/);
};
nuxtTypedVuex.meta = {name, version};
nuxtTypedVuex.meta = { name, version };
export default nuxtTypedVuex;
export { nuxtTypedVuex as default };

@@ -6,7 +6,6 @@ 'use strict';

var name = "nuxt-typed-vuex";
var version = "0.1.22";
var version = "0.2.0";
const nuxtTypedVuex = function nuxtTypedVuex2() {
const nuxtOptions = this.nuxt.options;
if (!nuxtOptions.store)
if (!this.options.store)
console.warn("You do not have a store defined.");

@@ -17,10 +16,10 @@ this.addPlugin({

options: {
store: upath.join(nuxtOptions.buildDir, "store")
store: upath.join(this.options.buildDir, "store")
}
});
nuxtOptions.build.transpile = nuxtOptions.build.transpile || [];
nuxtOptions.build.transpile.push(/typed-vuex/);
this.options.build.transpile = this.options.build.transpile || [];
this.options.build.transpile.push(/typed-vuex/);
};
nuxtTypedVuex.meta = {name, version};
nuxtTypedVuex.meta = { name, version };
module.exports = nuxtTypedVuex;
{
"name": "nuxt-typed-vuex",
"version": "0.2.0",
"version": "0.3.0",
"description": "A typed store accessor for Nuxt.",

@@ -36,3 +36,3 @@ "keywords": [

"dependencies": {
"typed-vuex": "0.2.0",
"typed-vuex": "0.3.0",
"upath": "^2.0.1"

@@ -42,11 +42,11 @@ },

"@nuxt/test-utils": "^0.2.2",
"@nuxt/types": "^2.15.4",
"@nuxt/types": "^2.15.8",
"@nuxt/typescript-build": "^2.1.0",
"core-js": "3.11.1",
"nuxt": "^2.15.4",
"ts-loader": "^8.2.0",
"tsd": "^0.14.0"
"core-js": "3.21.0",
"nuxt": "^2.15.8",
"ts-loader": "^8.3.0",
"tsd": "^0.19.1"
},
"peerDependencies": {
"@nuxt/types": "^2.15.4"
"@nuxt/types": "^2.15.6"
},

@@ -53,0 +53,0 @@ "tsd": {