Skip to content

Releases: ripeworks/local-storage-fallback

5.0.0

Choose a tag to compare

@tamagokun tamagokun released this 25 Oct 18:51
  • Bumped cookie dependency to 1.x
  • Upgraded to latest babel (builds)
  • Upgraded to latest webpack (builds)

4.1.2

Choose a tag to compare

@tamagokun tamagokun released this 17 Feb 16:24
  • Updated typescript types! #19

4.1.1

Choose a tag to compare

@tamagokun tamagokun released this 25 May 19:36
ddfa90d
  • Support empty prefix with cookie storage: CookieStorage({prefix: ''}) @minhchu

4.1.0

Choose a tag to compare

@tamagokun tamagokun released this 15 Mar 12:17

4.0.1

Choose a tag to compare

@tamagokun tamagokun released this 23 Oct 14:19
  • Added typescript typings [#12]

4.0.0

Choose a tag to compare

@tamagokun tamagokun released this 27 Jul 19:55
  • 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

Choose a tag to compare

@tamagokun tamagokun released this 07 Jul 16:31
  • 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

Choose a tag to compare

@tamagokun tamagokun released this 22 Jun 13:53
  • Fixed browser build exporting .default
  • Changed module to use standard module.exports rather than es modules export default

1.3.1

Choose a tag to compare

@tamagokun tamagokun released this 10 May 19:04

1.3.0

Choose a tag to compare

@tamagokun tamagokun released this 06 Jul 13:04
  • Switch to using cookie module (#1)
  • Added test coverage