update deps, fix lint

This commit is contained in:
silverwind 2023-05-24 08:41:37 +02:00
parent 3428978a6c
commit b20e87c150
Signed by: silverwind
GPG Key ID: 2E62B41C93869443
3 changed files with 483 additions and 263 deletions

734
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -15,12 +15,12 @@
],
"devDependencies": {
"ansi-regex": "6.0.1",
"esbuild": "0.17.18",
"eslint": "8.39.0",
"eslint-config-silverwind": "65.1.6",
"esbuild": "0.17.19",
"eslint": "8.41.0",
"eslint-config-silverwind": "73.0.0",
"execa": "7.1.1",
"fetch-enhanced": "11.1.1",
"glowie": "1.0.0",
"glowie": "1.0.1",
"hosted-git-info": "6.1.1",
"minimist": "1.2.8",
"node-fetch": "3.3.1",
@ -32,6 +32,6 @@
"text-table": "0.2.0",
"timerel": "5.4.1",
"versions": "11.0.0",
"vitest": "0.30.1"
"vitest": "0.31.1"
}
}

@ -108,7 +108,7 @@ const npmrc = rc("npm", {registry: "https://registry.npmjs.org"});
const authTokenOpts = {npmrc, recursive: true};
const githubApiUrl = args.githubapi ? normalizeUrl(args.githubapi) : "https://api.github.com";
const maxSockets = typeof args.sockets === "number" ? parseInt(args.sockets) : MAX_SOCKETS;
const extractCerts = str => Array.from(str.matchAll(/(----BEGIN CERT[^]+?IFICATE----)/g)).map(m => m[0]);
const extractCerts = str => Array.from(str.matchAll(/(----BEGIN CERT[^]+?IFICATE----)/g), m => m[0]);
function memoize(fn) {
const cache = Object.create(null);