@thi.ng/soa 0.4.125 → 0.4.127

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**: 2024-04-23T07:02:18Z
3
+ - **Last updated**: 2024-05-08T18:24:32Z
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/soa",
3
- "version": "0.4.125",
3
+ "version": "0.4.127",
4
4
  "description": "SOA & AOS memory mapped structured views with optional & extensible serialization",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -36,18 +36,18 @@
36
36
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
37
37
  },
38
38
  "dependencies": {
39
- "@thi.ng/api": "^8.11.1",
40
- "@thi.ng/binary": "^3.4.24",
41
- "@thi.ng/errors": "^2.5.6",
42
- "@thi.ng/transducers-binary": "^2.1.118",
43
- "@thi.ng/vectors": "^7.10.29"
39
+ "@thi.ng/api": "^8.11.2",
40
+ "@thi.ng/binary": "^3.4.25",
41
+ "@thi.ng/errors": "^2.5.7",
42
+ "@thi.ng/transducers-binary": "^2.1.120",
43
+ "@thi.ng/vectors": "^7.10.31"
44
44
  },
45
45
  "devDependencies": {
46
- "@microsoft/api-extractor": "^7.43.0",
47
- "@thi.ng/equiv": "^2.1.57",
48
- "esbuild": "^0.20.2",
49
- "typedoc": "^0.25.12",
50
- "typescript": "^5.4.3"
46
+ "@microsoft/api-extractor": "^7.43.2",
47
+ "@thi.ng/equiv": "^2.1.58",
48
+ "esbuild": "^0.21.1",
49
+ "typedoc": "^0.25.13",
50
+ "typescript": "^5.4.5"
51
51
  },
52
52
  "keywords": [
53
53
  "acceleration",
@@ -105,5 +105,5 @@
105
105
  "status": "alpha",
106
106
  "year": 2019
107
107
  },
108
- "gitHead": "5dd66c18a3862a3af69a5b2f49563f7cbdd960c2\n"
108
+ "gitHead": "df34b4a9e650cc7323575356de207d78933bdcf3\n"
109
109
  }
package/serialize.js CHANGED
@@ -16,8 +16,7 @@ const utf8z = (maxLen) => ({
16
16
  const xf = toUTF8([null, null, (_, x) => acc += x])[2];
17
17
  for (let i = 0, n = v.length; i < n; i++) {
18
18
  const c = v[i];
19
- if (c === 0)
20
- break;
19
+ if (c === 0) break;
21
20
  xf(acc, c);
22
21
  }
23
22
  return acc;
package/soa.js CHANGED
@@ -68,8 +68,7 @@ class SOA {
68
68
  for (let v of vals) {
69
69
  buf.set(v, i);
70
70
  i += stride;
71
- if (i >= end)
72
- break;
71
+ if (i >= end) break;
73
72
  }
74
73
  return this;
75
74
  }