glare-score 1.0.2 → 1.1.0

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/package.json +15 -8
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.1.0
4
+
5
+ - Upgraded Sharp to 0.35.5.
6
+ - Raised the minimum supported Node.js version to 20.9 (Node 18 is end-of-life).
7
+ - Upgraded dev tooling (Vitest 5, TypeScript 5.9, tsup 8.5) and resolved all audit advisories.
8
+ - CI now tests on Node 22 and 24 and smoke-tests the packed package on Node 20.
9
+
10
+ ## 1.0.3
11
+
12
+ - Upgraded Sharp to include current security fixes.
13
+
3
14
  ## 1.0.2
4
15
 
5
16
  - Expanded API documentation and documented limitations.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "glare-score",
3
- "version": "1.0.2",
3
+ "version": "1.1.0",
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",
@@ -25,7 +25,7 @@
25
25
  "test": "vitest run",
26
26
  "test:watch": "vitest",
27
27
  "typecheck": "tsc --noEmit",
28
- "prepublishOnly": "npm run build && npm test"
28
+ "prepublishOnly": "npm run typecheck && npm run build && npm test"
29
29
  },
30
30
  "keywords": [
31
31
  "glare",
@@ -54,15 +54,22 @@
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.5"
58
58
  },
59
59
  "devDependencies": {
60
- "@types/node": "^22.10.2",
61
- "tsup": "^8.3.5",
62
- "typescript": "^5.7.2",
63
- "vitest": "^2.1.8"
60
+ "@types/node": "^26.6.4",
61
+ "tsup": "^8.5.1",
62
+ "typescript": "~5.9.3",
63
+ "vitest": "^5.0.3"
64
64
  },
65
65
  "engines": {
66
- "node": ">=18.0.0"
66
+ "node": ">=20.9.0"
67
+ },
68
+ "overrides": {
69
+ "esbuild": "^0.28.2"
70
+ },
71
+ "sideEffects": false,
72
+ "publishConfig": {
73
+ "access": "public"
67
74
  }
68
75
  }