Skip to content

Commit

Permalink
fix(redux): npm updates
Browse files Browse the repository at this point in the history
  • Loading branch information
cdcabrera committed Jan 24, 2024
1 parent af91893 commit 5ece0c6
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 57 deletions.
72 changes: 23 additions & 49 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,14 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-i18next": "^14.0.0",
"react-redux": "^8.1.3",
"react-redux": "^9.1.0",
"react-router": "6.8.1",
"react-router-dom": "6.21.2",
"react-use": "^17.4.3",
"redux": "^4.2.1",
"redux": "^5.0.1",
"redux-logger": "^3.0.6",
"redux-promise-middleware": "^6.2.0",
"redux-thunk": "^2.4.2",
"redux-thunk": "^3.1.0",
"victory": "36.8.2",
"victory-create-container": "36.8.2"
},
Expand Down
2 changes: 1 addition & 1 deletion src/redux/middleware/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { createLogger } from 'redux-logger';
import promiseMiddleware from 'redux-promise-middleware';
import thunkMiddleware from 'redux-thunk';
import { thunk as thunkMiddleware } from 'redux-thunk';
import { notificationsMiddleware } from '@redhat-cloud-services/frontend-components-notifications';
import { multiActionMiddleware } from './multiActionMiddleware';
import { statusMiddleware } from './statusMiddleware';
Expand Down
2 changes: 1 addition & 1 deletion src/redux/store.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createStore, applyMiddleware } from 'redux';
import { legacy_createStore as createStore, applyMiddleware } from 'redux';
import { reduxMiddleware } from './middleware';
import { reduxReducers } from './reducers';

Expand Down
6 changes: 3 additions & 3 deletions tests/__snapshots__/dist.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -646,6 +646,8 @@ exports[`Build distribution should match a specific file output 1`] = `
"./dist/fonts/graph4x.png",
"./dist/js/1024*js",
"./dist/js/1070*js",
"./dist/js/1223*js",
"./dist/js/1223*txt",
"./dist/js/1266*js",
"./dist/js/1277*js",
"./dist/js/1290*js",
Expand Down Expand Up @@ -770,8 +772,6 @@ exports[`Build distribution should match a specific file output 1`] = `
"./dist/js/9223*js",
"./dist/js/9238*js",
"./dist/js/9303*js",
"./dist/js/9436*js",
"./dist/js/9436*txt",
"./dist/js/9474*js",
"./dist/js/9505*js",
"./dist/js/965*js",
Expand All @@ -790,6 +790,7 @@ exports[`Build distribution should match a specific file output 1`] = `
"./dist/locales/locales.json",
"./dist/sourcemaps/1024*map",
"./dist/sourcemaps/1070*map",
"./dist/sourcemaps/1223*map",
"./dist/sourcemaps/1266*map",
"./dist/sourcemaps/1277*map",
"./dist/sourcemaps/1290*map",
Expand Down Expand Up @@ -897,7 +898,6 @@ exports[`Build distribution should match a specific file output 1`] = `
"./dist/sourcemaps/9223*map",
"./dist/sourcemaps/9238*map",
"./dist/sourcemaps/9303*map",
"./dist/sourcemaps/9436*map",
"./dist/sourcemaps/9474*map",
"./dist/sourcemaps/9505*map",
"./dist/sourcemaps/965*map",
Expand Down

0 comments on commit 5ece0c6

Please sign in to comment.