From ad0417b468d001d1c2186e4d1c2cb55d9cfee080 Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Fri, 18 Oct 2024 20:15:13 +0200 Subject: [PATCH] fix: add notice about Deno support being experimental --- src/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/index.js b/src/index.js index 1b839e8..b501a6a 100644 --- a/src/index.js +++ b/src/index.js @@ -1727,6 +1727,10 @@ function start(init) { serverconsole.locwarnmessage( "PBKDF2 password hashing function in Bun versions older than v1.1.13 blocks the event loop, which may result in denial of service." ); + } else if (process.versions && process.versions.deno) { + serverconsole.locwarnmessage( + `Deno support is experimental. Some features of ${name}, ${name} mods and ${name} server-side JavaScript may not work as expected.` + ); } if (cluster.isPrimary === undefined) serverconsole.locwarnmessage(