@thi.ng/blurhash 1.0.5 → 1.0.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/encode.d.ts +2 -2
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
package/encode.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Computes the blurhash for the given ABGR 32bit pixel array, image size and
|
|
3
|
-
* detail settings (`detailX` & `detailY` both in [1
|
|
4
|
-
* default is same as X value).
|
|
3
|
+
* detail settings (`detailX` & `detailY` both in `[1,9]` range, X default = 4,
|
|
4
|
+
* Y default is same as X value).
|
|
5
5
|
*
|
|
6
6
|
* @param pixels
|
|
7
7
|
* @param width
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/blurhash",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "Fast, optimized TS implementation of the Wolt Blurhash algorithm",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -39,16 +39,16 @@
|
|
|
39
39
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@thi.ng/api": "^8.11.
|
|
43
|
-
"@thi.ng/base-n": "^2.7.
|
|
44
|
-
"@thi.ng/canvas": "^1.0.
|
|
45
|
-
"@thi.ng/errors": "^2.5.
|
|
46
|
-
"@thi.ng/math": "^5.11.
|
|
42
|
+
"@thi.ng/api": "^8.11.20",
|
|
43
|
+
"@thi.ng/base-n": "^2.7.32",
|
|
44
|
+
"@thi.ng/canvas": "^1.0.6",
|
|
45
|
+
"@thi.ng/errors": "^2.5.26",
|
|
46
|
+
"@thi.ng/math": "^5.11.20"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"esbuild": "^0.
|
|
49
|
+
"esbuild": "^0.25.0",
|
|
50
50
|
"tools": "^0.0.1",
|
|
51
|
-
"typedoc": "^0.27.
|
|
51
|
+
"typedoc": "^0.27.7",
|
|
52
52
|
"typescript": "^5.7.3"
|
|
53
53
|
},
|
|
54
54
|
"keywords": [
|
|
@@ -94,5 +94,5 @@
|
|
|
94
94
|
"year": 2023,
|
|
95
95
|
"screenshot": "blurhash/thumb.png"
|
|
96
96
|
},
|
|
97
|
-
"gitHead": "
|
|
97
|
+
"gitHead": "9a0b33253fef092aaf301decf6ecd54317874d4c\n"
|
|
98
98
|
}
|