From 66983945687b15b24602f39a0bcbb7557fe05034 Mon Sep 17 00:00:00 2001
From: saket-geant <saket.agrahari@geant.org>
Date: Sat, 26 Oct 2024 10:17:02 +0100
Subject: [PATCH] tox and package json

---
 compendium-frontend/package-lock.json          | 13 +++++++------
 compendium-frontend/package.json               |  2 +-
 compendium_v2/routes/standards_and_policies.py |  5 +----
 3 files changed, 9 insertions(+), 11 deletions(-)

diff --git a/compendium-frontend/package-lock.json b/compendium-frontend/package-lock.json
index 26777645..1b535ab4 100644
--- a/compendium-frontend/package-lock.json
+++ b/compendium-frontend/package-lock.json
@@ -6843,10 +6843,11 @@
       }
     },
     "node_modules/mini-css-extract-plugin": {
-      "version": "2.9.0",
-      "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-2.9.0.tgz",
-      "integrity": "sha512-Zs1YsZVfemekSZG+44vBsYTLQORkPMwnlv+aehcxK/NLKC+EGhDB39/YePYYqx/sTk6NnYpuqikhSn7+JIevTA==",
+      "version": "2.9.1",
+      "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-2.9.1.tgz",
+      "integrity": "sha512-+Vyi+GCCOHnrJ2VPS+6aPoXN2k2jgUzDRhTFLjjTBn23qyXJXkjUWQgTL+mXpF5/A8ixLdCc6kWsoeOjKGejKQ==",
       "dev": true,
+      "license": "MIT",
       "dependencies": {
         "schema-utils": "^4.0.0",
         "tapable": "^2.2.1"
@@ -14768,9 +14769,9 @@
       "dev": true
     },
     "mini-css-extract-plugin": {
-      "version": "2.9.0",
-      "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-2.9.0.tgz",
-      "integrity": "sha512-Zs1YsZVfemekSZG+44vBsYTLQORkPMwnlv+aehcxK/NLKC+EGhDB39/YePYYqx/sTk6NnYpuqikhSn7+JIevTA==",
+      "version": "2.9.1",
+      "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-2.9.1.tgz",
+      "integrity": "sha512-+Vyi+GCCOHnrJ2VPS+6aPoXN2k2jgUzDRhTFLjjTBn23qyXJXkjUWQgTL+mXpF5/A8ixLdCc6kWsoeOjKGejKQ==",
       "dev": true,
       "requires": {
         "schema-utils": "^4.0.0",
diff --git a/compendium-frontend/package.json b/compendium-frontend/package.json
index d8d23656..bd2d7d1f 100644
--- a/compendium-frontend/package.json
+++ b/compendium-frontend/package.json
@@ -47,10 +47,10 @@
     "react-bootstrap": "~2.10.4",
     "react-chartjs-2": "~5.2.0",
     "react-dom": "~18.3.1",
+    "react-hot-toast": "~2.4.1",
     "react-icons": "~5.2.1",
     "react-router-dom": "~6.24.1",
     "survey-react-ui": "~1.11.5",
-    "react-hot-toast": "~2.4.1",
     "xlsx": "~0.18.5"
   },
   "description": "## development environment",
diff --git a/compendium_v2/routes/standards_and_policies.py b/compendium_v2/routes/standards_and_policies.py
index e265ef35..686d46ae 100644
--- a/compendium_v2/routes/standards_and_policies.py
+++ b/compendium_v2/routes/standards_and_policies.py
@@ -102,7 +102,7 @@ SERVICE_MANAGEMENT = {
                 'service_management_framework': {'type': 'string'},
                 'service_level_targets': {'type': 'string'},
             },
-            'required': ['nren', 'nren_country', 'year', 'service_management_framework','service_level_targets'],
+            'required': ['nren', 'nren_country', 'year', 'service_management_framework', 'service_level_targets'],
             'additionalProperties': False
         }
     },
@@ -112,8 +112,6 @@ SERVICE_MANAGEMENT = {
 }
 
 
-
-
 def standards_extract_data(standards: Standards) -> dict:
     return {
         'nren': standards.nren.name,
@@ -307,4 +305,3 @@ def service_management_view() -> Any:
 
     entries = [service_management_extract_data(entry) for entry in common.get_data(ServiceManagement)]
     return jsonify(entries)
-
-- 
GitLab