Skip to content

Commit 3a9bdc9

Browse files
committed
chore(release): bump version to 4.1.0
1 parent 1a3cc47 commit 3a9bdc9

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,23 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and 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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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",

0 commit comments

Comments
 (0)