@thi.ng/shader-ast-optimize 0.2.3 → 0.2.6
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 +2 -2
- package/contant-folding.js +2 -2
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -110,7 +110,7 @@ node --experimental-repl-await
|
|
|
110
110
|
> const shaderAstOptimize = await import("@thi.ng/shader-ast-optimize");
|
|
111
111
|
```
|
|
112
112
|
|
|
113
|
-
Package sizes (gzipped, pre-treeshake): ESM:
|
|
113
|
+
Package sizes (gzipped, pre-treeshake): ESM: 1000 bytes
|
|
114
114
|
|
|
115
115
|
## Dependencies
|
|
116
116
|
|
|
@@ -155,4 +155,4 @@ If this project contributes to an academic publication, please cite it as:
|
|
|
155
155
|
|
|
156
156
|
## License
|
|
157
157
|
|
|
158
|
-
© 2019 -
|
|
158
|
+
© 2019 - 2022 Karsten Schmidt // Apache Software License 2.0
|
package/contant-folding.js
CHANGED
|
@@ -12,8 +12,8 @@ import { LOGGER } from "@thi.ng/shader-ast/logger";
|
|
|
12
12
|
* Replaces contents of `node` with those of `next`. All other existing props in
|
|
13
13
|
* `node` will be removed.
|
|
14
14
|
*
|
|
15
|
-
* @param node
|
|
16
|
-
* @param next
|
|
15
|
+
* @param node -
|
|
16
|
+
* @param next -
|
|
17
17
|
*
|
|
18
18
|
* @internal
|
|
19
19
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/shader-ast-optimize",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.6",
|
|
4
4
|
"description": "Shader AST code optimization passes/strategies",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -34,19 +34,19 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.3.
|
|
38
|
-
"@thi.ng/defmulti": "^2.1.
|
|
39
|
-
"@thi.ng/logger": "^1.1.
|
|
40
|
-
"@thi.ng/math": "^5.
|
|
41
|
-
"@thi.ng/shader-ast": "^0.12.
|
|
37
|
+
"@thi.ng/api": "^8.3.5",
|
|
38
|
+
"@thi.ng/defmulti": "^2.1.5",
|
|
39
|
+
"@thi.ng/logger": "^1.1.5",
|
|
40
|
+
"@thi.ng/math": "^5.3.1",
|
|
41
|
+
"@thi.ng/shader-ast": "^0.12.6"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@microsoft/api-extractor": "^7.19.
|
|
45
|
-
"@thi.ng/testament": "^0.2.
|
|
44
|
+
"@microsoft/api-extractor": "^7.19.4",
|
|
45
|
+
"@thi.ng/testament": "^0.2.5",
|
|
46
46
|
"rimraf": "^3.0.2",
|
|
47
47
|
"tools": "^0.0.1",
|
|
48
|
-
"typedoc": "^0.22.
|
|
49
|
-
"typescript": "^4.
|
|
48
|
+
"typedoc": "^0.22.13",
|
|
49
|
+
"typescript": "^4.6.2"
|
|
50
50
|
},
|
|
51
51
|
"keywords": [
|
|
52
52
|
"typescript"
|
|
@@ -67,15 +67,15 @@
|
|
|
67
67
|
],
|
|
68
68
|
"exports": {
|
|
69
69
|
".": {
|
|
70
|
-
"
|
|
70
|
+
"default": "./index.js"
|
|
71
71
|
},
|
|
72
72
|
"./contant-folding": {
|
|
73
|
-
"
|
|
73
|
+
"default": "./contant-folding.js"
|
|
74
74
|
}
|
|
75
75
|
},
|
|
76
76
|
"thi.ng": {
|
|
77
77
|
"parent": "@thi.ng/shader-ast",
|
|
78
78
|
"year": 2019
|
|
79
79
|
},
|
|
80
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "5ee1feb590dd935593b1dd4e7f38a3ed3ba64765\n"
|
|
81
81
|
}
|