Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

haversack

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

haversack - npm Package Versions

1.3.0

Diff

Changelog

Source

[1.3.0] - 2023-09-07

Changed

  • Dependency updates
  • Change to PNPM for dependencies
  • Build to ESM and CJS
  • Improved dev tooling and config
hemphillcc
published 1.2.3 •

Changelog

Source

[1.2.3] - 2022-06-11

Changed

  • Dependency updates
hemphillcc
published 1.2.2 •

Changelog

Source

[1.2.2] - 2022-05-11

Changed

  • Update all dependencies
  • Build system now using tsup
  • Fixed up the project structure a bit
hemphillcc
published 1.2.1 •

Changelog

Source

[1.2.1] - 2021-09-29

Added

  • New tests for SSR behavior
  • New tests for versioning
  • The version can now be a string in addition to a number
    • This is especially useful if you want to hash a data set to invalidate the cache dynamically

Changed

  • Dependency updates
hemphillcc
published 1.2.0 •

Changelog

Source

[1.2.0] - 2021-08-31

Added

  • Add a version param which allows you to invalidate the stored values who were using a different version

Changed

  • Dependency updates
    • Upgraded to the latest husky which uses git hooks instead of config in the package.json file
    • Added React 17.x to valid peerDependencies
  • Added eslint-plugin-react-hooks and updated the plugin bassed on recommendations
    • useEffect and useState within the hook are not conditional based on isServerSide()
  • Changed from a window.onstorage function to window.addEventListener
    • Setup is done in a useEffect hook that removes the listener on unmount

Fixed

  • This likely fixes some potential memory leaks from storage listeners and functions returned from the hook
hemphillcc
published 1.1.0 •

Changelog

Source

[1.1.0] - 2020-10-17

Added

  • Add onstorage event handler to sync state changes between browser tabs

Changed

  • Update documentation to list bundle size
hemphillcc
published 1.0.0 •

Changelog

Source

[1.0.0] - 2020-10-17

Added

  • Two exported React hooks: useLocalStorage and useSessionStorage
  • TypeScript typings
  • Jest and Testing Library test suite

Changed

  • Completely rewritten and repurposed
  • This is essentially a brand new library
  • Documentation fully updated
hemphillcc
published 0.1.0 •

Changelog

Source

[0.1.0] - 2018-08-29

Added

  • Initial project publish
  • Simple functionality includes setState(), clear(), state retrieval, and lastUpdated timestamp
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc