Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

grpc-code-gen

Package Overview
Dependencies
Maintainers
1
Versions
130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grpc-code-gen - npm Package Compare versions

Comparing version 5.3.2 to 5.4.0

4

build/genServiceWrapper.js

@@ -38,2 +38,4 @@ "use strict";

const filterError = config.filterError || (err: Error)=> e;
function needRetry(err: any): boolean {

@@ -105,3 +107,3 @@ const message = err.details || err.message || err.data;

} else {
callback(err, response, metadataRes);
callback(filterError(err), response, metadataRes);
}

@@ -108,0 +110,0 @@ }]);

{
"name": "grpc-code-gen",
"version": "5.3.2",
"version": "5.4.0",
"license": "MIT",

@@ -5,0 +5,0 @@ "repository": "https://github.com/yunkeCN/grpc-code-gen.git",

@@ -64,2 +64,3 @@ # grpc-code-gen

logOptions? | [logOptions](#logOptions) | 日志配置 | null
filterError? | (err: Error) => Error | 错误过滤 | (err) => err

@@ -66,0 +67,0 @@ #### callOptions

@@ -41,2 +41,4 @@ import { fileTip, getImportPath, tslintDisable } from "./utils";

const filterError = config.filterError || (err: Error)=> e;
function needRetry(err: any): boolean {

@@ -108,3 +110,3 @@ const message = err.details || err.message || err.data;

} else {
callback(err, response, metadataRes);
callback(filterError(err), response, metadataRes);
}

@@ -111,0 +113,0 @@ }]);

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