Socket
Socket
Sign inDemoInstall

angular-localforage

Package Overview
Dependencies
27
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1

1.2.4

Diff

Changelog

Source

1.2.4 (2015-12-16)

Bug Fixes

  • require localforage ~1.2.10 (b75ef139, #84)
  • gulpfile.js missing done var in build task (670398ab)
  • ArrayBuffer binary type is now supported (7b1be931)

<a name="1.2.3"></a>

ocombe
published 1.2.3 •

Changelog

Source

1.2.3 (2015-07-10)

Bug Fixes

  • Fixed $localForage.bind with falsey defaults (+ test). (c686347b)
  • getItem returns null for unknown key (c88e346, #55)

<a name="1.2.2"></a>

ocombe
published 1.2.2 •

Changelog

Source

1.2.2 (2014-12-08)

Bug Fixes

<a name="1.2.1"></a>

ocombe
published 1.2.0 •

Changelog

Source

1.2.0 (2014-11-18)

Features

  • new method pull (0a1cf013, #38)
  • you can now get, set and remove multiple items at the same time (8b304633, #35)
  • new method iterate (3e942732, #42)

Breaking Changes

  • due to 3e942732, the method search has been removed and replaced with iterate that can potentially do the same but is based on the localForage function iterate and is way more optimised.

Fixes #42

<a name="1.1.0"></a>

ocombe
published 1.1.0 •

Changelog

Source

1.1.0 (2014-11-01)

Features

  • Added search functionality (220110bd)
  • Script loading for require.js (56647fdf, #26)
  • Update to localforage 1.1.1

<a name="1.0.0"></a>

ocombe
published 1.0.0 •

Changelog

Source

1.0.0 (2014-10-17)

Features

  • You can now use multiple instances of localForage (see the Readme file for more info).
  • You can use a name option with bind and with the directive to specify which instance to use.
  • Slightly better examples (I could do much better)

Breaking changes

  • The following deprecated functions have been removed: getDriver, set, get, remove, clearAll, getKeyAt, getLength

  • getKeys is now deprecated, use the function keys instead (following the naming convention from localForage).

  • Because localForage now takes into account the prefix for localStorage, this lib will no longer add its own prefix to localStorage variables. If you want to ensure compability with values stored in localStorage before this release, you need to add oldPrefix: true to your provider's configuration:

    $localForageProvider.config({
        oldPrefix: true
    });
    

    If you don't do that, you won't be able to access those old data, and they will stay in localStorage. This doesn't affect other storages (indexedDB & WebSQL).

  • The method bind and the directive have changed: storeName has been replaced by scopeKey to avoid confusion with the storeName from config and to be more self explicit. key is now the name of the storage key.

  • The method unbind now takes only 2 parameters (scope & key, or scope & config object). storeName has also been replaced by scopeKey.

Documentation

  • Better doc on the directive
  • General cleanup
  • Doc for the multiple instances

<a name="0.2.10"></a>

ocombe
published 0.2.10 •

Changelog

Source

0.2.10 (2014-09-08)

Bug Fixes

  • use angular.copy before storing values (e4707d3e, #29)
  • use correct model to allow multiple binding (42f41d3a, #28)
  • fixed tests for all browsers (06258791)

Documentation

  • updated readme with lowercase name of the lib for bower & npm (809c6636)

<a name="0.2.9"></a>

ocombe
published 0.2.9 •

Changelog

Source

0.2.9 (2014-07-30)

Features

<a name="0.2.8"></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