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

react-validatables

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-validatables - npm Package Compare versions

Comparing version 1.0.0-alpha.7 to 1.0.0-alpha.8

4

lib/use-validator/use-validator.d.ts

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

import { InferOptionalWaitableAndBindingValueTypes, TypeOrPromisedType, WaitableDependencies } from 'react-waitables';
import { InferRequiredWaitableAndBindingValueTypes, TypeOrPromisedType, WaitableDependencies } from 'react-waitables';
import type { ValidationChecker, ValidationCheckerArgs } from '../validator/types/validation-checker';

@@ -16,3 +16,3 @@ import type { Validator } from '../validator/types/validator';

*/
export declare const useValidator: <DependenciesT extends WaitableDependencies>(dependencies: DependenciesT | undefined, validators: (dependencyValues: InferOptionalWaitableAndBindingValueTypes<DependenciesT>, dependencies: DependenciesT, args: ValidationCheckerArgs) => TypeOrPromisedType<ValidationChecker<InferOptionalWaitableAndBindingValueTypes<DependenciesT>> | undefined>, { id, disabledUntil: disabledUntilBindings, disabledWhile: disabledWhileBindings, disabledWhileUnmodified: disabledWhileUnmodifiedBindings, limitMSec, limitMode, limitType, priority, queue }?: UseValidatorArgs) => Validator;
export declare const useValidator: <DependenciesT extends WaitableDependencies>(dependencies: DependenciesT | undefined, validators: (dependencyValues: InferRequiredWaitableAndBindingValueTypes<DependenciesT>, dependencies: DependenciesT, args: ValidationCheckerArgs) => TypeOrPromisedType<ValidationChecker<InferRequiredWaitableAndBindingValueTypes<DependenciesT>> | undefined>, { id, disabledUntil: disabledUntilBindings, disabledWhile: disabledWhileBindings, disabledWhileUnmodified: disabledWhileUnmodifiedBindings, limitMSec, limitMode, limitType, priority, queue }?: UseValidatorArgs) => Validator;
//# sourceMappingURL=use-validator.d.ts.map
{
"name": "react-validatables",
"version": "1.0.0-alpha.7",
"version": "1.0.0-alpha.8",
"description": "Validation tools for React built on react-waitables",

@@ -5,0 +5,0 @@ "keywords": [

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