@socketsecurity/lib 5.1.3 → 5.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/dist/external/npm-pack.js +9850 -4855
- package/dist/releases/github.d.ts +179 -0
- package/dist/releases/github.js +258 -0
- package/dist/releases/socket-btm.d.ts +221 -0
- package/dist/releases/socket-btm.js +131 -0
- package/package.json +11 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,30 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [5.2.0](https://github.com/SocketDev/socket-lib/releases/tag/v5.2.0) - 2026-01-06
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- **releases**: Added GitHub release download utilities for cross-project use
|
|
13
|
+
- Added `downloadGitHubRelease()` for downloading releases from any GitHub repository
|
|
14
|
+
- Added `downloadSocketBtmRelease()` specialized wrapper for socket-btm releases
|
|
15
|
+
- Features version caching with `.version` files to avoid redundant downloads
|
|
16
|
+
- Supports cross-platform binary downloads (darwin, linux, win32) with automatic platform/arch detection
|
|
17
|
+
- Includes Linux musl/glibc support with musl as default for broader compatibility
|
|
18
|
+
- Automatically removes macOS quarantine attributes from downloaded binaries
|
|
19
|
+
- Supports generic asset downloads (WASM files, models, etc.)
|
|
20
|
+
- API inspired by industry tools: `brew`, `cargo`, `gh` for intuitive usage
|
|
21
|
+
- Package exports: `@socketsecurity/lib/releases/github` and `@socketsecurity/lib/releases/socket-btm`
|
|
22
|
+
|
|
23
|
+
## [5.1.4](https://github.com/SocketDev/socket-lib/releases/tag/v5.1.4) - 2025-12-30
|
|
24
|
+
|
|
25
|
+
### Fixed
|
|
26
|
+
|
|
27
|
+
- **dependencies**: Removed unnecessary `http2` module dependency from `@sigstore/sign@4.1.0`
|
|
28
|
+
- Added pnpm override to force `@sigstore/sign@4.1.0` across all dependencies
|
|
29
|
+
- Created patch to inline HTTP header and status constants instead of importing `http2` module
|
|
30
|
+
- Eliminates loading of Node.js `http2` module for HTTP/1.1-only operations
|
|
31
|
+
|
|
8
32
|
## [5.1.3](https://github.com/SocketDev/socket-lib/releases/tag/v5.1.3) - 2025-12-29
|
|
9
33
|
|
|
10
34
|
### Fixed
|