protobufjs 7.5.6 → 7.5.7

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 v7.5.6 (c) 2016, daniel wirtz
3
- * compiled tue, 28 apr 2026 00:45:19 utc
2
+ * protobuf.js v7.5.7 (c) 2016, daniel wirtz
3
+ * compiled sat, 09 may 2026 05:45:39 utc
4
4
  * licensed under the bsd-3-clause license
5
5
  * see: https://github.com/dcodeio/protobuf.js for details
6
6
  */
@@ -3422,8 +3422,10 @@ Namespace.prototype._lookupImpl = function lookup(path, flatPath) {
3422
3422
  // Otherwise try each nested namespace
3423
3423
  } else {
3424
3424
  for (var i = 0; i < this.nestedArray.length; ++i)
3425
- if (this._nestedArray[i] instanceof Namespace && (found = this._nestedArray[i]._lookupImpl(path, flatPath)))
3425
+ if (this._nestedArray[i] instanceof Namespace && (found = this._nestedArray[i]._lookupImpl(path, flatPath))) {
3426
3426
  exact = found;
3427
+ break;
3428
+ }
3427
3429
  }
3428
3430
 
3429
3431
  // Set this even when null, so that when we walk up the tree we can quickly bail on repeated checks back down.