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

@mirohq/design-system-use-local-storage

Package Overview
Dependencies
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mirohq/design-system-use-local-storage - npm Package Compare versions

Comparing version 0.3.1-use-press.0 to 0.3.1

8

dist/main.js

@@ -16,3 +16,3 @@ 'use strict';

console.error(
`[useLocalStorage] Error reading localStorage key \u201C${key}\u201D:`,
"[useLocalStorage] Error reading localStorage key \u201C".concat(key, "\u201D:"),
e

@@ -28,3 +28,3 @@ );

console.error(
`[useLocalStorage] Error setting localStorage key \u201C${key}\u201D:`,
"[useLocalStorage] Error setting localStorage key \u201C".concat(key, "\u201D:"),
e

@@ -39,3 +39,3 @@ );

console.error(
`[useLocalStorage] Error removing localStorage key \u201C${key}\u201D:`,
"[useLocalStorage] Error removing localStorage key \u201C".concat(key, "\u201D:"),
e

@@ -47,3 +47,3 @@ );

const prefixedKey = react.useMemo(
() => `${prefix != null ? prefix : KEY_PREFIX}_${key}`,
() => "".concat(prefix != null ? prefix : KEY_PREFIX, "_").concat(key),
[prefix, key]

@@ -50,0 +50,0 @@ );

@@ -12,3 +12,3 @@ import { useEventListener } from '@mirohq/design-system-use-event-listener';

console.error(
`[useLocalStorage] Error reading localStorage key \u201C${key}\u201D:`,
"[useLocalStorage] Error reading localStorage key \u201C".concat(key, "\u201D:"),
e

@@ -24,3 +24,3 @@ );

console.error(
`[useLocalStorage] Error setting localStorage key \u201C${key}\u201D:`,
"[useLocalStorage] Error setting localStorage key \u201C".concat(key, "\u201D:"),
e

@@ -35,3 +35,3 @@ );

console.error(
`[useLocalStorage] Error removing localStorage key \u201C${key}\u201D:`,
"[useLocalStorage] Error removing localStorage key \u201C".concat(key, "\u201D:"),
e

@@ -43,3 +43,3 @@ );

const prefixedKey = useMemo(
() => `${prefix != null ? prefix : KEY_PREFIX}_${key}`,
() => "".concat(prefix != null ? prefix : KEY_PREFIX, "_").concat(key),
[prefix, key]

@@ -46,0 +46,0 @@ );

{
"name": "@mirohq/design-system-use-local-storage",
"version": "0.3.1-use-press.0",
"version": "0.3.1",
"description": "",

@@ -28,3 +28,3 @@ "author": "Miro",

"dependencies": {
"@mirohq/design-system-types": "^0.6.0-use-press.0",
"@mirohq/design-system-types": "^0.6.0",
"@mirohq/design-system-use-event-listener": "^0.3.0",

@@ -31,0 +31,0 @@ "@mirohq/design-system-use-event": "^0.2.0"

Sorry, the diff of this file is not supported yet

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