@thi.ng/shader-ast-stdlib 0.18.8 → 0.18.10
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 +1 -1
- package/README.md +9 -3
- package/package.json +5 -4
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
[](https://mastodon.thi.ng/@toxi)
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
|
-
> This is one of
|
|
10
|
+
> This is one of 191 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
|
>
|
|
@@ -95,7 +95,13 @@ Reference:
|
|
|
95
95
|
yarn add @thi.ng/shader-ast-stdlib
|
|
96
96
|
```
|
|
97
97
|
|
|
98
|
-
|
|
98
|
+
ESM import:
|
|
99
|
+
|
|
100
|
+
```ts
|
|
101
|
+
import * as std from "@thi.ng/shader-ast-stdlib";
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
Browser ESM import:
|
|
99
105
|
|
|
100
106
|
```html
|
|
101
107
|
<script type="module" src="https://cdn.skypack.dev/@thi.ng/shader-ast-stdlib"></script>
|
|
@@ -106,7 +112,7 @@ ES module import:
|
|
|
106
112
|
For Node.js REPL:
|
|
107
113
|
|
|
108
114
|
```js
|
|
109
|
-
const
|
|
115
|
+
const std = await import("@thi.ng/shader-ast-stdlib");
|
|
110
116
|
```
|
|
111
117
|
|
|
112
118
|
Package sizes (brotli'd, pre-treeshake): ESM: 13.93 KB
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/shader-ast-stdlib",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.10",
|
|
4
4
|
"description": "Function collection for modular GPGPU / shader programming with @thi.ng/shader-ast",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@thi.ng/api": "^8.
|
|
43
|
-
"@thi.ng/shader-ast": "^0.15.
|
|
42
|
+
"@thi.ng/api": "^8.10.0",
|
|
43
|
+
"@thi.ng/shader-ast": "^0.15.10"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@microsoft/api-extractor": "^7.43.0",
|
|
@@ -363,6 +363,7 @@
|
|
|
363
363
|
}
|
|
364
364
|
},
|
|
365
365
|
"thi.ng": {
|
|
366
|
+
"alias": "std",
|
|
366
367
|
"parent": "@thi.ng/shader-ast",
|
|
367
368
|
"related": [
|
|
368
369
|
"shader-ast-glsl",
|
|
@@ -371,5 +372,5 @@
|
|
|
371
372
|
],
|
|
372
373
|
"year": 2019
|
|
373
374
|
},
|
|
374
|
-
"gitHead": "
|
|
375
|
+
"gitHead": "85ac4bd4d6d89f8e3689e2863d5bea0cecdb371c\n"
|
|
375
376
|
}
|