redux-storage
Advanced tools
Comparing version 4.1.1 to 4.1.2
@@ -58,4 +58,4 @@ 'use strict'; | ||
export default (function (engine) { | ||
var actionBlacklist = arguments.length <= 1 || arguments[1] === undefined ? [] : arguments[1]; | ||
var actionWhitelist = arguments.length <= 2 || arguments[2] === undefined ? [] : arguments[2]; | ||
var actionBlacklist = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : []; | ||
var actionWhitelist = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : []; | ||
@@ -70,4 +70,4 @@ // Also don't save if we process our own actions | ||
return function (_ref) { | ||
var dispatch = _ref.dispatch; | ||
var getState = _ref.getState; | ||
var dispatch = _ref.dispatch, | ||
getState = _ref.getState; | ||
@@ -74,0 +74,0 @@ return function (next) { |
@@ -8,3 +8,3 @@ 'use strict'; | ||
export default (function (reducer) { | ||
var merger = arguments.length <= 1 || arguments[1] === undefined ? simpleMerger : arguments[1]; | ||
var merger = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : simpleMerger; | ||
@@ -11,0 +11,0 @@ return function (state, action) { |
@@ -70,4 +70,4 @@ 'use strict'; | ||
exports['default'] = function (engine) { | ||
var actionBlacklist = arguments.length <= 1 || arguments[1] === undefined ? [] : arguments[1]; | ||
var actionWhitelist = arguments.length <= 2 || arguments[2] === undefined ? [] : arguments[2]; | ||
var actionBlacklist = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : []; | ||
var actionWhitelist = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : []; | ||
@@ -82,4 +82,4 @@ // Also don't save if we process our own actions | ||
return function (_ref) { | ||
var dispatch = _ref.dispatch; | ||
var getState = _ref.getState; | ||
var dispatch = _ref.dispatch, | ||
getState = _ref.getState; | ||
@@ -86,0 +86,0 @@ return function (next) { |
@@ -16,3 +16,3 @@ 'use strict'; | ||
exports['default'] = function (reducer) { | ||
var merger = arguments.length <= 1 || arguments[1] === undefined ? _reduxStorageMergerSimple2['default'] : arguments[1]; | ||
var merger = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _reduxStorageMergerSimple2['default']; | ||
@@ -19,0 +19,0 @@ return function (state, action) { |
The MIT License (MIT) | ||
Copyright (c) 2015 Michael Contento | ||
Copyright (c) 2016- Gunjan Soni <gunjan.soni2002@gmail.com> | ||
Copyright (c) 2015-2016 Michael Contento <mail@michaelcontento.de> | ||
@@ -5,0 +6,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of |
{ | ||
"name": "redux-storage", | ||
"version": "4.1.1", | ||
"version": "4.1.2", | ||
"description": "Persistence layer for redux with flexible backends", | ||
@@ -12,5 +12,6 @@ "main": "build/index.js", | ||
"type": "git", | ||
"url": "https://github.com/michaelcontento/redux-storage.git" | ||
"url": "https://github.com/react-stack/redux-storage.git" | ||
}, | ||
"homepage": "https://github.com/michaelcontento/redux-storage", | ||
"bugs": "https://github.com/react-stack/redux-storage/issues", | ||
"homepage": "https://github.com/react-stack/redux-storage", | ||
"keywords": [ | ||
@@ -27,3 +28,6 @@ "redux", | ||
], | ||
"author": "Michael Contento <michaelcontento@gmail.com>", | ||
"author": [ | ||
"Michael Contento <mail@michaelcontento.de>", | ||
"Guns <gunjan.soni2002@gmail.com>" | ||
], | ||
"files": [ | ||
@@ -30,0 +34,0 @@ "build/", |
# [redux-storage][] | ||
[![build](https://travis-ci.org/michaelcontento/redux-storage.svg?branch=master)](https://travis-ci.org/michaelcontento/redux-storage) | ||
[![dependencies](https://david-dm.org/michaelcontento/redux-storage.svg)](https://david-dm.org/michaelcontento/redux-storage) | ||
[![devDependencies](https://david-dm.org/michaelcontento/redux-storage/dev-status.svg)](https://david-dm.org/michaelcontento/redux-storage#info=devDependencies) | ||
[![build](https://travis-ci.org/guns2410/redux-storage.svg?branch=master)](https://travis-ci.org/react-stack/redux-storage) | ||
[![dependencies](https://david-dm.org/guns2410/redux-storage.svg)](https://david-dm.org/react-stack/redux-storage) | ||
[![devDependencies](https://david-dm.org/guns2410/redux-storage/dev-status.svg)](https://david-dm.org/react-stack/redux-storage#info=devDependencies) | ||
@@ -10,3 +10,2 @@ [![license](https://img.shields.io/npm/l/redux-storage.svg?style=flat-square)](https://www.npmjs.com/package/redux-storage) | ||
[![npm downloads](https://img.shields.io/npm/dm/redux-storage.svg?style=flat-square)](https://www.npmjs.com/package/redux-storage) | ||
[![Code Climate](https://codeclimate.com/github/michaelcontento/redux-storage/badges/gpa.svg)](https://codeclimate.com/github/michaelcontento/redux-storage) | ||
@@ -159,2 +158,8 @@ Save and load the [Redux][] state with ease. | ||
# A fork of [redux-storage](https://github.com/michaelcontento/redux-storage) | ||
The original author of the package [redux-storage](https://github.com/michaelcontento/redux-storage) has decided to deprecate the project and no longer maintained. The package will now be maintained here. | ||
Thank you [michaelcontento](https://github.com/michaelcontento) for a great library! | ||
## License | ||
@@ -164,3 +169,4 @@ | ||
Copyright (c) 2015 Michael Contento | ||
Copyright (c) 2016- Gunjan Soni <gunjan.soni2002@gmail.com> | ||
Copyright (c) 2015-2016 Michael Contento <mail@michaelcontento.de> | ||
@@ -184,4 +190,4 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
[merger-simple]: https://github.com/michaelcontento/redux-storage-merger-simple | ||
[merger-immutablejs]: https://github.com/michaelcontento/redux-storage-merger-immutablejs | ||
[merger-simple]: https://github.com/react-stack/redux-storage-merger-simple | ||
[merger-immutablejs]: https://github.com/react-stack/redux-storage-merger-immutablejs | ||
[npm-engine]: https://www.npmjs.com/browse/keyword/redux-storage-engine | ||
@@ -192,13 +198,13 @@ [npm-decorator]: https://www.npmjs.com/browse/keyword/redux-storage-decorator | ||
[Immutable]: https://github.com/facebook/immutable-js | ||
[redux-storage]: https://github.com/michaelcontento/redux-storage | ||
[redux-storage]: https://github.com/react-stack/redux-storage | ||
[react-native]: https://facebook.github.io/react-native/ | ||
[localStorage]: https://github.com/michaelcontento/redux-storage-engine-localStorage | ||
[localStorageFakePromise]: https://github.com/michaelcontento/redux-storage-engine-localStorageFakePromise | ||
[reactNativeAsyncStorage]: https://github.com/michaelcontento/redux-storage-engine-reactNativeAsyncStorage | ||
[LOAD]: https://github.com/michaelcontento/redux-storage/blob/master/src/constants.js#L1 | ||
[SAVE]: https://github.com/michaelcontento/redux-storage/blob/master/src/constants.js#L2 | ||
[debounce]: https://github.com/michaelcontento/redux-storage-decorator-debounce | ||
[localStorage]: https://github.com/react-stack/redux-storage-engine-localStorage | ||
[localStorageFakePromise]: https://github.com/react-stack/redux-storage-engine-localStorageFakePromise | ||
[reactNativeAsyncStorage]: https://github.com/react-stack/redux-storage-engine-reactNativeAsyncStorage | ||
[LOAD]: https://github.com/react-stack/redux-storage/blob/master/src/constants.js#L1 | ||
[SAVE]: https://github.com/react-stack/redux-storage/blob/master/src/constants.js#L2 | ||
[debounce]: https://github.com/react-stack/redux-storage-decorator-debounce | ||
[engines]: https://github.com/allegro/redux-storage-decorator-engines | ||
[filter]: https://github.com/michaelcontento/redux-storage-decorator-filter | ||
[filter]: https://github.com/react-stack/redux-storage-decorator-filter | ||
[migrate]: https://github.com/mathieudutour/redux-storage-decorator-migrate | ||
[immutablejs]: https://github.com/michaelcontento/redux-storage-decorator-immutablejs | ||
[immutablejs]: https://github.com/react-stack/redux-storage-decorator-immutablejs |
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
30720
206
3