<commit_before>'use strict';

const stableVersion = require('stable-node-version');
const pMap = require('p-map');

module.exports = config => {
	const versions = config.node_js || ['stable'];

	return pMap(versions, version => version === 'stable' ? stableVersion() : version);
};<commit_msg>add "node" version alias, fix #43<commit_after>'use strict';

const stableVersion = require('stable-node-version');
const pMap = require('p-map');

module.exports = config => {
	const versions = config.node_js || ['stable'];

	return pMap(versions, version => {
		if (version === 'stable' || version === 'node') {
			return stableVersion();
		}

		return version;
	});
};
{'fraction_non_alphanumeric': 0.1822289156626506, 'fraction_numerical': 0.0030120481927710845, 'mean_word_length': 5.045454545454546, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '2086975', 'n_tokens_mistral': 207, 'n_tokens_neox': 197, 'n_words': 52}