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 {
166166 // we can try to be a *little* smarter up front by doing x-y for all
167167 // contiguous version sets in the list
168168 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 )
171171 for ( let v = 0 , vulnVer = 0 ; v < this . versions . length ; v ++ ) {
172172 // figure out the vulnerable subrange
173173 const vr = [ this . versions [ v ] ]
Original file line number Diff line number Diff line change 11{
22 "name" : " @npmcli/metavuln-calculator" ,
3- "version" : " 3.1.0 " ,
3+ "version" : " 3.1.1 " ,
44 "main" : " lib/index.js" ,
55 "files" : [
66 " bin/" ,
3333 },
3434 "devDependencies" : {
3535 "@npmcli/eslint-config" : " ^3.0.1" ,
36- "@npmcli/template-oss" : " 3.2 .0" ,
36+ "@npmcli/template-oss" : " 3.5 .0" ,
3737 "require-inject" : " ^1.4.4" ,
3838 "tap" : " ^16.0.1"
3939 },
4848 },
4949 "templateOSS" : {
5050 "//@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"
5252 }
5353}
Original file line number Diff line number Diff line change 977977 }
978978 },
979979 "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 ==" ,
983983 "dependencies" : {
984984 "cacache" : " ^16.0.0" ,
985985 "json-parse-even-better-errors" : " ^2.3.1" ,
You can’t perform that action at this time.
0 commit comments