@datapos/datapos-development 0.3.116 → 0.3.117

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -113,14 +113,7 @@ async function D() {
113
113
  async function I() {
114
114
  const o = "<!-- OWASP_BADGE_START -->", e = "<!-- OWASP_BADGE_END -->";
115
115
  try {
116
- const i = JSON.parse(await t.readFile("./dependency-check-reports/dependency-check-report.json", "utf-8")), n = {
117
- critical: 0,
118
- high: 0,
119
- moderate: 0,
120
- low: 0,
121
- info: 0,
122
- unknown: 0
123
- };
116
+ const i = JSON.parse(await t.readFile("./dependency-check-reports/dependency-check-report.json", "utf-8")), n = { critical: 0, high: 0, moderate: 0, low: 0, info: 0, unknown: 0 };
124
117
  for (const u of i.dependencies)
125
118
  if (u.vulnerabilities != null)
126
119
  for (const m of u.vulnerabilities) {
@@ -141,7 +134,7 @@ async function I() {
141
134
  }
142
135
  const d = Object.values(n).reduce((u, m) => u + m, 0);
143
136
  console.info(`✅ Total vulnerabilities found: ${d}`), console.info(
144
- ` Critical: ${n.critical}, High: ${n.high}, Medium: ${n.medium}, Low: ${n.low}, Info: ${n.info}, Unknown: ${n.unknown}`
137
+ ` Critical: ${n.critical}, High: ${n.high}, Moderate: ${n.moderate}, Low: ${n.low}, Info: ${n.info}, Unknown: ${n.unknown}`
145
138
  );
146
139
  const a = await t.readFile("./README.md", "utf8"), c = a.indexOf(o), l = a.indexOf(e);
147
140
  (c === -1 || l === -1) && (console.error("❌ Markers not found in README.md."), process.exit(1));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datapos/datapos-development",
3
- "version": "0.3.116",
3
+ "version": "0.3.117",
4
4
  "description": "A library of utilities for managing the Data Positioning repositories.",
5
5
  "license": "MIT",
6
6
  "author": "Jonathan Terrell <terrell.jm@gmail.com>",