Skip to content

Commit 405f168

Browse files
committed
chore(release): bump version to 5.8.0
1 parent 6405acc commit 405f168

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,30 @@ 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.8.0](https://github.com/SocketDev/socket-lib/releases/tag/v5.8.0) - 2026-03-10
9+
10+
### Added
11+
12+
- **archives**: Added secure archive extraction utilities with support for ZIP, TAR, TAR.GZ, and TGZ formats
13+
- Configurable limits: `maxFileSize` (default 100MB), `maxTotalSize` (default 1GB)
14+
- Cross-platform path normalization
15+
- External dependencies: adm-zip@0.5.16, tar-fs@3.1.2 (bundled, +212KB)
16+
- Security features: path traversal protection, file size limits, total size limits, symlink blocking
17+
- Strip option to remove leading path components (like tar `--strip-components`)
18+
- `detectArchiveFormat()` - Detect archive type from file extension
19+
- `extractArchive()` - Generic extraction with auto-format detection
20+
- `extractTar()`, `extractTarGz()`, `extractZip()` - Format-specific extractors
21+
22+
- **releases/github**: Added archive extraction support for GitHub releases
23+
- Auto-detects format from asset filename
24+
- Enhanced `downloadAndExtractZip()` to use generic archive helpers
25+
- Supports ZIP, TAR, TAR.GZ, and TGZ assets
26+
- `downloadAndExtractArchive()` - Generic archive download and extraction
27+
28+
### Changed
29+
30+
- **dependencies**: Deduplicated 14 external bundle packages to single versions using pnpm overrides and patches
31+
832
## [5.7.0](https://github.com/SocketDev/socket-lib/releases/tag/v5.7.0) - 2026-02-12
933

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

0 commit comments

Comments
 (0)