protobufjs 8.6.5 → 8.6.6
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 +4 -4
- package/dist/light/protobuf.js.map +1 -1
- package/dist/light/protobuf.min.js +3 -3
- package/dist/light/protobuf.min.js.map +1 -1
- package/dist/minimal/protobuf.js +2 -2
- package/dist/minimal/protobuf.min.js +2 -2
- package/dist/protobuf.js +7 -4
- 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 +3 -0
- package/src/wrappers.js +2 -2
package/dist/minimal/protobuf.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* protobuf.js v8.6.
|
|
3
|
-
* compiled
|
|
2
|
+
* protobuf.js v8.6.6 (c) 2016, daniel wirtz
|
|
3
|
+
* compiled sat, 04 jul 2026 01:09:57 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 v8.6.
|
|
3
|
-
* compiled
|
|
2
|
+
* protobuf.js v8.6.6 (c) 2016, daniel wirtz
|
|
3
|
+
* compiled sat, 04 jul 2026 01:09:57 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 v8.6.
|
|
3
|
-
* compiled
|
|
2
|
+
* protobuf.js v8.6.6 (c) 2016, daniel wirtz
|
|
3
|
+
* compiled sat, 04 jul 2026 01:09:57 utc
|
|
4
4
|
* licensed under the bsd-3-clause license
|
|
5
5
|
* see: https://github.com/dcodeio/protobuf.js for details
|
|
6
6
|
*/
|
|
@@ -4534,6 +4534,9 @@ function parse(source, root, options) {
|
|
|
4534
4534
|
}
|
|
4535
4535
|
|
|
4536
4536
|
while (token !== "=") {
|
|
4537
|
+
if (token === null) {
|
|
4538
|
+
throw illegal(token, "end of input");
|
|
4539
|
+
}
|
|
4537
4540
|
if (token === "(") {
|
|
4538
4541
|
var parensValue = next();
|
|
4539
4542
|
skip(")");
|
|
@@ -10108,7 +10111,7 @@ wrappers[".google.protobuf.Any"] = {
|
|
|
10108
10111
|
if (object && object["@type"]) {
|
|
10109
10112
|
// Only use fully qualified type name after the last '/'
|
|
10110
10113
|
var name = object["@type"].substring(object["@type"].lastIndexOf("/") + 1);
|
|
10111
|
-
var type = this.lookup(name);
|
|
10114
|
+
var type = this.lookup(name, [ this.constructor ]);
|
|
10112
10115
|
/* istanbul ignore else */
|
|
10113
10116
|
if (type) {
|
|
10114
10117
|
// type_url does not accept leading "."
|
|
@@ -10144,7 +10147,7 @@ wrappers[".google.protobuf.Any"] = {
|
|
|
10144
10147
|
name = message.type_url.substring(message.type_url.lastIndexOf("/") + 1);
|
|
10145
10148
|
// Separate the prefix used
|
|
10146
10149
|
prefix = message.type_url.substring(0, message.type_url.lastIndexOf("/") + 1);
|
|
10147
|
-
var type = this.lookup(name);
|
|
10150
|
+
var type = this.lookup(name, [ this.constructor ]);
|
|
10148
10151
|
/* istanbul ignore else */
|
|
10149
10152
|
if (type)
|
|
10150
10153
|
message = type.decode(message.value, undefined, undefined, depth + 1);
|