Permalink
Browse files

module: Remove deprecated function requireRepl.

Refs: #4642
PR-URL: #8575
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information...
AdriVanHoudt authored and jasnell committed Sep 17, 2016
1 parent 1fda657 commit d58219361395486729b5d3ba4392a90754721640
Showing with 0 additions and 6 deletions.
  1. +0 −6 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;

0 comments on commit d582193

Please sign in to comment.