protobufjs 7.2.6 → 7.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/light/protobuf.js +2 -2
- package/dist/light/protobuf.min.js +2 -2
- package/dist/minimal/protobuf.js +2 -2
- package/dist/minimal/protobuf.min.js +2 -2
- package/dist/protobuf.js +20 -3
- package/dist/protobuf.js.map +1 -1
- package/dist/protobuf.min.js +3 -3
- package/dist/protobuf.min.js.map +1 -1
- package/package.json +1 -1
- package/src/parse.js +18 -1
package/dist/light/protobuf.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* protobuf.js v7.
|
|
3
|
-
* compiled
|
|
2
|
+
* protobuf.js v7.3.0 (c) 2016, daniel wirtz
|
|
3
|
+
* compiled fri, 10 may 2024 03:38:34 utc
|
|
4
4
|
* licensed under the bsd-3-clause license
|
|
5
5
|
* see: https://github.com/dcodeio/protobuf.js for details
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* protobuf.js v7.
|
|
3
|
-
* compiled
|
|
2
|
+
* protobuf.js v7.3.0 (c) 2016, daniel wirtz
|
|
3
|
+
* compiled fri, 10 may 2024 03:38:35 utc
|
|
4
4
|
* licensed under the bsd-3-clause license
|
|
5
5
|
* see: https://github.com/dcodeio/protobuf.js for details
|
|
6
6
|
*/
|
package/dist/minimal/protobuf.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* protobuf.js v7.
|
|
3
|
-
* compiled
|
|
2
|
+
* protobuf.js v7.3.0 (c) 2016, daniel wirtz
|
|
3
|
+
* compiled fri, 10 may 2024 03:38:34 utc
|
|
4
4
|
* licensed under the bsd-3-clause license
|
|
5
5
|
* see: https://github.com/dcodeio/protobuf.js for details
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* protobuf.js v7.
|
|
3
|
-
* compiled
|
|
2
|
+
* protobuf.js v7.3.0 (c) 2016, daniel wirtz
|
|
3
|
+
* compiled fri, 10 may 2024 03:38:35 utc
|
|
4
4
|
* licensed under the bsd-3-clause license
|
|
5
5
|
* see: https://github.com/dcodeio/protobuf.js for details
|
|
6
6
|
*/
|
package/dist/protobuf.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* protobuf.js v7.
|
|
3
|
-
* compiled
|
|
2
|
+
* protobuf.js v7.3.0 (c) 2016, daniel wirtz
|
|
3
|
+
* compiled fri, 10 may 2024 03:38:34 utc
|
|
4
4
|
* licensed under the bsd-3-clause license
|
|
5
5
|
* see: https://github.com/dcodeio/protobuf.js for details
|
|
6
6
|
*/
|
|
@@ -4244,7 +4244,24 @@ function parse(source, root, options) {
|
|
|
4244
4244
|
else
|
|
4245
4245
|
target.push([ start = parseId(next()), skip("to", true) ? parseId(next()) : start ]);
|
|
4246
4246
|
} while (skip(",", true));
|
|
4247
|
-
|
|
4247
|
+
var dummy = {options: undefined};
|
|
4248
|
+
dummy.setOption = function(name, value) {
|
|
4249
|
+
if (this.options === undefined) this.options = {};
|
|
4250
|
+
this.options[name] = value;
|
|
4251
|
+
};
|
|
4252
|
+
ifBlock(
|
|
4253
|
+
dummy,
|
|
4254
|
+
function parseRange_block(token) {
|
|
4255
|
+
/* istanbul ignore else */
|
|
4256
|
+
if (token === "option") {
|
|
4257
|
+
parseOption(dummy, token); // skip
|
|
4258
|
+
skip(";");
|
|
4259
|
+
} else
|
|
4260
|
+
throw illegal(token);
|
|
4261
|
+
},
|
|
4262
|
+
function parseRange_line() {
|
|
4263
|
+
parseInlineOptions(dummy); // skip
|
|
4264
|
+
});
|
|
4248
4265
|
}
|
|
4249
4266
|
|
|
4250
4267
|
function parseNumber(token, insideTryCatch) {
|