opensearch-project / oui

OpenSearch UI Framework
Apache License 2.0
36 stars 70 forks source link

Audit outdated dependencies #594

Open BSFishy opened 1 year ago

BSFishy commented 1 year ago

We are constantly having issues trying to update old dependencies and add resolutions to make things work. We should set aside some time to audit our outdated dependencies and see if we can easily upgrade them to their latest versions.

Currently outdated dependencies:

yarn outdated v1.22.19
info Color legend : 
 "<red>"    : Major Update backward-incompatible updates 
 "<yellow>" : Minor Update backward-compatible features 
 "<green>"  : Patch Update backward-compatible bug fixes
Package                             Current  Wanted   Latest   Package Type           URL                                                                                              
@axe-core/puppeteer                 4.1.1    4.6.0    4.6.0    devDependencies        https://github.com/dequelabs/axe-core-npm#readme                                                 
@elastic/charts                     30.2.0   30.2.0   54.0.0   devDependencies        https://github.com/elastic/elastic-charts#readme                                                 
@svgr/core                          5.4.0    5.4.0    6.5.1    devDependencies        https://react-svgr.com                                                                           
@svgr/plugin-svgo                   4.2.0    4.3.1    6.5.1    devDependencies        https://react-svgr.com                                                                           
@types/chroma-js                    2.0.0    2.4.0    2.4.0    dependencies           https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chroma-js                   
@types/classnames                   2.2.10   2.3.1    2.3.1    devDependencies                                                                                                         
@types/enzyme                       3.10.6   3.10.12  3.10.12  devDependencies        https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/enzyme                      
@types/jest                         24.9.1   24.9.1   29.4.1   devDependencies        https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest                        
@types/lodash                       4.14.160 4.14.191 4.14.191 dependencies           https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lodash                      
@types/node                         10.17.24 10.17.60 18.15.2  devDependencies        https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node                        
@types/numeral                      0.0.28   0.0.28   2.0.2    dependencies           https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/numeral                     
@types/react                        16.9.35  16.14.35 18.0.28  devDependencies        https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react                       
@types/react-beautiful-dnd          13.0.0   13.1.3   13.1.3   dependencies           https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-beautiful-dnd         
@types/react-dom                    16.9.8   16.9.18  18.0.11  devDependencies        https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom                   
@types/react-input-autosize         2.2.0    2.2.1    2.2.1    dependencies           https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-input-autosize        
@types/react-is                     16.7.1   16.7.2   17.0.3   devDependencies        https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-is                    
@types/react-router-dom             5.1.5    5.3.3    5.3.3    devDependencies        https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-router-dom            
@types/react-virtualized-auto-sizer 1.0.0    1.0.1    1.0.1    dependencies           https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-virtualized-auto-sizer
@types/react-window                 1.8.2    1.8.5    1.8.5    dependencies           https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-window                
@types/refractor                    3.0.0    3.0.2    3.0.2    dependencies           https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/refractor                   
@types/resize-observer-browser      0.1.5    0.1.7    0.1.7    dependencies           https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/resize-observer-browser     
@types/tabbable                     3.1.0    3.1.2    3.1.2    devDependencies        https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tabbable                    
@types/url-parse                    1.4.3    1.4.8    1.4.8    devDependencies        https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/url-parse                   
@types/uuid                         8.3.0    8.3.4    9.0.1    devDependencies        https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uuid                        
@typescript-eslint/eslint-plugin    4.8.1    4.33.0   5.55.0   devDependencies        https://github.com/typescript-eslint/typescript-eslint#readme                                    
@typescript-eslint/parser           4.8.1    4.33.0   5.55.0   devDependencies        https://github.com/typescript-eslint/typescript-eslint#readme                                    
ansi-html                           0.0.8    0.0.8    0.0.9    resolutionDependencies https://github.com/Tjatse/ansi-html                                                              
ansi-regex                          5.0.1    5.0.1    6.0.1    resolutionDependencies https://github.com/chalk/ansi-regex#readme                                                       
axe-core                            4.1.1    4.6.3    4.6.3    devDependencies        https://www.deque.com/axe/                                                                       
axios                               0.21.4   0.21.4   1.3.4    resolutionDependencies https://axios-http.com                                                                           
babel-jest                          24.9.0   24.9.0   29.5.0   devDependencies        https://github.com/facebook/jest#readme                                                          
babel-plugin-add-module-exports     1.0.2    1.0.4    1.0.4    devDependencies        https://github.com/59naga/babel-plugin-add-module-exports#readme                                 
babel-plugin-inline-react-svg       1.1.1    1.1.2    2.0.2    devDependencies        https://github.com/kesne/babel-plugin-inline-react-svg#readme                                    
chalk                               4.1.0    4.1.2    5.2.0    devDependencies        https://github.com/chalk/chalk#readme                                                            
chokidar                            3.4.2    3.5.3    3.5.3    devDependencies        https://github.com/paulmillr/chokidar                                                            
chroma-js                           2.1.0    2.4.2    2.4.2    dependencies           https://github.com/gka/chroma.js                                                                 
classnames                          2.2.6    2.3.2    2.3.2    dependencies           https://github.com/JedWatson/classnames#readme                                                   
codesandbox                         2.1.16   2.2.3    2.2.3    devDependencies        https://github.com/codesandbox-app/codesandbox-importers#readme                                  
core-js                             3.6.5    3.29.1   3.29.1   devDependencies        https://github.com/zloirock/core-js#readme                                                       
cross-env                           7.0.2    7.0.3    7.0.3    devDependencies        https://github.com/kentcdodds/cross-env#readme                                                   
deasync                             0.1.20   0.1.28   0.1.28   devDependencies        https://github.com/abbr/deasync                                                                  
enzyme-adapter-react-16             1.15.4   1.15.7   1.15.7   devDependencies        https://enzymejs.github.io/enzyme/                                                               
enzyme-to-json                      3.5.0    3.6.2    3.6.2    devDependencies        https://github.com/adriantoine/enzyme-to-json#readme                                             
eslint                              7.10.0   7.32.0   8.36.0   resolutionDependencies https://eslint.org                                                                               
eslint                              7.10.0   7.32.0   8.36.0   devDependencies        https://eslint.org                                                                               
eslint-config-prettier              6.12.0   6.15.0   8.7.0    devDependencies        https://github.com/prettier/eslint-config-prettier#readme                                        
eslint-import-resolver-webpack      0.13.0   0.13.2   0.13.2   devDependencies        https://github.com/import-js/eslint-plugin-import/tree/HEAD/resolvers/webpack                    
eslint-plugin-import                2.22.1   2.27.5   2.27.5   devDependencies        https://github.com/import-js/eslint-plugin-import                                                
eslint-plugin-jest                  24.7.0   24.7.0   27.2.1   devDependencies        https://github.com/jest-community/eslint-plugin-jest#readme                                      
eslint-plugin-jsx-a11y              6.3.1    6.7.1    6.7.1    devDependencies        https://github.com/jsx-eslint/eslint-plugin-jsx-a11y#readme                                      
eslint-plugin-mocha                 8.0.0    8.2.0    10.1.0   devDependencies        https://github.com/lo1tuma/eslint-plugin-mocha                                                   
eslint-plugin-prettier              3.1.4    3.4.1    4.2.1    devDependencies        https://github.com/prettier/eslint-plugin-prettier#readme                                        
eslint-plugin-react                 7.21.3   7.32.2   7.32.2   devDependencies        https://github.com/jsx-eslint/eslint-plugin-react                                                
eslint-plugin-react-hooks           4.1.2    4.6.0    4.6.0    devDependencies        https://reactjs.org/                                                                             
faker                               4.1.0    4.1.0    6.6.6    devDependencies        https://github.com/Marak/Faker.js#readme                                                         
find-versions                       4.0.0    4.0.0    5.1.0    resolutionDependencies https://github.com/sindresorhus/find-versions#readme                                             
get-port                            5.1.1    5.1.1    6.1.2    devDependencies        https://github.com/sindresorhus/get-port#readme                                                  
glob                                7.1.6    7.2.3    9.2.1    devDependencies        https://github.com/isaacs/node-glob#readme                                                       
got                                 11.8.5   11.8.6   12.6.0   resolutionDependencies https://github.com/sindresorhus/got#readme                                                       
html-format                         1.0.1    1.0.2    1.0.2    devDependencies        https://github.com/mohd-akram/html-format#readme                                                 
jest                                24.9.0   24.9.0   29.5.0   devDependencies        https://jestjs.io/                                                                               
jest-cli                            24.9.0   24.9.0   29.5.0   devDependencies        https://jestjs.io/                                                                               
js-yaml                             3.13.1   3.14.1   4.1.0    resolutionDependencies https://github.com/nodeca/js-yaml#readme                                                         
make-fetch-happen                   4.0.2    4.0.2    11.0.3   resolutionDependencies https://github.com/npm/make-fetch-happen#readme                                                  
mdast-util-to-hast                  10.0.0   10.2.0   12.3.0   dependencies           https://github.com/syntax-tree/mdast-util-to-hast#readme                                         
micromatch                          3.1.10   3.1.10   4.0.5    resolutionDependencies https://github.com/micromatch/micromatch                                                         
minimatch                           3.1.2    3.1.2    7.4.2    resolutionDependencies https://github.com/isaacs/minimatch#readme                                                       
minimist                            1.2.6    1.2.8    1.2.8    resolutionDependencies https://github.com/minimistjs/minimist                                                           
moment-timezone                     0.5.35   0.5.41   0.5.41   devDependencies        http://momentjs.com/timezone/                                                                    
node-sass                           7.0.1    7.0.3    8.0.0    devDependencies        https://github.com/sass/node-sass                                                                
pacote                              12.0.3   12.0.3   15.1.1   resolutionDependencies https://github.com/npm/pacote#readme                                                             
prettier                            2.1.2    2.8.4    2.8.4    devDependencies        https://prettier.io                                                                              
prop-types                          15.7.2   15.8.1   15.8.1   dependencies           https://facebook.github.io/react/                                                                
puppeteer                           5.5.0    5.5.0    19.7.4   devDependencies        https://github.com/puppeteer/puppeteer/tree/main#readme                                          
qs                                  6.11.0   6.11.1   6.11.1   resolutionDependencies https://github.com/ljharb/qs                                                                     
ramda                               0.27.1   0.27.2   0.28.0   resolutionDependencies https://ramdajs.com/                                                                             
raw-loader                          4.0.1    4.0.2    4.0.2    devDependencies        https://github.com/webpack-contrib/raw-loader                                                    
react                               16.14.0  16.14.0  18.2.0   devDependencies        https://reactjs.org/                                                                             
react-ace                           7.0.5    7.0.5    10.1.0   dependencies           https://github.com/securingsincity/react-ace#readme                                              
react-beautiful-dnd                 13.0.0   13.1.1   13.1.1   dependencies           https://github.com/atlassian/react-beautiful-dnd#readme                                          
react-docgen-typescript             1.20.5   1.22.0   2.2.2    devDependencies        https://github.com/styleguidist/react-docgen-typescript/                                         
react-dom                           16.12.0  16.14.0  18.2.0   devDependencies        https://reactjs.org/                                                                             
react-dropzone                      11.2.0   11.7.1   14.2.3   dependencies           https://github.com/react-dropzone/react-dropzone                                                 
react-focus-on                      3.5.0    3.7.0    3.7.0    dependencies           https://github.com/theKashey/react-focus-on#readme                                               
react-input-autosize                2.2.2    2.2.2    3.0.0    dependencies           https://github.com/JedWatson/react-input-autosize#readme                                         
react-is                            16.3.2   16.3.2   18.2.0   dependencies           https://reactjs.org/                                                                             
react-redux                         7.2.1    7.2.9    8.0.5    devDependencies        https://github.com/reduxjs/react-redux                                                           
react-router                        5.2.0    5.3.4    6.9.0    devDependencies        https://github.com/remix-run/react-router#readme                                                 
react-router-dom                    5.2.0    5.3.4    6.9.0    devDependencies        https://github.com/remix-run/react-router#readme                                                 
react-test-renderer                 16.13.1  16.14.0  18.2.0   devDependencies        https://reactjs.org/                                                                             
react-view                          2.3.2    2.3.7    2.3.7    devDependencies        https://github.com/uber/react-view#readme                                                        
react-virtualized-auto-sizer        1.0.2    1.0.7    1.0.7    dependencies           https://github.com/bvaughn/react-virtualized-auto-sizer/                                         
react-window                        1.8.5    1.8.8    1.8.8    dependencies           http://react-window.now.sh/                                                                      
redux                               4.0.5    4.2.1    4.2.1    devDependencies        http://redux.js.org                                                                              
redux-thunk                         2.3.0    2.4.2    2.4.2    devDependencies        https://github.com/reduxjs/redux-thunk                                                           
refractor                           3.6.0    3.6.0    4.8.1    dependencies           https://github.com/wooorm/refractor#readme                                                       
rehype-raw                          5.0.0    5.1.0    6.1.1    dependencies           https://github.com/rehypejs/rehype-raw#readme                                                    
rehype-react                        6.1.0    6.2.1    7.1.2    dependencies           https://github.com/rehypejs/rehype-react#readme                                                  
rehype-stringify                    8.0.0    8.0.0    9.0.3    dependencies           https://github.com/rehypejs/rehype                                                               
remark-emoji                        2.1.0    2.2.0    3.1.1    dependencies           https://github.com/rhysd/remark-emoji#readme                                                     
remark-parse                        8.0.3    8.0.3    10.0.1   dependencies           https://remark.js.org                                                                            
remark-rehype                       8.0.0    8.1.0    10.1.0   dependencies           https://github.com/remarkjs/remark-rehype#readme                                                 
resolve                             1.17.0   1.22.1   1.22.1   devDependencies        https://github.com/browserify/resolve#readme                                                     
rimraf                              3.0.2    3.0.2    4.4.0    devDependencies        https://github.com/isaacs/rimraf#readme                                                          
selfsigned                          2.0.1    2.1.1    2.1.1    resolutionDependencies https://github.com/jfromaniello/selfsigned#readme                                                
serialize-javascript                3.1.0    3.1.0    6.0.1    resolutionDependencies https://github.com/yahoo/serialize-javascript                                                    
start-server-and-test               1.11.3   1.15.5   2.0.0    devDependencies        https://github.com/bahmutov/start-server-and-test#readme                                         
tabbable                            3.1.2    3.1.2    6.1.1    dependencies           https://github.com/focus-trap/tabbable#readme                                                    
trim                                0.0.3    0.0.3    1.0.1    resolutionDependencies https://github.com/Trott/trim#readme                                                             
typescript                          4.0.5    4.0.5    4.9.5    devDependencies        https://www.typescriptlang.org/                                                                  
unified                             9.2.0    9.2.2    10.1.2   dependencies           https://unifiedjs.com                                                                            
unist-util-visit                    2.0.3    2.0.3    4.1.2    dependencies           https://github.com/syntax-tree/unist-util-visit#readme                                           
uuid                                8.3.0    8.3.2    9.0.0    dependencies           https://github.com/uuidjs/uuid#readme                                                            
vfile                               4.2.0    4.2.1    5.3.7    dependencies           https://github.com/vfile/vfile#readme                                                            
webpack                             5.76.0   5.76.1   5.76.1   devDependencies        https://github.com/webpack/webpack                                                               
webpack-dev-server                  3.11.3   3.11.3   4.11.1   devDependencies        https://github.com/webpack/webpack-dev-server#readme                                             
y18n                                4.0.3    4.0.3    5.0.8    resolutionDependencies https://github.com/yargs/y18n                                                                    
yeoman-generator                    5.7.0    5.8.0    5.8.0    devDependencies        http://yeoman.io                                                                                 
yo                                  4.3.0    4.3.1    4.3.1    devDependencies        http://yeoman.io                                                                                 
Done in 3.27s.
andreymyssak commented 1 year ago

