<commit_before>const exec = require("child_process").exec;
const os = require("os");
const fs = require("fs");
const path = require("path");
const childProcess = require("child_process");
const uglifyJS = require("uglify-es");
const watcher = require("./watcher");
const lexer = require("./compiler/lexer");
const server = require("./server/server");
const package = require("../package.json");
const cli = require("./cli");
const utils = require("./logger");

const needUpdate = {
	indexFile: false,
	files: false
};

const indexFiles = {};
let filesChanged = {};
let packageSrc = "./package.js";
let buildSrc = "./build/";
let entrySourceFile = null;

watcher.setEventListener((type, dir, file) => 
{
	if(type === "update") {
		filesChanged[file.rootPath + file.filename] = file;
		needUpdate.files = true;<commit_msg>Change dependency from uglify-es to uglify-js<commit_after>const exec = require("child_process").exec;
const os = require("os");
const fs = require("fs");
const path = require("path");
const childProcess = require("child_process");
const uglifyJS = require("uglify-js");
const watcher = require("./watcher");
const lexer = require("./compiler/lexer");
const server = require("./server/server");
const package = require("../package.json");
const cli = require("./cli");
const utils = require("./logger");

const needUpdate = {
	indexFile: false,
	files: false
};

const indexFiles = {};
let filesChanged = {};
let packageSrc = "./package.js";
let buildSrc = "./build/";
let entrySourceFile = null;

watcher.setEventListener((type, dir, file) => 
{
	if(type === "update") {
		filesChanged[file.rootPath + file.filename] = file;
		needUpdate.files = true;
{'fraction_non_alphanumeric': 0.18181818181818182, 'fraction_numerical': 0.0, 'mean_word_length': 5.150735294117647, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '2588238', 'n_tokens_mistral': 518, 'n_tokens_neox': 512, 'n_words': 134}