<commit_before>'use strict';

const getContents = require('vinyl-fs/lib/src/getContents');

module.exports = function (buffer) {
  // Read the file (default) or just put stream in Vinyl#contents property
  buffer = typeof buffer === 'undefined' ? true : buffer;

  // Read the file and put its content in Vinyl#contents property
  return getContents({ buffer: buffer });
};<commit_msg>const changed to var<commit_after>'use strict';

var getContents = require('vinyl-fs/lib/src/getContents');

module.exports = function (buffer) {
  // Read the file (default) or just put stream in Vinyl#contents property
  buffer = typeof buffer === 'undefined' ? true : buffer;

  // Read the file and put its content in Vinyl#contents property
  return getContents({ buffer: buffer });
};
{'fraction_non_alphanumeric': 0.11870967741935484, 'fraction_numerical': 0.0, 'mean_word_length': 4.464788732394366, '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': '3149656', 'n_tokens_mistral': 214, 'n_tokens_neox': 209, 'n_words': 81}