@thi.ng/pixel-convolve 1.1.18 → 1.1.20

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 212 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
  >
package/convolve.js CHANGED
@@ -11,7 +11,7 @@ const convolveChannel = (src, opts) => __convolve(__initConvolve(src, opts));
11
11
  const convolveImage = (src, opts) => {
12
12
  const state = __initConvolve(src, opts);
13
13
  const dest = new FloatBuffer(state.dwidth, state.dheight, src.format);
14
- for (let channel of opts.channels || __range(src.format.channels.length)) {
14
+ for (const channel of opts.channels || __range(src.format.channels.length)) {
15
15
  dest.setChannel(channel, __convolve({ ...state, channel }));
16
16
  }
17
17
  return dest;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/pixel-convolve",
3
- "version": "1.1.18",
3
+ "version": "1.1.20",
4
4
  "description": "Extensible bitmap image convolution, kernel presets, normal map & image pyramid generation",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -39,11 +39,11 @@
39
39
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
40
  },
41
41
  "dependencies": {
42
- "@thi.ng/api": "^8.12.9",
43
- "@thi.ng/checks": "^3.7.25",
44
- "@thi.ng/errors": "^2.5.49",
45
- "@thi.ng/math": "^5.13.6",
46
- "@thi.ng/pixel": "^7.5.18"
42
+ "@thi.ng/api": "^8.12.11",
43
+ "@thi.ng/checks": "^3.8.1",
44
+ "@thi.ng/errors": "^2.6.0",
45
+ "@thi.ng/math": "^5.15.0",
46
+ "@thi.ng/pixel": "^7.5.20"
47
47
  },
48
48
  "devDependencies": {
49
49
  "esbuild": "^0.27.0",
@@ -103,5 +103,5 @@
103
103
  "parent": "@thi.ng/pixel",
104
104
  "year": 2021
105
105
  },
106
- "gitHead": "fdca77cabf47dd23a9ab17a5ca13e3060075c12c\n"
106
+ "gitHead": "e7a21b9d2a188fa04d4c893d8531c40fbc0f4c06\n"
107
107
  }