Sha256: ef189f7d9414878ea6a8113410fa7d817163f27fbd03e876441a5c6fba3a7e36

Contents?: true

Size: 491 Bytes

Versions: 11

Compression:

Stored size: 491 Bytes

Contents

/*
	MIT License http://www.opensource.org/licenses/mit-license.php
	Author Tobias Koppers @sokra
*/
"use strict";
const Dependency = require("../Dependency");

class ModuleDependency extends Dependency {
	constructor(request) {
		super();
		this.request = request;
		this.userRequest = request;
	}

	isEqualResource(other) {
		if(!(other instanceof ModuleDependency))
			return false;

		return this.request === other.request;
	}
}

module.exports = ModuleDependency;

Version data entries

11 entries across 7 versions & 4 rubygems

Version Path
ilog-0.4.1 node_modules/webpack/lib/dependencies/ModuleDependency.js
ilog-0.4.0 node_modules/webpack/lib/dependencies/ModuleDependency.js
ilog-0.3.3 node_modules/webpack/lib/dependencies/ModuleDependency.js
optimacms-0.4.3 spec/dummy/node_modules/@rails/webpacker/node_modules/webpack/lib/dependencies/ModuleDependency.js
optimacms-0.4.3 spec/dummy/node_modules/@rails/webpacker/node_modules/webpack/node_modules/webpack/lib/dependencies/ModuleDependency.js
optimacms-0.4.3 spec/dummy/node_modules/webpack/lib/dependencies/ModuleDependency.js
optimacms-0.4.2 spec/dummy/node_modules/@rails/webpacker/node_modules/webpack/lib/dependencies/ModuleDependency.js
optimacms-0.4.2 spec/dummy/node_modules/@rails/webpacker/node_modules/webpack/node_modules/webpack/lib/dependencies/ModuleDependency.js
optimacms-0.4.2 spec/dummy/node_modules/webpack/lib/dependencies/ModuleDependency.js
cortex-0.1.3 spec/dummy/node_modules/webpack/lib/dependencies/ModuleDependency.js
lanes-0.8.0 node_modules/webpack/lib/dependencies/ModuleDependency.js