Socket
Socket
Sign inDemoInstall

ngx-webstorage-service

Package Overview
Dependencies
4
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

5.0.0

Diff

Changelog

Source

5.0.0 (2021-12-27)

⚠ BREAKING CHANGES

  • deps: peer dependencies have been updated to require at least Angular 13.0.0

Features

  • add isLocalStorageAvailable and isSessionStorageAvailable functions (b8c9617), closes #13

  • deps: upgrade to Angular 13 (dfb065b)

dscheerens
published 4.1.0 •

Changelog

Source

4.1.0 (2019-08-27)

Features

  • transcoders: add transcoders for dates (9ac3e0c)
dscheerens
published 4.0.1 •

Changelog

Source

4.0.1 (2019-02-27)

Bug Fixes

  • use localStorageFactory instead sessionStorageFactory of for LOCAL_STORAGE token (closes #9) (4195180)
dscheerens
published 4.0.0 •

Changelog

Source

4.0.0 (2019-02-21)

Features

  • make SESSION_STORAGE and LOCAL_STORAGE self providing in the root injector (8786c26)
  • upgrade to Angular 7 (71cd574)

BREAKING CHANGES

  • Storage services injected using the SESSION_STORAGE and LOCAL_STORAGE injection tokens are no longer part of the StorageServiceModule (now deprecated). Instead they are now self providing in the root injector, which makes them true singleton services. Before multiple instances of these services could exist when lazy loaded routes were used. In practice, however, this change probably doesn't require any modifications to your codebase.
  • the peer dependency for @angular/core has been updated to >=7.0.0

<a name="3.1.3"></a>

dscheerens
published 3.1.3 •

Changelog

Source

3.1.3 (2018-12-10)

Bug Fixes

  • incorrect condition when checking the webstorage availability (e975d08)

<a name="3.1.2"></a>

dscheerens
published 3.1.2 •

Changelog

Source

3.1.2 (2018-12-10)

Bug Fixes

  • webstorage availability check failing due to localStorage and sessionStorage being defined but not accessible in certain scenarios (closes #8) (3637d33)

<a name="3.1.1"></a>

dscheerens
published 3.1.1 •

Changelog

Source

3.1.1 (2018-06-20)

Bug Fixes

  • reference error when module is used in a non-browser environment (closes #5) (64ef276)

<a name="3.1.0"></a>

dscheerens
published 3.1.0 •

Changelog

Source

3.1.0 (2018-05-01)

Features

  • allow for checking the presence of an entry in storage (storageService.has(key)) (679f0e8)

<a name="3.0.0"></a>

dscheerens
published 3.0.0 •

Changelog

Source

3.0.0 (2018-04-30)

Chores

  • replace build tooling with 'ng-packgr' and 'angular-cli' (7afd530)
  • integrate standard-version (6a0142a)

Features

  • support for clearing storage (68927a8)
  • support storage transcoders (3b58ef6), closes #1

BREAKING CHANGES

  • StorageService.get(key) will now return undefined instead of null when no entry exists for the specified key.
  • Because of the introduction of storage transcoding, the StorageService interface now expects a type parameter T, which represents the type of values that can be stored and retrieved. By default the storage services use the JSON transcoder, which supports any type of value (as long as it can be JSON encoded). Therefore the type parameter T of StorageService defaults to any, so the introduction of this parameter should not break existing code.
  • Because of the switch to 'ng-packagr' the FESM2015, FESM5 and UMD bundles now reside in different folders. You might need to update your build tools accordingly:
    • bundles/ngx-webstorage-service.js -> esm2015/ngx-webstorage-service.js
    • bundles/ngx-webstorage-service.es5.js -> esm5/ngx-webstorage-service.js
    • bundles/ngx-webstorage-service.umd.js -> (location is unchanged)
  • Furthermore the minimum Angular version has been updated to >=5.0.0.

<a name="2.0.0"></a>

dscheerens
published 2.0.0 •

Changelog

Source

2.0.0 (2017-12-03)

Chores

  • rename package from angular-webstorage-service to ngx-webstorage-service (2f72618)

BREAKING CHANGES

  • Replace your import statements from 'angular-webstorage-service' to 'ngx-webstorage-service'.
  • Due to the rename of the package the name of bundle files have also been updated:
    • bundles/angular-webstorage-service.js -> bundles/ngx-webstorage-service.js
    • bundles/angular-webstorage-service.es5.js -> bundles/ngx-webstorage-service.es5.js
    • bundles/angular-webstorage-service.umd.js -> bundles/ngx-webstorage-service.umd.js

<a name="1.0.2"></a>

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc