@substrate/local-storage
Advanced tools
Comparing version 2.2.6 to 2.2.7
@@ -5,3 +5,3 @@ "use strict"; | ||
const react_1 = require("react"); | ||
if (typeof localStorage === "undefined" || localStorage === null) { | ||
if (!localStorage || typeof localStorage === "undefined" || localStorage === null) { | ||
const LocalStorage = require('node-localstorage').LocalStorage; | ||
@@ -8,0 +8,0 @@ localStorage = new LocalStorage('./scratch'); |
{ | ||
"name": "@substrate/local-storage", | ||
"version": "2.2.6", | ||
"version": "2.2.7", | ||
"description": "Fork: React hook for local-storage", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
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
27774