<commit_before>'use strict';
require('./util/lodash-mixins')();

const _ = require('lodash');
const async = require('async');
const express = require('express');
const Router = require('express').Router;
const passport = require('passport');
const mustbe = require('mustbe');

const HttpsServer = require('./startup/hosting/HttpsServer');
const HttpRedirectServer = require('./startup/hosting/HttpRedirectServer');
const defaults = require('./startup/config/defaults');
const Resolver = require('./util/Resolver');

const createUser = require('./cli/createUser');

const configureAuthRoutes = require('./startup/configureAuthRoutes');
const configureErrorHandlers = require('./startup/configureErrorHandlers');
const configureExpress = require('./startup/configureExpress');
const configureMongoose = require('./startup/configureMongoose');
const configureMustbe = require('./startup/configureMustbe');
const configurePassport = require('./startup/configurePassport');
const configureRoutes = require('./startup/configureRoutes');
const configureStatic = require('./startup/configureStatic');

class SimpleServer {
  constructor(options) {
    const self = this;
    self.options = defaults.applyDefaults(options);
    self._app = express();
    self._router = new Router();
    self._middlewares = {};
    self._initDependencies();
  }<commit_msg>Fixed case sensitive issue<commit_after>'use strict';
require('./util/lodash-mixins')();

const _ = require('lodash');
const async = require('async');
const express = require('express');
const Router = require('express').Router;
const passport = require('passport');
const mustbe = require('mustbe');

const HttpsServer = require('./startup/hosting/HttpsServer');
const HttpRedirectServer = require('./startup/hosting/HttpRedirectServer');
const defaults = require('./startup/config/defaults');
const Resolver = require('./util/resolver');

const createUser = require('./cli/createUser');

const configureAuthRoutes = require('./startup/configureAuthRoutes');
const configureErrorHandlers = require('./startup/configureErrorHandlers');
const configureExpress = require('./startup/configureExpress');
const configureMongoose = require('./startup/configureMongoose');
const configureMustbe = require('./startup/configureMustbe');
const configurePassport = require('./startup/configurePassport');
const configureRoutes = require('./startup/configureRoutes');
const configureStatic = require('./startup/configureStatic');

class SimpleServer {
  constructor(options) {
    const self = this;
    self.options = defaults.applyDefaults(options);
    self._app = express();
    self._router = new Router();
    self._middlewares = {};
    self._initDependencies();
  }
{'fraction_non_alphanumeric': 0.15208564045773348, 'fraction_numerical': 0.0, 'mean_word_length': 6.131578947368421, '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': '6301773', 'n_tokens_mistral': 711, 'n_tokens_neox': 699, 'n_words': 151}