• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

cofacts / media-manager / 39735170634
86%
main: 86%

Build:
Build:
LAST BUILD BRANCH: claude/stoic-heisenberg-z6zha9
DEFAULT BRANCH: main
Ran 22 Oct 2026 06:38AM UTC
Jobs 2
Files 7
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Oct 2026 06:33AM UTC coverage: 86.236% (-5.1%) from 91.288%
39735170634

Pull #13

github

claude
Fix security alerts: upgrade sharp & storage, drop image-hash, replace tsdx

- Upgrade sharp to ^0.35.5 and @google-cloud/storage to ^7.22.0.
- Replace image-hash (which pulls in the unmaintained `request`) with a
  port of its blockhash algorithm in src/lib/blockHash.ts, decoding with
  the same jpeg-js / pngjs / @cwasm/webp decoders, so image search hashes
  stay identical. image-hash@7 dropped `request` but requires ESM-only
  file-type, which breaks consumers that run under jest.
- `image/jpg` is now decoded as JPEG instead of throwing.
- Replace tsdx, which can no longer build or test against these
  dependencies, with tsc (build), jest 29 + ts-jest (test) and
  ESLint 9 (lint). Output stays CommonJS at dist/index.js.
- Require Node >=22 and run CI on Node 22 / 24.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018qQwKmcbWyz1Ck7Pphd7E2
Pull Request #13: Fix security alerts: upgrade sharp & storage, drop image-hash, replace tsdx

71 of 94 branches covered (75.53%)

Branch coverage included in aggregate %.

78 of 99 new or added lines in 2 files covered. (78.79%)

236 of 262 relevant lines covered (90.08%)

1641720.22 hits per line

Uncovered Changes

Lines Coverage ∆ File
20
78.38
src/lib/blockHash.ts
1
96.55
-3.45% src/lib/hashes.ts
Jobs
ID Job ID Ran Files Coverage
1 39735170634.1 22 Oct 2026 06:38AM UTC 7
86.24
GitHub Action Run
2 39735170634.2 22 Oct 2026 06:38AM UTC 7
86.24
GitHub Action Run
Source Files on build 39735170634
  • Tree
  • List 7
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Pull Request #13
  • PR Base - main (#26709076049)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc