Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yarn Upgrade #610

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Yarn Upgrade #610

wants to merge 3 commits into from

Conversation

bh2smith
Copy link
Owner

@bh2smith bh2smith commented Jul 21, 2024

Automagically updating all package dependencies.

  1. Ran yarn outdated
Before
Package                                  Current Wanted   Latest   Package Type    URL                                                                                              
@emotion/cache                           11.11.0 11.13.0  11.13.0  dependencies    https://github.com/emotion-js/emotion/tree/main#readme                                           
@emotion/react                           11.11.1 11.13.0  11.13.0  dependencies    https://github.com/emotion-js/emotion/tree/main#readme                                           
@emotion/styled                          11.11.5 11.13.0  11.13.0  dependencies    https://github.com/emotion-js/emotion/tree/main#readme                                           
@mui/icons-material                      5.14.11 5.16.4   5.16.4   dependencies    https://mui.com/material-ui/material-icons/                                                      
@mui/material                            5.14.11 5.16.4   5.16.4   dependencies    https://mui.com/material-ui/                                                                     
@mui/styles                              5.14.4  5.16.4   5.16.4   dependencies    https://mui.com/system/styles/basics/                                                            
@reduxjs/toolkit                         2.2.5   2.2.6    2.2.6    dependencies    https://redux-toolkit.js.org                                                                     
@safe-global/safe-apps-react-sdk         4.7.1   4.7.2    4.7.2    dependencies                                                                                                     
@safe-global/safe-gateway-typescript-sdk 3.13.2  3.22.0   3.22.0   dependencies    https://github.com/safe-global/safe-gateway-typescript-sdk#readme                                
@safe-global/safe-react-components       2.0.5   2.0.5    2.0.6    dependencies    https://github.com/safe-global/safe-react-components#readme                                      
@svgr/webpack                            8.0.1   8.1.0    8.1.0    devDependencies https://react-svgr.com                                                                           
@testing-library/react                   12.1.5  12.1.5   16.0.0   devDependencies https://github.com/testing-library/react-testing-library#readme                                  
@typechain/ethers-v5                     7.2.0   7.2.0    11.1.2   devDependencies https://github.com/ethereum-ts/Typechain#readme                                                  
@types/lodash.debounce                   4.0.7   4.0.9    4.0.9    devDependencies https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lodash.debounce             
@types/node                              20.5.7  20.14.11 20.14.11 devDependencies https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node                        
@types/react                             17.0.50 17.0.80  18.3.3   devDependencies https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react                       
@types/react-dom                         18.0.6  18.3.0   18.3.0   devDependencies https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom                   
@types/react-virtualized-auto-sizer      1.0.1   1.0.4    1.0.4    devDependencies https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-virtualized-auto-sizer
@types/react-window                      1.8.5   1.8.8    1.8.8    devDependencies https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-window                
ace-builds                               1.15.0  1.35.3   1.35.3   dependencies    https://github.com/ajaxorg/ace-builds                                                            
eslint                                   8.57.0  8.57.0   9.7.0    devDependencies https://eslint.org                                                                               
eslint-config-prettier                   9.0.0   9.1.0    9.1.0    devDependencies https://github.com/prettier/eslint-config-prettier#readme                                        
eslint-plugin-import                     2.29.0  2.29.1   2.29.1   devDependencies https://github.com/import-js/eslint-plugin-import                                                
eslint-plugin-prettier                   4.2.1   4.2.1    5.2.1    devDependencies https://github.com/prettier/eslint-plugin-prettier#readme                                        
eslint-plugin-react                      7.34.1  7.35.0   7.35.0   devDependencies https://github.com/jsx-eslint/eslint-plugin-react                                                
eslint-plugin-react-hooks                4.6.0   4.6.2    4.6.2    devDependencies https://reactjs.org/                                                                             
ethers                                   5.7.2   5.7.2    6.13.1   dependencies    https://ethers.org                                                                               
husky                                    8.0.3   8.0.3    9.1.1    devDependencies https://github.com/typicode/husky#readme                                                         
node-polyfill-webpack-plugin             2.0.1   2.0.1    4.0.0    devDependencies https://github.com/Richienb/node-polyfill-webpack-plugin#readme                                  
prettier                                 2.8.8   2.8.8    3.3.3    devDependencies https://prettier.io                                                                              
pretty-quick                             3.3.1   3.3.1    4.0.0    devDependencies https://github.com/prettier/pretty-quick#readme                                                  
react                                    17.0.2  17.0.2   18.3.1   dependencies    https://reactjs.org/                                                                             
react-ace                                10.1.0  10.1.0   12.0.0   dependencies    https://github.com/securingsincity/react-ace#readme                                              
react-dom                                17.0.2  17.0.2   18.3.1   dependencies    https://reactjs.org/                                                                             
react-redux                              8.0.1   8.1.3    9.1.2    dependencies    https://github.com/reduxjs/react-redux                                                           
react-virtualized-auto-sizer             1.0.7   1.0.24   1.0.24   dependencies    https://github.com/bvaughn/react-virtualized-auto-sizer#readme                                   
react-window                             1.8.9   1.8.10   1.8.10   dependencies    http://react-window.now.sh/                                                                      
tslib                                    2.6.2   2.6.3    2.6.3    dependencies    https://www.typescriptlang.org/                                                                  
typechain                                5.2.0   5.2.0    8.3.2    devDependencies https://github.com/ethereum-ts/Typechain#readme                                                  
typescript                               5.5.2   5.5.3    5.5.3    dependencies    https://www.typescriptlang.org/ 
  1. Ran yarn upgrade

  2. Ran outdated again:

