From 786008fca5e4755dbf1ec72f9171b50c04596a0d Mon Sep 17 00:00:00 2001 From: Marc Stirner Date: Tue, 30 Jan 2024 08:40:15 +0100 Subject: [PATCH 1/5] removed `console.log(...)` --- routes/router.api.mdns.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/routes/router.api.mdns.js b/routes/router.api.mdns.js index 60774b4..0a14b6e 100644 --- a/routes/router.api.mdns.js +++ b/routes/router.api.mdns.js @@ -50,8 +50,6 @@ module.exports = (app, router) => { // TODO: Reformat to match router.api.mdns.js code style/if-else router.get("/", (req, res, next) => { - console.log("Request to /api/mdns"); - // check if connection is a simple get request or ws client if ((!req.headers["upgrade"] || !req.headers["connection"])) { //return res.status(403).end(); @@ -63,18 +61,12 @@ module.exports = (app, router) => { // keep sending new log entrys to client wss.once("connection", (ws) => { - console.log("Clien connected to mdns"); - C_MDNS.events.emit("connected", ws); ws.on("message", (msg) => { C_MDNS.events.emit("message", decode(msg), msg); }); - ws.on("close", () => { - console.log("Client disconnected disolaskjdflaskjfdasdf"); - }); - // QUERY LOCAL DNS /* From 197ad4c0e480b29f8a26206b8c7f1bb15326cd4a Mon Sep 17 00:00:00 2001 From: Marc Stirner Date: Tue, 30 Jan 2024 18:03:36 +0100 Subject: [PATCH 2/5] fix #430 --- .github/workflows/node-js.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/node-js.yml b/.github/workflows/node-js.yml index 75a0112..71ac8c0 100644 --- a/.github/workflows/node-js.yml +++ b/.github/workflows/node-js.yml @@ -27,7 +27,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - node-version: [16.x, 17.x, 18.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ + node-version: [18.x, 20x], # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ mongodb-version: ["4.2", "4.4", "5.0"] steps: From 95be13ad5ffa25b296653a0d52041a5ae2906399 Mon Sep 17 00:00:00 2001 From: Marc Stirner Date: Tue, 30 Jan 2024 18:04:54 +0100 Subject: [PATCH 3/5] fix workflow file syntax --- .github/workflows/node-js.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/node-js.yml b/.github/workflows/node-js.yml index 71ac8c0..0180628 100644 --- a/.github/workflows/node-js.yml +++ b/.github/workflows/node-js.yml @@ -27,7 +27,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - node-version: [18.x, 20x], # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ + node-version: [18.x, 20.x], # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ mongodb-version: ["4.2", "4.4", "5.0"] steps: From d0668c24cb7e8f7413dac6cf4e1c8af784deac67 Mon Sep 17 00:00:00 2001 From: Marc Stirner Date: Tue, 30 Jan 2024 18:06:04 +0100 Subject: [PATCH 4/5] fix workflow file --- .github/workflows/node-js.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/node-js.yml b/.github/workflows/node-js.yml index 0180628..0b92e2e 100644 --- a/.github/workflows/node-js.yml +++ b/.github/workflows/node-js.yml @@ -27,7 +27,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - node-version: [18.x, 20.x], # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ + node-version: [18.x, 20.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ mongodb-version: ["4.2", "4.4", "5.0"] steps: From bb86465809084e0f49f88224be223c7740447a86 Mon Sep 17 00:00:00 2001 From: Marc Stirner Date: Tue, 30 Jan 2024 18:11:50 +0100 Subject: [PATCH 5/5] fix #430 --- .github/workflows/docker-nightly.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-nightly.yml b/.github/workflows/docker-nightly.yml index 90d4c50..751847c 100644 --- a/.github/workflows/docker-nightly.yml +++ b/.github/workflows/docker-nightly.yml @@ -13,10 +13,10 @@ jobs: - name: Check out the repo uses: actions/checkout@v3 - - name: Use Node.js 16.x + - name: Use Node.js 18.x uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: 18.x - run: npm ci - run: npm run build