File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,17 @@ 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.9.1] ( https://github.com/SocketDev/socket-lib/releases/tag/v5.9.1 ) - 2026-03-14
9+
10+ ### Fixed
11+
12+ - ** fs** : ` safeDelete() ` and ` safeDeleteSync() ` now properly implement retry logic
13+ - Previously ` maxRetries ` was incorrectly passed as ` concurrency ` to del (parallelism, not retries)
14+ - ` safeDelete() ` now wraps ` deleteAsync() ` with ` pRetry() ` for exponential backoff
15+ - ` safeDeleteSync() ` implements sync retry loop with ` Atomics.wait() ` for non-blocking sleep
16+ - Both use ` backoffFactor: 2 ` (delay doubles each retry: 200ms → 400ms → 800ms by default)
17+ - ` maxRetries ` and ` retryDelay ` options in ` RemoveOptions ` now work as documented
18+
819## [ 5.9.0] ( https://github.com/SocketDev/socket-lib/releases/tag/v5.9.0 ) - 2026-03-14
920
1021### Changed
Original file line number Diff line number Diff line change 11{
22 "name" : " @socketsecurity/lib" ,
3- "version" : " 5.9.0 " ,
3+ "version" : " 5.9.1 " ,
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