File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed
Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,22 @@ 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.1.1] ( https://github.com/SocketDev/socket-lib/releases/tag/v5.1.1 ) - 2025-12-28
9+
10+ ### Added
11+
12+ - ** paths** : Added ` SOCKET_HOME ` environment variable support to customize Socket base directory
13+ - ` getSocketUserDir() ` now checks ` SOCKET_HOME ` before defaulting to ` ~/.socket `
14+ - ` getSocketDlxDir() ` inherits ` SOCKET_HOME ` support (priority: ` SOCKET_DLX_DIR ` > ` SOCKET_HOME/_dlx ` > ` ~/.socket/_dlx ` )
15+ - Enables flexible directory configuration for restricted or custom environments
16+
17+ ### Changed
18+
19+ - ** paths** : Enhanced directory resolution with temporary directory fallback
20+ - ` getUserHomeDir() ` now falls back to ` os.tmpdir() ` when home directory is unavailable
21+ - Improves resilience in containerized and restricted environments
22+ - Priority order: ` HOME ` > ` USERPROFILE ` > ` os.homedir() ` > ` os.tmpdir() `
23+
824## [ 5.1.0] ( https://github.com/SocketDev/socket-lib/releases/tag/v5.1.0 ) - 2025-12-17
925
1026### Added
Original file line number Diff line number Diff line change 11{
22 "name" : " @socketsecurity/lib" ,
3- "version" : " 5.1.0 " ,
3+ "version" : " 5.1.1 " ,
44 "packageManager" : " pnpm@10.26.2" ,
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