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

protoc-gen-grpc-gateway-es

Package Overview
Dependencies
Maintainers
0
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

protoc-gen-grpc-gateway-es - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

7

dist/index.js

@@ -227,2 +227,4 @@ #!/usr/bin/env node

return { type: `string` };
case `Empty`:
return { type: `{}`, nullable: !required };
case `Duration`:

@@ -323,3 +325,3 @@ case `Timestamp`:

f.print(f.jsDoc(method));
f.print`export const ${service.name}_${method.name} = new ${runtimeFile.RPC}<${method.input.name}, ${method.output.name}>("${httpMethod}", "${path}"${bodyPath ? `, "${bodyPath}"` : ""});`;
f.print(`export const ${service.name}_${method.name} = new `, runtimeFile.RPC, `<`, rpcTypeParam(method.input, runtimeFile), `,`, rpcTypeParam(method.output, runtimeFile), `>("${httpMethod}", "${path}"${bodyPath ? `, "${bodyPath}"` : ""});`);
}

@@ -748,5 +750,6 @@ }

var reProtoPathPattern = /{([^/]+)}/g;
var rpcTypeParam = (desc, runtimeFile) => generateType({ kind: `es_shape_ref`, desc }, true, [], runtimeFile).type;
// package.json
var name = "protoc-gen-grpc-gateway-es";
var version = "0.2.1";
var version = "0.2.2";

@@ -753,0 +756,0 @@ // src/plugin.ts

@@ -43,3 +43,3 @@ {

"type": "module",
"version": "0.2.2"
"version": "0.2.3"
}
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