🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

nestjs-cls

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nestjs-cls - npm Package Compare versions

Comparing version

to
5.4.2

5

dist/src/lib/cls-module/cls.module.d.ts

@@ -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,

4

package.json
{
"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"
}
}