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.7 to 3.4.8

6

build/base.js

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

request: ${requestType},
options?: { deadline?: Date | number; flags?: number; host?: string; },
options?: { timeout?: number; flags?: number; host?: string; },
callback?: (err: Error, response: ${responseType}) => void,

@@ -405,2 +405,6 @@ ): Promise<${responseType}>;

if (typeof options.timeout !== 'undefined') {
options.deadline = Date.now() + options.timeout;
}
return (origin as any).apply(this, [request, options, callback]);

@@ -407,0 +411,0 @@ });

2

package.json
{
"name": "grpc-code-gen",
"version": "3.4.7",
"version": "3.4.8",
"license": "MIT",

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

@@ -444,3 +444,3 @@ import * as fs from 'fs-extra';

request: ${requestType},
options?: { deadline?: Date | number; flags?: number; host?: string; },
options?: { timeout?: number; flags?: number; host?: string; },
callback?: (err: Error, response: ${responseType}) => void,

@@ -479,2 +479,6 @@ ): Promise<${responseType}>;

if (typeof options.timeout !== 'undefined') {
options.deadline = Date.now() + options.timeout;
}
return (origin as any).apply(this, [request, options, callback]);

@@ -481,0 +485,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