Gathering detailed insights and metrics for vuex-dot-buffer
Gathering detailed insights and metrics for vuex-dot-buffer
Gathering detailed insights and metrics for vuex-dot-buffer
Gathering detailed insights and metrics for vuex-dot-buffer
vuex-dot plugin providing buffering with flushing changes on trigger value change
npm install vuex-dot-buffer
Typescript
Module System
Node Version
NPM Version
70.7
Supply Chain
76.5
Quality
75.5
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
2 Stars
10 Commits
1 Watchers
1 Branches
1 Contributors
Updated on Jul 12, 2019
Latest Version
1.1.2
Package Id
vuex-dot-buffer@1.1.2
Unpacked Size
11.72 kB
Size
4.03 kB
File Count
9
NPM Version
6.1.0
Node Version
8.11.2
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
vuex-dot plugin providing buffering with flushing changes on trigger value change
In some cases you do not need to pass each change into your state. For example you want to be sure, that you are saving to state only full and clean data values, not partial\dirty.
So you want to accumulate your changes, until they can be safely passed to storage
This plugin injects such accumulation logic between your component and state. Workflow is very simple: it buffers all changes, done to fields, without passing them beyond until trigger value changes. On change of trigger value buffer flushes and all delayed setters are launched with latest buffered changes
1<template> 2 <input placeholder="name" v-model="name"/> 3 <input placeholder="email" v-model="email"/> 4 <button @click="$version++">Apply</button> 5</template> 6 7<script> 8 import { takeState } from 'vuex-dot'; 9 import buffer from 'vuex-dot-buffer'; 10 11 export default { 12 computed: { 13 ...takeState('user') 14 .expose(['name', 'email']) 15 .use(buffer('$version')) //all changes are buffered 16 .dispatch('editUser') 17 .map() 18 } 19 } 20</script>
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/10 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
50 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More