protobufjs 7.6.3 → 7.6.5

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 v7.6.3 (c) 2016, daniel wirtz
3
- * compiled tue, 09 jun 2026 20:47:47 utc
2
+ * protobuf.js v7.6.5 (c) 2016, daniel wirtz
3
+ * compiled sat, 04 jul 2026 01:13:07 utc
4
4
  * licensed under the bsd-3-clause license
5
5
  * see: https://github.com/dcodeio/protobuf.js for details
6
6
  */
@@ -553,7 +553,7 @@ fetch.xhr = function fetch_xhr(filename, options, callback) {
553
553
 
554
554
  var fs = null;
555
555
  try {
556
- fs = require(12);
556
+ fs = require(11);
557
557
  if (!fs || !fs.readFile || !fs.readFileSync)
558
558
  fs = null;
559
559
  } catch (e) {
@@ -561,7 +561,7 @@ try {
561
561
  }
562
562
  module.exports = fs;
563
563
 
564
- },{"12":12}],7:[function(require,module,exports){
564
+ },{"11":11}],7:[function(require,module,exports){
565
565
  "use strict";
566
566
 
567
567
  module.exports = factory(factory);
@@ -900,46 +900,6 @@ function readUintBE(buf, pos) {
900
900
 
901
901
  },{}],8:[function(require,module,exports){
902
902
  "use strict";
903
- module.exports = inquire;
904
-
905
- /**
906
- * Requires a module only if available.
907
- * @memberof util
908
- * @param {string} moduleName Module to require
909
- * @returns {?Object} Required module if available and not empty, otherwise `null`
910
- * @deprecated Legacy optional require helper. Will be removed in a future release.
911
- */
912
- function inquire(moduleName) {
913
- try {
914
- if (typeof require !== "function") {
915
- return null;
916
- }
917
- var mod = require(moduleName);
918
- if (mod && (mod.length || Object.keys(mod).length)) return mod;
919
- return null;
920
- } catch (err) {
921
- // ignore
922
- return null;
923
- }
924
- }
925
-
926
- /*
927
- // maybe worth a shot to prevent renaming issues:
928
- // see: https://github.com/webpack/webpack/blob/master/lib/dependencies/CommonJsRequireDependencyParserPlugin.js
929
- // triggers on:
930
- // - expression require.cache
931
- // - expression require (???)
932
- // - call require
933
- // - call require:commonjs:item
934
- // - call require:commonjs:context
935
-
936
- Object.defineProperty(Function.prototype, "__self", { get: function() { return this; } });
937
- var r = require.__self;
938
- delete Function.prototype.__self;
939
- */
940
-
941
- },{}],9:[function(require,module,exports){
942
- "use strict";
943
903
 
944
904
  /**
945
905
  * A minimal path module to resolve Unix, Windows and URL paths alike.
@@ -1005,7 +965,7 @@ path.resolve = function resolve(originPath, includePath, alreadyNormalized) {
1005
965
  return (originPath = originPath.replace(/(?:\/|^)[^/]+$/, "")).length ? normalize(originPath + "/" + includePath) : includePath;
1006
966
  };
1007
967
 
1008
- },{}],10:[function(require,module,exports){
968
+ },{}],9:[function(require,module,exports){
1009
969
  "use strict";
1010
970
  module.exports = pool;
1011
971
 
@@ -1055,7 +1015,7 @@ function pool(alloc, slice, size) {
1055
1015
  };
1056
1016
  }
1057
1017
 
1058
- },{}],11:[function(require,module,exports){
1018
+ },{}],10:[function(require,module,exports){
1059
1019
  "use strict";
1060
1020
 
1061
1021
  /**
@@ -1161,9 +1121,9 @@ utf8.write = function utf8_write(string, buffer, offset) {
1161
1121
  return offset - start;
1162
1122
  };
1163
1123
 
1164
- },{}],12:[function(require,module,exports){
1124
+ },{}],11:[function(require,module,exports){
1165
1125
 
1166
- },{}],13:[function(require,module,exports){
1126
+ },{}],12:[function(require,module,exports){
1167
1127
  "use strict";
1168
1128
  module.exports = common;
1169
1129
 
@@ -1564,7 +1524,7 @@ common.get = function get(file) {
1564
1524
  return common[file] || null;
1565
1525
  };
1566
1526
 
1567
- },{}],14:[function(require,module,exports){
1527
+ },{}],13:[function(require,module,exports){
1568
1528
  "use strict";
1569
1529
  /**
1570
1530
  * Runtime message from/to plain object converters.
@@ -1572,8 +1532,8 @@ common.get = function get(file) {
1572
1532
  */
1573
1533
  var converter = exports;
1574
1534
 
1575
- var Enum = require(17),
1576
- util = require(39);
1535
+ var Enum = require(16),
1536
+ util = require(38);
1577
1537
 
1578
1538
  /**
1579
1539
  * Generates a partial value fromObject conveter.
@@ -1884,13 +1844,13 @@ converter.toObject = function toObject(mtype) {
1884
1844
  /* eslint-enable no-unexpected-multiline, block-scoped-var, no-redeclare */
1885
1845
  };
1886
1846
 
1887
- },{"17":17,"39":39}],15:[function(require,module,exports){
1847
+ },{"16":16,"38":38}],14:[function(require,module,exports){
1888
1848
  "use strict";
1889
1849
  module.exports = decoder;
1890
1850
 
1891
- var Enum = require(17),
1892
- types = require(38),
1893
- util = require(39);
1851
+ var Enum = require(16),
1852
+ types = require(37),
1853
+ util = require(38);
1894
1854
 
1895
1855
  function missing(field) {
1896
1856
  return "missing required '" + field.name + "'";
@@ -2021,13 +1981,13 @@ function decoder(mtype) {
2021
1981
  /* eslint-enable no-unexpected-multiline */
2022
1982
  }
2023
1983
 
2024
- },{"17":17,"38":38,"39":39}],16:[function(require,module,exports){
1984
+ },{"16":16,"37":37,"38":38}],15:[function(require,module,exports){
2025
1985
  "use strict";
2026
1986
  module.exports = encoder;
2027
1987
 
2028
- var Enum = require(17),
2029
- types = require(38),
2030
- util = require(39);
1988
+ var Enum = require(16),
1989
+ types = require(37),
1990
+ util = require(38);
2031
1991
 
2032
1992
  /**
2033
1993
  * Generates a partial message type encoder.
@@ -2126,16 +2086,16 @@ function encoder(mtype) {
2126
2086
  /* eslint-enable no-unexpected-multiline, block-scoped-var, no-redeclare */
2127
2087
  }
2128
2088
 
2129
- },{"17":17,"38":38,"39":39}],17:[function(require,module,exports){
2089
+ },{"16":16,"37":37,"38":38}],16:[function(require,module,exports){
2130
2090
  "use strict";
2131
2091
  module.exports = Enum;
2132
2092
 
2133
2093
  // extends ReflectionObject
2134
- var ReflectionObject = require(26);
2094
+ var ReflectionObject = require(25);
2135
2095
  ((Enum.prototype = Object.create(ReflectionObject.prototype)).constructor = Enum).className = "Enum";
2136
2096
 
2137
- var Namespace = require(25),
2138
- util = require(39);
2097
+ var Namespace = require(24),
2098
+ util = require(38);
2139
2099
 
2140
2100
  /**
2141
2101
  * Constructs a new enum instance.
@@ -2354,17 +2314,17 @@ Enum.prototype.isReservedName = function isReservedName(name) {
2354
2314
  return Namespace.isReservedName(this.reserved, name);
2355
2315
  };
2356
2316
 
2357
- },{"25":25,"26":26,"39":39}],18:[function(require,module,exports){
2317
+ },{"24":24,"25":25,"38":38}],17:[function(require,module,exports){
2358
2318
  "use strict";
2359
2319
  module.exports = Field;
2360
2320
 
2361
2321
  // extends ReflectionObject
2362
- var ReflectionObject = require(26);
2322
+ var ReflectionObject = require(25);
2363
2323
  ((Field.prototype = Object.create(ReflectionObject.prototype)).constructor = Field).className = "Field";
2364
2324
 
2365
- var Enum = require(17),
2366
- types = require(38),
2367
- util = require(39);
2325
+ var Enum = require(16),
2326
+ types = require(37),
2327
+ util = require(38);
2368
2328
 
2369
2329
  var Type; // cyclic
2370
2330
 
@@ -2809,9 +2769,9 @@ Field._configure = function configure(Type_) {
2809
2769
  Type = Type_;
2810
2770
  };
2811
2771
 
2812
- },{"17":17,"26":26,"38":38,"39":39}],19:[function(require,module,exports){
2772
+ },{"16":16,"25":25,"37":37,"38":38}],18:[function(require,module,exports){
2813
2773
  "use strict";
2814
- var protobuf = module.exports = require(20);
2774
+ var protobuf = module.exports = require(19);
2815
2775
 
2816
2776
  protobuf.build = "light";
2817
2777
 
@@ -2884,30 +2844,30 @@ function loadSync(filename, root) {
2884
2844
  protobuf.loadSync = loadSync;
2885
2845
 
2886
2846
  // Serialization
2887
- protobuf.encoder = require(16);
2888
- protobuf.decoder = require(15);
2889
- protobuf.verifier = require(44);
2890
- protobuf.converter = require(14);
2847
+ protobuf.encoder = require(15);
2848
+ protobuf.decoder = require(14);
2849
+ protobuf.verifier = require(43);
2850
+ protobuf.converter = require(13);
2891
2851
 
2892
2852
  // Reflection
2893
- protobuf.ReflectionObject = require(26);
2894
- protobuf.Namespace = require(25);
2895
- protobuf.Root = require(31);
2896
- protobuf.Enum = require(17);
2897
- protobuf.Type = require(37);
2898
- protobuf.Field = require(18);
2899
- protobuf.OneOf = require(27);
2900
- protobuf.MapField = require(22);
2901
- protobuf.Service = require(35);
2902
- protobuf.Method = require(24);
2853
+ protobuf.ReflectionObject = require(25);
2854
+ protobuf.Namespace = require(24);
2855
+ protobuf.Root = require(30);
2856
+ protobuf.Enum = require(16);
2857
+ protobuf.Type = require(36);
2858
+ protobuf.Field = require(17);
2859
+ protobuf.OneOf = require(26);
2860
+ protobuf.MapField = require(21);
2861
+ protobuf.Service = require(34);
2862
+ protobuf.Method = require(23);
2903
2863
 
2904
2864
  // Runtime
2905
- protobuf.Message = require(23);
2906
- protobuf.wrappers = require(45);
2865
+ protobuf.Message = require(22);
2866
+ protobuf.wrappers = require(44);
2907
2867
 
2908
2868
  // Utility
2909
- protobuf.types = require(38);
2910
- protobuf.util = require(39);
2869
+ protobuf.types = require(37);
2870
+ protobuf.util = require(38);
2911
2871
 
2912
2872
  // Set up possibly cyclic reflection dependencies
2913
2873
  protobuf.ReflectionObject._configure(protobuf.Root);
@@ -2915,7 +2875,7 @@ protobuf.Namespace._configure(protobuf.Type, protobuf.Service, protobuf.Enum);
2915
2875
  protobuf.Root._configure(protobuf.Type);
2916
2876
  protobuf.Field._configure(protobuf.Type);
2917
2877
 
2918
- },{"14":14,"15":15,"16":16,"17":17,"18":18,"20":20,"22":22,"23":23,"24":24,"25":25,"26":26,"27":27,"31":31,"35":35,"37":37,"38":38,"39":39,"44":44,"45":45}],20:[function(require,module,exports){
2878
+ },{"13":13,"14":14,"15":15,"16":16,"17":17,"19":19,"21":21,"22":22,"23":23,"24":24,"25":25,"26":26,"30":30,"34":34,"36":36,"37":37,"38":38,"43":43,"44":44}],19:[function(require,module,exports){
2919
2879
  "use strict";
2920
2880
  var protobuf = exports;
2921
2881
 
@@ -2928,15 +2888,15 @@ var protobuf = exports;
2928
2888
  protobuf.build = "minimal";
2929
2889
 
2930
2890
  // Serialization
2931
- protobuf.Writer = require(46);
2932
- protobuf.BufferWriter = require(47);
2933
- protobuf.Reader = require(29);
2934
- protobuf.BufferReader = require(30);
2891
+ protobuf.Writer = require(45);
2892
+ protobuf.BufferWriter = require(46);
2893
+ protobuf.Reader = require(28);
2894
+ protobuf.BufferReader = require(29);
2935
2895
 
2936
2896
  // Utility
2937
- protobuf.util = require(42);
2938
- protobuf.rpc = require(33);
2939
- protobuf.roots = require(32);
2897
+ protobuf.util = require(41);
2898
+ protobuf.rpc = require(32);
2899
+ protobuf.roots = require(31);
2940
2900
  protobuf.configure = configure;
2941
2901
 
2942
2902
  /* istanbul ignore next */
@@ -2953,30 +2913,30 @@ function configure() {
2953
2913
  // Set up buffer utility according to the environment
2954
2914
  configure();
2955
2915
 
2956
- },{"29":29,"30":30,"32":32,"33":33,"42":42,"46":46,"47":47}],21:[function(require,module,exports){
2916
+ },{"28":28,"29":29,"31":31,"32":32,"41":41,"45":45,"46":46}],20:[function(require,module,exports){
2957
2917
  "use strict";
2958
- var protobuf = module.exports = require(19);
2918
+ var protobuf = module.exports = require(18);
2959
2919
 
2960
2920
  protobuf.build = "full";
2961
2921
 
2962
2922
  // Parser
2963
- protobuf.tokenize = require(36);
2964
- protobuf.parse = require(28);
2965
- protobuf.common = require(13);
2923
+ protobuf.tokenize = require(35);
2924
+ protobuf.parse = require(27);
2925
+ protobuf.common = require(12);
2966
2926
 
2967
2927
  // Configure parser
2968
2928
  protobuf.Root._configure(protobuf.Type, protobuf.parse, protobuf.common);
2969
2929
 
2970
- },{"13":13,"19":19,"28":28,"36":36}],22:[function(require,module,exports){
2930
+ },{"12":12,"18":18,"27":27,"35":35}],21:[function(require,module,exports){
2971
2931
  "use strict";
2972
2932
  module.exports = MapField;
2973
2933
 
2974
2934
  // extends Field
2975
- var Field = require(18);
2935
+ var Field = require(17);
2976
2936
  ((MapField.prototype = Object.create(Field.prototype)).constructor = MapField).className = "MapField";
2977
2937
 
2978
- var types = require(38),
2979
- util = require(39);
2938
+ var types = require(37),
2939
+ util = require(38);
2980
2940
 
2981
2941
  /**
2982
2942
  * Constructs a new map field instance.
@@ -3095,11 +3055,11 @@ MapField.d = function decorateMapField(fieldId, fieldKeyType, fieldValueType) {
3095
3055
  };
3096
3056
  };
3097
3057
 
3098
- },{"18":18,"38":38,"39":39}],23:[function(require,module,exports){
3058
+ },{"17":17,"37":37,"38":38}],22:[function(require,module,exports){
3099
3059
  "use strict";
3100
3060
  module.exports = Message;
3101
3061
 
3102
- var util = require(42);
3062
+ var util = require(41);
3103
3063
 
3104
3064
  /**
3105
3065
  * Constructs a new message instance.
@@ -3240,15 +3200,15 @@ Message.prototype.toJSON = function toJSON() {
3240
3200
 
3241
3201
  /*eslint-enable valid-jsdoc*/
3242
3202
 
3243
- },{"42":42}],24:[function(require,module,exports){
3203
+ },{"41":41}],23:[function(require,module,exports){
3244
3204
  "use strict";
3245
3205
  module.exports = Method;
3246
3206
 
3247
3207
  // extends ReflectionObject
3248
- var ReflectionObject = require(26);
3208
+ var ReflectionObject = require(25);
3249
3209
  ((Method.prototype = Object.create(ReflectionObject.prototype)).constructor = Method).className = "Method";
3250
3210
 
3251
- var util = require(39);
3211
+ var util = require(38);
3252
3212
 
3253
3213
  /**
3254
3214
  * Constructs a new service method instance.
@@ -3402,17 +3362,17 @@ Method.prototype.resolve = function resolve() {
3402
3362
  return ReflectionObject.prototype.resolve.call(this);
3403
3363
  };
3404
3364
 
3405
- },{"26":26,"39":39}],25:[function(require,module,exports){
3365
+ },{"25":25,"38":38}],24:[function(require,module,exports){
3406
3366
  "use strict";
3407
3367
  module.exports = Namespace;
3408
3368
 
3409
3369
  // extends ReflectionObject
3410
- var ReflectionObject = require(26);
3370
+ var ReflectionObject = require(25);
3411
3371
  ((Namespace.prototype = Object.create(ReflectionObject.prototype)).constructor = Namespace).className = "Namespace";
3412
3372
 
3413
- var Field = require(18),
3414
- util = require(39),
3415
- OneOf = require(27);
3373
+ var Field = require(17),
3374
+ util = require(38),
3375
+ OneOf = require(26);
3416
3376
 
3417
3377
  var Type, // cyclic
3418
3378
  Service,
@@ -3962,14 +3922,14 @@ Namespace._configure = function(Type_, Service_, Enum_) {
3962
3922
  Enum = Enum_;
3963
3923
  };
3964
3924
 
3965
- },{"18":18,"26":26,"27":27,"39":39}],26:[function(require,module,exports){
3925
+ },{"17":17,"25":25,"26":26,"38":38}],25:[function(require,module,exports){
3966
3926
  "use strict";
3967
3927
  module.exports = ReflectionObject;
3968
3928
 
3969
3929
  ReflectionObject.className = "ReflectionObject";
3970
3930
 
3971
- const OneOf = require(27);
3972
- var util = require(39);
3931
+ const OneOf = require(26);
3932
+ var util = require(38);
3973
3933
 
3974
3934
  var Root; // cyclic
3975
3935
 
@@ -4346,16 +4306,16 @@ ReflectionObject._configure = function(Root_) {
4346
4306
  Root = Root_;
4347
4307
  };
4348
4308
 
4349
- },{"27":27,"39":39}],27:[function(require,module,exports){
4309
+ },{"26":26,"38":38}],26:[function(require,module,exports){
4350
4310
  "use strict";
4351
4311
  module.exports = OneOf;
4352
4312
 
4353
4313
  // extends ReflectionObject
4354
- var ReflectionObject = require(26);
4314
+ var ReflectionObject = require(25);
4355
4315
  ((OneOf.prototype = Object.create(ReflectionObject.prototype)).constructor = OneOf).className = "OneOf";
4356
4316
 
4357
- var Field = require(18),
4358
- util = require(39);
4317
+ var Field = require(17),
4318
+ util = require(38);
4359
4319
 
4360
4320
  /**
4361
4321
  * Constructs a new oneof instance.
@@ -4570,25 +4530,25 @@ OneOf.d = function decorateOneOf() {
4570
4530
  };
4571
4531
  };
4572
4532
 
4573
- },{"18":18,"26":26,"39":39}],28:[function(require,module,exports){
4533
+ },{"17":17,"25":25,"38":38}],27:[function(require,module,exports){
4574
4534
  "use strict";
4575
4535
  module.exports = parse;
4576
4536
 
4577
4537
  parse.filename = null;
4578
4538
  parse.defaults = { keepCase: false };
4579
4539
 
4580
- var tokenize = require(36),
4581
- Root = require(31),
4582
- Type = require(37),
4583
- Field = require(18),
4584
- MapField = require(22),
4585
- OneOf = require(27),
4586
- Enum = require(17),
4587
- Service = require(35),
4588
- Method = require(24),
4589
- ReflectionObject = require(26),
4590
- types = require(38),
4591
- util = require(39);
4540
+ var tokenize = require(35),
4541
+ Root = require(30),
4542
+ Type = require(36),
4543
+ Field = require(17),
4544
+ MapField = require(21),
4545
+ OneOf = require(26),
4546
+ Enum = require(16),
4547
+ Service = require(34),
4548
+ Method = require(23),
4549
+ ReflectionObject = require(25),
4550
+ types = require(37),
4551
+ util = require(38);
4592
4552
 
4593
4553
  var base10Re = /^[1-9][0-9]*$/,
4594
4554
  base10NegRe = /^-?[1-9][0-9]*$/,
@@ -5251,6 +5211,9 @@ function parse(source, root, options) {
5251
5211
  }
5252
5212
 
5253
5213
  while (token !== "=") {
5214
+ if (token === null) {
5215
+ throw illegal(token, "end of input");
5216
+ }
5254
5217
  if (token === "(") {
5255
5218
  var parensValue = next();
5256
5219
  skip(")");
@@ -5561,11 +5524,11 @@ function parse(source, root, options) {
5561
5524
  * @variation 2
5562
5525
  */
5563
5526
 
5564
- },{"17":17,"18":18,"22":22,"24":24,"26":26,"27":27,"31":31,"35":35,"36":36,"37":37,"38":38,"39":39}],29:[function(require,module,exports){
5527
+ },{"16":16,"17":17,"21":21,"23":23,"25":25,"26":26,"30":30,"34":34,"35":35,"36":36,"37":37,"38":38}],28:[function(require,module,exports){
5565
5528
  "use strict";
5566
5529
  module.exports = Reader;
5567
5530
 
5568
- var util = require(42);
5531
+ var util = require(41);
5569
5532
 
5570
5533
  var BufferReader; // cyclic
5571
5534
 
@@ -5989,15 +5952,15 @@ Reader._configure = function(BufferReader_) {
5989
5952
  });
5990
5953
  };
5991
5954
 
5992
- },{"42":42}],30:[function(require,module,exports){
5955
+ },{"41":41}],29:[function(require,module,exports){
5993
5956
  "use strict";
5994
5957
  module.exports = BufferReader;
5995
5958
 
5996
5959
  // extends Reader
5997
- var Reader = require(29);
5960
+ var Reader = require(28);
5998
5961
  (BufferReader.prototype = Object.create(Reader.prototype)).constructor = BufferReader;
5999
5962
 
6000
- var util = require(42);
5963
+ var util = require(41);
6001
5964
 
6002
5965
  /**
6003
5966
  * Constructs a new buffer reader instance.
@@ -6042,18 +6005,18 @@ BufferReader.prototype.string = function read_string_buffer() {
6042
6005
 
6043
6006
  BufferReader._configure();
6044
6007
 
6045
- },{"29":29,"42":42}],31:[function(require,module,exports){
6008
+ },{"28":28,"41":41}],30:[function(require,module,exports){
6046
6009
  "use strict";
6047
6010
  module.exports = Root;
6048
6011
 
6049
6012
  // extends Namespace
6050
- var Namespace = require(25);
6013
+ var Namespace = require(24);
6051
6014
  ((Root.prototype = Object.create(Namespace.prototype)).constructor = Root).className = "Root";
6052
6015
 
6053
- var Field = require(18),
6054
- Enum = require(17),
6055
- OneOf = require(27),
6056
- util = require(39);
6016
+ var Field = require(17),
6017
+ Enum = require(16),
6018
+ OneOf = require(26),
6019
+ util = require(38);
6057
6020
 
6058
6021
  var Type, // cyclic
6059
6022
  parse, // might be excluded
@@ -6456,7 +6419,7 @@ Root._configure = function(Type_, parse_, common_) {
6456
6419
  common = common_;
6457
6420
  };
6458
6421
 
6459
- },{"17":17,"18":18,"25":25,"27":27,"39":39}],32:[function(require,module,exports){
6422
+ },{"16":16,"17":17,"24":24,"26":26,"38":38}],31:[function(require,module,exports){
6460
6423
  "use strict";
6461
6424
  module.exports = Object.create(null);
6462
6425
 
@@ -6476,7 +6439,7 @@ module.exports = Object.create(null);
6476
6439
  * var root = protobuf.roots["myroot"];
6477
6440
  */
6478
6441
 
6479
- },{}],33:[function(require,module,exports){
6442
+ },{}],32:[function(require,module,exports){
6480
6443
  "use strict";
6481
6444
 
6482
6445
  /**
@@ -6512,13 +6475,13 @@ var rpc = exports;
6512
6475
  * @returns {undefined}
6513
6476
  */
6514
6477
 
6515
- rpc.Service = require(34);
6478
+ rpc.Service = require(33);
6516
6479
 
6517
- },{"34":34}],34:[function(require,module,exports){
6480
+ },{"33":33}],33:[function(require,module,exports){
6518
6481
  "use strict";
6519
6482
  module.exports = Service;
6520
6483
 
6521
- var util = require(42);
6484
+ var util = require(41);
6522
6485
 
6523
6486
  // Extends EventEmitter
6524
6487
  (Service.prototype = Object.create(util.EventEmitter.prototype)).constructor = Service;
@@ -6658,17 +6621,17 @@ Service.prototype.end = function end(endedByRPC) {
6658
6621
  return this;
6659
6622
  };
6660
6623
 
6661
- },{"42":42}],35:[function(require,module,exports){
6624
+ },{"41":41}],34:[function(require,module,exports){
6662
6625
  "use strict";
6663
6626
  module.exports = Service;
6664
6627
 
6665
6628
  // extends Namespace
6666
- var Namespace = require(25);
6629
+ var Namespace = require(24);
6667
6630
  ((Service.prototype = Object.create(Namespace.prototype)).constructor = Service).className = "Service";
6668
6631
 
6669
- var Method = require(24),
6670
- util = require(39),
6671
- rpc = require(33);
6632
+ var Method = require(23),
6633
+ util = require(38),
6634
+ rpc = require(32);
6672
6635
 
6673
6636
  /**
6674
6637
  * Constructs a new service instance.
@@ -6853,7 +6816,7 @@ Service.prototype.create = function create(rpcImpl, requestDelimited, responseDe
6853
6816
  return rpcService;
6854
6817
  };
6855
6818
 
6856
- },{"24":24,"25":25,"33":33,"39":39}],36:[function(require,module,exports){
6819
+ },{"23":23,"24":24,"32":32,"38":38}],35:[function(require,module,exports){
6857
6820
  "use strict";
6858
6821
  module.exports = tokenize;
6859
6822
 
@@ -7271,28 +7234,28 @@ function tokenize(source, alternateCommentMode) {
7271
7234
  /* eslint-enable callback-return */
7272
7235
  }
7273
7236
 
7274
- },{}],37:[function(require,module,exports){
7237
+ },{}],36:[function(require,module,exports){
7275
7238
  "use strict";
7276
7239
  module.exports = Type;
7277
7240
 
7278
7241
  // extends Namespace
7279
- var Namespace = require(25);
7242
+ var Namespace = require(24);
7280
7243
  ((Type.prototype = Object.create(Namespace.prototype)).constructor = Type).className = "Type";
7281
7244
 
7282
- var Enum = require(17),
7283
- OneOf = require(27),
7284
- Field = require(18),
7285
- MapField = require(22),
7286
- Service = require(35),
7287
- Message = require(23),
7288
- Reader = require(29),
7289
- Writer = require(46),
7290
- util = require(39),
7291
- encoder = require(16),
7292
- decoder = require(15),
7293
- verifier = require(44),
7294
- converter = require(14),
7295
- wrappers = require(45);
7245
+ var Enum = require(16),
7246
+ OneOf = require(26),
7247
+ Field = require(17),
7248
+ MapField = require(21),
7249
+ Service = require(34),
7250
+ Message = require(22),
7251
+ Reader = require(28),
7252
+ Writer = require(45),
7253
+ util = require(38),
7254
+ encoder = require(15),
7255
+ decoder = require(14),
7256
+ verifier = require(43),
7257
+ converter = require(13),
7258
+ wrappers = require(44);
7296
7259
 
7297
7260
  /**
7298
7261
  * Constructs a new reflected message type instance.
@@ -7905,7 +7868,7 @@ Type.d = function decorateType(typeName) {
7905
7868
  };
7906
7869
  };
7907
7870
 
7908
- },{"14":14,"15":15,"16":16,"17":17,"18":18,"22":22,"23":23,"25":25,"27":27,"29":29,"35":35,"39":39,"44":44,"45":45,"46":46}],38:[function(require,module,exports){
7871
+ },{"13":13,"14":14,"15":15,"16":16,"17":17,"21":21,"22":22,"24":24,"26":26,"28":28,"34":34,"38":38,"43":43,"44":44,"45":45}],37:[function(require,module,exports){
7909
7872
  "use strict";
7910
7873
 
7911
7874
  /**
@@ -7914,7 +7877,7 @@ Type.d = function decorateType(typeName) {
7914
7877
  */
7915
7878
  var types = exports;
7916
7879
 
7917
- var util = require(39);
7880
+ var util = require(38);
7918
7881
 
7919
7882
  var s = [
7920
7883
  "double", // 0
@@ -8103,24 +8066,24 @@ types.packed = bake([
8103
8066
  /* bool */ 0
8104
8067
  ]);
8105
8068
 
8106
- },{"39":39}],39:[function(require,module,exports){
8069
+ },{"38":38}],38:[function(require,module,exports){
8107
8070
  "use strict";
8108
8071
 
8109
8072
  /**
8110
8073
  * Various utility functions.
8111
8074
  * @namespace
8112
8075
  */
8113
- var util = module.exports = require(42);
8076
+ var util = module.exports = require(41);
8114
8077
 
8115
- var roots = require(32);
8078
+ var roots = require(31);
8116
8079
 
8117
8080
  var Type, // cyclic
8118
8081
  Enum;
8119
8082
 
8120
8083
  util.codegen = require(3);
8121
8084
  util.fetch = require(5);
8122
- util.path = require(9);
8123
- util.patterns = require(43);
8085
+ util.path = require(8);
8086
+ util.patterns = require(42);
8124
8087
 
8125
8088
  var reservedRe = util.patterns.reservedRe;
8126
8089
 
@@ -8128,7 +8091,7 @@ var reservedRe = util.patterns.reservedRe;
8128
8091
  * Node's fs module if available.
8129
8092
  * @type {Object.<string,*>}
8130
8093
  */
8131
- util.fs = require(40);
8094
+ util.fs = require(39);
8132
8095
 
8133
8096
  /**
8134
8097
  * Checks a recursion depth.
@@ -8252,7 +8215,7 @@ util.decorateType = function decorateType(ctor, typeName) {
8252
8215
 
8253
8216
  /* istanbul ignore next */
8254
8217
  if (!Type)
8255
- Type = require(37);
8218
+ Type = require(36);
8256
8219
 
8257
8220
  var type = new Type(typeName || ctor.name);
8258
8221
  util.decorateRoot.add(type);
@@ -8277,7 +8240,7 @@ util.decorateEnum = function decorateEnum(object) {
8277
8240
 
8278
8241
  /* istanbul ignore next */
8279
8242
  if (!Enum)
8280
- Enum = require(17);
8243
+ Enum = require(16);
8281
8244
 
8282
8245
  var enm = new Enum("Enum" + decorateEnumIndex++, object);
8283
8246
  util.decorateRoot.add(enm);
@@ -8331,16 +8294,16 @@ util.setProperty = function setProperty(dst, path, value, ifNotSet) {
8331
8294
  */
8332
8295
  Object.defineProperty(util, "decorateRoot", {
8333
8296
  get: function() {
8334
- return roots["decorated"] || (roots["decorated"] = new (require(31))());
8297
+ return roots["decorated"] || (roots["decorated"] = new (require(30))());
8335
8298
  }
8336
8299
  });
8337
8300
 
8338
- },{"17":17,"3":3,"31":31,"32":32,"37":37,"40":40,"42":42,"43":43,"5":5,"9":9}],40:[function(require,module,exports){
8301
+ },{"16":16,"3":3,"30":30,"31":31,"36":36,"39":39,"41":41,"42":42,"5":5,"8":8}],39:[function(require,module,exports){
8339
8302
  "use strict";
8340
8303
 
8341
8304
  var fs = null;
8342
8305
  try {
8343
- fs = require(12);
8306
+ fs = require(11);
8344
8307
  if (!fs || !fs.readFile || !fs.readFileSync)
8345
8308
  fs = null;
8346
8309
  } catch (e) {
@@ -8348,11 +8311,11 @@ try {
8348
8311
  }
8349
8312
  module.exports = fs;
8350
8313
 
8351
- },{"12":12}],41:[function(require,module,exports){
8314
+ },{"11":11}],40:[function(require,module,exports){
8352
8315
  "use strict";
8353
8316
  module.exports = LongBits;
8354
8317
 
8355
- var util = require(42);
8318
+ var util = require(41);
8356
8319
 
8357
8320
  /**
8358
8321
  * Constructs new long bits.
@@ -8550,7 +8513,7 @@ LongBits.prototype.length = function length() {
8550
8513
  : part2 < 128 ? 9 : 10;
8551
8514
  };
8552
8515
 
8553
- },{"42":42}],42:[function(require,module,exports){
8516
+ },{"41":41}],41:[function(require,module,exports){
8554
8517
  "use strict";
8555
8518
  var util = exports;
8556
8519
 
@@ -8566,17 +8529,14 @@ util.EventEmitter = require(4);
8566
8529
  // float handling accross browsers
8567
8530
  util.float = require(7);
8568
8531
 
8569
- // requires modules optionally and hides the call from bundlers
8570
- util.inquire = require(8);
8571
-
8572
8532
  // converts to / from utf8 encoded strings
8573
- util.utf8 = require(11);
8533
+ util.utf8 = require(10);
8574
8534
 
8575
8535
  // provides a node-like buffer pool in the browser
8576
- util.pool = require(10);
8536
+ util.pool = require(9);
8577
8537
 
8578
8538
  // utility to work with the low and high bits of a 64 bit value
8579
- util.LongBits = require(41);
8539
+ util.LongBits = require(40);
8580
8540
 
8581
8541
  /**
8582
8542
  * Tests if the specified key can affect object prototypes.
@@ -9046,7 +9006,7 @@ util._configure = function() {
9046
9006
  };
9047
9007
  };
9048
9008
 
9049
- },{"1":1,"10":10,"11":11,"2":2,"4":4,"41":41,"7":7,"8":8,"long":"long"}],43:[function(require,module,exports){
9009
+ },{"1":1,"10":10,"2":2,"4":4,"40":40,"7":7,"9":9,"long":"long"}],42:[function(require,module,exports){
9050
9010
  "use strict";
9051
9011
 
9052
9012
  var patterns = exports;
@@ -9055,12 +9015,12 @@ patterns.numberRe = /^(?![eE])[0-9]*(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?$/;
9055
9015
  patterns.typeRefRe = /^(?:\.?[a-zA-Z_][a-zA-Z_0-9]*)(?:\.[a-zA-Z_][a-zA-Z_0-9]*)*$/;
9056
9016
  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)$/;
9057
9017
 
9058
- },{}],44:[function(require,module,exports){
9018
+ },{}],43:[function(require,module,exports){
9059
9019
  "use strict";
9060
9020
  module.exports = verifier;
9061
9021
 
9062
- var Enum = require(17),
9063
- util = require(39);
9022
+ var Enum = require(16),
9023
+ util = require(38);
9064
9024
 
9065
9025
  function invalid(field, expected) {
9066
9026
  return field.name + ": " + expected + (field.repeated && expected !== "array" ? "[]" : field.map && expected !== "object" ? "{k:"+field.keyType+"}" : "") + " expected";
@@ -9237,7 +9197,7 @@ function verifier(mtype) {
9237
9197
  /* eslint-enable no-unexpected-multiline */
9238
9198
  }
9239
9199
 
9240
- },{"17":17,"39":39}],45:[function(require,module,exports){
9200
+ },{"16":16,"38":38}],44:[function(require,module,exports){
9241
9201
  "use strict";
9242
9202
 
9243
9203
  /**
@@ -9247,8 +9207,8 @@ function verifier(mtype) {
9247
9207
  */
9248
9208
  var wrappers = exports;
9249
9209
 
9250
- var Message = require(23),
9251
- util = require(42);
9210
+ var Message = require(22),
9211
+ util = require(41);
9252
9212
 
9253
9213
  /**
9254
9214
  * From object converter part of an {@link IWrapper}.
@@ -9346,11 +9306,11 @@ wrappers[".google.protobuf.Any"] = {
9346
9306
  }
9347
9307
  };
9348
9308
 
9349
- },{"23":23,"42":42}],46:[function(require,module,exports){
9309
+ },{"22":22,"41":41}],45:[function(require,module,exports){
9350
9310
  "use strict";
9351
9311
  module.exports = Writer;
9352
9312
 
9353
- var util = require(42);
9313
+ var util = require(41);
9354
9314
 
9355
9315
  var BufferWriter; // cyclic
9356
9316
 
@@ -9815,15 +9775,15 @@ Writer._configure = function(BufferWriter_) {
9815
9775
  BufferWriter._configure();
9816
9776
  };
9817
9777
 
9818
- },{"42":42}],47:[function(require,module,exports){
9778
+ },{"41":41}],46:[function(require,module,exports){
9819
9779
  "use strict";
9820
9780
  module.exports = BufferWriter;
9821
9781
 
9822
9782
  // extends Writer
9823
- var Writer = require(46);
9783
+ var Writer = require(45);
9824
9784
  (BufferWriter.prototype = Object.create(Writer.prototype)).constructor = BufferWriter;
9825
9785
 
9826
- var util = require(42);
9786
+ var util = require(41);
9827
9787
 
9828
9788
  /**
9829
9789
  * Constructs a new buffer writer instance.
@@ -9902,7 +9862,7 @@ BufferWriter.prototype.string = function write_string_buffer(value) {
9902
9862
 
9903
9863
  BufferWriter._configure();
9904
9864
 
9905
- },{"42":42,"46":46}]},{},[21])
9865
+ },{"41":41,"45":45}]},{},[20])
9906
9866
 
9907
9867
  })();
9908
9868
  //# sourceMappingURL=protobuf.js.map