File tree Expand file tree Collapse file tree 2 files changed +22
-5
lines changed Expand file tree Collapse file tree 2 files changed +22
-5
lines changed Original file line number Diff line number Diff line change 42
42
"summary" : " Security Advisory 11-30-2020 HTML document" ,
43
43
"url" : " https://loopback.io/doc/en/sec/Security-advisory-11-30-2020.html"
44
44
},
45
+ {
46
+ "summary" : " NVD - CVE-2020-4988 Detail" ,
47
+ "url" : " https://nvd.nist.gov/vuln/detail/CVE-2020-4988"
48
+ },
49
+ {
50
+ "summary" : " CVE-2020-4988 CVE Record" ,
51
+ "url" : " https://www.cve.org/CVERecord?id=CVE-2020-4988"
52
+ },
53
+ {
54
+ "summary" : " NPM" ,
55
+ "url" : " https://www.npmjs.com/package/@loopback/rest"
56
+ },
45
57
{
46
58
"summary" : " X-Force Vulnerability Report" ,
47
59
"url" : " https://exchange.xforce.ibmcloud.com/vulnerabilities/192706"
48
60
}
49
61
],
50
62
"title" : " Security Advisory 11-30-2020" ,
51
63
"tracking" : {
52
- "current_release_date" : " 2022-03-05T00:00 :00.000Z" ,
53
- "id" : " lbsa -20201130" ,
64
+ "current_release_date" : " 2022-03-05T16:39 :00.000Z" ,
65
+ "id" : " LBSA -20201130" ,
54
66
"initial_release_date" : " 2022-01-18T00:00:00.000Z" ,
55
67
"revision_history" : [
68
+ {
69
+ "date" : " 2022-03-05T16:39:00.000Z" ,
70
+ "number" : " 1.1.0" ,
71
+ "summary" : " Updated tracking ID; Added references"
72
+ },
56
73
{
57
74
"date" : " 2022-03-05T00:00:00.000Z" ,
58
75
"number" : " 1.0.1" ,
65
82
}
66
83
],
67
84
"status" : " final" ,
68
- "version" : " 1.0.1 "
85
+ "version" : " 1.1.0 "
69
86
}
70
87
},
71
88
"product_tree" : {
Original file line number Diff line number Diff line change @@ -68,10 +68,10 @@ function validateTracking(fileContents: any): ValidationResult {
68
68
const tracking = fileContents . document . tracking ;
69
69
let errors : ValidationResult [ 'errors' ] = [ ] ;
70
70
71
- if ( ! / ^ ( l b s a - [ 1 - 9 ] [ 0 - 9 ] * ) $ / . test ( tracking . id ) ) {
71
+ if ( ! / ^ ( L B S A - [ 1 - 9 ] [ 0 - 9 ] * ) $ / . test ( tracking . id ) ) {
72
72
errors . push ( {
73
73
instancePath : 'document/tracking/id' ,
74
- message : 'id must match `/^(lbsa -[1-9][0-9]*)$/`.' ,
74
+ message : 'id must match `/^(LBSA -[1-9][0-9]*)$/`.' ,
75
75
} ) ;
76
76
}
77
77
You can’t perform that action at this time.
0 commit comments