File tree Expand file tree Collapse file tree 4 files changed +16
-6
lines changed
Expand file tree Collapse file tree 4 files changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
44
55The 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
Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff 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 } /**/*`
Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments