protobufjs 8.6.0 → 8.6.1

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/protobuf.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * protobuf.js v8.6.0 (c) 2016, daniel wirtz
3
- * compiled thu, 04 jun 2026 21:47:13 utc
2
+ * protobuf.js v8.6.1 (c) 2016, daniel wirtz
3
+ * compiled sun, 07 jun 2026 00:06:12 utc
4
4
  * licensed under the bsd-3-clause license
5
5
  * see: https://github.com/dcodeio/protobuf.js for details
6
6
  */
@@ -1918,7 +1918,7 @@ protobuf.loadSync = loadSync;
1918
1918
  // Serialization
1919
1919
  protobuf.encoder = require(5);
1920
1920
  protobuf.decoder = require(4);
1921
- protobuf.verifier = require(43);
1921
+ protobuf.verifier = require(42);
1922
1922
  protobuf.converter = require(3);
1923
1923
 
1924
1924
  // Reflection
@@ -1935,7 +1935,7 @@ protobuf.Method = require(13);
1935
1935
 
1936
1936
  // Runtime
1937
1937
  protobuf.Message = require(12);
1938
- protobuf.wrappers = require(44);
1938
+ protobuf.wrappers = require(43);
1939
1939
 
1940
1940
  // Utility
1941
1941
  protobuf.types = require(27);
@@ -1947,7 +1947,7 @@ protobuf.Namespace._configure(protobuf.Type, protobuf.Service, protobuf.Enum);
1947
1947
  protobuf.Root._configure(protobuf.Type, undefined, {});
1948
1948
  protobuf.Field._configure(protobuf.Type);
1949
1949
 