Hello, I would like to work on this task

andreymyssak commented 1 year ago

Discovery/Analysis based on https://github.com/opensearch-project/oui/pull/609

Icon Meaning
:green_circle: dependency has been updated to the latest version
:orange_circle: dependency has not been updated to the latest version for some reason (see comments section)
:warning: it is better to migrate to another dependency
:wastebasket: dependency has been removed because it is no longer used
Dependency Comments
:wastebasket: @types/classnames After updating classnames to the latest version, it becomes a type definition stub
:wastebasket: @types/tabbable After updating tabbable to the latest version, it becomes a type definition stub.

Update: https://github.com/opensearch-project/oui/pull/650
:wastebasket: axe-core Not used
:wastebasket: make-fetch-happen Resolution. After updating codesandbox to the latest version it becomes irrelevant
:wastebasket: micromatch Resolution. Not used
:wastebasket: qs Resolution. Not used
:wastebasket: react-test-renderer Not used
:wastebasket: y18n Resolution. Not used
Dependency Before Current Latest Comments
:orange_circle: @axe-core/puppeteer 4.1.1 4.6.1 4.7.1 Higher than v4.7.0 requires Node >= 15.14.0
:orange_circle: @types/enzyme 3.10.5 3.10.12 3.10.13 Higher than v3.10.12 requires typescript >= 4.3.x
:orange_circle: @types/lodash 4.14.160 4.14.192 4.14.194 Higher than v4.14.192 requires typescript >= 4.3.x
:orange_circle: ansi-regex 5.0.1 5.0.1 6.0.1 Resolution. Higher than v5.0.1 works only with ESM modules v6.0.1 is an ESM module
:orange_circle: axios 0.21.4 0.22.0 1.3.4 Resolution. The new version contains only fixes
:orange_circle: chalk 4.1.0 4.1.2 5.2.0 Higher than v4.1.2 works only with ESM modules
:warning: faker 4.1.0 5.5.3 6.6.6 It is no longer supported, I suggest migrating to @faker-js/faker.

