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

@logux/vuex

Package Overview
Dependencies
Maintainers
2
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@logux/vuex - npm Package Compare versions

Comparing version 0.9.18 to 0.9.19

component/index.cjs

3

CHANGELOG.md
# Change Log
This project adheres to [Semantic Versioning](http://semver.org/).
## 0.9.19
* Update dependencies
## 0.9.18

@@ -5,0 +8,0 @@ * Update Vue to 3.0.5

8

component/index.js

@@ -1,7 +0,7 @@

let {
import {
toRefs,
defineComponent
} = require('vue')
} from 'vue'
let { useSubscription } = require('../composable')
import { useSubscription } from '../composable/index.js'

@@ -31,2 +31,2 @@ let Subscribe = defineComponent({

module.exports = { Subscribe }
export { Subscribe }

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

let { useStore } = require('vuex')
let {
import { useStore } from 'vuex'
import {
ref,

@@ -8,3 +8,3 @@ isRef,

onBeforeUnmount
} = require('vue')
} from 'vue'

@@ -114,2 +114,2 @@ function useSubscription (channels, options = {}) {

module.exports = { useSubscription }
export { useSubscription }

@@ -1,9 +0,9 @@

let { Client, CrossTabClient } = require('@logux/client')
import { Client, CrossTabClient } from '@logux/client'
let { useStore } = require('./inject')
let { Subscribe } = require('./component')
let { useSubscription } = require('./composable')
let { createStoreCreator } = require('./store')
import { useStore } from './inject/index.js'
import { Subscribe } from './component/index.js'
import { useSubscription } from './composable/index.js'
import { createStoreCreator } from './store/index.js'
module.exports = {
export {
Client,

@@ -10,0 +10,0 @@ useStore,

@@ -27,4 +27,4 @@ import { Log } from '@logux/core'

C extends Client = Client<{}, L>
> (
injectKey?: InjectionKey<LoguxVuexStore<S, L, C>> | string
): LoguxVuexStore<S, L, C>
> (
injectKey?: InjectionKey<LoguxVuexStore<S, L, C>> | string
): LoguxVuexStore<S, L, C>

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

let { useStore } = require('vuex')
import { useStore } from 'vuex'
module.exports = { useStore }
export { useStore }
{
"name": "@logux/vuex",
"version": "0.9.18",
"version": "0.9.19",
"description": "Vuex compatible API for Logux",

@@ -11,7 +11,2 @@ "keywords": [

],
"scripts": {
"spell": "yaspeller *.md",
"clean": "rimraf coverage/",
"test": "jest --coverage && eslint . && check-dts && size-limit && yarn spell"
},
"author": "Eduard Aksamitov <e@edaks.co>",

@@ -21,2 +16,3 @@ "license": "MIT",

"repository": "logux/vuex",
"types": "./index.d.ts",
"sideEffects": false,

@@ -33,109 +29,42 @@ "engines": {

"@logux/core": "^0.6.2",
"nanoevents": "^5.1.10"
"nanoevents": "^5.1.11"
},
"devDependencies": {
"@logux/eslint-config": "^40.0.5",
"@logux/sharec-config": "^0.7.4",
"@size-limit/dual-publish": "^4.6.0",
"@size-limit/preset-small-lib": "^4.6.0",
"@typescript-eslint/eslint-plugin": "^4.4.0",
"@typescript-eslint/parser": "^4.4.0",
"@vue/test-utils": "^2.0.0-beta.6",
"check-dts": "^0.3.3",
"dual-publish": "^0.11.0",
"eslint": "^7.11.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prefer-let": "^1.1.0",
"eslint-plugin-prettierx": "^0.14.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-security": "^1.4.0",
"eslint-plugin-standard": "^4.0.1",
"eslint-plugin-unicorn": "^22.0.0",
"husky": "^4.3.0",
"jest": "^26.5.2",
"lint-staged": "^10.4.0",
"nanodelay": "^1.0.3",
"rimraf": "^3.0.2",
"size-limit": "^4.6.0",
"ts-jest": "^26.4.1",
"typescript": "^4.0.3",
"vue": "^3.0.5",
"vuex": "^4.0.0",
"yaspeller": "^7.0.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.md": "yaspeller",
"*.js": "eslint",
"*.ts": "eslint"
},
"jest": {
"preset": "ts-jest",
"coverageThreshold": {
"global": {
"statements": 100
}
}
},
"eslintConfig": {
"extends": "@logux/eslint-config/ts",
"rules": {
"prettierx/options": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-explicit-any": "off"
}
},
"eslintIgnore": [
"**/errors.ts"
],
"size-limit": [
{
"name": "Store",
"import": "{ CrossTabClient, createStoreCreator, useStore }",
"limit": "10 KB"
"type": "module",
"main": "index.cjs",
"module": "index.js",
"react-native": "index.js",
"exports": {
".": {
"require": "./index.cjs",
"import": "./index.js",
"types": "./index.d.ts"
},
{
"name": "Store + Helpers",
"import": "{ CrossTabClient, createStoreCreator, useStore, useSubscription, Subscribe }",
"limit": "11 KB"
}
],
"yaspeller": {
"lang": "en",
"ignoreCapitalization": true,
"ignoreText": [
" \\(by [^)]+\\)"
],
"dictionary": [
"versioning",
"peerDependencies",
"npm",
"vue",
"GraphQL",
"io",
"logux",
"vuex",
"mixin",
"mixin’s",
"TypeDoc",
"WebSocket",
"payload",
"ES",
"roadmap",
"refactor",
"composable",
"unsubscribes"
]
},
"sharec": {
"config": "@logux/sharec-config",
"version": "0.7.4"
"./package.json": "./package.json",
"./component/package.json": "./component/package.json",
"./component": {
"require": "./component/index.cjs",
"import": "./component/index.js"
},
"./composable/package.json": "./composable/package.json",
"./composable": {
"require": "./composable/index.cjs",
"import": "./composable/index.js"
},
"./inject/package.json": "./inject/package.json",
"./inject": {
"require": "./inject/index.cjs",
"import": "./inject/index.js"
},
"./store/package.json": "./store/package.json",
"./store": {
"require": "./store/index.cjs",
"import": "./store/index.js"
},
"./utils/package.json": "./utils/package.json",
"./utils": {
"require": "./utils/index.cjs",
"import": "./utils/index.js"
},
"./index.d.ts": "./index.d.ts"
}
}
}

@@ -1,2 +0,1 @@

import { InjectionKey } from 'vue'
import { Unsubscribe } from 'nanoevents'

@@ -6,5 +5,3 @@ import { Action, Log } from '@logux/core'

Client,
ClientMeta,
ClientOptions,
CrossTabClient
ClientMeta
} from '@logux/client'

@@ -11,0 +8,0 @@ import {

@@ -1,10 +0,10 @@

let { createStore: createVuexStore } = require('vuex')
let { createNanoEvents } = require('nanoevents')
let { isFirstOlder } = require('@logux/core')
import { createStore as createVuexStore } from 'vuex'
import { createNanoEvents } from 'nanoevents'
import { isFirstOlder } from '@logux/core'
let {
import {
deepCopy,
isPromise,
forEachValue
} = require('../utils')
} from '../utils/index.js'

@@ -462,2 +462,2 @@ function createStoreCreator (client, options = {}) {

module.exports = { createStoreCreator }
export { createStoreCreator }

@@ -36,3 +36,3 @@ function find (list, f) {

module.exports = {
export {
find,

@@ -39,0 +39,0 @@ deepCopy,

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