@thi.ng/ecs 0.7.168 → 0.7.170

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2025-06-09T17:24:08Z
3
+ - **Last updated**: 2025-07-10T14:20:23Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
package/README.md CHANGED
@@ -83,7 +83,6 @@ Package sizes (brotli'd, pre-treeshake): ESM: 3.17 KB
83
83
  - [@thi.ng/logger](https://github.com/thi-ng/umbrella/tree/develop/packages/logger)
84
84
  - [@thi.ng/malloc](https://github.com/thi-ng/umbrella/tree/develop/packages/malloc)
85
85
  - [@thi.ng/transducers](https://github.com/thi-ng/umbrella/tree/develop/packages/transducers)
86
- - [tslib](https://www.typescriptlang.org/)
87
86
 
88
87
  Note: @thi.ng/api is in _most_ cases a type-only import (not used at runtime)
89
88
 
@@ -8,10 +8,10 @@ export declare class MemMappedComponent<K extends string> extends AComponent<K,
8
8
  readonly stride: number;
9
9
  cache?: ICache<TypedArray>;
10
10
  constructor(sparse: UIntArray, dense: UIntArray, opts: MemMappedComponentOpts<K>);
11
- packedValues(): Uint8Array<ArrayBufferLike> | Float32Array<ArrayBufferLike> | Float64Array<ArrayBufferLike> | Int8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint8ClampedArray<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>;
11
+ packedValues(): Float32Array<ArrayBufferLike> | Float64Array<ArrayBufferLike> | Int8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Uint8ClampedArray<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>;
12
12
  resize(pool: IMemPoolArray, cap: number): void;
13
- get(id: number): Uint8Array<ArrayBufferLike> | Float32Array<ArrayBufferLike> | Float64Array<ArrayBufferLike> | Int8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint8ClampedArray<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike> | undefined;
14
- getIndex(i: number): Uint8Array<ArrayBufferLike> | Float32Array<ArrayBufferLike> | Float64Array<ArrayBufferLike> | Int8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint8ClampedArray<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike> | undefined;
13
+ get(id: number): TypedArray | undefined;
14
+ getIndex(i: number): TypedArray | undefined;
15
15
  setIndexUnsafe(i: number, val: ArrayLike<number>, notify?: boolean): void;
16
16
  swapIndices(src: number, dest: number): boolean;
17
17
  protected moveIndex(src: number, dest: number): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/ecs",
3
- "version": "0.7.168",
3
+ "version": "0.7.170",
4
4
  "description": "Entity Component System based around typed arrays & sparse sets",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -39,22 +39,21 @@
39
39
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
40
  },
41
41
  "dependencies": {
42
- "@thi.ng/api": "^8.11.29",
43
- "@thi.ng/associative": "^7.0.40",
44
- "@thi.ng/binary": "^3.4.52",
45
- "@thi.ng/checks": "^3.7.9",
46
- "@thi.ng/dcons": "^3.2.156",
47
- "@thi.ng/errors": "^2.5.35",
48
- "@thi.ng/idgen": "^2.2.69",
49
- "@thi.ng/logger": "^3.1.10",
50
- "@thi.ng/malloc": "^6.1.113",
51
- "@thi.ng/transducers": "^9.4.3",
52
- "tslib": "^2.8.1"
42
+ "@thi.ng/api": "^8.11.30",
43
+ "@thi.ng/associative": "^7.1.0",
44
+ "@thi.ng/binary": "^3.4.53",
45
+ "@thi.ng/checks": "^3.7.10",
46
+ "@thi.ng/dcons": "^3.2.158",
47
+ "@thi.ng/errors": "^2.5.36",
48
+ "@thi.ng/idgen": "^2.2.70",
49
+ "@thi.ng/logger": "^3.1.11",
50
+ "@thi.ng/malloc": "^6.1.114",
51
+ "@thi.ng/transducers": "^9.5.1"
53
52
  },
54
53
  "devDependencies": {
55
- "@thi.ng/equiv": "^2.1.85",
56
- "esbuild": "^0.25.5",
57
- "typedoc": "^0.28.5",
54
+ "@thi.ng/equiv": "^2.1.86",
55
+ "esbuild": "^0.25.6",
56
+ "typedoc": "^0.28.7",
58
57
  "typescript": "^5.8.3"
59
58
  },
60
59
  "keywords": [
@@ -125,5 +124,5 @@
125
124
  "status": "alpha",
126
125
  "year": 2019
127
126
  },
128
- "gitHead": "06e582f962a9cd3abb905e91d97d652e1d3bb971\n"
127
+ "gitHead": "56d8f088389b22192a06e9a395b5eecebf47697a\n"
129
128
  }