Skip to content

Releases: ripeworks/local-storage-fallback

5.0.0

25 Oct 18:51
Compare
Choose a tag to compare
  • Bumped cookie dependency to 1.x
  • Upgraded to latest babel (builds)
  • Upgraded to latest webpack (builds)

4.1.2

17 Feb 16:24
Compare
Choose a tag to compare
  • Updated typescript types! #19

4.1.1

25 May 19:36
ddfa90d
Compare
Choose a tag to compare
  • Support empty prefix with cookie storage: CookieStorage({prefix: ''}) @minhchu

4.1.0

15 Mar 12:17
Compare
Choose a tag to compare

4.0.1

23 Oct 14:19
Compare
Choose a tag to compare
  • Added typescript typings [#12]

4.0.0

27 Jul 19:55
Compare
Choose a tag to compare
  • Update module to use ES modules. Export default storage object, utility classes, and a fallback storage object under storage. Thanks to @philipvonbargen for the PR.

Example:

// ES Modules
import storage, { CookieStorage, isSupported } from 'local-storage-fallback'

// require
const {storage} = require('local-storage-fallback')
  • Added a quick test to make sure that the browser build works as intended.

3.0.0

07 Jul 16:31
Compare
Choose a tag to compare
  • Export CookieStorage, MemoryStorage, and isSupported in main module.
  • Allow CookieStorage to accept an options object. (e.g. new CookieStorage({prefix: 'foo'}))

Thanks to @joelabair for #7

2.0.0

22 Jun 13:53
Compare
Choose a tag to compare
  • Fixed browser build exporting .default
  • Changed module to use standard module.exports rather than es modules export default

1.3.1

10 May 19:04
Compare
Choose a tag to compare

1.3.0

06 Jul 13:04
Compare
Choose a tag to compare
  • Switch to using cookie module (#1)
  • Added test coverage