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 3.4.0 to 3.4.1

9

build/base.js

@@ -370,6 +370,7 @@ "use strict";

return ` ${method.name}(
request: ${requestType},
options?: { deadline?: Date | number; flags?: number; host?: string; },
callback?: (err: Error, response: ${responseType}),
): Promise<${responseType}>;`;
request: ${requestType},
options?: { deadline?: Date | number; flags?: number; host?: string; },
callback?: (err: Error, response: ${responseType}) => void,
): Promise<${responseType}>;
`;
});

@@ -376,0 +377,0 @@ if (typescript) {

{
"name": "grpc-code-gen",
"version": "3.4.0",
"version": "3.4.1",
"license": "MIT",

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

@@ -443,6 +443,7 @@ import * as fs from 'fs-extra';

return ` ${method.name}(
request: ${requestType},
options?: { deadline?: Date | number; flags?: number; host?: string; },
callback?: (err: Error, response: ${responseType}),
): Promise<${responseType}>;`
request: ${requestType},
options?: { deadline?: Date | number; flags?: number; host?: string; },
callback?: (err: Error, response: ${responseType}) => void,
): Promise<${responseType}>;
`
});

@@ -449,0 +450,0 @@

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