@thi.ng/ecs 0.7.169 → 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 +1 -1
- package/README.md +0 -1
- package/components/mem-component.d.ts +3 -3
- package/package.json +15 -16
package/CHANGELOG.md
CHANGED
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():
|
|
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):
|
|
14
|
-
getIndex(i: number):
|
|
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.
|
|
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.
|
|
43
|
-
"@thi.ng/associative": "^7.0
|
|
44
|
-
"@thi.ng/binary": "^3.4.
|
|
45
|
-
"@thi.ng/checks": "^3.7.
|
|
46
|
-
"@thi.ng/dcons": "^3.2.
|
|
47
|
-
"@thi.ng/errors": "^2.5.
|
|
48
|
-
"@thi.ng/idgen": "^2.2.
|
|
49
|
-
"@thi.ng/logger": "^3.1.
|
|
50
|
-
"@thi.ng/malloc": "^6.1.
|
|
51
|
-
"@thi.ng/transducers": "^9.5.
|
|
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.
|
|
56
|
-
"esbuild": "^0.25.
|
|
57
|
-
"typedoc": "^0.28.
|
|
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": "
|
|
127
|
+
"gitHead": "56d8f088389b22192a06e9a395b5eecebf47697a\n"
|
|
129
128
|
}
|