Upgrade all packages, dependencies, pipelines, and React to latest versions #9
+7,483
−17,225
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
This PR upgrades all npm packages to their latest stable versions, migrates the React application to use React 18's modern APIs, and updates the development infrastructure to use the latest Node.js LTS version.
Changes Made
📦 Package Updates
All npm dependencies have been upgraded to their latest stable versions:
18.0.0→18.3.118.0.0→18.3.15.16.4→6.9.112.1.4→16.3.013.5.0→14.6.12.1.4→5.1.05.0.0→5.0.1🔧 React 18 Migration
Migrated from the deprecated
ReactDOM.render()API to React 18'screateRoot()API:Before:
After:
This change eliminates React 18 deprecation warnings and follows the recommended migration path for concurrent rendering features.
🚀 Infrastructure Updates
GitHub Actions:
actions/checkoutfrom v2 to v4 for improved performance and securityDevContainer:
✅ Verification
All changes have been tested and verified:
📸 Screenshot
The application runs successfully with all updated dependencies:
🔒 Security Notes
The remaining 9 vulnerabilities reported by
npm auditare in development dependencies (transitive dependencies of react-scripts) and do not affect production builds. These are tracked upstream in the create-react-app repository and will be addressed when react-scripts releases a new major version.Testing
To test these changes:
Fixes #1
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.