Socket
Socket
Sign inDemoInstall

@nestjs/common

Package Overview
Dependencies
Maintainers
1
Versions
364
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nestjs/common - npm Package Compare versions

Comparing version 4.1.7 to 4.1.8

interfaces/middlewares/express-middleware.interface.d.ts

0

interfaces/middlewares/express-midleware.interface.d.ts
export interface ExpressMiddleware {
(req?: any, res?: any, next?: any): void;
}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

2

interfaces/middlewares/index.d.ts

@@ -5,2 +5,2 @@ export * from './middleware-config-proxy.interface';

export * from './nest-middleware.interface';
export * from './express-midleware.interface';
export * from './express-middleware.interface';

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

import { ExpressMiddleware } from './express-midleware.interface';
import { ExpressMiddleware } from './express-middleware.interface';
export declare type AsyncExpressMiddleware = Promise<ExpressMiddleware>;

@@ -3,0 +3,0 @@ export interface NestMiddleware {

{
"name": "@nestjs/common",
"version": "4.1.7",
"version": "4.1.8",
"description": "Nest - modern, fast, powerful node.js web framework (@common)",

@@ -5,0 +5,0 @@ "author": "Kamil Mysliwiec",

@@ -6,6 +6,6 @@ import 'reflect-metadata';

* When the `@UseFilters()` is used on the controller level:
* - Exception Filter will be setuped to the every handler (every method)
* - Exception Filter will be set up to every handler (every method)
*
* When the `@UseFilters()` is used on the handle level:
* - Exception Filter will be setuped only to specified method
* - Exception Filter will be set up only to specified method
*

@@ -12,0 +12,0 @@ * @param {ExceptionFilter[]} ...filters (instances)

@@ -18,6 +18,6 @@ "use strict";

* When the `@UseFilters()` is used on the controller level:
* - Exception Filter will be setuped to the every handler (every method)
* - Exception Filter will be set up to every handler (every method)
*
* When the `@UseFilters()` is used on the handle level:
* - Exception Filter will be setuped only to specified method
* - Exception Filter will be set up only to specified method
*

@@ -24,0 +24,0 @@ * @param {ExceptionFilter[]} ...filters (instances)

/**
* Setups guards to the chosen context.
* When the `@UseGuards()` is used on the controller level:
* - Guard will be setuped to the every handler (every method)
* - Guard will be set up to every handler (every method)
*
* When the `@UseGuards()` is used on the handle level:
* - Guard will be setuped only to specified method
* - Guard will be set up only to specified method
*

@@ -9,0 +9,0 @@ * @param {} ...guards (types)

@@ -7,6 +7,6 @@ "use strict";

* When the `@UseGuards()` is used on the controller level:
* - Guard will be setuped to the every handler (every method)
* - Guard will be set up to every handler (every method)
*
* When the `@UseGuards()` is used on the handle level:
* - Guard will be setuped only to specified method
* - Guard will be set up only to specified method
*

@@ -13,0 +13,0 @@ * @param {} ...guards (types)

/**
* Setups interceptors to the chosen context.
* When the `@UseInterceptors()` is used on the controller level:
* - Interceptor will be setuped to the every handler (every method)
* - Interceptor will be set up to every handler (every method)
*
* When the `@UseInterceptors()` is used on the handle level:
* - Interceptor will be setuped only to specified method
* - Interceptor will be set up only to specified method
*

@@ -9,0 +9,0 @@ * @param {} ...interceptors (types)

@@ -7,6 +7,6 @@ "use strict";

* When the `@UseInterceptors()` is used on the controller level:
* - Interceptor will be setuped to the every handler (every method)
* - Interceptor will be set up to every handler (every method)
*
* When the `@UseInterceptors()` is used on the handle level:
* - Interceptor will be setuped only to specified method
* - Interceptor will be set up only to specified method
*

@@ -13,0 +13,0 @@ * @param {} ...interceptors (types)

@@ -5,6 +5,6 @@ import { PipeTransform } from '../../interfaces/index';

* When the `@UsePipes()` is used on the controller level:
* - Pipe will be setuped to the every handler (every method)
* - Pipe will be set up to every handler (every method)
*
* When the `@UsePipes()` is used on the handle level:
* - Pipe will be setuped only to specified method
* - Pipe will be set up only to specified method
*

@@ -11,0 +11,0 @@ * @param {PipeTransform[]} ...pipes (instances)

@@ -7,6 +7,6 @@ "use strict";

* When the `@UsePipes()` is used on the controller level:
* - Pipe will be setuped to the every handler (every method)
* - Pipe will be set up to every handler (every method)
*
* When the `@UsePipes()` is used on the handle level:
* - Pipe will be setuped only to specified method
* - Pipe will be set up only to specified method
*

@@ -13,0 +13,0 @@ * @param {PipeTransform[]} ...pipes (instances)

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