<commit_before>var babel = require("gulp-babel");
var sourcemaps = require("gulp-sourcemaps");

/**
 * Creates a task for transpiling files
 * Sourcemaps are generated inline, in the file so they are always
 * available
 */
module.exports = function(gulp, taskName, targetFiles, destinationDirectory) {
  gulp.task(taskName, function() {
    return gulp.src(targetFiles)
      .pipe(sourcemaps.init())
      .pipe(babel())
      .pipe(sourcemaps.write())
      .pipe(gulp.dest(destinationDirectory));
  });
};

<commit_msg>Enabled stage 0 experimental features in babel<commit_after>var babel = require("gulp-babel");
var sourcemaps = require("gulp-sourcemaps");

/**
 * Creates a task for transpiling files
 * Sourcemaps are generated inline, in the file so they are always
 * available
 */
module.exports = function(gulp, taskName, targetFiles, destinationDirectory) {
  gulp.task(taskName, function() {
    return gulp.src(targetFiles)
      .pipe(sourcemaps.init())
      .pipe(babel({
        // enables stage 0 experimental features
        stage: 0
      }))
      .pipe(sourcemaps.write())
      .pipe(gulp.dest(destinationDirectory));
  });
};


{'fraction_non_alphanumeric': 0.1291161178509532, 'fraction_numerical': 0.0025996533795493936, 'mean_word_length': 3.772727272727273, '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': '4976287', 'n_tokens_mistral': 344, 'n_tokens_neox': 334, 'n_words': 87}