@grpc/proto-loader
Advanced tools
Comparing version 0.7.5 to 0.7.6
@@ -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 @@ } |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
116838
1362