Make compatible with node >=22 (#2273)

Breaking change: uplifts the minimum version of node required to v20
This commit is contained in:
GCHQDeveloper581
2026-04-28 07:18:44 +01:00
committed by GitHub
parent e0ba5d2812
commit 864afa85aa
16 changed files with 21 additions and 18 deletions
+2 -2
View File
@@ -17,8 +17,8 @@ import * as CanvasComponents from "../core/lib/CanvasComponents.mjs";
// CyberChef
import App from "./App.mjs";
import Categories from "../core/config/Categories.json" assert {type: "json"};
import OperationConfig from "../core/config/OperationConfig.json" assert {type: "json"};
import Categories from "../core/config/Categories.json" with { type: "json" };
import OperationConfig from "../core/config/OperationConfig.json" with { type: "json" };
/**
+1 -1
View File
@@ -1,5 +1,5 @@
import sm from "sitemap";
import OperationConfig from "../../core/config/OperationConfig.json" assert { type: "json" };
import OperationConfig from "../../core/config/OperationConfig.json" with { type: "json" };
/**
* Generates an XML sitemap for all CyberChef operations and a number of recipes.