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

direct-vuex

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

direct-vuex - npm Package Compare versions

Comparing version 0.6.10 to 0.6.11

2

package.json
{
"name": "direct-vuex",
"version": "0.6.10",
"version": "0.6.11",
"description": "Use and implement your Vuex store with TypeScript types. Compatible with the Vue 3 composition API.",

@@ -5,0 +5,0 @@ "author": "Paleo",

# direct-vuex
[![Build Status](https://travis-ci.com/paleo/direct-vuex.svg?branch=master)](https://travis-ci.com/paleo/direct-vuex)
[![codebeat badge](https://codebeat.co/badges/17e153d2-1fca-470e-8ef2-e444827a5729)](https://codebeat.co/projects/github-com-paleo-direct-vuex-master)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/c62abca7334941b5ac75e713cd60a0a4)](https://www.codacy.com/manual/paleo/direct-vuex?utm_source=github.com&utm_medium=referral&utm_content=paleo/direct-vuex&utm_campaign=Badge_Grade)
![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/paleo/direct-vuex)
[![npm](https://img.shields.io/npm/dm/direct-vuex)](https://www.npmjs.com/package/direct-vuex)
![GitHub](https://img.shields.io/github/license/paleo/direct-vuex)

@@ -13,3 +18,3 @@ Use and implement your Vuex store with TypeScript types. Direct-vuex doesn't require classes, so it is compatible with the Vue 3 composition API.

```
```sh
npm install direct-vuex

@@ -135,2 +140,2 @@ ```

- **TSLint** from Microsoft (`ms-vscode.vscode-typescript-tslint-plugin`)
- **TSLint** from Microsoft (`ms-vscode.vscode-typescript-tslint-plugin`)

@@ -95,3 +95,3 @@ import { ActionContext, Store } from "vuex"

type DirectActionContext<R, O> = {
interface DirectActionContext<R, O> {
rootState: ToFlatType<DirectState<R>>

@@ -123,5 +123,5 @@ rootGetters: ToFlatType<DirectGetters<R>>

type ToFlatType<T> =
T extends Store<any> | Function ? T :
T extends Store<any> | ((...args: any[]) => any) ? T :
T extends object ?
T extends infer O ? { [K in keyof O]: ToFlatType<O[K]> } : never
: T
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