@foxglove/extension 2.15.1 → 2.16.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foxglove/extension",
3
- "version": "2.15.1",
3
+ "version": "2.16.1",
4
4
  "license": "MIT",
5
5
  "author": {
6
6
  "name": "Foxglove Technologies",
@@ -16,6 +16,6 @@
16
16
  },
17
17
  "devDependencies": {
18
18
  "@foxglove/tsconfig": "2.0.0",
19
- "typescript": "5.4.5"
19
+ "typescript": "5.6.3"
20
20
  }
21
21
  }
package/src/immutable.ts CHANGED
@@ -31,7 +31,7 @@ export type Primitive = string | number | boolean | bigint | symbol | undefined
31
31
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
32
32
  export type AnyArray<Type = any> = Array<Type> | ReadonlyArray<Type>;
33
33
 
34
- // eslint-disable-next-line @typescript-eslint/ban-types
34
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
35
35
  export type Builtin = Primitive | Function | Date | Error | RegExp;
36
36
 
37
37
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -69,7 +69,7 @@ export type Immutable<Type> =
69
69
  ? Type extends IsTuple<Type>
70
70
  ? { readonly [Key in keyof Type]: Immutable<Type[Key]> }
71
71
  : ReadonlyArray<Immutable<Values>>
72
- : // eslint-disable-next-line @typescript-eslint/ban-types
72
+ : // eslint-disable-next-line @typescript-eslint/no-empty-object-type
73
73
  Type extends {}
74
74
  ? { readonly [Key in keyof Type]: Immutable<Type[Key]> }
75
75
  : IsUnknown<Type> extends true
package/src/index.ts CHANGED
@@ -110,7 +110,7 @@ export type MessageEvent<T = unknown> = {
110
110
  /** The deserialized message as a JavaScript object. */
111
111
  message: T;
112
112
  /**
113
- * The approximate size of this message in its serialized form. This can be
113
+ * The approximate size of this message event in its deserialized form. This can be
114
114
  * useful for statistics tracking and cache eviction.
115
115
  */
116
116
  sizeInBytes: number;