1950
- },{"11":11,"12":12,"13":13,"14":14,"15":15,"16":16,"20":20,"24":24,"26":26,"27":27,"28":28,"3":3,"4":4,"43":43,"44":44,"5":5,"6":6,"7":7,"9":9}],9:[function(require,module,exports){
1950
+ },{"11":11,"12":12,"13":13,"14":14,"15":15,"16":16,"20":20,"24":24,"26":26,"27":27,"28":28,"3":3,"4":4,"42":42,"43":43,"5":5,"6":6,"7":7,"9":9}],9:[function(require,module,exports){
1951
1951
  "use strict";
1952
1952
  var protobuf = exports;
1953
1953
 
@@ -1960,13 +1960,13 @@ var protobuf = exports;
1960
1960
  protobuf.build = "minimal";
1961
1961
 
1962
1962
  // Serialization
1963
- protobuf.Writer = require(45);
1964
- protobuf.BufferWriter = require(46);
1963
+ protobuf.Writer = require(44);
1964
+ protobuf.BufferWriter = require(45);
1965
1965
  protobuf.Reader = require(18);
1966
1966
  protobuf.BufferReader = require(19);
1967
1967
 
1968
1968
  // Utility
1969
- protobuf.util = require(38);
1969
+ protobuf.util = require(37);
1970
1970
  protobuf.rpc = require(22);
1971
1971
  protobuf.roots = require(21);
1972
1972
  protobuf.configure = configure;
@@ -1985,7 +1985,7 @@ function configure() {
1985
1985
  // Set up buffer utility according to the environment
1986
1986
  configure();
1987
1987
 
1988
- },{"18":18,"19":19,"21":21,"22":22,"38":38,"45":45,"46":46}],10:[function(require,module,exports){
1988
+ },{"18":18,"19":19,"21":21,"22":22,"37":37,"44":44,"45":45}],10:[function(require,module,exports){
1989
1989
  "use strict";
1990
1990
  var protobuf = module.exports = require(8);
1991
1991
 
@@ -2141,7 +2141,7 @@ MapField.d = function decorateMapField(fieldId, fieldKeyType, fieldValueType) {
2141
2141
  "use strict";
2142
2142
  module.exports = Message;
2143
2143
 
2144
- var util = require(38);
2144
+ var util = require(37);
2145
2145
 
2146
2146
  /**
2147
2147
  * Constructs a new message instance.
@@ -2276,7 +2276,7 @@ Message.prototype.toJSON = function toJSON() {
2276
2276
  return this.$type.toObject(this, util.toJSONOptions);
2277
2277
  };
2278
2278
 
2279
- },{"38":38}],13:[function(require,module,exports){
2279
+ },{"37":37}],13:[function(require,module,exports){
2280
2280
  "use strict";
2281
2281
  module.exports = Method;
2282
2282
 
@@ -4705,7 +4705,7 @@ function parse(source, root, options) {
4705
4705
  "use strict";
4706
4706
  module.exports = Reader;
4707
4707
 
4708
- var util = require(38);
4708
+ var util = require(37);
4709
4709
 
4710
4710
  var BufferReader; // cyclic
4711
4711
 
@@ -5246,7 +5246,7 @@ Reader._configure = function(BufferReader_) {
5246
5246
  });
5247
5247
  };
5248
5248
 
5249
- },{"38":38}],19:[function(require,module,exports){
5249
+ },{"37":37}],19:[function(require,module,exports){
5250
5250
  "use strict";
5251
5251
  module.exports = BufferReader;
5252
5252
 
@@ -5254,7 +5254,7 @@ module.exports = BufferReader;
5254
5254
  var Reader = require(18);
5255
5255
  (BufferReader.prototype = Object.create(Reader.prototype)).constructor = BufferReader;
5256
5256
 
5257
- var util = require(38);
5257
+ var util = require(37);
5258
5258
 
5259
5259
  /**
5260
5260
  * Constructs a new buffer reader instance.
@@ -5320,7 +5320,7 @@ BufferReader.prototype.string = function read_string_buffer() {
5320
5320
 
5321
5321
  BufferReader._configure();
5322
5322
 
5323
- },{"18":18,"38":38}],20:[function(require,module,exports){
5323
+ },{"18":18,"37":37}],20:[function(require,module,exports){
5324
5324
  "use strict";
5325
5325
  module.exports = Root;
5326
5326
 
@@ -5800,7 +5800,7 @@ rpc.Service = require(23);
5800
5800
  "use strict";
5801
5801
  module.exports = Service;
5802
5802
 
5803
- var util = require(38);
5803
+ var util = require(37);
5804
5804
 
5805
5805
  // Extends EventEmitter
5806
5806
  (Service.prototype = Object.create(util.EventEmitter.prototype)).constructor = Service;
@@ -5946,7 +5946,7 @@ Service.prototype.end = function end(endedByRPC) {
5946
5946
  return this;
5947
5947
  };
5948
5948
 
5949
- },{"38":38}],24:[function(require,module,exports){
5949
+ },{"37":37}],24:[function(require,module,exports){
5950
5950
  "use strict";
5951
5951
  module.exports = Service;
5952
5952
 
@@ -6584,13 +6584,13 @@ var Enum = require(6),
6584
6584
  Service = require(24),
6585
6585
  Message = require(12),
6586
6586
  Reader = require(18),
6587
- Writer = require(45),
6587
+ Writer = require(44),
6588
6588
  util = require(28),
6589
6589
  encoder = require(5),
6590
6590
  decoder = require(4),
6591
- verifier = require(43),
6591
+ verifier = require(42),
6592
6592
  converter = require(3),
6593
- wrappers = require(44);
6593
+ wrappers = require(43);
6594
6594
 
6595
6595
  /**
6596
6596
  * Constructs a new reflected message type instance.
@@ -7226,7 +7226,7 @@ Type.d = function decorateType(typeName) {
7226
7226
  };
7227
7227
  };
7228
7228
 
7229
- },{"11":11,"12":12,"14":14,"16":16,"18":18,"24":24,"28":28,"3":3,"4":4,"43":43,"44":44,"45":45,"5":5,"6":6,"7":7}],27:[function(require,module,exports){
7229
+ },{"11":11,"12":12,"14":14,"16":16,"18":18,"24":24,"28":28,"3":3,"4":4,"42":42,"43":43,"44":44,"5":5,"6":6,"7":7}],27:[function(require,module,exports){
7230
7230
  "use strict";
7231
7231
 
7232
7232
  /**
@@ -7431,7 +7431,7 @@ types.packed = bake([
7431
7431
  * Various utility functions.
7432
7432
  * @namespace
7433
7433
  */
7434
- var util = module.exports = require(38);
7434
+ var util = module.exports = require(37);
7435
7435
 
7436
7436
  var roots = require(21);
7437
7437
 
@@ -7440,8 +7440,8 @@ var Type, // cyclic
7440
7440
 
7441
7441
  util.codegen = require(31);
7442
7442
  util.fetch = require(33);
7443
- util.path = require(39);
7444
- util.patterns = require(40);
7443
+ util.path = require(38);
7444
+ util.patterns = require(39);
7445
7445
 
7446
7446
  var reservedRe = util.patterns.reservedRe;
7447
7447
 
@@ -7668,7 +7668,7 @@ Object.defineProperty(util, "decorateRoot", {
7668
7668
  }
7669
7669
  });
7670
7670
 
7671
- },{"20":20,"21":21,"26":26,"31":31,"33":33,"35":35,"38":38,"39":39,"40":40,"6":6}],29:[function(require,module,exports){
7671
+ },{"20":20,"21":21,"26":26,"31":31,"33":33,"35":35,"37":37,"38":38,"39":39,"6":6}],29:[function(require,module,exports){
7672
7672
  "use strict";
7673
7673
  module.exports = asPromise;
7674
7674
 
@@ -7874,7 +7874,7 @@ base64.test = function test(string) {
7874
7874
  "use strict";
7875
7875
  module.exports = codegen;
7876
7876
 
7877
- var patterns = require(40);
7877
+ var patterns = require(39);
7878
7878
  var reservedRe = patterns.reservedRe;
7879
7879
 
7880
7880
  /**
@@ -7985,7 +7985,7 @@ function safeFunctionName(name) {
7985
7985
  return reservedRe.test(name) ? name + "_" : name;
7986
7986
  }
7987
7987
 
7988
- },{"40":40}],32:[function(require,module,exports){
7988
+ },{"39":39}],32:[function(require,module,exports){
7989
7989
  "use strict";
7990
7990
  module.exports = EventEmitter;
7991
7991
 
@@ -8539,49 +8539,9 @@ module.exports = fs;
8539
8539
 
8540
8540
  },{"1":1}],36:[function(require,module,exports){
8541
8541
  "use strict";
8542
- module.exports = inquire;
8543
-
8544
- /**
8545
- * Requires a module only if available.
8546
- * @memberof util
8547
- * @param {string} moduleName Module to require
8548
- * @returns {?Object} Required module if available and not empty, otherwise `null`
8549
- * @deprecated Legacy optional require helper. Will be removed in a future release.
8550
- */
8551
- function inquire(moduleName) {
8552
- try {
8553
- if (typeof require !== "function") {
8554
- return null;
8555
- }
8556
- var mod = require(moduleName);
8557
- if (mod && (mod.length || Object.keys(mod).length)) return mod;
8558
- return null;
8559
- } catch (err) {
8560
- // ignore
8561
- return null;
8562
- }
8563
- }
8564
-
8565
- /*
8566
- // maybe worth a shot to prevent renaming issues:
8567
- // see: https://github.com/webpack/webpack/blob/master/lib/dependencies/CommonJsRequireDependencyParserPlugin.js
8568
- // triggers on:
8569
- // - expression require.cache
8570
- // - expression require (???)
8571
- // - call require
8572
- // - call require:commonjs:item
8573
- // - call require:commonjs:context
8574
-
8575
- Object.defineProperty(Function.prototype, "__self", { get: function() { return this; } });
8576
- var r = require.__self;
8577
- delete Function.prototype.__self;
8578
- */
8579
-
8580
- },{}],37:[function(require,module,exports){
8581
- "use strict";
8582
8542
  module.exports = LongBits;
8583
8543
 
8584
- var util = require(38);
8544
+ var util = require(37);
8585
8545
 
8586
8546
  /**
8587
8547
  * Constructs new long bits.
@@ -8779,7 +8739,7 @@ LongBits.prototype.length = function length() {
8779
8739
  : part2 < 128 ? 9 : 10;
8780
8740
  };
8781
8741
 
8782
- },{"38":38}],38:[function(require,module,exports){
8742
+ },{"37":37}],37:[function(require,module,exports){
8783
8743
  "use strict";
8784
8744
  var util = exports;
8785
8745
 
@@ -8795,17 +8755,14 @@ util.EventEmitter = require(32);
8795
8755
  // float handling accross browsers
8796
8756
  util.float = require(34);
8797
8757
 
8798
- // requires modules optionally and hides the call from bundlers
8799
- util.inquire = require(36);
8800
-
8801
8758
  // converts to / from utf8 encoded strings
8802
- util.utf8 = require(42);
8759
+ util.utf8 = require(41);
8803
8760
 
8804
8761
  // provides a node-like buffer pool in the browser
8805
- util.pool = require(41);
8762
+ util.pool = require(40);
8806
8763
 
8807
8764
  // utility to work with the low and high bits of a 64 bit value
8808
- util.LongBits = require(37);
8765
+ util.LongBits = require(36);
8809
8766
 
8810
8767
  /**
8811
8768
  * Tests if the specified key can affect object prototypes.
@@ -9299,7 +9256,7 @@ util._configure = function() {
9299
9256
  };
9300
9257
  };
9301
9258
 
9302
- },{"29":29,"30":30,"32":32,"34":34,"36":36,"37":37,"41":41,"42":42,"long":"long"}],39:[function(require,module,exports){
9259
+ },{"29":29,"30":30,"32":32,"34":34,"36":36,"40":40,"41":41,"long":"long"}],38:[function(require,module,exports){
9303
9260
  "use strict";
9304
9261
 
9305
9262
  /**
@@ -9373,7 +9330,7 @@ path.resolve = function resolve(originPath, includePath, alreadyNormalized) {
9373
9330
  return (originPath = originPath.replace(/(?:\/|^)[^/]+$/, "")).length ? normalize(originPath + "/" + includePath) : includePath;
9374
9331
  };
9375
9332
 
9376
- },{}],40:[function(require,module,exports){
9333
+ },{}],39:[function(require,module,exports){
9377
9334
  "use strict";
9378
9335
 
9379
9336
  var patterns = exports;
@@ -9382,7 +9339,7 @@ patterns.numberRe = /^(?![eE])[0-9]*(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?$/;
9382
9339
  patterns.typeRefRe = /^(?:\.?[a-zA-Z_][a-zA-Z_0-9]*)(?:\.[a-zA-Z_][a-zA-Z_0-9]*)*$/;
9383
9340
  patterns.reservedRe = /^(?:do|if|in|for|let|new|try|var|case|else|enum|eval|false|null|this|true|void|with|break|catch|class|const|super|throw|while|yield|delete|export|import|public|return|static|switch|typeof|default|extends|finally|package|private|continue|debugger|function|arguments|interface|protected|implements|instanceof)$/;
9384
9341
 
9385
- },{}],41:[function(require,module,exports){
9342
+ },{}],40:[function(require,module,exports){
9386
9343
  "use strict";
9387
9344
  module.exports = pool;
9388
9345
 
@@ -9432,7 +9389,7 @@ function pool(alloc, slice, size) {
9432
9389
  };
9433
9390
  }
9434
9391
 
9435
- },{}],42:[function(require,module,exports){
9392
+ },{}],41:[function(require,module,exports){
9436
9393
  "use strict";
9437
9394
 
9438
9395
  /**
@@ -9564,7 +9521,7 @@ utf8.write = function utf8_write(string, buffer, offset) {
9564
9521
  return offset - start;
9565
9522
  };
9566
9523
 
9567
- },{}],43:[function(require,module,exports){
9524
+ },{}],42:[function(require,module,exports){
9568
9525
  "use strict";
9569
9526
  module.exports = verifier;
9570
9527
 
@@ -9746,7 +9703,7 @@ function verifier(mtype) {
9746
9703
  /* eslint-enable no-unexpected-multiline */
9747
9704
  }
9748
9705
 
9749
- },{"28":28,"6":6}],44:[function(require,module,exports){
9706
+ },{"28":28,"6":6}],43:[function(require,module,exports){
9750
9707
  "use strict";
9751
9708
 
9752
9709
  /**
@@ -9757,7 +9714,7 @@ function verifier(mtype) {
9757
9714
  var wrappers = exports;
9758
9715
 
9759
9716
  var Message = require(12),
9760
- util = require(38);
9717
+ util = require(37);
9761
9718
 
9762
9719
  /**
9763
9720
  * From object converter part of an {@link IWrapper}.
@@ -9854,11 +9811,11 @@ wrappers[".google.protobuf.Any"] = {
9854
9811
  }
9855
9812
  };
9856
9813
 
9857
- },{"12":12,"38":38}],45:[function(require,module,exports){
9814
+ },{"12":12,"37":37}],44:[function(require,module,exports){
9858
9815
  "use strict";
9859
9816
  module.exports = Writer;
9860
9817
 
9861
- var util = require(38);
9818
+ var util = require(37);
9862
9819
 
9863
9820
  var BufferWriter; // cyclic
9864
9821
 
@@ -10351,15 +10308,15 @@ Writer._configure = function(BufferWriter_) {
10351
10308
  BufferWriter._configure();
10352
10309
  };
10353
10310
 
10354
- },{"38":38}],46:[function(require,module,exports){
10311
+ },{"37":37}],45:[function(require,module,exports){
10355
10312
  "use strict";
10356
10313
  module.exports = BufferWriter;
10357
10314
 
10358
10315
  // extends Writer
10359
- var Writer = require(45);
10316
+ var Writer = require(44);
10360
10317
  (BufferWriter.prototype = Object.create(Writer.prototype)).constructor = BufferWriter;
10361
10318
 
10362
- var util = require(38);
10319
+ var util = require(37);
10363
10320
 
10364
10321
  /**
10365
10322
  * Constructs a new buffer writer instance.
@@ -10455,7 +10412,7 @@ BufferWriter.prototype.string = function write_string_buffer(value) {
10455
10412
 
10456
10413
  BufferWriter._configure();
10457
10414
 
10458
- },{"38":38,"45":45}]},{},[10])
10415
+ },{"37":37,"44":44}]},{},[10])
10459
10416
 
10460
10417
  })();
10461
10418
  //# sourceMappingURL=protobuf.js.map