protobufjs
Advanced tools
Comparing version 6.11.1 to 6.11.2
{ | ||
"name": "protobufjs", | ||
"version": "6.11.1", | ||
"version": "6.11.2", | ||
"versionScheme": "~", | ||
@@ -5,0 +5,0 @@ "description": "Protocol Buffers for JavaScript (& TypeScript).", |
@@ -81,2 +81,5 @@ "use strict"; | ||
if (rule === "proto3_optional") { | ||
rule = "optional"; | ||
} | ||
/** | ||
@@ -86,5 +89,2 @@ * Field rule, if any. | ||
*/ | ||
if (rule === "proto3_optional") { | ||
rule = "optional"; | ||
} | ||
this.rule = rule && rule !== "optional" ? rule : undefined; // toJSON | ||
@@ -91,0 +91,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
5981053
69855
1