<commit_before>const yaml = require('js-yaml');

module.exports = {
  process (source) {
    const res = yaml.safeLoad(source);
    return `module.exports = ${JSON.stringify(res, undefined, '\t')};`;
  },
};<commit_msg>HOMS-372 Fix updated js-yaml usage<commit_after>const yaml = require('js-yaml');

module.exports = {
  process (source) {
    const res = yaml.load(source);
    return `module.exports = ${JSON.stringify(res, undefined, '\t')};`;
  },
};
{'fraction_non_alphanumeric': 0.189010989010989, 'fraction_numerical': 0.006593406593406593, 'mean_word_length': 4.241379310344827, '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': '3209650', 'n_tokens_mistral': 157, 'n_tokens_neox': 153, 'n_words': 32}