<commit_before>var importExpr = /^(\s*)(import\s+[^=+*"'\r\n;\/]+|from\s+[^=+"'\r\n;\/]+)(;|\/|$)/gm;

function replace(raw, p1, p2, p3) {
	if (!/\/\//.test(p1)) {
		return p1 + 'jsio("' + p2 + '")' + p3;
	}
	return raw;
}

exports = function (path, moduleDef, opts) {
	moduleDef.src = moduleDef.src.replace(importExpr, replace);
}<commit_msg>Use single quotes for preprocessing imports<commit_after>var importExpr = /^(\s*)(import\s+[^=+*"'\r\n;\/]+|from\s+[^=+"'\r\n;\/]+)(;|\/|$)/gm;

function replace(raw, p1, p2, p3) {
	if (!/\/\//.test(p1)) {
		return p1 + 'jsio(\'' + p2 + '\')' + p3;
	}
	return raw;
}

exports = function (path, moduleDef, opts) {
	moduleDef.src = moduleDef.src.replace(importExpr, replace);
}
{'fraction_non_alphanumeric': 0.2924791086350975, 'fraction_numerical': 0.019498607242339833, 'mean_word_length': 3.7933333333333334, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '4764308', 'n_tokens_mistral': 325, 'n_tokens_neox': 313, 'n_words': 55}