<commit_before>'use strict';

const internals = {
    allowed: [
        '_labScriptRun',                // Lab global to detect script executions

        // Enumerable globals

        'setTimeout',
        'setInterval',
        'setImmediate',
        'clearTimeout',
        'clearInterval',
        'clearImmediate',
        'console',
        'Buffer',
        'process',
        'global',
        'GLOBAL',
        'globalThis',
        'root',
        'constructor',
        'ArrayBuffer',
        'Int8Array',
        'Uint8Array',
        'Uint8ClampedArray',
        'Int16Array',
        'Uint16Array',
        'Int32Array',
        'Uint32Array',
        'Float32Array',
        'Float64Array',
        'DataView',
        '__$$labCov',
        'gc',

        // Non-Enumerable globals

        'Array',
        'isNaN',
        'ReferenceError',
        'Number',
        'RangeError',
        'EvalError',
        'FinalizationRegistry',
        'Function',
        'isFinite',
        'Object',
        'undefined',
        'Date',
        'SyntaxError',
        'String',
        'eval',
        'parseFloat',
        'unescape',
        'Error',
        'encodeURI',
        'NaN',
        'RegExp',
        'encodeURIComponent',
        'Math',
        'decodeURI',
        'parseInt',<commit_msg>lib: add new globals from Node.js 15.x (#997)<commit_after>'use strict';

const internals = {
    allowed: [
        '_labScriptRun',                // Lab global to detect script executions

        // Enumerable globals

        'setTimeout',
        'setInterval',
        'setImmediate',
        'clearTimeout',
        'clearInterval',
        'clearImmediate',
        'console',
        'AbortController',
        'AbortSignal',
        'AggregateError',
        'Buffer',
        'process',
        'global',
        'GLOBAL',
        'globalThis',
        'root',
        'constructor',
        'ArrayBuffer',
        'Int8Array',
        'Uint8Array',
        'Uint8ClampedArray',
        'Int16Array',
        'Uint16Array',
        'Int32Array',
        'Uint32Array',
        'Float32Array',
        'Float64Array',
        'DataView',
        '__$$labCov',
        'gc',
        'MessageChannel',
        'MessageEvent',
        'MessagePort',

        // Non-Enumerable globals

        'Array',
        'isNaN',
        'ReferenceError',
        'Number',
        'RangeError',
        'EvalError',
        'Event',
        'EventTarget',
        'FinalizationRegistry',
        'Function',
        'isFinite',
        'Object',
        'undefined',
        'Date',
        'SyntaxError',
        'String',
        'eval',
        'parseFloat',
        'unescape',
        'Error',
        'encodeURI',
        'NaN',
        'RegExp',
        'encodeURIComponent',
        'Math',
        'decodeURI',
        'parseInt',
{'fraction_non_alphanumeric': 0.1352014010507881, 'fraction_numerical': 0.012259194395796848, 'mean_word_length': 1.441025641025641, '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': '6498347', 'n_tokens_mistral': 825, 'n_tokens_neox': 807, 'n_words': 150}