protobufjs
Advanced tools
Comparing version 7.2.6 to 7.3.0
/*! | ||
* protobuf.js v7.2.6 (c) 2016, daniel wirtz | ||
* compiled tue, 16 jan 2024 22:54:38 utc | ||
* protobuf.js v7.3.0 (c) 2016, daniel wirtz | ||
* compiled fri, 10 may 2024 03:38:35 utc | ||
* licensed under the bsd-3-clause license | ||
@@ -5,0 +5,0 @@ * see: https://github.com/dcodeio/protobuf.js for details |
/*! | ||
* protobuf.js v7.2.6 (c) 2016, daniel wirtz | ||
* compiled tue, 16 jan 2024 22:54:38 utc | ||
* protobuf.js v7.3.0 (c) 2016, daniel wirtz | ||
* compiled fri, 10 may 2024 03:38:35 utc | ||
* licensed under the bsd-3-clause license | ||
@@ -5,0 +5,0 @@ * see: https://github.com/dcodeio/protobuf.js for details |
{ | ||
"name": "protobufjs", | ||
"version": "7.2.6", | ||
"version": "7.3.0", | ||
"versionScheme": "~", | ||
@@ -5,0 +5,0 @@ "description": "Protocol Buffers for JavaScript (& TypeScript).", |
@@ -147,3 +147,20 @@ "use strict"; | ||
} while (skip(",", true)); | ||
skip(";"); | ||
var dummy = {options: undefined}; | ||
dummy.setOption = function(name, value) { | ||
if (this.options === undefined) this.options = {}; | ||
this.options[name] = value; | ||
}; | ||
ifBlock( | ||
dummy, | ||
function parseRange_block(token) { | ||
/* istanbul ignore else */ | ||
if (token === "option") { | ||
parseOption(dummy, token); // skip | ||
skip(";"); | ||
} else | ||
throw illegal(token); | ||
}, | ||
function parseRange_line() { | ||
parseInlineOptions(dummy); // skip | ||
}); | ||
} | ||
@@ -150,0 +167,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
2770923
29300