<commit_before>module.exports = function(fileBody, fileName) {
    return fileBody
      /* prefix downleveled classes w/ the @__PURE__ annotation */
      .replace(
          /^(var (\S+) = )(\(function \(\) \{\n(?:    (?:\/\*\*| \*|\*\/|\/\/)[^\n]*\n)*    function \2\([^\)]*\) \{\n)/mg,
          '$1/*@__PURE__*/$3'
      )
      /* prefix downleveled classes that extend another class w/ the @__PURE__ annotation */
      .replace(
          /^(var (\S+) = )(\(function \(_super\) \{\n    __extends\(\2, _super\);\n)/mg,
          '$1/*@__PURE__*/$3'
      )
        /* strip __extends helper */
        .replace(
            /^var __extends = \(.*\n(    .*\n)*\};\n/mg,
            '\n\n\n\n\n'
        )
        /* strip __decorate helper */
        .replace(
            /^var __decorate = \(.*\n(    .*\n)*\};\n/mg,
            '\n\n\n\n\n\n'
        )
        /* strip __metadata helper */
        .replace(
            /^var __metadata = \(.*\n(    .*\n)*\};\n/mg,
            '\n\n\n\n\n\n'
        )
        /* strip __param helper */
        .replace(
            /^var __param = \(.*\n(    .*\n)*\};\n/mg,
            '\n\n\n'
        )
        /* strip all license headers / comments */
        .replace(
            /\/\*\*\n \* @license.*\n( \*[^/].*\n)* \*\//mg,
            '\n'
        )
};<commit_msg>feat: prefix new Optional and new SkipSelf with PURE (#1)<commit_after>module.exports = function(fileBody, fileName) {
    return fileBody
      /* prefix downleveled classes w/ the @__PURE__ annotation */
      .replace(
          /^(var (\S+) = )(\(function \(\) \{\n(?:    (?:\/\*\*| \*|\*\/|\/\/)[^\n]*\n)*    function \2\([^\)]*\) \{\n)/mg,
          '$1/*@__PURE__*/$3'
      )
      /* prefix downleveled classes that extend another class w/ the @__PURE__ annotation */
      .replace(
          /^(var (\S+) = )(\(function \(_super\) \{\n    __extends\(\2, _super\);\n)/mg,
          '$1/*@__PURE__*/$3'
      )
        /* prefix new Optional() w/ the @__PURE__ annotation */
        .replace(
            /new __WEBPACK_IMPORTED_MODULE_\w+__angular_core__\["\w+" \/\* Optional \*\/]/mg,
            '/*@__PURE__*/$&'
        )
        /* prefix new SkipSelf() w/ the @__PURE__ annotation */
        .replace(
            /new __WEBPACK_IMPORTED_MODULE_\w+__angular_core__\["\w+" \/\* SkipSelf \*\/]/mg,
            '/*@__PURE__*/$&'
        )
        /* strip __extends helper */
        .replace(
            /^var __extends = \(.*\n(    .*\n)*\};\n/mg,
            '\n\n\n\n\n'
        )
        /* strip __decorate helper */
        .replace(
            /^var __decorate = \(.*\n(    .*\n)*\};\n/mg,
            '\n\n\n\n\n\n'
        )
        /* strip __metadata helper */
        .replace(
            /^var __metadata = \(.*\n(    .*\n)*\};\n/mg,
            '\n\n\n\n\n\n'
        )
        /* strip __param helper */
        .replace(
            /^var __param = \(.*\n(    .*\n)*\};\n/mg,
            '\n\n\n'
        )
        /* strip all license headers / comments */
        .replace(
            /\/\*\*\n \* @license.*\n( \*[^/].*\n)* \*\//mg,
            '\n'
        )
};
{'fraction_non_alphanumeric': 0.23574631646380526, 'fraction_numerical': 0.004163997437540038, 'mean_word_length': 1.2532467532467533, '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': '1907149', 'n_tokens_mistral': 1136, 'n_tokens_neox': 1093, 'n_words': 213}