<commit_before>'use strict';

/* eslint-disable prefer-template */

/*!
 * Collection
 * https://github.com/kobezzza/Collection
 *
 * Released under the MIT license
 * https://github.com/kobezzza/Collection/blob/master/LICENSE
 */

const
	gulp = require('gulp'),
	$ = require('gulp-load-plugins')(),
	{test} = require('./helpers');

const
	path = require('path'),
	{Transform} = require('stream');

gulp.task('build:node', () =>
	gulp.src('./src/**/*.js', {since: gulp.lastRun('build:node')})
		.pipe($.plumber())
		.pipe($.babel({
			babelrc: false,
			plugins: [['@babel/plugin-transform-modules-commonjs', {loose: true}]]
		}))

		.pipe(gulp.dest('./dist/node'))
);

gulp.task('build:browser', () => {
	const
		del = require('del'),<commit_msg>Removed loose fro modules<commit_after>'use strict';

/* eslint-disable prefer-template */

/*!
 * Collection
 * https://github.com/kobezzza/Collection
 *
 * Released under the MIT license
 * https://github.com/kobezzza/Collection/blob/master/LICENSE
 */

const
	gulp = require('gulp'),
	$ = require('gulp-load-plugins')(),
	{test} = require('./helpers');

const
	path = require('path'),
	{Transform} = require('stream');

gulp.task('build:node', () =>
	gulp.src('./src/**/*.js', {since: gulp.lastRun('build:node')})
		.pipe($.plumber())
		.pipe($.babel({
			babelrc: false,
			plugins: [['@babel/plugin-transform-modules-commonjs']]
		}))

		.pipe(gulp.dest('./dist/node'))
);

gulp.task('build:browser', () => {
	const
		del = require('del'),
{'fraction_non_alphanumeric': 0.23205902079141516, 'fraction_numerical': 0.0, 'mean_word_length': 4.180555555555555, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 4, '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': '6384670', 'n_tokens_mistral': 555, 'n_tokens_neox': 532, 'n_words': 80}