Skip to content

Commit 0fde34e

Browse files
committed
chore(release): v3.2.2
Release highlights: - DLX binary permission management with chmod 0o755 - npm-compatible bin resolution via vendored getBinFromManifest - Enhanced findBinaryPath() with npm's resolution strategy - Optimized package size: ~1.3 MB savings through vendoring and minimal exports
1 parent 6dfc63d commit 0fde34e

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

CHANGELOG.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [3.2.2](https://github.com/SocketDev/socket-lib/releases/tag/v3.2.2) - 2025-11-03
11+
1012
### Added
1113

1214
- **DLX**: Binary permission management with chmod 0o755 for all package binaries
@@ -31,13 +33,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3133

3234
### Performance
3335

34-
- **External modules**: Minimized exports to reduce bundle size
35-
- `fast-sort`: Now exports only `{ createNewSortInstance }` (2.1 KB, 96% reduction from ~56 KB)
36-
- `fast-glob`: Now exports only `{ globStream }` (82 KB bundle)
37-
- `del`: Now exports only `{ deleteAsync, deleteSync }` (100 KB bundle)
38-
- `streaming-iterables`: Now exports only `{ parallelMap, transform }` (11 KB, 93% reduction from ~168 KB)
39-
- Total direct savings: ~211 KB from fast-sort and streaming-iterables alone
40-
- Enables better tree-shaking for consumers
36+
- **Optimized package size**: Reduced bundle size through strategic export minimization and vendoring
37+
- Vendored `getBinFromManifest` function instead of bundling full libnpmexec (~1.1 MB savings)
38+
- Minimized external module exports for better tree-shaking:
39+
- `fast-sort`: Now exports only `{ createNewSortInstance }` (2.1 KB, 96% reduction from ~56 KB)
40+
- `fast-glob`: Now exports only `{ globStream }` (82 KB bundle)
41+
- `del`: Now exports only `{ deleteAsync, deleteSync }` (100 KB bundle)
42+
- `streaming-iterables`: Now exports only `{ parallelMap, transform }` (11 KB, 93% reduction from ~168 KB)
43+
- Total savings: ~1.3 MB (1.1 MB from vendoring + 211 KB from minimized exports)
4144
- Establishes pattern for future external module additions
4245

4346
## [3.2.1](https://github.com/SocketDev/socket-lib/releases/tag/v3.2.1) - 2025-11-02

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

0 commit comments

Comments
 (0)