switch to the more-up-to-date esm-wallaby

https://github.com/wallabyjs/esm
This commit is contained in:
Greg Smith
2022-05-04 15:38:46 +09:30
parent 25cc54bf72
commit cbfecab850
3 changed files with 17 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ const { demoMode } = require("../config");
const version = require("../../package.json").version;
const apicache = require("../modules/apicache");
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();