<commit_before>// eslint-disable-next-line no-unused-vars
function EvalDecode(source) {
  self._eval = self.eval;

  self.eval = (_code) => {
    return _code;
  };

  setTimeout(() => {
    self.eval = self._eval;
  }, 0);

  return self._eval(source);
}<commit_msg>Update EvalDecode<commit_after>/* global utils */
// eslint-disable-next-line no-unused-vars
function EvalDecode(source, options) {
  self._eval = self.eval;

  self.eval = (_code) => {
    self.eval = self._eval;

    _code = _code.split(';');
    _code = _code.map((piece) => {
      if (options.calc) piece = utils.calcHex(piece);
      if (options._unescape) piece = utils._unescape(piece);
      piece = utils._boolean(piece);
      piece = utils.propArr(piece);

      return piece;
    });
    _code = _code.join(';');

    if (options.calc) _code = utils.calcNumber(_code);
    _code = utils.strMerge(_code);
    if (options.methodChain) _code = utils.methodChain(_code);

    return _code;
  };

  return self._eval(source);
}
{'fraction_non_alphanumeric': 0.16167664670658682, 'fraction_numerical': 0.000998003992015968, 'mean_word_length': 3.110655737704918, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '1021655', 'n_tokens_mistral': 344, 'n_tokens_neox': 345, 'n_words': 66}