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

nestjs-yup-validator

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nestjs-yup-validator - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

6

decorators.d.ts

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

import { Schema } from "yup";
import { ObjectSchema } from "yup";

@@ -19,3 +19,3 @@ /**

*/
export declare function BodyValidator(schema: Schema<any> | ((data: Object) => any) ): ParameterDecorator;
export declare function BodyValidator(schema: (ObjectSchema<Object> | ((data: Object) => any))[] ): ParameterDecorator;
/**

@@ -25,2 +25,2 @@ * Validate/transform the query string parameters passed in the url of a requisition and stores the result in a object.

*/
export declare function QueryValidator(schema: Schema<any> | ((data: Object) => any) ): ParameterDecorator;
export declare function QueryValidator(schema: (ObjectSchema<Object> | ((data: Object) => any))[] ): ParameterDecorator;
{
"name": "nestjs-yup-validator",
"version": "1.0.5",
"version": "1.0.6",
"description": "",

@@ -5,0 +5,0 @@ "main": "decorators.js",

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