<commit_before>var CRYPTO = require('crypto'),
    FS = require('fs'),
    PATH = require('path'),
    configs,
    config;

var minimatch = require('minimatch');

if (!PATH.sep) PATH.sep = process.platform === 'win32'? '\\' : '/';

/**
 * Path separator for RegExp
 * @type {string}
 */
var rePathSep = PATH.sep == '\\' ? '\\\\' : PATH.sep;

/**
 * Content type for inlined resources.
 * @constant
 * @type {Object}
 */
const contentTypes = {
    '.gif': 'image/gif',
    '.ico': 'image/x-icon',
    '.jpg': 'image/jpeg',
    '.png': 'image/png',
    '.svg': 'image/svg+xml',
    '.ttf': 'application/x-font-ttf',
    '.woff': 'application/x-font-woff'
};

/**
 * Clear config cache.
 * This function is usefull for unit-tests.
 */
var clearConfigCache = exports.clearConfigCache = function() {
    config = {
        paths: {},
        freezeNestingLevel: {},
        freezeWildcards: {},
        followSymlinks: {}
    };

    configs = {
        paths: {}
    };
};

clearConfigCache();

/**
 * Process image.
 *
 * @param {String} filePath Path to image file to process.
 * @returns {String} New path of processed image.
 */
exports.processPath = function(filePath) {<commit_msg>Add .eot to the freeze types list<commit_after>var CRYPTO = require('crypto'),
    FS = require('fs'),
    PATH = require('path'),
    configs,
    config;

var minimatch = require('minimatch');

if (!PATH.sep) PATH.sep = process.platform === 'win32'? '\\' : '/';

/**
 * Path separator for RegExp
 * @type {string}
 */
var rePathSep = PATH.sep == '\\' ? '\\\\' : PATH.sep;

/**
 * Content type for inlined resources.
 * @constant
 * @type {Object}
 */
const contentTypes = {
    '.gif': 'image/gif',
    '.ico': 'image/x-icon',
    '.jpg': 'image/jpeg',
    '.png': 'image/png',
    '.svg': 'image/svg+xml',
    '.eot': 'application/vnd.ms-fontobject',
    '.ttf': 'application/x-font-ttf',
    '.woff': 'application/x-font-woff'
};

/**
 * Clear config cache.
 * This function is usefull for unit-tests.
 */
var clearConfigCache = exports.clearConfigCache = function() {
    config = {
        paths: {},
        freezeNestingLevel: {},
        freezeWildcards: {},
        followSymlinks: {}
    };

    configs = {
        paths: {}
    };
};

clearConfigCache();

/**
 * Process image.
 *
 * @param {String} filePath Path to image file to process.
 * @returns {String} New path of processed image.
 */
exports.processPath = function(filePath) {
{'fraction_non_alphanumeric': 0.19112207151664612, 'fraction_numerical': 0.0016440608302507192, 'mean_word_length': 2.7217125382262997, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '2521887', 'n_tokens_mistral': 830, 'n_tokens_neox': 806, 'n_words': 192}