Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@substrate/local-storage

Package Overview
Dependencies
Maintainers
3
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@substrate/local-storage - npm Package Compare versions

Comparing version 2.2.7 to 2.2.8

2

lib/use-localstorage.js

@@ -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

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