File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,14 +23,11 @@ module.exports = {
2323 "version" : "detect"
2424 }
2525 } ,
26- "parser" : "babel- eslint" ,
26+ "parser" : "@ babel/ eslint-parser " ,
2727 "parserOptions" : {
2828 "sourceType" : "module" ,
2929 "ecmaFeatures" : {
30- "jsx" : true ,
31- "modules" : true ,
32- "ecmaVersion" : 6 ,
33- "experimentalObjectRestSpread" : true
30+ "jsx" : true
3431 }
3532 } ,
3633 "rules" : {
Original file line number Diff line number Diff line change 3232 },
3333 "devDependencies" : {
3434 "@babel/core" : " ^7.29.0" ,
35+ "@babel/eslint-parser" : " ^7.28.6" ,
3536 "@babel/preset-env" : " ^7.29.2" ,
3637 "@babel/preset-react" : " ^7.28.5" ,
37- "babel-eslint" : " ^9.0.0" ,
3838 "babel-jest" : " 29" ,
3939 "babel-loader" : " ^10.1.1" ,
4040 "copy-webpack-plugin" : " 11" ,
4141 "core-js" : " ^3" ,
4242 "css-loader" : " ^7.1.4" ,
43- "eslint" : " 6.1.0 " ,
44- "eslint-plugin-jsx-a11y" : " ^6.4.1 " ,
45- "eslint-plugin-react" : " 7.14.3 " ,
43+ "eslint" : " 8 " ,
44+ "eslint-plugin-jsx-a11y" : " ^6.10.2 " ,
45+ "eslint-plugin-react" : " ^7.37.5 " ,
4646 "identity-obj-proxy" : " ^3.0.0" ,
4747 "jest" : " 29" ,
4848 "messageformat" : " 2.3.0" ,
4949 "ml-knn" : " ^3.0.0" ,
5050 "query-string" : " 4.1.0" ,
51- "react" : " ~15.4.0 " ,
52- "react-dom" : " ~15.4.0 " ,
51+ "react" : " 18 " ,
52+ "react-dom" : " 18 " ,
5353 "react-papaparse" : " ^3.8.0" ,
54- "react-redux" : " ^5.0.0 " ,
54+ "react-redux" : " 9 " ,
5555 "redux" : " ^4.0.5" ,
5656 "style-loader" : " ^4.0.0" ,
5757 "webpack" : " 5" ,
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ class DataTable extends Component {
143143 onKeyDown = { ( ) => this . setCurrentColumn ( columnId ) }
144144 onMouseEnter = { ( ) => this . setHighlightColumn ( columnId ) }
145145 onMouseLeave = { ( ) => this . setHighlightColumn ( undefined ) }
146- role = "presentation "
146+ role = "gridcell "
147147 >
148148 { startingRow !== undefined && index <= startingRow ? (
149149 < span > </ span >
Original file line number Diff line number Diff line change 11import React from "react" ;
2- import ReactDOM from "react-dom" ;
2+ import { createRoot } from "react-dom/client " ;
33import App from "./App.js" ;
44import { Provider } from "react-redux" ;
55import { createStore } from "redux" ;
@@ -42,15 +42,15 @@ export const initAll = function (options) {
4242 store . dispatch ( setMode ( mode ) ) ;
4343 processMode ( mode ) ;
4444
45- ReactDOM . render (
45+ const root = createRoot ( document . getElementById ( "root" ) ) ;
46+ root . render (
4647 < Provider store = { store } >
4748 < App
4849 mode = { mode }
4950 onContinue = { onContinue }
5051 startSaveTrainedModel = { startSaveTrainedModel }
5152 />
52- </ Provider > ,
53- document . getElementById ( "root" )
53+ </ Provider >
5454 ) ;
5555} ;
5656
You can’t perform that action at this time.
0 commit comments