<commit_before>var sFormat = require( 'stringformat' );
var transformTools = require( 'browserify-transform-tools' );
var path = require( 'path' );

var options = {
  excludeExtensions: [ '.json' ],
  evaluateArguments: true
};

module.exports = transformTools.makeRequireTransform( "requireTransform", options, function ( args, opts, cb ) {
  var configData = opts.configData || {};
  var config = configData.config || {};

  var key = args[ 0 ];

  var foundDep = config[ key ];

  if ( foundDep ) {
    return cb( null, sFormat( '({0})', foundDep ));
  }

  cb();
} );
<commit_msg>REF: Make sure we use single quotes<commit_after>var sFormat = require( 'stringformat' );
var transformTools = require( 'browserify-transform-tools' );
var path = require( 'path' );

var options = {
  excludeExtensions: [ '.json' ],
  evaluateArguments: true
};

module.exports = transformTools.makeRequireTransform( 'requireTransform', options, function ( args, opts, cb ) {
  var configData = opts.configData || {};
  var config = configData.config || {};

  var key = args[ 0 ];

  var foundDep = config[ key ];

  if ( foundDep ) {
    return cb( null, sFormat( '({0})', foundDep ));
  }

  cb();
} );

{'fraction_non_alphanumeric': 0.15714285714285714, 'fraction_numerical': 0.0033613445378151263, 'mean_word_length': 3.98326359832636, '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': '3169852', 'n_tokens_mistral': 372, 'n_tokens_neox': 361, 'n_words': 104}