@thi.ng/shader-ast-optimize 1.0.49 → 1.0.51

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/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 210 standalone projects, maintained as part
10
+ > This is one of 211 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
  >
@@ -138,7 +138,7 @@ For Node.js REPL:
138
138
  const opt = await import("@thi.ng/shader-ast-optimize");
139
139
  ```
140
140
 
141
- Package sizes (brotli'd, pre-treeshake): ESM: 1.26 KB
141
+ Package sizes (brotli'd, pre-treeshake): ESM: 1.27 KB
142
142
 
143
143
  ## Dependencies
144
144
 
@@ -35,7 +35,7 @@ const __replaceNode = (node, next) => {
35
35
  LOGGER.debug(" old: " + JSON.stringify(node));
36
36
  LOGGER.debug(" new: " + JSON.stringify(next));
37
37
  }
38
- for (let k in node) {
38
+ for (const k in node) {
39
39
  !next.hasOwnProperty(k) && delete node[k];
40
40
  }
41
41
  Object.assign(node, next);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/shader-ast-optimize",
3
- "version": "1.0.49",
3
+ "version": "1.0.51",
4
4
  "description": "Shader AST code/tree optimization passes/strategies",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -39,12 +39,12 @@
39
39
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
40
  },
41
41
  "dependencies": {
42
- "@thi.ng/api": "^8.12.8",
43
- "@thi.ng/defmulti": "^3.0.84",
44
- "@thi.ng/errors": "^2.5.48",
45
- "@thi.ng/logger": "^3.2.7",
46
- "@thi.ng/math": "^5.13.5",
47
- "@thi.ng/shader-ast": "^1.1.30"
42
+ "@thi.ng/api": "^8.12.10",
43
+ "@thi.ng/defmulti": "^3.0.86",
44
+ "@thi.ng/errors": "^2.5.50",
45
+ "@thi.ng/logger": "^3.2.9",
46
+ "@thi.ng/math": "^5.14.0",
47
+ "@thi.ng/shader-ast": "^1.1.32"
48
48
  },
49
49
  "devDependencies": {
50
50
  "esbuild": "^0.27.0",
@@ -93,5 +93,5 @@
93
93
  "parent": "@thi.ng/shader-ast",
94
94
  "year": 2019
95
95
  },
96
- "gitHead": "be6e7657b1e5c54d7d648d1b52888a7297e95a17\n"
96
+ "gitHead": "824bf9047b5a10f777c5c5b4aeecf0c750a22c75\n"
97
97
  }