@thi.ng/shader-ast-optimize 1.0.41 → 1.0.46

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 (2) hide show
  1. package/package.json +96 -96
  2. package/CHANGELOG.md +0 -52
package/package.json CHANGED
@@ -1,97 +1,97 @@
1
1
  {
2
- "name": "@thi.ng/shader-ast-optimize",
3
- "version": "1.0.41",
4
- "description": "Shader AST code/tree optimization passes/strategies",
5
- "type": "module",
6
- "module": "./index.js",
7
- "typings": "./index.d.ts",
8
- "sideEffects": false,
9
- "repository": {
10
- "type": "git",
11
- "url": "https://github.com/thi-ng/umbrella.git"
12
- },
13
- "homepage": "https://thi.ng/shader-ast-optimize",
14
- "funding": [
15
- {
16
- "type": "github",
17
- "url": "https://github.com/sponsors/postspectacular"
18
- },
19
- {
20
- "type": "patreon",
21
- "url": "https://patreon.com/thing_umbrella"
22
- },
23
- {
24
- "type": "liberapay",
25
- "url": "https://liberapay.com/thi.ng"
26
- }
27
- ],
28
- "author": "Karsten Schmidt (https://thi.ng)",
29
- "license": "Apache-2.0",
30
- "scripts": {
31
- "build": "yarn build:esbuild && yarn build:decl",
32
- "build:decl": "tsc --declaration --emitDeclarationOnly",
33
- "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
34
- "clean": "bun ../../tools/src/clean-package.ts",
35
- "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
36
- "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
37
- "pub": "yarn npm publish --access public",
38
- "test": "bun test",
39
- "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
- },
41
- "dependencies": {
42
- "@thi.ng/api": "^8.12.2",
43
- "@thi.ng/defmulti": "^3.0.77",
44
- "@thi.ng/errors": "^2.5.42",
45
- "@thi.ng/logger": "^3.2.0",
46
- "@thi.ng/math": "^5.12.0",
47
- "@thi.ng/shader-ast": "^1.1.22"
48
- },
49
- "devDependencies": {
50
- "esbuild": "^0.25.9",
51
- "typedoc": "^0.28.12",
52
- "typescript": "^5.9.2"
53
- },
54
- "keywords": [
55
- "ast",
56
- "compiler",
57
- "constant-folding",
58
- "optimization",
59
- "rewrite",
60
- "shader",
61
- "shader-ast",
62
- "tree",
63
- "typescript",
64
- "webgl"
65
- ],
66
- "publishConfig": {
67
- "access": "public"
68
- },
69
- "browser": {
70
- "process": false,
71
- "setTimeout": false
72
- },
73
- "engines": {
74
- "node": ">=18"
75
- },
76
- "files": [
77
- "./*.js",
78
- "./*.d.ts"
79
- ],
80
- "exports": {
81
- ".": {
82
- "default": "./index.js"
83
- },
84
- "./constant-folding": {
85
- "default": "./constant-folding.js"
86
- },
87
- "./defoptimized": {
88
- "default": "./defoptimized.js"
89
- }
90
- },
91
- "thi.ng": {
92
- "alias": "opt",
93
- "parent": "@thi.ng/shader-ast",
94
- "year": 2019
95
- },
96
- "gitHead": "3c3531350eec56011982583c694aeb1a2e0d0ff4\n"
97
- }
2
+ "name": "@thi.ng/shader-ast-optimize",
3
+ "version": "1.0.46",
4
+ "description": "Shader AST code/tree optimization passes/strategies",
5
+ "type": "module",
6
+ "module": "./index.js",
7
+ "typings": "./index.d.ts",
8
+ "sideEffects": false,
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/thi-ng/umbrella.git"
12
+ },
13
+ "homepage": "https://thi.ng/shader-ast-optimize",
14
+ "funding": [
15
+ {
16
+ "type": "github",
17
+ "url": "https://github.com/sponsors/postspectacular"
18
+ },
19
+ {
20
+ "type": "patreon",
21
+ "url": "https://patreon.com/thing_umbrella"
22
+ },
23
+ {
24
+ "type": "liberapay",
25
+ "url": "https://liberapay.com/thi.ng"
26
+ }
27
+ ],
28
+ "author": "Karsten Schmidt (https://thi.ng)",
29
+ "license": "Apache-2.0",
30
+ "scripts": {
31
+ "build": "yarn build:esbuild && yarn build:decl",
32
+ "build:decl": "tsc --declaration --emitDeclarationOnly",
33
+ "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
34
+ "clean": "bun ../../tools/src/clean-package.ts",
35
+ "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
36
+ "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
37
+ "pub": "npm publish --access public",
38
+ "test": "bun test",
39
+ "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
+ },
41
+ "dependencies": {
42
+ "@thi.ng/api": "^8.12.6",
43
+ "@thi.ng/defmulti": "^3.0.82",
44
+ "@thi.ng/errors": "^2.5.46",
45
+ "@thi.ng/logger": "^3.2.5",
46
+ "@thi.ng/math": "^5.13.3",
47
+ "@thi.ng/shader-ast": "^1.1.27"
48
+ },
49
+ "devDependencies": {
50
+ "esbuild": "^0.25.11",
51
+ "typedoc": "^0.28.14",
52
+ "typescript": "^5.9.3"
53
+ },
54
+ "keywords": [
55
+ "ast",
56
+ "compiler",
57
+ "constant-folding",
58
+ "optimization",
59
+ "rewrite",
60
+ "shader",
61
+ "shader-ast",
62
+ "tree",
63
+ "typescript",
64
+ "webgl"
65
+ ],
66
+ "publishConfig": {
67
+ "access": "public"
68
+ },
69
+ "browser": {
70
+ "process": false,
71
+ "setTimeout": false
72
+ },
73
+ "engines": {
74
+ "node": ">=18"
75
+ },
76
+ "files": [
77
+ "./*.js",
78
+ "./*.d.ts"
79
+ ],
80
+ "exports": {
81
+ ".": {
82
+ "default": "./index.js"
83
+ },
84
+ "./constant-folding": {
85
+ "default": "./constant-folding.js"
86
+ },
87
+ "./defoptimized": {
88
+ "default": "./defoptimized.js"
89
+ }
90
+ },
91
+ "thi.ng": {
92
+ "alias": "opt",
93
+ "parent": "@thi.ng/shader-ast",
94
+ "year": 2019
95
+ },
96
+ "gitHead": "136a5e5ef0b69e82329db00d806c3c4e8f1aa063\n"
97
+ }
package/CHANGELOG.md DELETED
@@ -1,52 +0,0 @@
1
- # Change Log
2
-
3
- - **Last updated**: 2025-09-01T16:38:35Z
4
- - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
-
6
- All notable changes to this project will be documented in this file.
7
- Only versions published since **2022-01-01** are listed here.
8
- Please consult the Git history for older version information.
9
- See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
10
-
11
- **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
12
- and/or version bumps of transitive dependencies.
13
-
14
- ### [0.4.16](https://github.com/thi-ng/umbrella/tree/@thi.ng/shader-ast-optimize@0.4.16) (2024-06-21)
15
-
16
- #### ♻️ Refactoring
17
-
18
- - enforce uniform naming convention of internal functions ([56992b2](https://github.com/thi-ng/umbrella/commit/56992b2))
19
-
20
- ### [0.4.12](https://github.com/thi-ng/umbrella/tree/@thi.ng/shader-ast-optimize@0.4.12) (2024-04-20)
21
-
22
- #### ♻️ Refactoring
23
-
24
- - update type usage ([8504f58](https://github.com/thi-ng/umbrella/commit/8504f58))
25
-
26
- ## [0.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/shader-ast-optimize@0.4.0) (2024-03-07)
27
-
28
- #### 🚀 Features
29
-
30
- - add defOptimized(), rename source file ([b1dc3c0](https://github.com/thi-ng/umbrella/commit/b1dc3c0))
31
- - add defOptimized() wrapper fn
32
- - fix spelling in file name
33
- - update example in docs
34
- - expand constantFolding() features, bug fixes ([1350bf7](https://github.com/thi-ng/umbrella/commit/1350bf7))
35
- - add support scalar comparisons
36
- - div-by-zero checks
37
- - fix non-scalar mul & sub handling
38
- - add support for exp2(), pow()
39
- - add tests
40
-
41
- ### [0.3.27](https://github.com/thi-ng/umbrella/tree/@thi.ng/shader-ast-optimize@0.3.27) (2023-11-09)
42
-
43
- #### ♻️ Refactoring
44
-
45
- - update all tests (packages A-S) ([e3085e4](https://github.com/thi-ng/umbrella/commit/e3085e4))
46
-
47
- ## [0.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/shader-ast-optimize@0.3.0) (2023-05-24)
48
-
49
- #### 🚀 Features
50
-
51
- - update constant folding ([1bd5fef](https://github.com/thi-ng/umbrella/commit/1bd5fef))
52
- - add simplifications for 0/1 cases