protobufjs 6.8.7 → 6.8.8

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/index.d.ts CHANGED
@@ -1,3 +1,5 @@
1
+ // DO NOT EDIT! This is a generated file. Edit the JSDoc in src/*.js instead and run 'npm run types'.
2
+
1
3
  export as namespace protobuf;
2
4
 
3
5
  /**
@@ -507,7 +509,7 @@ export interface IExtensionMapField extends IMapField {
507
509
  }
508
510
 
509
511
  /** Abstract runtime message. */
510
- export class Message<T extends object> {
512
+ export class Message<T extends object = object> {
511
513
 
512
514
  /**
513
515
  * Constructs a new message instance.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobufjs",
3
- "version": "6.8.7",
3
+ "version": "6.8.8",
4
4
  "versionScheme": "~",
5
5
  "description": "Protocol Buffers for JavaScript (& TypeScript).",
6
6
  "author": "Daniel Wirtz <dcode+protobufjs@dcode.io>",
package/src/message.js CHANGED
@@ -8,7 +8,7 @@ var util = require("./util/minimal");
8
8
  * @classdesc Abstract runtime message.
9
9
  * @constructor
10
10
  * @param {Properties<T>} [properties] Properties to set
11
- * @template T extends object
11
+ * @template T extends object = object
12
12
  */
13
13
  function Message(properties) {
14
14
  // not used internally