<commit_before>/*
 * min-webdriver
 *
 * Copyright (c) 2014 <NAME> <<EMAIL>>
 *
 * @license MIT
 */
'use strict';

var through = require('through');

module.exports = function () {
  return through(function write(data) {
    this.queue('require("min-wd");');
    this.queue(data);
  });
};<commit_msg>Only inject require into .js files<commit_after>/*
 * min-webdriver
 *
 * Copyright (c) 2014 <NAME> <<EMAIL>>
 *
 * @license MIT
 */
'use strict';

var through = require('through');

module.exports = function (file) {
  if (file.match(/\.js$/)) {
    return through(function write(data) {
      this.queue('require("min-wd");');
      this.queue(data);
    });
  }
  return through();
};
{'fraction_non_alphanumeric': 0.2005813953488372, 'fraction_numerical': 0.011627906976744186, 'mean_word_length': 3.5328947368421053, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '2435333', 'n_tokens_mistral': 240, 'n_tokens_neox': 230, 'n_words': 52}