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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * protobuf.js v8.6.0 (c) 2016, daniel wirtz
3
- * compiled thu, 04 jun 2026 21:47:14 utc
2
+ * protobuf.js v8.6.1 (c) 2016, daniel wirtz
3
+ * compiled sun, 07 jun 2026 00:06:13 utc
4
4
  * licensed under the bsd-3-clause license
5
5
  * see: https://github.com/dcodeio/protobuf.js for details
6
6
  */
@@ -50,13 +50,13 @@ var protobuf = exports;
50
50
  protobuf.build = "minimal";
51
51
 
52
52
  // Serialization
53
- protobuf.Writer = require(16);
54
- protobuf.BufferWriter = require(17);
53
+ protobuf.Writer = require(15);
54
+ protobuf.BufferWriter = require(16);
55
55
  protobuf.Reader = require(2);
56
56
  protobuf.BufferReader = require(3);
57
57
 
58
58
  // Utility
59
- protobuf.util = require(13);
59
+ protobuf.util = require(12);
60
60
  protobuf.rpc = require(5);
61
61
  protobuf.roots = require(4);
62
62
  protobuf.configure = configure;
@@ -75,11 +75,11 @@ function configure() {
75
75
  // Set up buffer utility according to the environment
76
76
  configure();
77
77
 
78
- },{"13":13,"16":16,"17":17,"2":2,"3":3,"4":4,"5":5}],2:[function(require,module,exports){
78
+ },{"12":12,"15":15,"16":16,"2":2,"3":3,"4":4,"5":5}],2:[function(require,module,exports){
79
79
  "use strict";
80
80
  module.exports = Reader;
81
81
 
82
- var util = require(13);
82
+ var util = require(12);
83
83
 
84
84
  var BufferReader; // cyclic
85
85
 
@@ -620,7 +620,7 @@ Reader._configure = function(BufferReader_) {
620
620
  });
621
621
  };
622
622
 
623
- },{"13":13}],3:[function(require,module,exports){
623
+ },{"12":12}],3:[function(require,module,exports){
624
624
  "use strict";
625
625
  module.exports = BufferReader;
626
626
 
@@ -628,7 +628,7 @@ module.exports = BufferReader;
628
628
  var Reader = require(2);
629
629
  (BufferReader.prototype = Object.create(Reader.prototype)).constructor = BufferReader;
630
630
 
631
- var util = require(13);
631
+ var util = require(12);
632
632
 
633
633
  /**
634
634
  * Constructs a new buffer reader instance.
@@ -694,7 +694,7 @@ BufferReader.prototype.string = function read_string_buffer() {
694
694
 
695
695
  BufferReader._configure();
696
696
 
697
- },{"13":13,"2":2}],4:[function(require,module,exports){
697
+ },{"12":12,"2":2}],4:[function(require,module,exports){
698
698
  "use strict";
699
699
  module.exports = Object.create(null);
700
700
 
@@ -756,7 +756,7 @@ rpc.Service = require(6);
756
756
  "use strict";
757
757
  module.exports = Service;
758
758
 
759
- var util = require(13);
759
+ var util = require(12);
760
760
 
761
761
  // Extends EventEmitter
762
762
  (Service.prototype = Object.create(util.EventEmitter.prototype)).constructor = Service;
@@ -902,7 +902,7 @@ Service.prototype.end = function end(endedByRPC) {
902
902
  return this;
903
903
  };
904
904
 
905
- },{"13":13}],7:[function(require,module,exports){
905
+ },{"12":12}],7:[function(require,module,exports){
906
906
  "use strict";
907
907
  module.exports = asPromise;
908
908
 
@@ -1531,49 +1531,9 @@ function readUintBE(buf, pos) {
1531
1531
 
1532
1532
  },{}],11:[function(require,module,exports){
1533
1533
  "use strict";
1534
- module.exports = inquire;
1535
-
1536
- /**
1537
- * Requires a module only if available.
1538
- * @memberof util
1539
- * @param {string} moduleName Module to require
1540
- * @returns {?Object} Required module if available and not empty, otherwise `null`
1541
- * @deprecated Legacy optional require helper. Will be removed in a future release.
1542
- */
1543
- function inquire(moduleName) {
1544
- try {
1545
- if (typeof require !== "function") {
1546
- return null;
1547
- }
1548
- var mod = require(moduleName);
1549
- if (mod && (mod.length || Object.keys(mod).length)) return mod;
1550
- return null;
1551
- } catch (err) {
1552
- // ignore
1553
- return null;
1554
- }
1555
- }
1556
-
1557
- /*
1558
- // maybe worth a shot to prevent renaming issues:
1559
- // see: https://github.com/webpack/webpack/blob/master/lib/dependencies/CommonJsRequireDependencyParserPlugin.js
1560
- // triggers on:
1561
- // - expression require.cache
1562
- // - expression require (???)
1563
- // - call require
1564
- // - call require:commonjs:item
1565
- // - call require:commonjs:context
1566
-
1567
- Object.defineProperty(Function.prototype, "__self", { get: function() { return this; } });
1568
- var r = require.__self;
1569
- delete Function.prototype.__self;
1570
- */
1571
-
1572
- },{}],12:[function(require,module,exports){
1573
- "use strict";
1574
1534
  module.exports = LongBits;
1575
1535
 
1576
- var util = require(13);
1536
+ var util = require(12);
1577
1537
 
1578
1538
  /**
1579
1539
  * Constructs new long bits.
@@ -1771,7 +1731,7 @@ LongBits.prototype.length = function length() {
1771
1731
  : part2 < 128 ? 9 : 10;
1772
1732
  };
1773
1733
 
1774
- },{"13":13}],13:[function(require,module,exports){
1734
+ },{"12":12}],12:[function(require,module,exports){
1775
1735
  "use strict";
1776
1736
  var util = exports;
1777
1737
 
@@ -1787,17 +1747,14 @@ util.EventEmitter = require(9);
1787
1747
  // float handling accross browsers
1788
1748
  util.float = require(10);
1789
1749
 
1790
- // requires modules optionally and hides the call from bundlers
1791
- util.inquire = require(11);
1792
-
1793
1750
  // converts to / from utf8 encoded strings
1794
- util.utf8 = require(15);
1751
+ util.utf8 = require(14);
1795
1752
 
1796
1753
  // provides a node-like buffer pool in the browser
1797
- util.pool = require(14);
1754
+ util.pool = require(13);
1798
1755
 
1799
1756
  // utility to work with the low and high bits of a 64 bit value
1800
- util.LongBits = require(12);
1757
+ util.LongBits = require(11);
1801
1758
 
1802
1759
  /**
1803
1760
  * Tests if the specified key can affect object prototypes.
@@ -2291,7 +2248,7 @@ util._configure = function() {
2291
2248
  };
2292
2249
  };
2293
2250
 
2294
- },{"10":10,"11":11,"12":12,"14":14,"15":15,"7":7,"8":8,"9":9,"long":"long"}],14:[function(require,module,exports){
2251
+ },{"10":10,"11":11,"13":13,"14":14,"7":7,"8":8,"9":9,"long":"long"}],13:[function(require,module,exports){
2295
2252
  "use strict";
2296
2253
  module.exports = pool;
2297
2254
 
@@ -2341,7 +2298,7 @@ function pool(alloc, slice, size) {
2341
2298
  };
2342
2299
  }
2343
2300
 
2344
- },{}],15:[function(require,module,exports){
2301
+ },{}],14:[function(require,module,exports){
2345
2302
  "use strict";
2346
2303
 
2347
2304
  /**
@@ -2473,11 +2430,11 @@ utf8.write = function utf8_write(string, buffer, offset) {
2473
2430
  return offset - start;
2474
2431
  };
2475
2432
 
2476
- },{}],16:[function(require,module,exports){
2433
+ },{}],15:[function(require,module,exports){
2477
2434
  "use strict";
2478
2435
  module.exports = Writer;
2479
2436
 
2480
- var util = require(13);
2437
+ var util = require(12);
2481
2438
 
2482
2439
  var BufferWriter; // cyclic
2483
2440
 
@@ -2970,15 +2927,15 @@ Writer._configure = function(BufferWriter_) {
2970
2927
  BufferWriter._configure();
2971
2928
  };
2972
2929
 
2973
- },{"13":13}],17:[function(require,module,exports){
2930
+ },{"12":12}],16:[function(require,module,exports){
2974
2931
  "use strict";
2975
2932
  module.exports = BufferWriter;
2976
2933
 
2977
2934
  // extends Writer
2978
- var Writer = require(16);
2935
+ var Writer = require(15);
2979
2936
  (BufferWriter.prototype = Object.create(Writer.prototype)).constructor = BufferWriter;
2980
2937
 
2981
- var util = require(13);
2938
+ var util = require(12);
2982
2939
 
2983
2940
  /**
2984
2941
  * Constructs a new buffer writer instance.
@@ -3074,7 +3031,7 @@ BufferWriter.prototype.string = function write_string_buffer(value) {
3074
3031
 
3075
3032
  BufferWriter._configure();
3076
3033
 
3077
- },{"13":13,"16":16}]},{},[1])
3034
+ },{"12":12,"15":15}]},{},[1])
3078
3035
 
3079
3036
  })();
3080
3037
  //# sourceMappingURL=protobuf.js.map