<commit_before>'use strict';

var util     = require('util'),
    path     = require('path'),
    through  = require('through2'),
    defaults = require('../defaults.json'),
    pjson    = require('../../package.json');


module.exports = function(file, opts) {
  var port    = opts.config && opts.config.port ? opts.config.port : defaults.reloadPort,
      content = ''

  var isLiveReactloadModule = path.resolve(file).indexOf(path.resolve(__dirname, '..')) === 0
  var isReactModule         = file.indexOf(getModulePath('react')) !== -1
  var isBrowserifyModule    = file.indexOf(getModulePath('browserify')) !== -1

  return through(
    function(dat, enc, next) {<commit_msg>Do not inject reloading to livereactload transient dependencies, hopefully fixes #18 and #25<commit_after>'use strict';

var util     = require('util'),
    path     = require('path'),
    through  = require('through2'),
    defaults = require('../defaults.json'),
    pjson    = require('../../package.json');


module.exports = function(file, opts) {
  var port    = opts.config && opts.config.port ? opts.config.port : defaults.reloadPort,
      content = ''

  var isLiveReactloadModule = path.resolve(file).indexOf(path.resolve(__dirname, '..', '..')) === 0
  var isReactModule         = file.indexOf(getModulePath('react')) !== -1
  var isBrowserifyModule    = file.indexOf(getModulePath('browserify')) !== -1

  return through(
    function(dat, enc, next) {
{'fraction_non_alphanumeric': 0.16608996539792387, 'fraction_numerical': 0.008304498269896194, 'mean_word_length': 3.462962962962963, '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': '5187670', 'n_tokens_mistral': 429, 'n_tokens_neox': 419, 'n_words': 92}