File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,23 @@ 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+ ## [ 4.1.0] ( https://github.com/SocketDev/socket-lib/releases/tag/v4.1.0 ) - 2025-11-17
9+
10+ ### Added
11+
12+ - ** constants/node** : New version helper functions for cleaner version detection
13+ - ` getNodeMinorVersion() ` : Extract minor version number
14+ - ` getNodePatchVersion() ` : Extract patch version number
15+
16+ ### Fixed
17+
18+ - ** constants/node** : Improve Node.js flag management in ` getNodeHardenFlags() `
19+ - Properly guard ` --experimental-permission ` for Node 20-23 only
20+ - Properly guard ` --permission ` for Node 24+ only
21+ - Properly guard ` --force-node-api-uncaught-exceptions-policy ` for Node 22+ (was incorrectly applied to all versions)
22+ - Automatically include permission grants from ` getNodePermissionFlags() ` for Node 24+
23+ - Remove ` --experimental-policy ` flag (no policy file provided)
24+
825## [ 4.0.1] ( https://github.com/SocketDev/socket-lib/releases/tag/v4.0.1 ) - 2025-11-17
926
1027### Changed
Original file line number Diff line number Diff line change 11{
22 "name" : " @socketsecurity/lib" ,
3- "version" : " 4.0.1 " ,
3+ "version" : " 4.1.0 " ,
44 "packageManager" :
" [email protected] " ,
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