<commit_before>'use strict';

/* create.js
 * Create new tree components through SPV lib.
 */

function create(constructor, prototype){
  let NewComponent = function(){
    if (!new.target) return new NewComponent(...arguments);
    constructor.apply(this, arguments);
  }

  NewComponent.prototype = prototype;
  return NewComponent;
}

module.exports = create;<commit_msg>Add exports to object.<commit_after>'use strict';

/* create.js
 * Create new tree components through SPV lib.
 */

module.exports = exports = create;

function create(constructor, prototype){
  let NewComponent = function(){
    if (!new.target) return new NewComponent(...arguments);
    constructor.apply(this, arguments);
  }

  NewComponent.prototype = prototype;
  return NewComponent;
}
{'fraction_non_alphanumeric': 0.11994784876140809, 'fraction_numerical': 0.0, 'mean_word_length': 4.296551724137931, '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': '2073829', 'n_tokens_mistral': 210, 'n_tokens_neox': 206, 'n_words': 61}