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

ls-proxy

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ls-proxy - npm Package Versions

2

0.7.0

Diff

Changelog

Source

0.7.0

Added

  • Added mutateProxiedObject option to storeObject and storeSeparate
  • Added a factory for SolidJS (createSignalProxy in ls-proxy/factories/solid)

Changed

  • Removed factories re-export from index.ts
  • Renamed React factory from storeStateful to useStateProxy
mysteryblokhed
published 0.6.1 •

Changelog

Source

0.6.1

Fixed

  • Configured package.json so that factories can be imported as shown in the docs
  • Fixed comment in documentation for storeStateful
mysteryblokhed
published 0.6.0 •

Changelog

Source

0.6.0

Added

  • Added factory functions for custom stores as well as documentation about them (the ones that exist and how to make them)

Fixed

  • Updated dependency on terser to non-vulnerable version
  • Fixed incorrect documentation for base64 encoding example
mysteryblokhed
published 0.5.1 •

Changelog

Source

0.5.1

Fixed

  • Updated some dependencies to non-vulnerable versions
mysteryblokhed
published 0.5.0 •

Changelog

Source

0.5.0

Changed

  • Completely changed the storeSeparate function to automatically serialize/deserialize keys in localStorage like storeObject
    • Values are automatically serialized/deserialized
    • Supports validate, modify, and other functions from storeObject
    • Supports deeply nested objects
mysteryblokhed
published 0.4.0 •

Changelog

Source

0.4.0

Added

  • Added option to define get/set functions for storeObject
  • Added JSDoc for functions' generic types
mysteryblokhed
published 0.3.1 •

Changelog

Source

0.3.1

Fixed

  • Fixed arrays not updating localStorage values the way objects do
mysteryblokhed
published 0.3.0 •

Changelog

Source

0.3.0

Added

  • Added support for deeply nested objects
  • Added action parameter to storeObject's modify and validate functions to indicate whether an object is being set to or retrieved from localStorage
mysteryblokhed
published 0.2.1 •

Changelog

Source

0.2.1

Changed

  • Changed license from MIT to dual-license MIT OR Apache-2.0

Fixed

  • Fixed outdated JSDoc for validate function
mysteryblokhed
published 0.2.0 •

Changelog

Source

0.2.0

Added

  • Option to store multiple objects under the same localStorage key (see partial parameter for StoreObjectConfig or different-keys-same-object.ts in examples)
  • Testing with Jest
  • Default functions for common validation use cases (key validation and basic type checking). See Validations namespace

Changed

  • Move modification ability of validate to new function for storeObject
  • Removed some unecessary generics from functions
2
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