@thi.ng/soa 0.4.81 → 0.4.83

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**: 2023-10-30T14:31:56Z
3
+ - **Last updated**: 2023-11-09T10:28:19Z
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.
@@ -9,6 +9,12 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
9
9
  **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
10
  and/or version bumps of transitive dependencies.
11
11
 
12
+ ### [0.4.82](https://github.com/thi-ng/umbrella/tree/@thi.ng/soa@0.4.82) (2023-11-09)
13
+
14
+ #### ♻️ Refactoring
15
+
16
+ - update all tests (packages A-S) ([e3085e4](https://github.com/thi-ng/umbrella/commit/e3085e4))
17
+
12
18
  ### [0.4.58](https://github.com/thi-ng/umbrella/tree/@thi.ng/soa@0.4.58) (2023-08-04)
13
19
 
14
20
  #### ♻️ Refactoring
package/README.md CHANGED
@@ -81,7 +81,7 @@ For Node.js REPL:
81
81
  const soa = await import("@thi.ng/soa");
82
82
  ```
83
83
 
84
- Package sizes (brotli'd, pre-treeshake): ESM: 1.35 KB
84
+ Package sizes (brotli'd, pre-treeshake): ESM: 1.45 KB
85
85
 
86
86
  ## Dependencies
87
87
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/soa",
3
- "version": "0.4.81",
3
+ "version": "0.4.83",
4
4
  "description": "SOA & AOS memory mapped structured views with optional & extensible serialization",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -28,25 +28,24 @@
28
28
  "clean": "rimraf --glob '*.js' '*.d.ts' '*.map' doc",
29
29
  "doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
30
30
  "doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
31
- "doc:readme": "yarn doc:stats && tools:readme",
32
- "doc:stats": "tools:module-stats",
31
+ "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
33
32
  "pub": "yarn npm publish --access public",
34
- "test": "testament test"
33
+ "test": "bun test"
35
34
  },
36
35
  "dependencies": {
37
- "@thi.ng/api": "^8.9.6",
38
- "@thi.ng/binary": "^3.3.35",
39
- "@thi.ng/errors": "^2.4.0",
40
- "@thi.ng/transducers-binary": "^2.1.75",
41
- "@thi.ng/vectors": "^7.8.2"
36
+ "@thi.ng/api": "^8.9.8",
37
+ "@thi.ng/binary": "^3.3.37",
38
+ "@thi.ng/errors": "^2.4.2",
39
+ "@thi.ng/transducers-binary": "^2.1.77",
40
+ "@thi.ng/vectors": "^7.8.4"
42
41
  },
43
42
  "devDependencies": {
44
- "@microsoft/api-extractor": "^7.38.0",
45
- "@thi.ng/equiv": "^2.1.31",
46
- "@thi.ng/testament": "^0.3.24",
43
+ "@microsoft/api-extractor": "^7.38.2",
44
+ "@thi.ng/equiv": "^2.1.33",
45
+ "@thi.ng/testament": "^0.4.1",
47
46
  "rimraf": "^5.0.5",
48
47
  "tools": "^0.0.1",
49
- "typedoc": "^0.25.2",
48
+ "typedoc": "^0.25.3",
50
49
  "typescript": "^5.2.2"
51
50
  },
52
51
  "keywords": [
@@ -105,5 +104,5 @@
105
104
  "status": "alpha",
106
105
  "year": 2019
107
106
  },
108
- "gitHead": "336bd1bf95825b3c318a3ab49c54451c94aaa883\n"
107
+ "gitHead": "669a3151e4302480244fe3e60eff5e732ea5b7a7\n"
109
108
  }
package/soa.js CHANGED
@@ -3,6 +3,9 @@ import { assert } from "@thi.ng/errors/assert";
3
3
  import { ensureIndex } from "@thi.ng/errors/out-of-bounds";
4
4
  import { prepareSpec } from "./utils.js";
5
5
  export class SOA {
6
+ length;
7
+ buffers;
8
+ specs;
6
9
  constructor(num, specs) {
7
10
  this.length = num;
8
11
  this.buffers = {};