🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

fastify-zod-schema

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fastify-zod-schema - npm Package Compare versions

Comparing version

to
1.0.5

src/modules.d.ts.map

2

package.json
{
"name": "fastify-zod-schema",
"version": "1.0.4",
"version": "1.0.5",
"description": "A Fastify plugin that allows users to define request schemas using Zod, providing type safety and validation.",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -1,15 +0,8 @@

import type {
FastifyTypeProvider,
FastifyPluginOptions,
RawServerBase,
RawServerDefault,
FastifyPluginCallback,
FastifyPluginAsync,
} from "fastify";
import { Schema, z } from "zod";
declare module "fastify" {
interface FastifyTypeProviderDefault {
output: this["input"] extends Schema ? z.infer<this["input"]> : unknown;
}
interface FastifyTypeProviderDefault {
output: this["input"] extends Schema ? z.infer<this["input"]> : unknown;
}
}
export {};
//# sourceMappingURL=modules.d.ts.map

@@ -10,4 +10,5 @@ {

"strict": true, /* Enable all strict type-checking options. */
"skipLibCheck": true /* Skip type checking all .d.ts files. */
"skipLibCheck": true /* Skip type checking all .d.ts files. */,
"baseUrl": "./",
}
}