After
Package                            Current Wanted  Latest Package Type    URL                                                                       
@safe-global/safe-react-components 2.0.5   2.0.5   2.0.6  dependencies    https://github.com/safe-global/safe-react-components#readme               
@testing-library/react             12.1.5  12.1.5  16.0.0 devDependencies https://github.com/testing-library/react-testing-library#readme           
@typechain/ethers-v5               7.2.0   7.2.0   11.1.2 devDependencies https://github.com/ethereum-ts/Typechain#readme                           
@types/react                       17.0.80 17.0.80 18.3.3 devDependencies https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react
eslint                             8.57.0  8.57.0  9.7.0  devDependencies https://eslint.org                                                        
eslint-plugin-prettier             4.2.1   4.2.1   5.2.1  devDependencies https://github.com/prettier/eslint-plugin-prettier#readme                 
ethers                             5.7.2   5.7.2   6.13.1 dependencies    https://ethers.org                                                        
husky                              8.0.3   8.0.3   9.1.1  devDependencies https://github.com/typicode/husky#readme                                  
node-polyfill-webpack-plugin       2.0.1   2.0.1   4.0.0  devDependencies https://github.com/Richienb/node-polyfill-webpack-plugin#readme           
prettier                           2.8.8   2.8.8   3.3.3  devDependencies https://prettier.io                                                       
pretty-quick                       3.3.1   3.3.1   4.0.0  devDependencies https://github.com/prettier/pretty-quick#readme                           
react                              17.0.2  17.0.2  18.3.1 dependencies    https://reactjs.org/                                                      
react-ace                          10.1.0  10.1.0  12.0.0 dependencies    https://github.com/securingsincity/react-ace#readme                       
react-dom                          17.0.2  17.0.2  18.3.1 dependencies    https://reactjs.org/                                                      
react-redux                        8.1.3   8.1.3   9.1.2  dependencies    https://github.com/reduxjs/react-redux                                    
typechain                          5.2.0   5.2.0   8.3.2  devDependencies https://github.com/ethereum-ts/Typechain#readme  

In a follow up, I might attempt to individually upgrade some very outdated dependencies.

@bh2smith bh2smith requested a review from schmanu July 21, 2024 14:42
@bh2smith
Copy link
Owner Author

bh2smith commented Jul 21, 2024

Notice that we had to upgrade a few others things to get the project to build. There is one cheeky cast that I would like to eliminate before merge.

b5ad3e5

@@ -7,7 +7,7 @@ export const LS_KEY = "csv-airdrop-v1";
export const persistBookmarkState: Middleware<{}, RootState> = (store) => (next) => (action) => {
const result = next(action);

const sliceType = action.type.split("/")[0];
const sliceType = (action as Action).type.split("/")[0];
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@schmanu - do you think you could help eliminate this cast?

@bh2smith
Copy link
Owner Author

Now it looks like I have got to update the react testing library as well to get the test to pass. But the build works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant