Socket
Socket
Sign inDemoInstall

@ngx-pwa/local-storage

Package Overview
Dependencies
Maintainers
1
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ngx-pwa/local-storage - npm Package Versions

1
13

8.2.1

Diff

Changelog

Source

8.2.1 (2019-08-20)

Features

  • Support for ng add @ngx-pwa/local-storage (for versions >= 8)
  • Support for ng update @ngx-pwa/local-storage (it does not mean you do not have work to do when updating, be sure to follow the migrations guides)

Error management

Before v8.2.0, this library was listening to indexedDb request success event. Now it is listening to transaction complete event.

Except for the special .keys() method, all other methods in this library are doing just one request by transaction. So request success or transaction complete are supposed to be equivalent. But there are rare cases like #162 where the transaction could fail even if the request succeeded (meaning the data will not be written on disk).

So now it should catch more rare edgy cases, but for nearly everyone it should not change anything. But it is still a sensitive change as it concerns asynchrony (the order of operations are not exactly the same).

cyrilletuzi
published 8.2.0 •

cyrilletuzi
published 9.0.0-beta.0 •

cyrilletuzi
published 8.2.0-beta.1 •

cyrilletuzi
published 8.2.0-beta.0 •

cyrilletuzi
published 8.1.0 •

Changelog

Source

8.1.0 (2019-08-17)

Performance

  • Simpler and quicker way to store a value with indexedDb
cyrilletuzi
published 8.1.0-beta.0 •

cyrilletuzi
published 6.2.5 •

Changelog

Source

6.2.5 & 8.0.2 (2019-06-19)

Bug fix

  • Same fix as previous release, but makes it work for all browsers (fixes #118)
cyrilletuzi
published 8.0.2 •

Changelog

Source

6.2.5 & 8.0.2 (2019-06-19)

Bug fix

  • Same fix as previous release, but makes it work for all browsers (fixes #118)
cyrilletuzi
published 6.2.4 •

Changelog

Source

6.2.4 & 8.0.1 (2019-06-05)

Bug fix

  • When storage is fully disabled in browser (via the "Block all cookies" option), just trying to check indexedDB or localStorage variables causes a security exception, and all Angular code will fail. So the library is now catching the error, and fallbacks to in-memory storage in this case.
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