@socketsecurity/lib 5.1.2 → 5.1.4
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 +20 -0
- package/dist/external/npm-pack.js +9850 -4855
- package/dist/http-request.d.ts +47 -1
- package/dist/http-request.js +27 -0
- package/package.json +4 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,26 @@ 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.1.4](https://github.com/SocketDev/socket-lib/releases/tag/v5.1.4) - 2025-12-30
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- **dependencies**: Removed unnecessary `http2` module dependency from `@sigstore/sign@4.1.0`
|
|
13
|
+
- Added pnpm override to force `@sigstore/sign@4.1.0` across all dependencies
|
|
14
|
+
- Created patch to inline HTTP header and status constants instead of importing `http2` module
|
|
15
|
+
- Eliminates loading of Node.js `http2` module for HTTP/1.1-only operations
|
|
16
|
+
|
|
17
|
+
## [5.1.3](https://github.com/SocketDev/socket-lib/releases/tag/v5.1.3) - 2025-12-29
|
|
18
|
+
|
|
19
|
+
### Fixed
|
|
20
|
+
|
|
21
|
+
- **http-request**: Fixed `httpDownload()` to properly handle HTTP redirects (3xx status codes)
|
|
22
|
+
- Added `followRedirects` option (default: `true`) to enable automatic redirect following
|
|
23
|
+
- Added `maxRedirects` option (default: `5`) to limit redirect chain length
|
|
24
|
+
- Now supports downloading from services that use CDN redirects, such as GitHub release assets
|
|
25
|
+
- Prevents GitHub API quota exhaustion by following `browser_download_url` redirects instead of using API endpoints
|
|
26
|
+
- Resolves "Request quota exhausted" errors when downloading GitHub release assets
|
|
27
|
+
|
|
8
28
|
## [5.1.2](https://github.com/SocketDev/socket-lib/releases/tag/v5.1.2) - 2025-12-28
|
|
9
29
|
|
|
10
30
|
### Fixed
|