Skip to content

Commit a3fe166

Browse files
committed
chore: bump version to 5.12.0
1 parent 0859f80 commit a3fe166

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,20 @@ 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+
## [5.12.0](https://github.com/SocketDev/socket-lib/releases/tag/v5.12.0) - 2026-03-28
9+
10+
### Changed
11+
12+
- **perf**: Lazy-load heavy external sub-bundles across 7 modules (#119)
13+
- `sorts.ts`: Defer semver (2.5 MB via npm-pack) and fastSort until first use
14+
- `versions.ts`: Defer semver until first use
15+
- `archives.ts`: Defer adm-zip (102 KB) and tar-fs (105 KB) until extraction
16+
- `globs.ts`: Defer fast-glob and picomatch (260 KB via pico-pack) until glob execution
17+
- `fs.ts`: Defer del (260 KB via pico-pack) until safeDelete call
18+
- `spawn.ts`: Defer @npmcli/promise-spawn (17 KB) until async spawn
19+
- `strings.ts`: Defer get-east-asian-width (10 KB) until stringWidth call
20+
- Consumers importing lightweight exports (isObject, httpJson, localeCompare, readJsonSync, stripAnsi) no longer load heavy externals at module init time
21+
822
## [5.11.3](https://github.com/SocketDev/socket-lib/releases/tag/v5.11.3) - 2026-03-26
923

1024
### Fixed

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": "5.11.3",
3+
"version": "5.12.0",
44
"packageManager": "pnpm@10.33.0",
55
"license": "MIT",
66
"description": "Core utilities and infrastructure for Socket.dev security tools",

0 commit comments

Comments
 (0)