Comparing version 6.1.1 to 6.1.2
@@ -483,2 +483,5 @@ /* eslint-disable max-depth */ | ||
fieldDef.map = fieldDef.keyType != null; | ||
if (fieldDef.rule === 'required') { | ||
throw new Error('"required" fields are not allowed in proto3 - please convert your proto2 definitions to proto3'); | ||
} | ||
} | ||
@@ -485,0 +488,0 @@ } |
{ | ||
"name": "protons", | ||
"version": "6.1.1", | ||
"version": "6.1.2", | ||
"description": "Protobuf to ts transpiler", | ||
@@ -165,5 +165,4 @@ "license": "Apache-2.0 OR MIT", | ||
"protons-runtime": "^4.0.0", | ||
"uint8arraylist": "^2.3.2", | ||
"uint8arrays": "^4.0.2" | ||
"uint8arraylist": "^2.3.2" | ||
} | ||
} |
@@ -598,2 +598,6 @@ /* eslint-disable max-depth */ | ||
fieldDef.map = fieldDef.keyType != null | ||
if (fieldDef.rule === 'required') { | ||
throw new Error('"required" fields are not allowed in proto3 - please convert your proto2 definitions to proto3') | ||
} | ||
} | ||
@@ -600,0 +604,0 @@ } |
Sorry, the diff of this file is not supported yet
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
68801
6
1215