@socketsecurity/lib 5.5.0 → 5.5.1
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 +7 -0
- package/dist/releases/github.js +3 -0
- package/package.json +5 -3
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,13 @@ 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.5.1](https://github.com/SocketDev/socket-lib/releases/tag/v5.5.1) - 2026-01-12
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- Fixed dotenvx compatibility with pre-commit hooks
|
|
13
|
+
- Fixed empty releases being returned when finding latest release
|
|
14
|
+
|
|
8
15
|
## [5.5.0](https://github.com/SocketDev/socket-lib/releases/tag/v5.5.0) - 2026-01-12
|
|
9
16
|
|
|
10
17
|
### Added
|
package/dist/releases/github.js
CHANGED
|
@@ -139,6 +139,9 @@ async function getLatestRelease(toolPrefix, repoConfig, options = {}) {
|
|
|
139
139
|
if (!tag2.startsWith(toolPrefix)) {
|
|
140
140
|
return false;
|
|
141
141
|
}
|
|
142
|
+
if (!assets || assets.length === 0) {
|
|
143
|
+
return false;
|
|
144
|
+
}
|
|
142
145
|
if (isMatch) {
|
|
143
146
|
const hasMatchingAsset = assets.some(
|
|
144
147
|
(a) => isMatch(a.name)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@socketsecurity/lib",
|
|
3
|
-
"version": "5.5.
|
|
3
|
+
"version": "5.5.1",
|
|
4
4
|
"packageManager": "pnpm@10.28.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Core utilities and infrastructure for Socket.dev security tools",
|
|
@@ -726,7 +726,7 @@
|
|
|
726
726
|
"@socketregistry/is-unicode-supported": "1.0.5",
|
|
727
727
|
"@socketregistry/packageurl-js": "1.3.5",
|
|
728
728
|
"@socketregistry/yocto-spinner": "1.0.25",
|
|
729
|
-
"@socketsecurity/lib-stable": "npm:@socketsecurity/lib@5.
|
|
729
|
+
"@socketsecurity/lib-stable": "npm:@socketsecurity/lib@5.5.0",
|
|
730
730
|
"@types/node": "24.9.2",
|
|
731
731
|
"@typescript/native-preview": "7.0.0-dev.20250920.1",
|
|
732
732
|
"@vitest/coverage-v8": "4.0.3",
|
|
@@ -795,6 +795,7 @@
|
|
|
795
795
|
"@sigstore/sign": "4.1.0",
|
|
796
796
|
"ansi-regex": "6.2.2",
|
|
797
797
|
"debug": "4.4.3",
|
|
798
|
+
"execa": "5.1.1",
|
|
798
799
|
"has-flag": "5.0.1",
|
|
799
800
|
"isexe": "3.1.1",
|
|
800
801
|
"lru-cache": "11.2.2",
|
|
@@ -812,7 +813,8 @@
|
|
|
812
813
|
"patchedDependencies": {
|
|
813
814
|
"@npmcli/run-script@10.0.0": "patches/@npmcli__run-script@10.0.0.patch",
|
|
814
815
|
"@sigstore/sign@4.1.0": "patches/@sigstore__sign@4.1.0.patch",
|
|
815
|
-
"node-gyp@11.5.0": "patches/node-gyp@11.5.0.patch"
|
|
816
|
+
"node-gyp@11.5.0": "patches/node-gyp@11.5.0.patch",
|
|
817
|
+
"execa@5.1.1": "patches/execa@5.1.1.patch"
|
|
816
818
|
}
|
|
817
819
|
}
|
|
818
820
|
}
|