diff --git a/package-lock.json b/package-lock.json
index 532191c..4f4f529 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -17,7 +17,7 @@
         "@types/mustache": "^4.2.0",
         "@types/pretty": "^2.0.1",
         "fast-xml-parser": "^3.1.19",
-        "flat": "^5.0.2",
+        "flat": "^6.0.0",
         "he": "^1.2.0",
         "htmlparser2": "^9.0.0",
         "inspecjs": "^2.6.6",
@@ -2796,11 +2796,14 @@
       }
     },
     "node_modules/flat": {
-      "version": "5.0.2",
-      "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz",
-      "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==",
+      "version": "6.0.0",
+      "resolved": "https://registry.npmjs.org/flat/-/flat-6.0.0.tgz",
+      "integrity": "sha512-/aYW7n5yD9HyW9ZHCzW2LGSpyTmbXEdRWdH5ded6K/a2ETgowOripjBqJorQ4/PBa3VPFub28fNruWp+onmIUg==",
       "bin": {
         "flat": "cli.js"
+      },
+      "engines": {
+        "node": ">=18"
       }
     },
     "node_modules/flat-cache": {
@@ -7237,9 +7240,9 @@
       }
     },
     "flat": {
-      "version": "5.0.2",
-      "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz",
-      "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ=="
+      "version": "6.0.0",
+      "resolved": "https://registry.npmjs.org/flat/-/flat-6.0.0.tgz",
+      "integrity": "sha512-/aYW7n5yD9HyW9ZHCzW2LGSpyTmbXEdRWdH5ded6K/a2ETgowOripjBqJorQ4/PBa3VPFub28fNruWp+onmIUg=="
     },
     "flat-cache": {
       "version": "3.0.4",
diff --git a/package.json b/package.json
index abe3643..0194c1e 100644
--- a/package.json
+++ b/package.json
@@ -32,7 +32,7 @@
     "@types/mustache": "^4.2.0",
     "@types/pretty": "^2.0.1",
     "fast-xml-parser": "^3.1.19",
-    "flat": "^5.0.2",
+    "flat": "^6.0.0",
     "he": "^1.2.0",
     "htmlparser2": "^9.0.0",
     "inspecjs": "^2.6.6",