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

vue3-form-validation

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

vue3-form-validation - npm Package Compare versions

Comparing version 3.3.4 to 3.3.5

6

dist/composition/useValidation.d.ts

@@ -22,3 +22,3 @@ import { Ref, ComputedRef, UnwrapRef } from 'vue';

export declare type TransformedFormData<T extends object> = T extends any ? {
[K in keyof T]: T[K] extends Field<infer TValue> | undefined ? T[K] extends undefined ? undefined : TransformedField<UnwrapRef<TValue>> : T[K] extends Record<string, unknown> | any[] ? TransformedFormData<T[K]> : T[K];
[K in keyof T]: T[K] extends Field<infer TValue> | undefined ? T[K] extends undefined ? undefined : TransformedField<UnwrapRef<TValue>> : T[K] extends object ? TransformedFormData<T[K]> : T[K];
} : never;

@@ -28,5 +28,5 @@ export declare type FormData<T extends object> = T extends any ? {

} : never;
export declare type FieldNames<T> = T extends object ? {
export declare type FieldNames<T> = T extends Record<string, unknown> ? {
[K in keyof T]-?: T[K] extends Field<any> | undefined ? K : FieldNames<T[K]>;
}[keyof T] : never;
}[keyof T] : T extends (infer TArray)[] ? FieldNames<TArray> : never;
export declare type Keys = readonly (string | number)[];

@@ -33,0 +33,0 @@ export declare type DeepIndex<T, Ks extends Keys, R = unknown> = Ks extends [

{
"name": "vue3-form-validation",
"version": "3.3.4",
"version": "3.3.5",
"description": "Vue composition function for Form Validation",

@@ -5,0 +5,0 @@ "author": {

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