<commit_before>'use strict';

var ownProp = ({}).hasOwnProperty;

module.exports.datesFromJSON = function(columns, data)
{
        var i, column, val;

        for (i = 0; i < columns.length; ++i)
        {
                column = columns[i];
                val = data[column];

                if (ownProp.call(data, column) &&
                    val !== undefined &&
                    val !== null)
                {
                        data[column] = val && new Date(val);
                }
        }

        return data;
};
<commit_msg>remove datesFromJSON, it is not used because we are using ejson now<commit_after>'use strict';

{'fraction_non_alphanumeric': 0.12093023255813953, 'fraction_numerical': 0.0015503875968992248, 'mean_word_length': 1.475095785440613, 'pattern_counts': {'":': 0, '<': 4, '<?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': '3921543', 'n_tokens_mistral': 183, 'n_tokens_neox': 171, 'n_words': 48}