Open BSFishy opened 1 year ago
Hello, I would like to work on this task
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 |
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 |
fakerjs
is no longer supported, I suggest migrating to @faker-js/faker
(Update
https://github.com/opensearch-project/oui/pull/655)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
)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?
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
andNotes
sections?
Yes, everything except the "Further action items" and "Notes" sections
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: