Compare commits

..

No commits in common. "83af4fb226d0fb2d0336285cb9a3b0a8084b939c" and "7bd0a7211312ed58e4d268443edcf3c869389794" have entirely different histories.

2 changed files with 6 additions and 6 deletions

View File

@ -1,9 +1,12 @@
//const require = createRequire(import.meta.url);
//import { createRequire } from "module";
// @ts-ignore // @ts-ignore
import Config from "@lumeweb/cfg"; import Config from "@lumeweb/cfg";
import * as os from "os"; import * as os from "os";
import * as fs from "fs"; import * as fs from "fs";
import path from "path"; import path from "path";
import log from "loglevel"; import { errorExit } from "./lib/error.js";
const config = new Config("lumeweb-relay"); const config = new Config("lumeweb-relay");
@ -52,6 +55,4 @@ config.load({
argv: true, argv: true,
}); });
log.setDefaultLevel(config.get("loglevel"));
export default config; export default config;

View File

@ -490,7 +490,7 @@
"@lumeweb/dht-cache@https://git.lumeweb.com/LumeWeb/dht-cache.git": "@lumeweb/dht-cache@https://git.lumeweb.com/LumeWeb/dht-cache.git":
version "0.1.0" version "0.1.0"
resolved "https://git.lumeweb.com/LumeWeb/dht-cache.git#d65d33aa184239e05f6d65fee6b16f3ae0921f39" resolved "https://git.lumeweb.com/LumeWeb/dht-cache.git#90aeec6802219b61eb055561bf3e8356e68b30c0"
dependencies: dependencies:
"@lumeweb/dht-flood" "https://git.lumeweb.com/LumeWeb/dht-flood.git" "@lumeweb/dht-flood" "https://git.lumeweb.com/LumeWeb/dht-flood.git"
"@protobuf-ts/plugin" "^2.8.1" "@protobuf-ts/plugin" "^2.8.1"
@ -498,7 +498,6 @@
compact-encoding "^2.11.0" compact-encoding "^2.11.0"
hypercore-crypto "^3.3.0" hypercore-crypto "^3.3.0"
jsnetworkx "^0.3.4" jsnetworkx "^0.3.4"
loglevel "^1.8.1"
lru "^3.1.0" lru "^3.1.0"
ordered-json "^0.1.1" ordered-json "^0.1.1"
protocol-buffers-encodings "^1.2.0" protocol-buffers-encodings "^1.2.0"
@ -2347,7 +2346,7 @@ lodash@^4.17.20:
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
loglevel@^1.8.0, loglevel@^1.8.1: loglevel@^1.8.0:
version "1.8.1" version "1.8.1"
resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.8.1.tgz#5c621f83d5b48c54ae93b6156353f555963377b4" resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.8.1.tgz#5c621f83d5b48c54ae93b6156353f555963377b4"
integrity sha512-tCRIJM51SHjAayKwC+QAg8hT8vg6z7GSgLJKGvzuPb1Wc+hLzqtuVLxp6/HzSPOozuK+8ErAhy7U/sVzw8Dgfg== integrity sha512-tCRIJM51SHjAayKwC+QAg8hT8vg6z7GSgLJKGvzuPb1Wc+hLzqtuVLxp6/HzSPOozuK+8ErAhy7U/sVzw8Dgfg==