glare-score 1.0.1 → 1.0.3

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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.3
4
+
5
+ - Upgraded Sharp to include current security fixes.
6
+
7
+ ## 1.0.2
8
+
9
+ - Expanded API documentation and documented limitations.
10
+
3
11
  ## 1.0.0
4
12
 
5
13
  - Documented package metadata and release baseline.
package/README.md CHANGED
@@ -280,3 +280,7 @@ npm run typecheck
280
280
  ## 📄 License
281
281
 
282
282
  [MIT](LICENSE) © [Vijay Misal](https://github.com/vjymisal0)
283
+
284
+ ## Limitations
285
+
286
+ Glare detection is heuristic and may flag bright text or reflective surfaces. Calibrate thresholds for your capture conditions.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "glare-score",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Detect and quantify specular glare and flash reflection hotspots in images. Optimized for pre-OCR document scanning, KYC ID card verification, and photo quality pipelines.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -54,7 +54,7 @@
54
54
  "homepage": "https://github.com/vjymisal0/glare-score#readme",
55
55
  "license": "MIT",
56
56
  "dependencies": {
57
- "sharp": "^0.33.5"
57
+ "sharp": "0.35.4"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@types/node": "^22.10.2",