From 4cb2d5eb56f13c6f84c6e067989a4584746b0636 Mon Sep 17 00:00:00 2001 From: Marcus Hultman Date: Sun, 26 Dec 2021 08:04:06 -0500 Subject: [PATCH] node_process: add emitWarning https://github.com/defunctzombie/node-process/pull/84 Upstream seem to be inactive since 2017 --- server/embed/polyfills/node_process.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server/embed/polyfills/node_process.js b/server/embed/polyfills/node_process.js index d52e7114c..f98ac364f 100644 --- a/server/embed/polyfills/node_process.js +++ b/server/embed/polyfills/node_process.js @@ -195,6 +195,7 @@ process.removeAllListeners = noop; process.emit = noop; process.prependListener = noop; process.prependOnceListener = noop; +process.emitWarning = noop; process.listeners = function (name) { return [] }