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.6 to 3.4.7

4

build/base.js

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

const origin = Service.prototype[key];
Service.prototype[key] = promisify(function(request: any, options: any, callback: any){
Service.prototype[key] = promisify(function(this: any, request: any, options: any, callback: any) {
if (typeof callback !== 'undefined') {

@@ -405,3 +405,3 @@ options = Object.assign(${JSON.stringify(callOptions)}, options);

return origin.call(this, request, options, callback);
return (origin as any).apply(this, [request, options, callback]);
});

@@ -408,0 +408,0 @@ }

{
"name": "grpc-code-gen",
"version": "3.4.6",
"version": "3.4.7",
"license": "MIT",

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

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

const origin = Service.prototype[key];
Service.prototype[key] = promisify(function(request: any, options: any, callback: any){
Service.prototype[key] = promisify(function(this: any, request: any, options: any, callback: any) {
if (typeof callback !== 'undefined') {

@@ -479,3 +479,3 @@ options = Object.assign(${JSON.stringify(callOptions)}, options);

return origin.call(this, request, options, callback);
return (origin as any).apply(this, [request, options, callback]);
});

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