<commit_before>var uglifycss = require('uglifycss');
var uglifyjs = require('uglify-js');
var jsp = uglifyjs.parser;
var pro = uglifyjs.uglify;

module.exports = {
  js: function uglify(str, opt) {
    var ast = jsp.parse(str);
    ast = pro.ast_mangle(ast);
    ast = pro.ast_squeeze(ast);
    return pro.gen_code(ast, opt);
  },
  css: function uglifycss(str, opt) {
    return uglifycss.processString(str, opt);
  }
};<commit_msg>bugfix<commit_after>var uglifycss = require('uglifycss');
var uglifyjs = require('uglify-js');
var jsp = uglifyjs.parser;
var pro = uglifyjs.uglify;

module.exports = {
  js: function(str, opt) {
    var ast = jsp.parse(str);
    ast = pro.ast_mangle(ast);
    ast = pro.ast_squeeze(ast);
    return pro.gen_code(ast, opt);
  },
  css: function(str, opt) {
    return uglifycss.processString(str, opt);
  }
};
{'fraction_non_alphanumeric': 0.1543942992874109, 'fraction_numerical': 0.0, 'mean_word_length': 3.9881656804733727, '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': '6148203', 'n_tokens_mistral': 339, 'n_tokens_neox': 338, 'n_words': 66}