<commit_before>module.exports = function inclusionFilter(packages) {
  return function(packageName) {
    if (packages.length === 0) { return true; }

    return packages.map(function(pkg) {
      return pkg.name;
    }).indexOf(packageName) > -1;
  };
};<commit_msg>Fix package name checking for svelte builds.<commit_after>module.exports = function inclusionFilter(packageNames) {
  return function(pkg) {
    if (packageNames.length === 0) { return true; }
    return packageNames.indexOf(pkg.name) > -1;
  };
};
{'fraction_non_alphanumeric': 0.1378640776699029, 'fraction_numerical': 0.007766990291262136, 'mean_word_length': 4.16, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '2814321', 'n_tokens_mistral': 157, 'n_tokens_neox': 152, 'n_words': 35}