From bbff7403fbf46f9ad92240ac213df8d30ef31b64 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 20 Sep 2018 02:56:13 +0200 Subject: update packages --- node_modules/webpack/lib/ModuleNotFoundError.js | 49 ++++++++++++------------- 1 file changed, 23 insertions(+), 26 deletions(-) (limited to 'node_modules/webpack/lib/ModuleNotFoundError.js') diff --git a/node_modules/webpack/lib/ModuleNotFoundError.js b/node_modules/webpack/lib/ModuleNotFoundError.js index 454cd48bf..cdfc3147b 100644 --- a/node_modules/webpack/lib/ModuleNotFoundError.js +++ b/node_modules/webpack/lib/ModuleNotFoundError.js @@ -1,26 +1,23 @@ -/* - MIT License http://www.opensource.org/licenses/mit-license.php - Author Tobias Koppers @sokra -*/ -"use strict"; - -const WebpackError = require("./WebpackError"); - -class ModuleNotFoundError extends WebpackError { - constructor(module, err, dependencies) { - super(); - - this.name = "ModuleNotFoundError"; - this.message = "Module not found: " + err; - this.details = err.details; - this.missing = err.missing; - this.module = module; - this.origin = module; - this.dependencies = dependencies; - this.error = err; - - Error.captureStackTrace(this, this.constructor); - } -} - -module.exports = ModuleNotFoundError; +/* + MIT License http://www.opensource.org/licenses/mit-license.php + Author Tobias Koppers @sokra +*/ +"use strict"; + +const WebpackError = require("./WebpackError"); + +class ModuleNotFoundError extends WebpackError { + constructor(module, err) { + super("Module not found: " + err); + + this.name = "ModuleNotFoundError"; + this.details = err.details; + this.missing = err.missing; + this.module = module; + this.error = err; + + Error.captureStackTrace(this, this.constructor); + } +} + +module.exports = ModuleNotFoundError; -- cgit v1.2.3