diff --git a/lib/internal/bootstrap/node.js b/lib/internal/bootstrap/node.js index a1162d384a1215..d120d8ccae14e6 100644 --- a/lib/internal/bootstrap/node.js +++ b/lib/internal/bootstrap/node.js @@ -53,10 +53,6 @@ _setupPromises); NativeModule.require('internal/process/stdio').setup(); NativeModule.require('internal/process/methods').setup(_chdir, - _cpuUsage, - _hrtime, - _memoryUsage, - _rawDebug, _umask, _initgroups, _setegid, diff --git a/lib/internal/process/methods.js b/lib/internal/process/methods.js index 77ceeafef41122..38ba5f84b5a30a 100644 --- a/lib/internal/process/methods.js +++ b/lib/internal/process/methods.js @@ -4,8 +4,7 @@ const { isMainThread } = require('internal/worker'); -function setupProcessMethods(_chdir, _cpuUsage, _hrtime, _memoryUsage, - _rawDebug, _umask, _initgroups, _setegid, +function setupProcessMethods(_chdir, _umask, _initgroups, _setegid, _seteuid, _setgid, _setuid, _setgroups) { // Non-POSIX platforms like Windows don't have certain methods. // Workers also lack these methods since they change process-global state.