protobufjs 7.5.4 → 7.5.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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * protobuf.js v7.5.4 (c) 2016, daniel wirtz
3
- * compiled fri, 15 aug 2025 23:28:54 utc
2
+ * protobuf.js v7.5.5 (c) 2016, daniel wirtz
3
+ * compiled wed, 15 apr 2026 04:40:15 utc
4
4
  * licensed under the bsd-3-clause license
5
5
  * see: https://github.com/dcodeio/protobuf.js for details
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * protobuf.js v7.5.4 (c) 2016, daniel wirtz
3
- * compiled fri, 15 aug 2025 23:28:55 utc
2
+ * protobuf.js v7.5.5 (c) 2016, daniel wirtz
3
+ * compiled wed, 15 apr 2026 04:40:15 utc
4
4
  * licensed under the bsd-3-clause license
5
5
  * see: https://github.com/dcodeio/protobuf.js for details
6
6
  */
package/dist/protobuf.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * protobuf.js v7.5.4 (c) 2016, daniel wirtz
3
- * compiled fri, 15 aug 2025 23:28:54 utc
2
+ * protobuf.js v7.5.5 (c) 2016, daniel wirtz
3
+ * compiled wed, 15 apr 2026 04:40:15 utc
4
4
  * licensed under the bsd-3-clause license
5
5
  * see: https://github.com/dcodeio/protobuf.js for details
6
6
  */
@@ -3025,8 +3025,12 @@ var util = require(39);
3025
3025
  function Message(properties) {
3026
3026
  // not used internally
3027
3027
  if (properties)
3028
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
3029
- this[keys[i]] = properties[keys[i]];
3028
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) {
3029
+ var key = keys[i];
3030
+ if (key === "__proto__")
3031
+ continue;
3032
+ this[key] = properties[key];
3033
+ }
3030
3034
  }
3031
3035
 
3032
3036
  /**
@@ -3149,6 +3153,7 @@ Message.prototype.toJSON = function toJSON() {
3149
3153
  };
3150
3154
 
3151
3155
  /*eslint-enable valid-jsdoc*/
3156
+
3152
3157
  },{"39":39}],22:[function(require,module,exports){
3153
3158
  "use strict";
3154
3159
  module.exports = Method;
@@ -7154,6 +7159,7 @@ var Enum = require(15),
7154
7159
  * @param {Object.<string,*>} [options] Declared options
7155
7160
  */
7156
7161
  function Type(name, options) {
7162
+ name = name.replace(/\W/g, "");
7157
7163
  Namespace.call(this, name, options);
7158
7164
 
7159
7165
  /**