@substrate/local-storage
Advanced tools
Comparing version 2.2.7 to 2.2.8
@@ -5,3 +5,3 @@ "use strict"; | ||
const react_1 = require("react"); | ||
if (!localStorage || typeof localStorage === "undefined" || localStorage === null) { | ||
if (typeof window === "undefined") { | ||
const LocalStorage = require('node-localstorage').LocalStorage; | ||
@@ -8,0 +8,0 @@ localStorage = new LocalStorage('./scratch'); |
{ | ||
"name": "@substrate/local-storage", | ||
"version": "2.2.7", | ||
"version": "2.2.8", | ||
"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
27691