@nestjs/common
Advanced tools
Comparing version 3.0.1 to 3.0.2
export * from './utils'; | ||
export * from './enums'; | ||
export { NestModule, INestApplication, INestMicroservice, MiddlewareConfigProxy, MiddlewareConfiguration, NestMiddleware, ExpressMiddleware, MiddlewaresConsumer, OnModuleInit, ExceptionFilter, WebSocketAdapter, PipeTransform, Paramtype, ArgumentMetadata, OnModuleDestroy, CanActivate } from './interfaces'; | ||
export { NestModule, INestApplication, INestMicroservice, MiddlewareConfigProxy, MiddlewareConfiguration, NestMiddleware, ExpressMiddleware, MiddlewaresConsumer, OnModuleInit, ExceptionFilter, WebSocketAdapter, PipeTransform, Paramtype, ArgumentMetadata, OnModuleDestroy, CanActivate, RpcExceptionFilter } from './interfaces'; | ||
export * from './services/logger.service'; |
@@ -0,1 +1,2 @@ | ||
"use strict"; | ||
/* | ||
@@ -7,3 +8,2 @@ * Nest @common | ||
*/ | ||
"use strict"; | ||
function __export(m) { | ||
@@ -10,0 +10,0 @@ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; |
export * from './exception-filter-metadata.interface'; | ||
export * from './exception-filter.interface'; | ||
export * from './rpc-exception-filter-metadata.interface'; | ||
export * from './rpc-exception-filter.interface'; | ||
export * from './ws-exception-filter.interface'; |
@@ -19,1 +19,3 @@ export * from './request-mapping-metadata.interface'; | ||
export * from './can-activate.interface'; | ||
export * from './exceptions/rpc-exception-filter.interface'; | ||
export * from './exceptions/ws-exception-filter.interface'; |
@@ -1,5 +0,4 @@ | ||
import { Metatype } from '../metatype.interface'; | ||
import { MiddlewareConfigProxy } from './middleware-config-proxy.interface'; | ||
export interface MiddlewaresConsumer { | ||
apply(metatypes: Metatype<any> | Array<Metatype<any>>): MiddlewareConfigProxy; | ||
apply(middlewares: any | any[]): MiddlewareConfigProxy; | ||
} |
{ | ||
"name": "@nestjs/common", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "Nest - modern, fast, powerful node.js web framework (@common)", | ||
@@ -5,0 +5,0 @@ "author": "Kamil Mysliwiec", |
import 'reflect-metadata'; | ||
export declare const Shared: (token?: string) => ClassDecorator; | ||
export declare const Shared: (token?: string) => (target: any) => any; |
@@ -7,3 +7,4 @@ "use strict"; | ||
return (target) => { | ||
const Type = class extends target { | ||
const Metatype = target; | ||
const Type = class extends Metatype { | ||
constructor(...args) { | ||
@@ -10,0 +11,0 @@ super(...args); |
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
50767
133
922