🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

common-resolver

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

common-resolver - npm Package Compare versions

Comparing version
0.0.20
to
1.0.0
+1
-1
dist/superstruct/superstructParser.d.ts

@@ -1,3 +0,3 @@

export declare function superstructParser<T>(data: T, schema: import("superstruct").Struct<T, any>, options?: {
export declare function superstructParser<T>(data: NoInfer<T>, schema: import("superstruct").Struct<T, any>, options?: {
throwError: boolean;
}): T;

@@ -1,3 +0,4 @@

export declare function commonParser<T>(data: T, schema: any, resolver: any, options?: {
import { Resolver } from "../types";
export declare function commonParser<T, K>(data: T, schema: K, resolver: (schema: K) => Resolver<T>, options?: {
throwError: boolean;
}): T;

@@ -1,3 +0,3 @@

export declare function yupParser<T>(data: T, schema: import("yup").Schema<T>, options?: {
export declare function yupParser<T>(data: NoInfer<T>, schema: import("yup").Schema<T>, options?: {
throwError: boolean;
}): T;

@@ -1,3 +0,3 @@

export declare function zodParser<T>(data: T, schema: import("zod").ZodSchema<T>, options?: {
export declare function zodParser<T>(data: NoInfer<T>, schema: import("zod").ZodSchema<T>, options?: {
throwError: boolean;
}): T;
{
"name": "common-resolver",
"version": "0.0.20",
"version": "1.0.0",
"scripts": {

@@ -5,0 +5,0 @@ "build": "tsc"