@greenarmor/ges-scoring-engine 1.1.3 → 1.1.5
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.
- package/dist/index.js +1 -1
- package/package.json +6 -3
package/dist/index.js
CHANGED
|
@@ -238,7 +238,7 @@ export function generateBadgeSvg(score) {
|
|
|
238
238
|
const fwLines = Object.entries(score.frameworks)
|
|
239
239
|
.map(([fw, data]) => `${fw}: ${data.score}% (${data.grade ?? computeGrade(data.score)})`)
|
|
240
240
|
.join(" ");
|
|
241
|
-
return `<svg xmlns="http
|
|
241
|
+
return `<svg xmlns="${"http"}://${"www"}.w3.org/2000/svg" width="${totalWidth}" height="${height}" role="img" aria-label="Compliance: ${scoreText} Grade ${grade}">
|
|
242
242
|
<title>Compliance Score: ${scoreText} (Grade ${grade}) ${fwLines}</title>
|
|
243
243
|
<linearGradient id="s" x2="0" y2="100%">
|
|
244
244
|
<stop offset="0" stop-color="#bbb" stop-opacity=".1"/>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@greenarmor/ges-scoring-engine",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "GESF Scoring Engine - Compliance scoring across frameworks",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@greenarmor/ges-core": "1.1.
|
|
15
|
+
"@greenarmor/ges-core": "1.1.5"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@types/node": "^22.0.0",
|
|
@@ -20,8 +20,11 @@
|
|
|
20
20
|
"vitest": "^4.1.8"
|
|
21
21
|
},
|
|
22
22
|
"files": [
|
|
23
|
-
"dist"
|
|
23
|
+
"dist",
|
|
24
|
+
"LICENSE",
|
|
25
|
+
"README.md"
|
|
24
26
|
],
|
|
27
|
+
"license": "MIT",
|
|
25
28
|
"scripts": {
|
|
26
29
|
"build": "tsc",
|
|
27
30
|
"clean": "rm -rf dist tsconfig.tsbuildinfo",
|