File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " patch-pulse" ,
3
- "version" : " 2.8.3 " ,
3
+ "version" : " 2.9.0 " ,
4
4
"description" : " Check for outdated npm dependencies" ,
5
5
"type" : " module" ,
6
6
"bin" : {
57
57
"chalk" : " 5.4.1"
58
58
},
59
59
"devDependencies" : {
60
- "@eslint/js" : " 9.31.0" ,
61
- "@types/node" : " 24.0.13" ,
62
- "@typescript-eslint/eslint-plugin" : " 8.36.0" ,
63
- "@typescript-eslint/parser" : " 8.36.0 " ,
64
- "@vitest/coverage-v8" : " 3.2.4 " ,
60
+ "@eslint/js" : " ^ 9.31.0" ,
61
+ "@types/node" : " ^ 24.0.13" ,
62
+ "@typescript-eslint/eslint-plugin" : " ^ 8.36.0" ,
63
+ "@typescript-eslint/parser" : " * " ,
64
+ "@vitest/coverage-v8" : " latest " ,
65
65
"eslint" : " 9.31.0" ,
66
66
"eslint-config-prettier" : " 10.1.5" ,
67
67
"eslint-plugin-prettier" : " 5.5.1" ,
Original file line number Diff line number Diff line change @@ -96,9 +96,9 @@ function displayResults(dependencyInfos: DependencyInfo[]): void {
96
96
} else if ( ! dep . latestVersion ) {
97
97
status = chalk . red ( 'NOT FOUND' ) ;
98
98
versionInfo = `${ dep . currentVersion } (not found on npm registry)` ;
99
- } else if ( dep . currentVersion === 'latest' ) {
99
+ } else if ( [ 'latest' , '*' ] . includes ( dep . currentVersion ) ) {
100
100
status = chalk . cyan ( 'LATEST TAG' ) ;
101
- versionInfo = `latest → ${ chalk . cyan ( dep . latestVersion ) } (actual latest version)` ;
101
+ versionInfo = `${ dep . currentVersion } → ${ chalk . cyan ( dep . latestVersion ) } (actual latest version)` ;
102
102
} else if ( ! / ^ \d + \. \d + \. \d + / . test ( dep . currentVersion ) ) {
103
103
status = chalk . blue ( 'VERSION RANGE' ) ;
104
104
versionInfo = `${ dep . currentVersion } → ${ chalk . cyan ( dep . latestVersion ) } (latest available)` ;
You can’t perform that action at this time.
0 commit comments