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

use-undoable

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

use-undoable - npm Package Compare versions

Comparing version 3.3.12 to 4.0.0

2

dist/index.js

@@ -54,3 +54,3 @@ var react = require('react');

if (!payload) {
if (!payload && payload !== '' && payload !== 0) {
payloadError("mutate");

@@ -57,0 +57,0 @@ }

@@ -54,3 +54,3 @@ import { useReducer, useCallback } from 'react';

if (!payload) {
if (!payload && payload !== '' && payload !== 0) {
payloadError("mutate");

@@ -57,0 +57,0 @@ }

{
"name": "use-undoable",
"version": "3.3.12",
"version": "4.0.0",
"description": "React hook for undo/redo functionality without the hassle.",

@@ -5,0 +5,0 @@ "private": false,

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