New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

use-state-validate

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

use-state-validate - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

4

dist/index.d.ts

@@ -1,2 +0,2 @@

interface IStateWithValidation<T> {
export interface IStateWithValidation<T> {
value: T;

@@ -7,3 +7,3 @@ isDirty: boolean;

}
export interface IUseStateValidate<T> extends Array<IStateWithValidation<T> | T | ((newValue: T) => void)> {
interface IUseStateValidate<T> extends Array<IStateWithValidation<T> | T | ((newValue: T) => void)> {
0: IStateWithValidation<T>;

@@ -10,0 +10,0 @@ 1: (newValue: T) => void;

{
"name": "use-state-validate",
"version": "0.0.2",
"version": "0.0.3",
"description": "Custom hook to account for state and validation off single state value",

@@ -23,5 +23,6 @@ "license": "MIT",

"use-state-validate",
"validate",
"validation",
"use-state",
"react",
"use-state",
"hooks"

@@ -28,0 +29,0 @@ ],

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