Releases: clarkbw/jest-localstorage-mock
Releases · clarkbw/jest-localstorage-mock
jsdom localStorage and sessionStorage support
Thanks to @geoffdutton in #80 we have support for the latest version of jest which pulls in an updated jsdom.
Enumerable properties
Node LTS support
This release updates the build to target the current active Node LTS release.
If you need to support older node releases like 4.x and are using babel use the import
syntax which should pull in the module source code instead of the built code and can compile as needed.
v2.0.1
SessionStorage
This new release includes support for a sessionStorage
global which is a duplicate of all the existing localStorage
methods.
While this isn't a breaking change, it is a large change to the library so I wanted a bump from the original version to notify consumers. Please file an issue if you do see a change that isn't backwards compatible with the previous 1.x release.