Socket
Socket
Sign inDemoInstall

@grpc/proto-loader

Package Overview
Dependencies
Maintainers
3
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@grpc/proto-loader - npm Package Compare versions

Comparing version 0.7.5 to 0.7.6

5

build/bin/proto-loader-gen-types.js

@@ -400,2 +400,3 @@ #!/usr/bin/env node

formatter.writeLine('');
const isLongField = (field) => ['int64', 'uint64', 'sint64', 'fixed64', 'sfixed64'].includes(field.type);
messageType.fieldsArray.sort((fieldA, fieldB) => fieldA.id - fieldB.id);

@@ -411,3 +412,3 @@ for (const field of messageType.fieldsArray) {

}
if (field.type.indexOf('64') >= 0) {
if (isLongField(field)) {
usesLong = true;

@@ -427,3 +428,3 @@ }

}
if (field.type.indexOf('64') >= 0) {
if (isLongField(field)) {
usesLong = true;

@@ -430,0 +431,0 @@ }

2

package.json
{
"name": "@grpc/proto-loader",
"version": "0.7.5",
"version": "0.7.6",
"author": "Google Inc.",

@@ -5,0 +5,0 @@ "contributors": [

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