@thi.ng/webgl-msdf 2.1.131 → 2.1.132

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +7 -1
  2. package/package.json +7 -7
  3. package/text.js +3 -3
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2024-03-13T14:04:31Z
3
+ - **Last updated**: 2024-03-18T08:40:00Z
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
+ ### [2.1.132](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl-msdf@2.1.132) (2024-03-18)
13
+
14
+ #### ♻️ Refactoring
15
+
16
+ - remove obsolete spread op ([fd36517](https://github.com/thi-ng/umbrella/commit/fd36517))
17
+
12
18
  ### [2.1.115](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl-msdf@2.1.115) (2024-02-06)
13
19
 
14
20
  #### ♻️ Refactoring
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/webgl-msdf",
3
- "version": "2.1.131",
3
+ "version": "2.1.132",
4
4
  "description": "Multi-channel SDF font rendering & basic text layout for WebGL",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -37,11 +37,11 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@thi.ng/api": "^8.9.30",
40
- "@thi.ng/shader-ast": "^0.15.4",
41
- "@thi.ng/transducers": "^8.9.13",
42
- "@thi.ng/vector-pools": "^3.1.117",
43
- "@thi.ng/vectors": "^7.10.19",
44
- "@thi.ng/webgl": "^6.8.3"
40
+ "@thi.ng/shader-ast": "^0.15.5",
41
+ "@thi.ng/transducers": "^8.9.14",
42
+ "@thi.ng/vector-pools": "^3.1.118",
43
+ "@thi.ng/vectors": "^7.10.20",
44
+ "@thi.ng/webgl": "^6.8.4"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@microsoft/api-extractor": "^7.42.3",
@@ -94,5 +94,5 @@
94
94
  "parent": "@thi.ng/webgl",
95
95
  "year": 2019
96
96
  },
97
- "gitHead": "bc0f3cb07d6f1cab6dbdc5ff57428f5484e711bb\n"
97
+ "gitHead": "4b3d4ab6ce373ca817ad780f679572169a9ed733\n"
98
98
  }
package/text.js CHANGED
@@ -77,12 +77,12 @@ const text = (glyphs, txt, opts) => {
77
77
  return {
78
78
  attribPool: attribs,
79
79
  indices: {
80
- data: new Uint16Array([
81
- ...mapcat(
80
+ data: new Uint16Array(
81
+ mapcat(
82
82
  (i) => [i, i + 1, i + 2, i, i + 2, i + 3],
83
83
  range(0, len * 4, 4)
84
84
  )
85
- ])
85
+ )
86
86
  },
87
87
  uniforms: {},
88
88
  num: len * 6,