redux-persist-cookie-storage
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "redux-persist-cookie-storage", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "redux-persist storage adapter for cookies", | ||
@@ -11,2 +11,3 @@ "main": "index.js", | ||
"license": "MIT", | ||
"repository": "abersager/redux-persist-cookie-storage", | ||
"files": [ | ||
@@ -13,0 +14,0 @@ "src", |
@@ -20,3 +20,3 @@ var Cookies = require('cookies-js'); | ||
CookieStorage.prototype.getItem = function (key, callback) { | ||
callback(null, this.cookies.get(this.keyPrefix + key)); | ||
callback(null, this.cookies.get(this.keyPrefix + key) || 'null'); | ||
} | ||
@@ -23,0 +23,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
3808