Socket
Socket
Sign inDemoInstall

@hookstate/validation

Package Overview
Dependencies
4
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.0-rc3 to 4.0.0

2

dist/validation.d.ts

@@ -9,3 +9,3 @@ import { Path, InferStateValueType, ExtensionFactory } from '@hookstate/core';

export interface Validation {
validate(rule: (value: InferStateValueType<this>) => boolean, message: string | ((value: InferStateValueType<this>) => string), severity?: ValidationSeverity): void;
validate<S extends InferStateValueType<this>>(rule: (value: S) => boolean, message: string | ((value: S) => string), severity?: ValidationSeverity): void;
valid(options?: {

@@ -12,0 +12,0 @@ depth?: number;

{
"name": "@hookstate/validation",
"version": "4.0.0-rc3",
"version": "4.0.0",
"description": "Plugin for @hookstate/core to enable validation of data state.",

@@ -32,3 +32,3 @@ "license": "MIT",

"peerDependencies": {
"@hookstate/core": "^4.0.0-rc18"
"@hookstate/core": "^4.0.0"
},

@@ -70,2 +70,2 @@ "devDependencies": {

]
}
}

Sorry, the diff of this file is not supported yet

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc