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

I36 address security alerts #258

Merged
merged 14 commits into from
Feb 21, 2024
Merged

I36 address security alerts #258

merged 14 commits into from
Feb 21, 2024

Conversation

QSparks
Copy link
Contributor

@QSparks QSparks commented Feb 16, 2024

Description

This PR updates several dependencies to address numerous security alerts and introduces a craco.config.js file to resolve the change posted below. The craco (Create React App Configuration Override) package is used to customize the webpack configuration. Specifically adding fallbacks for path, stream, buffer, and process.

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

Dependency updates

Added @craco/craco version ^7.1.0.
Added buffer version ^6.0.3.
Added path-browserify version ^1.0.1.
Added process version ^0.11.10.
Added stream-browserify version ^3.0.0.
Updated Axios to version ^0.21.3.
Updated lodash to version ^4.17.21.
Updated proj4 to version ^2.7.5.
Updated react-bootstrap to version ^1.6.1.
Updated react-leaflet to version ^2.8.0.
Updated react-scripts to version ^5.0.1. Required updating Node to v14.21.3

Will close many of the alerts in #36.

@QSparks QSparks self-assigned this Feb 16, 2024
@QSparks QSparks requested a review from Nospamas February 20, 2024 16:06
Copy link

@corviday corviday left a comment

Choose a reason for hiding this comment

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

I downloaded and built this branch. Build went smoothly and the app functioned correctly. LGTM.

@QSparks QSparks merged commit 7e907a6 into master Feb 21, 2024
2 checks passed
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.

2 participants