<commit_before>/* eslint-disable vars-on-top, no-inner-declarations, no-new-wrappers, no-buffer-constructor */
'use strict';

var hasSetSupport = require( '@stdlib/utils/detect-set-support' );
var hasMapSupport = require( '@stdlib/utils/detect-map-support' );
var Buffer = require( '@stdlib/buffer/ctor' );
var Int8Array = require( '@stdlib/array/int8' );
var Uint8Array = require( '@stdlib/array/uint8' );
var Uint8ClampedArray = require( '@stdlib/array/uint8c' );
var Int16Array = require( '@stdlib/array/int16' );
var Uint16Array = require( '@stdlib/array/uint16' );
var Int32Array = require( '@stdlib/array/int32' );
var Uint32Array = require( '@stdlib/array/uint32' );
var Float32Array = require( '@stdlib/array/float32' );
var Float64Array = require( '@stdlib/array/float64' );
var noop = require( '@stdlib/utils/noop' );

function Foo() {
	this._data = [ 1, 2, 3, 4 ];
	this._name = 'bar';
	return this;
}
Foo.prototype.beep = 'boop';
module.exports.Foo = Foo;

function Bar() {
	Object.defineProperty( this, 'baz', {
		'get': get
	});
	return this;

	function get() {
		return 1;
	}
}
module.exports.Bar = Bar;

if ( hasSetSupport() ) {
	var set = new Set( [ 1, 2, 3, 4 ] );
	module.exports.set = set;
}
if ( hasMapSupport() ) {
	var map = new Map();
	map.set( 'beep', 'boop' );
	module.exports.map = map;
}
var foo = new Foo();
module.exports.foo = foo;

var bar = new Bar();
Object.preventExtensions( bar );
Object.seal( bar );
Object.freeze( bar );
module.exports.bar = bar;

var date = new Date();
module.exports.date = date;

var re = /.*/;
module.exports.re = re;

var bool = new Boolean( true );
module.exports.bool = bool;

var str = new String( 'beep' );
module.exports.str = str;

var num = new Number( 3.14 );
module.exports.num = num;

var fcn = noop;
module.exports.fcn = fcn;

var buffer = new Buffer( [ 10, 20, 30, 40 ] );<commit_msg>Avoid nested exports<commit_after>/* eslint-disable vars-on-top, no-inner-declarations, no-new-wrappers, no-buffer-constructor */
'use strict';

var hasSetSupport = require( '@stdlib/utils/detect-set-support' );
var hasMapSupport = require( '@stdlib/utils/detect-map-support' );
var Buffer = require( '@stdlib/buffer/ctor' );
var Int8Array = require( '@stdlib/array/int8' );
var Uint8Array = require( '@stdlib/array/uint8' );
var Uint8ClampedArray = require( '@stdlib/array/uint8c' );
var Int16Array = require( '@stdlib/array/int16' );
var Uint16Array = require( '@stdlib/array/uint16' );
var Int32Array = require( '@stdlib/array/int32' );
var Uint32Array = require( '@stdlib/array/uint32' );
var Float32Array = require( '@stdlib/array/float32' );
var Float64Array = require( '@stdlib/array/float64' );
var noop = require( '@stdlib/utils/noop' );

function Foo() {
	this._data = [ 1, 2, 3, 4 ];
	this._name = 'bar';
	return this;
}
Foo.prototype.beep = 'boop';
module.exports.Foo = Foo;

function Bar() {
	Object.defineProperty( this, 'baz', {
		'get': get
	});
	return this;

	function get() {
		return 1;
	}
}
module.exports.Bar = Bar;

var set;
if ( hasSetSupport() ) {
	set = new Set( [ 1, 2, 3, 4 ] );
}
module.exports.set = set;

var map;
if ( hasMapSupport() ) {
	map = new Map();
	map.set( 'beep', 'boop' );
}
module.exports.map = map;

var foo = new Foo();
module.exports.foo = foo;

var bar = new Bar();
Object.preventExtensions( bar );
Object.seal( bar );
Object.freeze( bar );
module.exports.bar = bar;

var date = new Date();
module.exports.date = date;

var re = /.*/;
module.exports.re = re;

var bool = new Boolean( true );
module.exports.bool = bool;

var str = new String( 'beep' );
module.exports.str = str;

var num = new Number( 3.14 );
module.exports.num = num;

var fcn = noop;
module.exports.fcn = fcn;

var buffer = new Buffer( [ 10, 20, 30, 40 ] );
{'fraction_non_alphanumeric': 0.17636022514071295, 'fraction_numerical': 0.02680246582685607, 'mean_word_length': 4.050067658998647, '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': '1561480', 'n_tokens_mistral': 1452, 'n_tokens_neox': 1345, 'n_words': 354}