nestjs-cls
Advanced tools
Comparing version
@@ -39,7 +39,2 @@ import { DynamicModule, Type } from '@nestjs/common'; | ||
* Registers the given Plugins the module along with `ClsService`. | ||
* @deprecated | ||
* All plugins must be registered in the `ClsModule.forRoot` or `ClsModule.forRootAsync` options. | ||
* | ||
* Since the plugin API is still experimental, this method will print a warning, throw error | ||
* and will be eventually removed, possibly in a minor release. | ||
*/ | ||
@@ -46,0 +41,0 @@ static registerPlugins(plugins: ClsPlugin[]): DynamicModule; |
@@ -70,12 +70,4 @@ "use strict"; | ||
* Registers the given Plugins the module along with `ClsService`. | ||
* @deprecated | ||
* All plugins must be registered in the `ClsModule.forRoot` or `ClsModule.forRootAsync` options. | ||
* | ||
* Since the plugin API is still experimental, this method will print a warning, throw error | ||
* and will be eventually removed, possibly in a minor release. | ||
*/ | ||
static registerPlugins(plugins) { | ||
const logger = new common_1.Logger('ClsModule'); | ||
logger.warn('The `ClsModule.registerPlugins` method is deprecated and will be removed in a future release. ' + | ||
'All plugins must be registered in the `ClsModule.forRoot` or `ClsModule.forRootAsync` options.'); | ||
return { | ||
@@ -82,0 +74,0 @@ module: ClsModule_1, |
{ | ||
"name": "nestjs-cls", | ||
"version": "5.4.1", | ||
"version": "5.4.2", | ||
"description": "A continuation-local storage module compatible with NestJS's dependency injection.", | ||
@@ -86,4 +86,4 @@ "author": "papooch", | ||
"typescript": "5.7.3", | ||
"ws": "^8.18.0" | ||
"ws": "^8.18.1" | ||
} | ||
} |
119777
-0.72%2650
-0.49%