Update: https://github.com/opensearch-project/oui/pull/655 (v7.6.0), https://github.com/opensearch-project/oui/pull/768 (v8.0.0)
:orange_circle: get-port 5.1.1 5.1.1 6.1.2 Higher than v5.1.1 works only with ESM modules
:orange_circle: glob 7.1.6 8.1.0 9.3.1 Higher than v8.1.0 requires Node >= 16
:orange_circle: meow 9.0.0 9.0.0 11.0.0 Resolution. Higher than v9.0.0 works only with ESM modules
:orange_circle: puppeteer 5.5.0 19.11.1 20.2.1 Higher than v20.0.0 requires Node > 14
:orange_circle: react-ace 7.0.5 7.0.5 10.1.0 It has not been updated because the component in which it is used (OuiCodeEditor) is outdated and will be removed in future releases according to the documentation.
:orange_circle: react-docgen-typescript 1.20.5 1.22.0 2.2.2 Higher than v1.22.0 requires typescript >= 4.3.x
:orange_circle: react-focus-on 3.5.0 3.5.0 3.8.0 Higher than v3.5.0 causes the following error Error: Error: Error: Uncaught [Error: aria-hidden] in the unit tests.
:orange_circle: react-router 5.3.4 5.3.4 6.9.0 This can be done incrementally https://reactrouter.com/en/main/upgrading/v5
:orange_circle: react-router-dom 5.3.4 5.3.4 6.9.0 This can be done incrementally https://reactrouter.com/en/main/upgrading/v5
:orange_circle: react-virtualized-auto-sizer 1.0.2 1.0.7 1.0.9 https://github.com/opensearch-project/oui/pull/652#discussion_r1155035317

