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

@nestia/core

Package Overview
Dependencies
Maintainers
1
Versions
439
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nestia/core - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

21

lib/decorators/EncryptedRoute.d.ts

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

import { IResponseBodyStringifier } from "../options/IResponseBodyStringifier";
/**

@@ -31,4 +32,4 @@ * Encrypted router decorator functions.

(path?: string | string[]): MethodDecorator;
(stringify?: ((input: any) => string) | undefined): MethodDecorator;
(path: string | string[], stringify: (input: any) => string): MethodDecorator;
<T>(stringify?: IResponseBodyStringifier<T> | undefined): MethodDecorator;
<T_1>(path: string | string[], stringify: IResponseBodyStringifier<T_1>): MethodDecorator;
};

@@ -43,4 +44,4 @@ /**

(path?: string | string[]): MethodDecorator;
(stringify?: ((input: any) => string) | undefined): MethodDecorator;
(path: string | string[], stringify: (input: any) => string): MethodDecorator;
<T>(stringify?: IResponseBodyStringifier<T> | undefined): MethodDecorator;
<T_1>(path: string | string[], stringify: IResponseBodyStringifier<T_1>): MethodDecorator;
};

@@ -55,4 +56,4 @@ /**

(path?: string | string[]): MethodDecorator;
(stringify?: ((input: any) => string) | undefined): MethodDecorator;
(path: string | string[], stringify: (input: any) => string): MethodDecorator;
<T>(stringify?: IResponseBodyStringifier<T> | undefined): MethodDecorator;
<T_1>(path: string | string[], stringify: IResponseBodyStringifier<T_1>): MethodDecorator;
};

@@ -67,4 +68,4 @@ /**

(path?: string | string[]): MethodDecorator;
(stringify?: ((input: any) => string) | undefined): MethodDecorator;
(path: string | string[], stringify: (input: any) => string): MethodDecorator;
<T>(stringify?: IResponseBodyStringifier<T> | undefined): MethodDecorator;
<T_1>(path: string | string[], stringify: IResponseBodyStringifier<T_1>): MethodDecorator;
};

@@ -79,5 +80,5 @@ /**

(path?: string | string[]): MethodDecorator;
(stringify?: ((input: any) => string) | undefined): MethodDecorator;
(path: string | string[], stringify: (input: any) => string): MethodDecorator;
<T>(stringify?: IResponseBodyStringifier<T> | undefined): MethodDecorator;
<T_1>(path: string | string[], stringify: IResponseBodyStringifier<T_1>): MethodDecorator;
};
}
{
"name": "@nestia/core",
"version": "0.1.0",
"version": "0.1.1",
"description": "Super-fast validation decorators of NestJS",

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

@@ -24,2 +24,3 @@ import { AesPkcs5, IEncryptionPassword } from "@nestia/fetcher";

import { IResponseBodyStringifier } from "../options/IResponseBodyStringifier";
import { Singleton } from "../utils/Singleton";

@@ -95,6 +96,8 @@ import { ENCRYPTION_METADATA_KEY } from "./internal/EncryptedConstant";

function route(path?: string | string[]): MethodDecorator;
function route(stringify?: (input: any) => string): MethodDecorator;
function route(
function route<T>(
stringify?: IResponseBodyStringifier<T>,
): MethodDecorator;
function route<T>(
path: string | string[],
stringify: (input: any) => string,
stringify: IResponseBodyStringifier<T>,
): MethodDecorator;

@@ -101,0 +104,0 @@

Sorry, the diff of this file is not supported yet

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