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.
- package/dist/light/protobuf.js +5 -3
- 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 +5 -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/namespace.js +3 -1
package/package.json
CHANGED
package/src/namespace.js
CHANGED
|
@@ -466,8 +466,10 @@ Namespace.prototype._lookupImpl = function lookup(path, flatPath) {
|
|
|
466
466
|
// Otherwise try each nested namespace
|
|
467
467
|
} else {
|
|
468
468
|
for (var i = 0; i < this.nestedArray.length; ++i)
|
|
469
|
-
if (this._nestedArray[i] instanceof Namespace && (found = this._nestedArray[i]._lookupImpl(path, flatPath)))
|
|
469
|
+
if (this._nestedArray[i] instanceof Namespace && (found = this._nestedArray[i]._lookupImpl(path, flatPath))) {
|
|
470
470
|
exact = found;
|
|
471
|
+
break;
|
|
472
|
+
}
|
|
471
473
|
}
|
|
472
474
|
|
|
473
475
|
// Set this even when null, so that when we walk up the tree we can quickly bail on repeated checks back down.
|