<commit_before>/*
	MIT License http://www.opensource.org/licenses/mit-license.php
	Author <NAME> @sokra
*/
var ModuleDependency = require("./ModuleDependency");

function AMDRequireItemDependency(request, range) {
	ModuleDependency.call(this, request);
	this.range = range;
}
module.exports = AMDRequireItemDependency;

AMDRequireItemDependency.prototype = Object.create(ModuleDependency.prototype);
AMDRequireItemDependency.prototype.constructor = AMDRequireItemDependency;
AMDRequireItemDependency.prototype.type = "amd require";

AMDRequireItemDependency.Template = require("./ModuleDependencyTemplateAsRequireId");<commit_msg>refactor of AMDRequireItemDependency to es6 (#3808)<commit_after>/*
	MIT License http://www.opensource.org/licenses/mit-license.php
	Author <NAME> @sokra
*/
"use strict";
const ModuleDependency = require("./ModuleDependency");
const ModuleDependencyTemplateAsRequireId = require("./ModuleDependencyTemplateAsRequireId");

class AMDRequireItemDependency extends ModuleDependency {
	constructor(request, range) {
		super(request);
		this.range = range;
	}

	get type() {
		return "amd require";
	}
}

AMDRequireItemDependency.Template = ModuleDependencyTemplateAsRequireId;

module.exports = AMDRequireItemDependency;
{'fraction_non_alphanumeric': 0.10923694779116466, 'fraction_numerical': 0.004016064257028112, 'mean_word_length': 7.197368421052632, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7649736', 'n_tokens_mistral': 346, 'n_tokens_neox': 332, 'n_words': 65}