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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * protobuf.js v8.6.5 (c) 2016, daniel wirtz
3
- * compiled tue, 23 jun 2026 14:36:35 utc
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
  */
@@ -8198,7 +8198,7 @@ wrappers[".google.protobuf.Any"] = {
8198
8198
  if (object && object["@type"]) {
8199
8199
  // Only use fully qualified type name after the last '/'
8200
8200
  var name = object["@type"].substring(object["@type"].lastIndexOf("/") + 1);
8201
- var type = this.lookup(name);
8201
+ var type = this.lookup(name, [ this.constructor ]);
8202
8202
  /* istanbul ignore else */
8203
8203
  if (type) {
8204
8204
  // type_url does not accept leading "."
@@ -8234,7 +8234,7 @@ wrappers[".google.protobuf.Any"] = {
8234
8234
  name = message.type_url.substring(message.type_url.lastIndexOf("/") + 1);
8235
8235
  // Separate the prefix used
8236
8236
  prefix = message.type_url.substring(0, message.type_url.lastIndexOf("/") + 1);
8237
- var type = this.lookup(name);
8237
+ var type = this.lookup(name, [ this.constructor ]);
8238
8238
  /* istanbul ignore else */
8239
8239
  if (type)
8240
8240
  message = type.decode(message.value, undefined, undefined, depth + 1);