Update: https://github.com/opensearch-project/oui/pull/652
:orange_circle: refractor 3.6.0 3.6.0 4.8.1 There are breaking changes in v4, it will be necessary to do refactoring in _code_block.tsx
Dependency Before Current (Latest) Comments
:green_circle: @svgr/core 5.4.0 8.0.0 The API has changed a bit, so changes were made to compile-icons.js. Due to the changes, icon.test.tsx.snap was re-generated and react icon components were formatted a bit differently.

Update: https://github.com/opensearch-project/oui/pull/649 (v7.0.0)
:green_circle: @svgr/plugin-svgo 4.2.0 8.0.1 Update: https://github.com/opensearch-project/oui/pull/649 (v7.0.0)
:green_circle: @svgr/plugin-jsx 7.0.0 8.0.1 It was initially added as part of https://github.com/opensearch-project/oui/pull/649 (v7.0.0)
:green_circle: @types/chroma-js 2.0.0 2.4.0
:green_circle: @types/cheerio - 0.22.31 Required for @types/enzyme
:green_circle: @types/numeral 0.0.28 2.0.2
:green_circle: @types/react-beautiful-dnd 13.0.0 13.1.4
:green_circle: @types/react-input-autosize 2.2.0 2.2.1
:green_circle: @types/react-router-dom 5.1.5 5.3.3
:green_circle: @types/react-virtualized-auto-sizer 1.0.0 1.0.1 Update: https://github.com/opensearch-project/oui/pull/652
:green_circle: @types/react-window 1.8.2 1.8.5 Update: https://github.com/opensearch-project/oui/pull/652
:green_circle: @types/resize-observer-browser 0.1.5 0.1.7
:green_circle: @types/url-parse 1.4.3 1.4.8
:green_circle: @types/uuid 8.3.0 9.0.1
:green_circle: chokidar 3.4.2 3.5.3
:green_circle: chroma-js 2.1.0 2.4.2
:green_circle: classnames 2.2.6 2.3.2
:green_circle: codesandbox 2.1.16 2.2.3
:green_circle: core-js 3.6.5 3.29.1
:green_circle: cross-env 7.0.2 7.0.3
:green_circle: deasync 0.1.20 0.1.28
:green_circle: enzyme-adapter-react-16 1.15.4 1.15.7
:green_circle: enzyme-to-json 3.5.0 3.6.2
:green_circle: html-format 1.0.1 1.0.2
:green_circle: moment-timezone 0.5.35 0.5.41
:green_circle: prop-types 15.7.2 15.8.1
:green_circle: react-beautiful-dnd 13.0.0 13.1.1
:green_circle: react-dropzone 11.2.0 14.2.3 Update: https://github.com/opensearch-project/oui/pull/651
:green_circle: react-input-autosize 2.2.2 3.0.0
:green_circle: react-redux 7.2.1 8.0.5
:green_circle: react-window 1.8.5 1.8.9 data_grid.test.tsx.snap was re-generated.

