@thi.ng/webgl 6.9.93 → 6.9.95

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/README.md +2 -2
  2. package/package.json +22 -21
  3. package/shader.js +4 -2
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
8
8
 
9
9
  > [!NOTE]
10
- > This is one of 213 standalone projects, maintained as part
10
+ > This is one of 214 standalone projects, maintained as part
11
11
  > of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
12
12
  > and anti-framework.
13
13
  >
@@ -101,7 +101,7 @@ Browser ESM import:
101
101
 
102
102
  [JSDelivr documentation](https://www.jsdelivr.com/)
103
103
 
104
- Package sizes (brotli'd, pre-treeshake): ESM: 11.67 KB
104
+ Package sizes (brotli'd, pre-treeshake): ESM: 11.69 KB
105
105
 
106
106
  ## Dependencies
107
107
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/webgl",
3
- "version": "6.9.93",
3
+ "version": "6.9.95",
4
4
  "description": "WebGL & GLSL abstraction layer",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -8,7 +8,8 @@
8
8
  "sideEffects": false,
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "https://github.com/thi-ng/umbrella.git"
11
+ "url": "git+https://github.com/thi-ng/umbrella.git",
12
+ "directory": "packages/webgl"
12
13
  },
13
14
  "homepage": "https://thi.ng/webgl",
14
15
  "funding": [
@@ -43,26 +44,26 @@
43
44
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
44
45
  },
45
46
  "dependencies": {
46
- "@thi.ng/api": "^8.12.12",
47
- "@thi.ng/canvas": "^1.1.5",
48
- "@thi.ng/checks": "^3.8.2",
49
- "@thi.ng/equiv": "^2.1.102",
50
- "@thi.ng/errors": "^2.6.1",
51
- "@thi.ng/logger": "^3.2.11",
52
- "@thi.ng/matrices": "^3.0.33",
53
- "@thi.ng/memoize": "^4.0.36",
54
- "@thi.ng/object-utils": "^1.3.4",
55
- "@thi.ng/pixel": "^7.5.21",
56
- "@thi.ng/shader-ast": "^1.1.35",
57
- "@thi.ng/shader-ast-glsl": "^1.0.54",
58
- "@thi.ng/shader-ast-stdlib": "^1.0.54",
59
- "@thi.ng/transducers": "^9.6.21",
60
- "@thi.ng/vector-pools": "^3.2.83",
61
- "@thi.ng/vectors": "^8.6.18"
47
+ "@thi.ng/api": "^8.12.14",
48
+ "@thi.ng/canvas": "^1.1.7",
49
+ "@thi.ng/checks": "^3.8.4",
50
+ "@thi.ng/equiv": "^2.1.104",
51
+ "@thi.ng/errors": "^2.6.3",
52
+ "@thi.ng/logger": "^3.2.13",
53
+ "@thi.ng/matrices": "^3.0.35",
54
+ "@thi.ng/memoize": "^4.0.38",
55
+ "@thi.ng/object-utils": "^1.3.6",
56
+ "@thi.ng/pixel": "^7.5.23",
57
+ "@thi.ng/shader-ast": "^1.1.37",
58
+ "@thi.ng/shader-ast-glsl": "^1.0.56",
59
+ "@thi.ng/shader-ast-stdlib": "^1.0.56",
60
+ "@thi.ng/transducers": "^9.6.23",
61
+ "@thi.ng/vector-pools": "^3.2.85",
62
+ "@thi.ng/vectors": "^8.6.20"
62
63
  },
63
64
  "devDependencies": {
64
- "esbuild": "^0.27.0",
65
- "typedoc": "^0.28.14",
65
+ "esbuild": "^0.27.2",
66
+ "typedoc": "^0.28.16",
66
67
  "typescript": "^5.9.3"
67
68
  },
68
69
  "keywords": [
@@ -227,5 +228,5 @@
227
228
  ],
228
229
  "year": 2014
229
230
  },
230
- "gitHead": "deb511294f7a120091b654af0ff7e8a399a465b3\n"
231
+ "gitHead": "4bd1b9d8ae52ba32b90a1b9a55d329c708ca7865\n"
231
232
  }
package/shader.js CHANGED
@@ -4,7 +4,7 @@ import { existsAndNotNull } from "@thi.ng/checks/exists-not-null";
4
4
  import { isArray } from "@thi.ng/checks/is-array";
5
5
  import { isBoolean } from "@thi.ng/checks/is-boolean";
6
6
  import { isFunction } from "@thi.ng/checks/is-function";
7
- import { unsupported } from "@thi.ng/errors/unsupported";
7
+ import { unsupportedFeature } from "@thi.ng/errors/unsupported";
8
8
  import { doOnce } from "@thi.ng/memoize/do-once";
9
9
  import { GLSLVersion } from "@thi.ng/shader-ast-glsl/api";
10
10
  import { targetGLSL } from "@thi.ng/shader-ast-glsl/target";
@@ -273,7 +273,9 @@ const shaderSourceFromAST = (spec, type, version, opts = {}) => {
273
273
  `;
274
274
  outputAliases[id] = sym("vec4", id);
275
275
  } else {
276
- unsupported(`GLSL ${version} doesn't support output vars`);
276
+ unsupportedFeature(
277
+ `GLSL ${version} doesn't support output vars`
278
+ );
277
279
  }
278
280
  }
279
281
  }