diff --git a/lib/module.js b/lib/module.js index 1208a7f626ef63..2d886d8a52e761 100644 --- a/lib/module.js +++ b/lib/module.js @@ -3,7 +3,6 @@ const NativeModule = require('native_module'); const util = require('util'); const internalModule = require('internal/module'); -const internalUtil = require('internal/util'); const vm = require('vm'); const assert = require('assert').ok; const fs = require('fs'); @@ -640,11 +639,6 @@ Module._initPaths = function() { Module.globalPaths = modulePaths.slice(0); }; -// TODO(bnoordhuis) Unused, remove in the future. -Module.requireRepl = internalUtil.deprecate(function() { - return NativeModule.require('internal/repl'); -}, 'Module.requireRepl is deprecated.'); - Module._preloadModules = function(requests) { if (!Array.isArray(requests)) return;