shadow-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
@@ -332,3 +332,7 @@ npm run typecheck
332
332
  ## 📄 License
333
333
 
334
334
  [MIT](LICENSE) © [Vijay Misal](mailto:misalvijay153@gmail.com)
335
+
336
+ ## Limitations
337
+
338
+ Shadow scores are heuristic image-analysis signals and should be calibrated against your own camera, lighting, and document data.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shadow-score",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Detect and quantify harsh directional shadows in documents and photos using Otsu bimodal luminance segmentation and spatial illumination gradient analysis with Sharp.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -51,7 +51,7 @@
51
51
  "homepage": "https://github.com/vjymisal0/shadow-score#readme",
52
52
  "license": "MIT",
53
53
  "dependencies": {
54
- "sharp": "^0.33.5"
54
+ "sharp": "0.35.4"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@types/node": "^22.10.2",