@thi.ng/blurhash 1.0.4 → 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/README.md +1 -1
- package/encode.d.ts +2 -2
- package/package.json +9 -10
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
[](https://mastodon.thi.ng/@toxi)
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
|
-
> This is one of
|
|
10
|
+
> This is one of 201 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/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",
|
|
@@ -33,23 +33,22 @@
|
|
|
33
33
|
"build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
|
|
34
34
|
"clean": "bun ../../tools/src/clean-package.ts",
|
|
35
35
|
"doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
|
|
36
|
-
"doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
|
|
37
36
|
"doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
|
|
38
37
|
"pub": "yarn npm publish --access public",
|
|
39
38
|
"test": "bun test",
|
|
40
39
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
41
40
|
},
|
|
42
41
|
"dependencies": {
|
|
43
|
-
"@thi.ng/api": "^8.11.
|
|
44
|
-
"@thi.ng/base-n": "^2.7.
|
|
45
|
-
"@thi.ng/canvas": "^1.0.
|
|
46
|
-
"@thi.ng/errors": "^2.5.
|
|
47
|
-
"@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"
|
|
48
47
|
},
|
|
49
48
|
"devDependencies": {
|
|
50
|
-
"esbuild": "^0.
|
|
49
|
+
"esbuild": "^0.25.0",
|
|
51
50
|
"tools": "^0.0.1",
|
|
52
|
-
"typedoc": "^0.27.
|
|
51
|
+
"typedoc": "^0.27.7",
|
|
53
52
|
"typescript": "^5.7.3"
|
|
54
53
|
},
|
|
55
54
|
"keywords": [
|
|
@@ -95,5 +94,5 @@
|
|
|
95
94
|
"year": 2023,
|
|
96
95
|
"screenshot": "blurhash/thumb.png"
|
|
97
96
|
},
|
|
98
|
-
"gitHead": "
|
|
97
|
+
"gitHead": "9a0b33253fef092aaf301decf6ecd54317874d4c\n"
|
|
99
98
|
}
|