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

vuex-cache

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vuex-cache - npm Package Versions

1

1.3.0

Diff

Changelog

Source

1.3.0

  • Add timeout option to dispatch options.

    store.cache.dispatch({
      type: 'UPDATE_USER',
      param: payload,
      timeout: 100,
    })
    
    // Or using dispatch's third argument (`DispatchOptions`).
    store.cache.dispatch('UPDATE_USER', payload, {
      timeout: 100,
    })
    

    Improvement suggested by @razekteixeira on #11 and by @samsebastian on #4.

superwf
published 1.2.0 •

Changelog

Source

1.2.0

  • Change build and tests:
    • Update babel to version 7 and use babel-env;
    • Use jest instead of mocha and expect for unit tests;
    • Use rollup to generate ESM + ES6 bundle, besides the CommonJS + ES5 one.
superwf
published 1.1.1 •

Changelog

Source

1.1.1

  • Fixe cache.delete function for actions with a payload.
superwf
published 1.1.0 •

Changelog

Source

1.1.0

  • Add support to cache actions with params/payloads.

    store.cache.dispatch({
      type: 'UPDATE_USER',
      param: payload,
    })
    
    store.cache.dispatch('UPDATE_USER', payload)
    

    Improvement suggested by @eele94 on #5.

superwf
published 1.0.1 •

Changelog

Source

1.0.1

  • Remove Vue and Vuex peer dependencies.

    This is added on PR #3 and fixes issue #2.

superwf
published 1.0.0 •

Changelog

Source

1.0.0

  • Use a Map instance instead of own functions to check, delete and clean cache.

    This is added on PR #1.

superwf
published 0.3.1 •

superwf
published 0.3.0 •

superwf
published 0.1.0 •

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