utilium 1.2.7 → 1.2.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/dist/cache.d.ts CHANGED
@@ -38,7 +38,7 @@ export declare class Resource<ID> {
38
38
  /** The resource ID */
39
39
  readonly id: ID;
40
40
  /** The full size of the resource */
41
- readonly size: number;
41
+ size: number;
42
42
  protected readonly options: Options;
43
43
  /** Regions used to reduce unneeded allocations. Think of sparse arrays. */
44
44
  readonly regions: Region[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "utilium",
3
- "version": "1.2.7",
3
+ "version": "1.2.8",
4
4
  "description": "Typescript utilities",
5
5
  "funding": {
6
6
  "type": "individual",
package/src/cache.ts CHANGED
@@ -49,7 +49,7 @@ export class Resource<ID> {
49
49
  /** The resource ID */
50
50
  public readonly id: ID,
51
51
  /** The full size of the resource */
52
- public readonly size: number,
52
+ public size: number,
53
53
  protected readonly options: Options,
54
54
  resources?: Map<ID, Resource<ID> | undefined>
55
55
  ) {