New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@nclabs/nestjs-rpc-module

Package Overview
Dependencies
Maintainers
0
Versions
138
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nclabs/nestjs-rpc-module - npm Package Compare versions

Comparing version 0.1.31 to 0.1.32

7

lib/nclabs-error.interceptor.js

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

_axiosErrorHandler(error) {
const contentType = error.response.headers['content-type'];
const contentType = error?.response?.headers['content-type'] || '';
const message = contentType.includes('text/html')

@@ -78,3 +78,6 @@ ? this._htmlToText(error.response.data)

const textBody = body.replace(/<[^>]+>/g, '');
return textBody;
return {
instanceof: 'HtmlError',
body: textBody,
};
}

@@ -81,0 +84,0 @@ /**

{
"name": "@nclabs/nestjs-rpc-module",
"version": "0.1.31",
"version": "0.1.32",
"description": "Utilitário NestJS para configuração de rotas e cache em microsserviços. Utilizado especificamente para projetos nclabs",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

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