<commit_before>'use strict';


var loader = require('./js-yaml/loader');


function deprecated(name) {
  return function () {
    throw new Error('Function ' + name + ' is deprecated and cannot be used.');
  };
}


module.exports.Schema         = require('./js-yaml/schema');
module.exports.MINIMAL_SCHEMA = require('./js-yaml/schema/minimal');
module.exports.SAFE_SCHEMA    = require('./js-yaml/schema/safe');
module.exports.DEFAULT_SCHEMA = require('./js-yaml/schema/default');
module.exports.Type           = require('./js-yaml/type');
module.exports.load           = loader.load;
module.exports.loadAll        = loader.loadAll;
module.exports.safeLoad       = loader.safeLoad;
module.exports.safeLoadAll    = loader.safeLoadAll;
module.exports.scan           = deprecated('scan');
module.exports.parse          = deprecated('parse');
module.exports.compose        = deprecated('compose');
module.exports.addConstructor = deprecated('addConstructor');


require('./js-yaml/require');
<commit_msg>Export `YAMLException` from the root module.<commit_after>'use strict';


var loader = require('./js-yaml/loader');


function deprecated(name) {
  return function () {
    throw new Error('Function ' + name + ' is deprecated and cannot be used.');
  };
}


module.exports.Type           = require('./js-yaml/type');
module.exports.Schema         = require('./js-yaml/schema');
module.exports.MINIMAL_SCHEMA = require('./js-yaml/schema/minimal');
module.exports.SAFE_SCHEMA    = require('./js-yaml/schema/safe');
module.exports.DEFAULT_SCHEMA = require('./js-yaml/schema/default');
module.exports.load           = loader.load;
module.exports.loadAll        = loader.loadAll;
module.exports.safeLoad       = loader.safeLoad;
module.exports.safeLoadAll    = loader.safeLoadAll;
module.exports.YAMLException  = require('./js-yaml/exception');
module.exports.scan           = deprecated('scan');
module.exports.parse          = deprecated('parse');
module.exports.compose        = deprecated('compose');
module.exports.addConstructor = deprecated('addConstructor');


require('./js-yaml/require');

{'fraction_non_alphanumeric': 0.15910176779741997, 'fraction_numerical': 0.0, 'mean_word_length': 3.5820568927789935, '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': '1623629', 'n_tokens_mistral': 612, 'n_tokens_neox': 589, 'n_words': 101}