Socket
Socket
Sign inDemoInstall

@cuscal1/lib-nestjs-common

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cuscal1/lib-nestjs-common - npm Package Compare versions

Comparing version 0.0.33 to 0.0.34

4

dist/interceptor/api.logging.interceptor.js

@@ -20,3 +20,3 @@ "use strict";

this.logger = logger;
this.EXCLUDED_PATHS = ['healths'];
this.EXCLUDED_PATHS = ['/health'];
this.logger.setContext(ApiLoggingInterceptor_1.name);

@@ -45,3 +45,3 @@ }

isPathExcludedFromLogging(path) {
return !!this.EXCLUDED_PATHS.filter(excludedPath => path.endsWith(excludedPath));
return this.EXCLUDED_PATHS.filter(excludedPath => path.endsWith(excludedPath)).length > 0;
}

@@ -48,0 +48,0 @@ };

{
"name": "@cuscal1/lib-nestjs-common",
"version": "0.0.33",
"version": "0.0.34",
"description": "",

@@ -5,0 +5,0 @@ "author": "Cuscal",

@@ -10,3 +10,3 @@ import { CallHandler, ExecutionContext, Injectable, NestInterceptor, Logger } from '@nestjs/common';

private readonly EXCLUDED_PATHS: any = ['healths'];
private readonly EXCLUDED_PATHS: any = ['/health'];

@@ -42,4 +42,4 @@ constructor(private readonly logger: CuscalLogger) {

isPathExcludedFromLogging(path): boolean {
return !!this.EXCLUDED_PATHS.filter(excludedPath => path.endsWith(excludedPath));
return this.EXCLUDED_PATHS.filter(excludedPath => path.endsWith(excludedPath)).length > 0;
}
}

Sorry, the diff of this file is not supported yet

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