diff --git a/web/frontend/package-lock.json b/web/frontend/package-lock.json index 1a3eaf6..7dace9d 100644 --- a/web/frontend/package-lock.json +++ b/web/frontend/package-lock.json @@ -17,7 +17,6 @@ "react-map-gl": "^5.2.7", "react-redux": "^7.2.0", "redux": "^4.0.5", - "redux-logger": "^3.0.6", "redux-thunk": "^2.3.0", "tailwindcss": "npm:@tailwindcss/postcss7-compat@^2.2.17", "vite": "^5.4.2" @@ -4068,11 +4067,6 @@ "node": ">=0.10" } }, - "node_modules/deep-diff": { - "version": "0.3.8", - "resolved": "https://registry.npmjs.org/deep-diff/-/deep-diff-0.3.8.tgz", - "integrity": "sha512-yVn6RZmHiGnxRKR9sJb3iVV2XTF1Ghh2DiWRZ3dMnGc43yUdWWF/kX6lQyk3+P84iprfWKU/8zFTrlkvtFm1ug==" - }, "node_modules/deep-eql": { "version": "5.0.2", "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-5.0.2.tgz", @@ -10604,14 +10598,6 @@ "@babel/runtime": "^7.9.2" } }, - "node_modules/redux-logger": { - "version": "3.0.6", - "resolved": "https://registry.npmjs.org/redux-logger/-/redux-logger-3.0.6.tgz", - "integrity": "sha512-JoCIok7bg/XpqA1JqCqXFypuqBbQzGQySrhFzewB7ThcnysTO30l4VCst86AuB9T9tuT03MAA56Jw2PNhRSNCg==", - "dependencies": { - "deep-diff": "^0.3.5" - } - }, "node_modules/redux-thunk": { "version": "2.4.2", "resolved": "https://registry.npmjs.org/redux-thunk/-/redux-thunk-2.4.2.tgz", @@ -16812,11 +16798,6 @@ "integrity": "sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ==", "dev": true }, - "deep-diff": { - "version": "0.3.8", - "resolved": "https://registry.npmjs.org/deep-diff/-/deep-diff-0.3.8.tgz", - "integrity": "sha512-yVn6RZmHiGnxRKR9sJb3iVV2XTF1Ghh2DiWRZ3dMnGc43yUdWWF/kX6lQyk3+P84iprfWKU/8zFTrlkvtFm1ug==" - }, "deep-eql": { "version": "5.0.2", "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-5.0.2.tgz", @@ -21599,14 +21580,6 @@ "@babel/runtime": "^7.9.2" } }, - "redux-logger": { - "version": "3.0.6", - "resolved": "https://registry.npmjs.org/redux-logger/-/redux-logger-3.0.6.tgz", - "integrity": "sha512-JoCIok7bg/XpqA1JqCqXFypuqBbQzGQySrhFzewB7ThcnysTO30l4VCst86AuB9T9tuT03MAA56Jw2PNhRSNCg==", - "requires": { - "deep-diff": "^0.3.5" - } - }, "redux-thunk": { "version": "2.4.2", "resolved": "https://registry.npmjs.org/redux-thunk/-/redux-thunk-2.4.2.tgz", diff --git a/web/frontend/package.json b/web/frontend/package.json index 3cb857d..9f0227a 100644 --- a/web/frontend/package.json +++ b/web/frontend/package.json @@ -34,7 +34,6 @@ "react-map-gl": "^5.2.7", "react-redux": "^7.2.0", "redux": "^4.0.5", - "redux-logger": "^3.0.6", "redux-thunk": "^2.3.0", "tailwindcss": "npm:@tailwindcss/postcss7-compat@^2.2.17", "vite": "^5.4.2" diff --git a/web/frontend/src/App.test.jsx b/web/frontend/src/App.test.jsx index 5a4d259..308c01e 100755 --- a/web/frontend/src/App.test.jsx +++ b/web/frontend/src/App.test.jsx @@ -4,18 +4,15 @@ import { render, screen } from '@testing-library/react'; import { Provider } from "react-redux"; import thunkMiddleware from "redux-thunk"; import { createStore, applyMiddleware } from "redux"; -import { createLogger } from "redux-logger"; import rootReducer from "./reducers/index"; import App from "./App"; -const loggerMiddleware = createLogger(); // TODO: remove deprecated things, do we need the logger? const store = createStore( rootReducer, applyMiddleware( thunkMiddleware, // lets us dispatch() functions - loggerMiddleware, // neat middleware that logs actions ), ); diff --git a/web/frontend/src/index.tsx b/web/frontend/src/index.tsx index 7e9eb06..0df7d1b 100644 --- a/web/frontend/src/index.tsx +++ b/web/frontend/src/index.tsx @@ -6,7 +6,6 @@ import ReactDOM from "react-dom/client"; import { Provider } from "react-redux"; import { createStore, applyMiddleware } from "redux"; import thunkMiddleware from "redux-thunk"; -import { createLogger } from "redux-logger"; import { fetchLocations } from "./actions/locations"; import { fetchGravatar } from "./actions/gravatar"; import rootReducer from "./reducers/index"; @@ -16,12 +15,10 @@ import "./index.css"; import * as serviceWorker from "./serviceWorker"; -const loggerMiddleware = createLogger(); const store = createStore( rootReducer, applyMiddleware( thunkMiddleware, // lets us dispatch() functions - loggerMiddleware // neat middleware that logs actions ), );