File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed
Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,21 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.1.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8+ ## [ 5.11.0] ( https://github.com/SocketDev/socket-lib/releases/tag/v5.11.0 ) - 2026-03-23
9+
10+ ### Added
11+
12+ - ** http-request** : Checksum verification for secure downloads
13+ - ` parseChecksums(text) ` : Parse checksums file text into filename→hash map
14+ - Supports GNU style (` hash filename ` ), BSD style (` SHA256 (file) = hash ` ), and single-space format
15+ - Handles Windows CRLF and Unix LF line endings
16+ - Returns null-prototype object to prevent prototype pollution
17+ - ` fetchChecksums(url, options?) ` : Fetch and parse checksums from URL
18+ - Supports ` headers ` and ` timeout ` options
19+ - ` httpDownload ` now accepts ` sha256 ` option to verify downloaded files
20+ - Verification happens before atomic rename (file not saved if hash mismatches)
21+ - Accepts uppercase hashes (normalized to lowercase internally)
22+
823## [ 5.10.0] ( https://github.com/SocketDev/socket-lib/releases/tag/v5.10.0 ) - 2026-03-14
924
1025### Changed
Original file line number Diff line number Diff line change 11{
22 "name" : " @socketsecurity/lib" ,
3- "version" : " 5.10 .0" ,
3+ "version" : " 5.11 .0" ,
44 "packageManager" : " pnpm@10.32.1" ,
55 "license" : " MIT" ,
66 "description" : " Core utilities and infrastructure for Socket.dev security tools" ,
You can’t perform that action at this time.
0 commit comments