<commit_before>'use strict';

var CompilerAdapter = require('./lib/compilerAdapter');

/**
 * @external GlobString
 * @typedef {String} GlobString
 * @see {@link https://github.com/isaacs/minimatch#features}
 */

/**
 * @private
 * @external Compiler
 * @typedef {Object} Compiler
 * @see {@link https://github.com/webpack/webpack/blob/master/lib/Compiler.js}
 */

/**
 * @external Error
 * @typedef {Object} Error
 * @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error}
 */

/**
 * @external Promise
 * @typedef {Object} Promise
 * @see {@link https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Promise}
 */

/**
 * @external Stats
 * @typedef {Object} Stats
 * @see {@link https://webpack.github.io/docs/node.js-api.html#stats}
 */

/**
 * Called when `webpack.config.js` file is compiled. Will be passed `err` and `stats` objects
 * @callback compilationCallback
 * @function
 * @param {Error} err
 * @param {Stats} stats
 */

/**
 * @private
 * @typedef {Object} CompilationViolations
 * @property {String[]} fatalErrors
 * @property {String[]} errors
 * @property {String[]} warnings
 */

/**
 * @typedef {Object|Boolean} FailOnOptions
 * @property {Boolean} [errors=false] - Fails build if some `stats` objects have some errors
 * @property {Boolean} [warnings=false] - Fails build if some `stats` objects have some warnings
 */

/**
 * @typedef {Object} CompilerOptions
 * @property {Boolean} [progress=false] - Displays compilation progress
 * @property {Boolean} [memoryFs=false] - Compiles to {@link https://webpack.github.io/docs/node.js-api.html#compile-to-memory memory}
 * @property {Boolean} [json=false] - Saves `stats` object to JSON file
 * @property {Boolean} [profile=false] - Captures timing information for each module
 * @property {FailOnOptions} [failOn={}] - In case when `failOn` is `Boolean` then all nested `failOn.*` properties will be filled out with that value
 */

/**
 * @external WebpackOptions<commit_msg>docs(index): updates `jsdoc`<commit_after>'use strict';

var CompilerAdapter = require('./lib/compilerAdapter');

/**
 * @external GlobString
 * @typedef {String} GlobString
 * @see {@link https://github.com/isaacs/minimatch#features}
 */

/**
 * @private
 * @external Compiler
 * @typedef {Object} Compiler
 * @see {@link https://github.com/webpack/webpack/blob/master/lib/Compiler.js}
 */

/**
 * @external Error
 * @typedef {Object} Error
 * @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error}
 */

/**
 * @external Promise
 * @typedef {Object} Promise
 * @see {@link https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Promise}
 */

/**
 * @external Stats
 * @typedef {Object} Stats
 * @see {@link https://webpack.github.io/docs/node.js-api.html#stats}
 */

/**
 * Called when `webpack.config.js` file is compiled. Will be passed `err` and `stats` objects
 * @callback compilationCallback
 * @function
 * @param {Error} err
 * @param {Stats} stats
 */

/**
 * @private
 * @typedef {Object} CompilationViolations
 * @property {String[]} fatalErrors
 * @property {String[]} errors
 * @property {String[]} warnings
 */

/**
 * @typedef {Object|Boolean} FailOnOptions
 * @property {Boolean} [errors=false] - Fails build if some `stats` objects have some errors
 * @property {Boolean} [warnings=false] - Fails build if some `stats` objects have some warnings
 */

/**
 * @typedef {Object} CompilerOptions
 * @property {Boolean} [progress=false] - Displays compilation progress
 * @property {Boolean} [memoryFs=false] - Compiles to {@link https://webpack.github.io/docs/node.js-api.html#compile-to-memory memory}
 * @property {Boolean} [json=false] - Saves `stats` object to JSON file
 * @property {FailOnOptions} [failOn={}] - In case when `failOn` is `Boolean` then all nested `failOn.*` properties will be filled out with that value
 */

/**
 * @external WebpackOptions
{'fraction_non_alphanumeric': 0.16043456291056088, 'fraction_numerical': 0.0, 'mean_word_length': 4.35, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 12, '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': '4677691', 'n_tokens_mistral': 1251, 'n_tokens_neox': 1198, 'n_words': 324}