File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
node_modules/@npmcli/metavuln-calculator Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -166,8 +166,8 @@ class Advisory {
166
166
// we can try to be a *little* smarter up front by doing x-y for all
167
167
// contiguous version sets in the list
168
168
const ranges = [ ]
169
- this . versions = semver . sort ( this . versions )
170
- this . vulnerableVersions = semver . sort ( this . vulnerableVersions )
169
+ this . versions = semver . sort ( this . versions , semverOpt )
170
+ this . vulnerableVersions = semver . sort ( this . vulnerableVersions , semverOpt )
171
171
for ( let v = 0 , vulnVer = 0 ; v < this . versions . length ; v ++ ) {
172
172
// figure out the vulnerable subrange
173
173
const vr = [ this . versions [ v ] ]
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @npmcli/metavuln-calculator" ,
3
- "version" : " 3.1.0 " ,
3
+ "version" : " 3.1.1 " ,
4
4
"main" : " lib/index.js" ,
5
5
"files" : [
6
6
" bin/" ,
33
33
},
34
34
"devDependencies" : {
35
35
"@npmcli/eslint-config" : " ^3.0.1" ,
36
- "@npmcli/template-oss" : " 3.2 .0" ,
36
+ "@npmcli/template-oss" : " 3.5 .0" ,
37
37
"require-inject" : " ^1.4.4" ,
38
38
"tap" : " ^16.0.1"
39
39
},
48
48
},
49
49
"templateOSS" : {
50
50
"//@npmcli/template-oss" : " This file is partially managed by @npmcli/template-oss. Edits may be overwritten." ,
51
- "version" : " 3.2 .0"
51
+ "version" : " 3.5 .0"
52
52
}
53
53
}
Original file line number Diff line number Diff line change 977
977
}
978
978
},
979
979
"node_modules/@npmcli/metavuln-calculator" : {
980
- "version" : " 3.1.0 " ,
981
- "resolved" : " https://registry.npmjs.org/@npmcli/metavuln-calculator/-/metavuln-calculator-3.1.0 .tgz" ,
982
- "integrity" : " sha512-Q5fbQqGDlYqk7kWrbg6E2j/mtqQjZop0ZE6735wYA1tYNHguIDjAuWs+kFb5rJCkLIlXllfapvsyotYKiZOTBA ==" ,
980
+ "version" : " 3.1.1 " ,
981
+ "resolved" : " https://registry.npmjs.org/@npmcli/metavuln-calculator/-/metavuln-calculator-3.1.1 .tgz" ,
982
+ "integrity" : " sha512-n69ygIaqAedecLeVH3KnO39M6ZHiJ2dEv5A7DGvcqCB8q17BGUgW8QaanIkbWUo2aYGZqJaOORTLAlIvKjNDKA ==" ,
983
983
"dependencies" : {
984
984
"cacache" : " ^16.0.0" ,
985
985
"json-parse-even-better-errors" : " ^2.3.1" ,
You can’t perform that action at this time.
0 commit comments