From 5219e7b2d33089a86c20efc1c57db4855c82dd46 Mon Sep 17 00:00:00 2001 From: Jeroen Ooms Date: Thu, 26 Sep 2024 13:38:54 +0200 Subject: [PATCH] Update to node-22 --- Dockerfile | 2 +- bin/www | 3 +-- package.json | 5 ++--- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index e1aa818..16a7e05 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20-alpine +FROM node:22-alpine RUN apk add --no-cache bash tini diff --git a/bin/www b/bin/www index 8d520c6..a48c02a 100755 --- a/bin/www +++ b/bin/www @@ -5,7 +5,6 @@ */ var app = require('../app'); -var debug = require('debug')('cdn-app:server'); var http = require('http'); /** @@ -86,5 +85,5 @@ function onListening() { var bind = typeof addr === 'string' ? 'pipe ' + addr : 'port ' + addr.port; - debug('Listening on ' + bind); + console.log('Listening on ' + bind); } diff --git a/package.json b/package.json index 5b8b1eb..936561d 100644 --- a/package.json +++ b/package.json @@ -7,11 +7,10 @@ }, "dependencies": { "cors": "^2.8.5", - "debug": "~4.3.5", - "express": "^4.19.2", + "express": "^4.21.0", "gunzip-maybe": "^1.4.2", "http-errors": "^2.0.0", - "mongodb": "^6.8.0", + "mongodb": "^6.9.0", "morgan": "~1.10.0", "tar-stream": "^3.1.7" }