<commit_before>"use strict";

define(["react"], function(React) {
    return function ParserOptions(props) {
        return (
            <div className="row">
                <div className="col-md-4">
                    <h3>ECMA Version</h3>
                    <select
                        value={props.options.ecmaVersion}
                        onChange={
                            function(event) {
                                props.onUpdate(Object.assign({}, props.options, { ecmaVersion: +event.target.value }));
                            }
                        }
                    >
                        <option value="3">3</option>
                        <option value="5">5</option>
                        <option value="6">6</option>
                        <option value="7">7</option>
                        <option value="8">8</option>
                    </select>
                </div>
                <div className="col-md-4">
                    <h3>Source Type</h3>
                    <select
                        value={props.options.sourceType}
                        onChange={
                            function(event) {
                                props.onUpdate(Object.assign({}, props.options, { sourceType: event.target.value }));
                            }
                        }
                    >
                        <option value="module">module</option>
                        <option value="script">script</option>
                    </select>
                </div>
                <div className="col-md-4">
                    <h3>ECMA Features</h3>
                    <div className="ecmaFeatures list">
                        {
                            ["jsx", "globalReturn", "impliedStrict", "experimentalObjectRestSpread"].map(function(ecmaFeature) {
                                return (<commit_msg>Update: allow to enable es9<commit_after>"use strict";

define(["react"], function(React) {
    return function ParserOptions(props) {
        return (
            <div className="row">
                <div className="col-md-4">
                    <h3>ECMA Version</h3>
                    <select
                        value={props.options.ecmaVersion}
                        onChange={
                            function(event) {
                                props.onUpdate(Object.assign({}, props.options, { ecmaVersion: +event.target.value }));
                            }
                        }
                    >
                        <option value="3">3</option>
                        <option value="5">5</option>
                        <option value="6">6</option>
                        <option value="7">7</option>
                        <option value="8">8</option>
                        <option value="9">9</option>
                    </select>
                </div>
                <div className="col-md-4">
                    <h3>Source Type</h3>
                    <select
                        value={props.options.sourceType}
                        onChange={
                            function(event) {
                                props.onUpdate(Object.assign({}, props.options, { sourceType: event.target.value }));
                            }
                        }
                    >
                        <option value="module">module</option>
                        <option value="script">script</option>
                    </select>
                </div>
                <div className="col-md-4">
                    <h3>ECMA Features</h3>
                    <div className="ecmaFeatures list">
                        {
                            ["jsx", "globalReturn", "impliedStrict", "experimentalObjectRestSpread"].map(function(ecmaFeature) {
                                return (
{'fraction_non_alphanumeric': 0.11392405063291139, 'fraction_numerical': 0.010591578403513303, 'mean_word_length': 0.9187314172447968, 'pattern_counts': {'":': 0, '<': 67, '<?xml version=': 0, '>': 67, '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': '6933584', 'n_tokens_mistral': 900, 'n_tokens_neox': 841, 'n_words': 134}