New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

redux-storage

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redux-storage - npm Package Compare versions

Comparing version 1.1.6 to 1.2.0

5

lib/createLoader.js

@@ -14,3 +14,6 @@ 'use strict';

};
engine.load().then(dispatchLoad);
return engine.load().then(function (newState) {
dispatchLoad(newState);
return newState;
});
};

@@ -17,0 +20,0 @@ };

14

package.json
{
"name": "redux-storage",
"version": "1.1.6",
"version": "1.2.0",
"description": "Persistence layer for redux with flexible backends",

@@ -32,11 +32,11 @@ "main": "lib/index.js",

"devDependencies": {
"babel": "^5.8.21",
"babel-core": "^5.8.22",
"babel-eslint": "^4.1.0",
"babel": "^5.8.23",
"babel-core": "^5.8.23",
"babel-eslint": "^4.1.1",
"chai": "^3.2.0",
"chai-as-promised": "^5.1.0",
"eslint": "^1.2.1",
"eslint": "^1.3.1",
"eslint-config-airbnb": "0.0.8",
"eslint-plugin-react": "^3.3.0",
"mocha": "^2.2.5",
"eslint-plugin-react": "^3.3.1",
"mocha": "^2.3.0",
"sinon": "^1.16.1"

@@ -43,0 +43,0 @@ },

@@ -74,2 +74,8 @@ [redux-storage][]

load(store);
// Notice that our load function will return a promise that can also be used
// to respond to the restore event.
load(store)
.then((newState) => console.log('Loaded state:', newState))
.catch(() => console.log('Failed to load previous state'));
```

@@ -76,0 +82,0 @@

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