Update: https://github.com/opensearch-project/oui/pull/652 (v1.8.8)
:green_circle: redux 4.0.5 4.2.1
:green_circle: redux-thunk 2.3.0 2.4.2
:green_circle: resolve 1.17.0 1.22.1
:green_circle: rimraf 3.0.2 5.0.1 Update: https://github.com/opensearch-project/oui/pull/717 (v5.0.0)
:green_circle: start-server-and-test 1.11.3 2.0.0
:green_circle: tabbable 3.1.2 6.1.2 Default export is changed to named.

Update: https://github.com/opensearch-project/oui/pull/650 (v6.1.1)
:green_circle: uuid 8.3.0 9.0.0
:green_circle: yeoman-generator 5.7.0 5.8.0

Further action items

Dependency updates should be broken down into smaller parts to make it easier to review the code:

Group Dependency Current Latest
Babel @babel/cli 7.10.5 7.21.0
@babel/core 7.11.4 7.21.3
@babel/plugin-proposal-class-properties 7.10.4 7.18.6
@babel/plugin-proposal-object-rest-spread 7.11.0 7.20.7
@babel/plugin-transform-async-to-generator 7.10.4 7.20.7
@babel/plugin-transform-runtime 7.11.0 7.21.0
@babel/preset-env 7.11.0 7.20.2
@babel/preset-react 7.10.4 7.18.6
@babel/preset-typescript 7.12.1 7.21.0
babel-jest 24.9.0 29.5.0
babel-loader 8.1.0 9.1.2
babel-plugin-add-module-exports 1.0.2 1.0.4
babel-plugin-inline-react-svg 1.1.1 2.0.2
Eslint eslint 7.10.0 8.36.0
eslint-config-prettier 6.12.0 8.8.0
eslint-import-resolver-webpack 0.13.0 0.13.2
eslint-plugin-import 2.22.1 2.27.5
eslint-plugin-jest 24.7.0 27.2.1
eslint-plugin-jsx-a11y 6.3.1 6.7.1
eslint-plugin-mocha 8.0.0 10.1.0
eslint-plugin-prettier 3.1.4 4.2.1
eslint-plugin-react 7.21.3 7.32.2
eslint-plugin-react-hooks 4.1.2 4.6.0
@typescript-eslint/eslint-plugin 4.8.1 5.56.0
@typescript-eslint/parser 4.8.1 5.56.0
prettier 2.1.2 2.8.6
Postcss postcss 7.0.39 8.4.21
postcss-cli 7.1.2 10.1.0
postcss-inline-svg 4.1.0 6.0.0
postcss-loader 4.0.1 7.1.0
cssnano 4.1.11 5.1.15
autoprefixer 9.8.6 10.4.14
Webpack (https://github.com/opensearch-project/oui/pull/587) webpack 4.46.0 5.76.2
webpack-cli 3.3.12 5.0.1
webpack-dev-server 3.11.3 4.13.1
file-loader 6.1.0 6.2.0
fork-ts-checker-webpack-plugin 5.1.0 8.0.0
html-webpack-plugin 4.4.1 5.5.0
raw-loader 4.0.1 4.0.2
sass-loader 10.3.1 13.2.1
style-loader 1.2.1 3.3.2
url-loader 4.1.0 4.1.1
terser-webpack-plugin 4.1.0 5.3.7
circular-dependency-plugin 5.2.0 5.2.2
css-loader 4.3.0 6.7.3
Unified unified 9.2.0 10.1.2
rehype-raw 5.0.0 6.1.1
rehype-react 6.1.0 7.1.2
rehype-stringify 8.0.0 9.0.3
remark-emoji 2.1.0 3.1.1
remark-parse 8.0.3 10.0.1
remark-rehype 8.0.0 10.1.0
unist-util-visit 2.0.3 4.1.2
vfile 4.2.0 5.3.7
mdast-util-to-hast 10.0.0 12.3.0
Jest jest 24.9.0 29.5.0
jest-cli 24.9.0 29.5.0
@types/jest 24.9.1 29.5.0
React react 16.14.0 18.2.0
react-dom 16.12.0 18.2.0
react-is 16.3.2 18.2.0
@types/react 16.9.35 18.0.28
@types/react-dom 16.9.8 18.0.11
@types/react-is 16.7.1 17.0.3
Others + :orange_circle: dependencies typescript 4.0.5 5.0.2
@types/refractor 3.0.0 3.0.2
react-view 2.3.2 2.3.7
@elastic/charts 30.2.0 55.0.0
@types/node 10.17.24 18.15.5
node-sass (https://github.com/opensearch-project/oui/pull/592) 7.0.1 8.0.0

Notes

  1. fakerjs is no longer supported, I suggest migrating to @faker-js/faker (Update https://github.com/opensearch-project/oui/pull/655)
  2. redux is hardly used in the project, it can easily be replaced by react context (four dependencies can be removed redux, react-redux, redux-thunk, react-router-redux)
BSFishy commented 1 year ago

This is some excellent analysis, thanks so much! For clarity, what is all the work that is being done in #609? Does it complete everything except the Further action items and Notes sections?

andreymyssak commented 1 year ago

This is some excellent analysis, thanks so much! For clarity, what is all the work that is being done in #609? Does it complete everything except the Further action items and Notes sections?

Yes, everything except the "Further action items" and "Notes" sections