-
Notifications
You must be signed in to change notification settings - Fork 1
/
npm-audit.html
156 lines (141 loc) · 5.33 KB
/
npm-audit.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet"
href="https://unpkg.com/bootstrap-material-design@4.1.1/dist/css/bootstrap-material-design.min.css"
integrity="sha384-wXznGJNEXNG1NFsbm0ugrLFMQPWswR3lds2VeinahP8N0zJw9VWSopbjv2x7WCvX" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/bs4/dt-1.10.20/datatables.min.css" />
<link rel="stylesheet"
href="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.16.2/build/styles/atom-one-dark.min.css">
<title>NPM Audit Report</title>
<meta name="description" content="0 known vulnerabilities found.">
<style>
pre {
background-color: #333333;
padding: 15px;
}
pre code {
color: #fff;
}
</style>
</head>
<body class="mb-3">
<div class="container">
<h1 class="mt-5 text-center">NPM Audit Report</h1>
<div class="text-center">
<div class="card-deck my-3">
<div class="card">
<div class="card-body">
<h5 class="card-title">
0
</h5>
<p class="card-text">Known vulnerabilities</p>
</div>
</div>
<div class="card">
<div class="card-body">
<h5 class="card-title">
120
</h5>
<p class="card-text">Dependencies</p>
</div>
</div>
<div class="card">
<div class="card-body">
<h5 class="card-title">
May 22nd 2021, 6:42:35 pm
</h5>
<p class="card-text">Last updated</p>
</div>
</div>
</div>
<div class="card-deck my-3">
<div class="card">
<div class="card-body">
<h5 class="card-title">
0
</h5>
<p class="card-text">
<span class="badge badge-danger">critical</span>
</p>
</div>
</div>
<div class="card">
<div class="card-body">
<h5 class="card-title">
0
</h5>
<p class="card-text">
<span class="badge badge-warning">high</span>
</p>
</div>
</div>
<div class="card">
<div class="card-body">
<h5 class="card-title">
0
</h5>
<p class="card-text">
<span class="badge badge-secondary">moderate</span>
</p>
</div>
</div>
<div class="card">
<div class="card-body">
<h5 class="card-title">
0
</h5>
<p class="card-text">
<span class="badge badge-primary">low</span>
</p>
</div>
</div>
<div class="card">
<div class="card-body">
<h5 class="card-title">
0
</h5>
<p class="card-text">
<span class="badge badge-info">info</span>
</p>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col">
<table id="advisories" class="table">
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Module</th>
<th scope="col">Severity</th>
<th scope="col">CVEs</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"></script>
<script type="text/javascript" src="https://cdn.datatables.net/v/bs4/dt-1.10.20/datatables.min.js"></script>
<script>
$(document).ready(function () {
$('#advisories').DataTable({
order: [[2, 'asc']]
});
});
</script>
</body>
</html>