New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

vuex-cache

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vuex-cache - npm Package Versions

superwf
published 1.3.0 •

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 •