@nestjs/common
Advanced tools
Comparing version 4.1.7 to 4.1.8
export interface ExpressMiddleware { | ||
(req?: any, res?: any, next?: any): void; | ||
} |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
71598
143
1493