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

function ImportDependenciesBlock(request, range, module, loc) {
	AsyncDependenciesBlock.call(this, null, module, loc);
	this.range = range;
	var dep = new ImportDependency(request, this);
	dep.loc = loc;
	this.addDependency(dep);
}
module.exports = ImportDependenciesBlock;

ImportDependenciesBlock.prototype = Object.create(AsyncDependenciesBlock.prototype);
ImportDependenciesBlock.prototype.constructor = ImportDependenciesBlock;<commit_msg>refactor ImportDependenciesBlock to es6 syntax (#3833)<commit_after>/*
	MIT License http://www.opensource.org/licenses/mit-license.php
	Author <NAME> @sokra
*/
"use strict";
const AsyncDependenciesBlock = require("../AsyncDependenciesBlock");
const ImportDependency = require("./ImportDependency");

module.exports = class ImportDependenciesBlock extends AsyncDependenciesBlock {
	constructor(request, range, module, loc) {
		super(null, module, loc);
		this.range = range;
		let dep = new ImportDependency(request, this);
		dep.loc = loc;
		this.addDependency(dep);
	}
}
{'fraction_non_alphanumeric': 0.12218649517684887, 'fraction_numerical': 0.0040192926045016075, 'mean_word_length': 6.366863905325443, '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': '7476488', 'n_tokens_mistral': 363, 'n_tokens_neox': 338, 'n_words': 79}