diff --git a/package.json b/package.json index 869b598d1..0d555ce8f 100644 --- a/package.json +++ b/package.json @@ -84,7 +84,7 @@ "compare-versions": "~3.6.0", "compression": "^1.7.4", "dayjs": "^1.11.0", - "esm": "^3.2.25", + "esm-wallaby": "^3.2.26", "express": "~4.17.3", "express-basic-auth": "~1.2.1", "express-static-gzip": "^2.1.7", diff --git a/server/model/monitor.js b/server/model/monitor.js index 947adffae..6dcac9708 100644 --- a/server/model/monitor.js +++ b/server/model/monitor.js @@ -17,7 +17,7 @@ const version = require("../../package.json").version; const apicache = require("../modules/apicache"); const { UptimeKumaServer } = require("../uptime-kuma-server"); -const axiosCachedDnsResolve = require("esm")(module)("axios-cached-dns-resolve"); +const axiosCachedDnsResolve = require("esm-wallaby")(module)("axios-cached-dns-resolve"); // create an axios client instance with the cached DNS resolve interceptor const axiosClient = axios.create();