Skip to content

Commit d1169a8

Browse files
committed
release v1.1.38
1 parent a6cb9c8 commit d1169a8

File tree

4 files changed

+16
-6
lines changed

4 files changed

+16
-6
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
66

7+
## [1.1.38](https://github.com/SocketDev/socket-cli/releases/tag/v1.1.38) - 2025-11-26
8+
9+
### Changed
10+
- Enhanced CVE to GHSA conversion with improved error detection and caching for more reliable vulnerability lookups
11+
712
## [1.1.37](https://github.com/SocketDev/socket-cli/releases/tag/v1.1.37) - 2025-11-26
813

914
### Fixed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "socket",
3-
"version": "1.1.37",
3+
"version": "1.1.38",
44
"description": "CLI for Socket.dev",
55
"homepage": "https://github.com/SocketDev/socket-cli",
66
"license": "MIT AND OFL-1.1",

src/utils/glob.mts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,9 @@ export function pathsToGlobPatterns(
297297
if (p === '.' || p === './') {
298298
return '**/*'
299299
}
300-
const absolutePath = path.isAbsolute(p) ? p : path.resolve(cwd ?? process.cwd(), p)
300+
const absolutePath = path.isAbsolute(p)
301+
? p
302+
: path.resolve(cwd ?? process.cwd(), p)
301303
// If the path is a directory, scan it recursively for all files.
302304
if (isDirSync(absolutePath)) {
303305
return `${p}/**/*`

src/utils/path-resolve.mts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,13 @@ export async function getPackageFilesForScan(
114114
...options,
115115
} as PackageFilesForScanOptions
116116

117-
const filepaths = await globWithGitIgnore(pathsToGlobPatterns(inputPaths, options?.cwd), {
118-
cwd,
119-
socketConfig,
120-
})
117+
const filepaths = await globWithGitIgnore(
118+
pathsToGlobPatterns(inputPaths, options?.cwd),
119+
{
120+
cwd,
121+
socketConfig,
122+
},
123+
)
121124

122125
return filterBySupportedScanFiles(filepaths!, supportedFiles)
123126
}

0 commit comments

Comments
 (0)