protobufjs 7.5.1 → 7.5.3
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 +79 -18
- 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 +79 -18
- package/dist/protobuf.js.map +1 -1
- package/dist/protobuf.min.js +3 -3
- package/dist/protobuf.min.js.map +1 -1
- package/ext/descriptor/index.js +179 -69
- package/google/protobuf/descriptor.json +659 -16
- package/google/protobuf/descriptor.proto +254 -6
- package/index.d.ts +3 -15
- package/package.json +1 -1
- package/src/namespace.js +43 -9
- package/src/object.js +4 -0
- package/src/root.js +26 -7
- package/src/service.js +2 -0
- package/src/type.js +2 -0
package/src/type.js
CHANGED
|
@@ -303,6 +303,8 @@ Type.prototype.toJSON = function toJSON(toJSONOptions) {
|
|
|
303
303
|
* @override
|
|
304
304
|
*/
|
|
305
305
|
Type.prototype.resolveAll = function resolveAll() {
|
|
306
|
+
if (!this._needsRecursiveResolve) return this;
|
|
307
|
+
|
|
306
308
|
Namespace.prototype.resolveAll.call(this);
|
|
307
309
|
var oneofs = this.oneofsArray; i = 0;
|
|
308
310
|
while (i < oneofs.length)
|