Skip to content

Commit b1f86c9

Browse files
committed
chore: bump to 2.6.0
1 parent 073146a commit b1f86c9

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@ 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+
## [2.6.0](https://github.com/SocketDev/socket-lib/releases/tag/v2.6.0) - 2025-10-28
9+
10+
### Changed
11+
12+
- **Process locking aligned with npm npx**: Enhanced process-lock module to match npm's npx locking strategy
13+
- Reduced stale timeout from 10 seconds to 5 seconds (matches npm npx)
14+
- Added periodic lock touching (2-second interval) to prevent false stale detection during long operations
15+
- Implemented second-level granularity for mtime comparison to avoid APFS floating-point precision issues
16+
- Added automatic touch timer cleanup on process exit
17+
- Timers use `unref()` to prevent keeping process alive
18+
- Aligns with npm's npx implementation per https://github.com/npm/cli/pull/8512
19+
820
## [2.5.0](https://github.com/SocketDev/socket-lib/releases/tag/v2.5.0) - 2025-10-28
921

1022
### Added

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": "2.5.0",
3+
"version": "2.6.0",
44
"license": "MIT",
55
"description": "Core utilities and infrastructure for Socket.dev security tools",
66
"keywords": [

0 commit comments

Comments
 (0)