Releases: ripeworks/local-storage-fallback
Releases · ripeworks/local-storage-fallback
5.0.0
- Bumped
cookie
dependency to 1.x
- Upgraded to latest babel (builds)
- Upgraded to latest webpack (builds)
4.1.2
- Updated typescript types! #19
4.1.1
- Support empty prefix with cookie storage:
CookieStorage({prefix: ''})
@minhchu
4.0.1
- Added typescript typings [#12]
4.0.0
- 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
- 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
- Fixed browser build exporting
.default
- Changed module to use standard
module.exports
rather than es modules export default
1.3.0
- Switch to using cookie module (#1)
- Added test coverage