@thi.ng/webgl 6.8.9 → 6.8.11

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 +1 -1
  2. package/README.md +8 -8
  3. package/package.json +19 -18
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2024-03-27T09:53:46Z
3
+ - **Last updated**: 2024-04-11T12:32:44Z
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/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 190 standalone projects, maintained as part
10
+ > This is one of 192 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
  >
@@ -86,7 +86,13 @@ Largely declarative WebGL 1.0 / 2.0 abstraction layer, partially ported
86
86
  yarn add @thi.ng/webgl
87
87
  ```
88
88
 
89
- ES module import:
89
+ ESM import:
90
+
91
+ ```ts
92
+ import * as gl from "@thi.ng/webgl";
93
+ ```
94
+
95
+ Browser ESM import:
90
96
 
91
97
  ```html
92
98
  <script type="module" src="https://cdn.skypack.dev/@thi.ng/webgl"></script>
@@ -94,12 +100,6 @@ ES module import:
94
100
 
95
101
  [Skypack documentation](https://docs.skypack.dev/)
96
102
 
97
- For Node.js REPL:
98
-
99
- ```js
100
- const webgl = await import("@thi.ng/webgl");
101
- ```
102
-
103
103
  Package sizes (brotli'd, pre-treeshake): ESM: 11.65 KB
104
104
 
105
105
  ## Dependencies
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/webgl",
3
- "version": "6.8.9",
3
+ "version": "6.8.11",
4
4
  "description": "WebGL & GLSL abstraction layer",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -40,22 +40,22 @@
40
40
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
41
41
  },
42
42
  "dependencies": {
43
- "@thi.ng/api": "^8.9.31",
44
- "@thi.ng/associative": "^6.3.54",
45
- "@thi.ng/canvas": "^0.2.14",
46
- "@thi.ng/checks": "^3.5.5",
47
- "@thi.ng/equiv": "^2.1.53",
48
- "@thi.ng/errors": "^2.5.2",
49
- "@thi.ng/logger": "^3.0.7",
50
- "@thi.ng/matrices": "^2.3.31",
51
- "@thi.ng/memoize": "^3.2.0",
52
- "@thi.ng/pixel": "^6.1.26",
53
- "@thi.ng/shader-ast": "^0.15.9",
54
- "@thi.ng/shader-ast-glsl": "^0.4.117",
55
- "@thi.ng/shader-ast-stdlib": "^0.18.9",
56
- "@thi.ng/transducers": "^8.9.18",
57
- "@thi.ng/vector-pools": "^3.1.123",
58
- "@thi.ng/vectors": "^7.10.25"
43
+ "@thi.ng/api": "^8.10.1",
44
+ "@thi.ng/associative": "^6.3.56",
45
+ "@thi.ng/canvas": "^0.2.16",
46
+ "@thi.ng/checks": "^3.6.1",
47
+ "@thi.ng/equiv": "^2.1.55",
48
+ "@thi.ng/errors": "^2.5.4",
49
+ "@thi.ng/logger": "^3.0.9",
50
+ "@thi.ng/matrices": "^2.3.33",
51
+ "@thi.ng/memoize": "^3.3.1",
52
+ "@thi.ng/pixel": "^6.1.28",
53
+ "@thi.ng/shader-ast": "^0.15.11",
54
+ "@thi.ng/shader-ast-glsl": "^0.4.119",
55
+ "@thi.ng/shader-ast-stdlib": "^0.18.11",
56
+ "@thi.ng/transducers": "^9.0.1",
57
+ "@thi.ng/vector-pools": "^3.1.125",
58
+ "@thi.ng/vectors": "^7.10.27"
59
59
  },
60
60
  "devDependencies": {
61
61
  "@microsoft/api-extractor": "^7.43.0",
@@ -208,6 +208,7 @@
208
208
  }
209
209
  },
210
210
  "thi.ng": {
211
+ "alias": "gl",
211
212
  "related": [
212
213
  "ecs",
213
214
  "geom",
@@ -220,5 +221,5 @@
220
221
  ],
221
222
  "year": 2014
222
223
  },
223
- "gitHead": "ce5ae2a322d50a7ce8ecccbd94fa55c496ba04fd\n"
224
+ "gitHead": "18a0c063a7b33d790e5bc2486c106f45f663ac28\n"
224
225
  }