Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates npm package dependencies and Node.js runtime requirements to their latest versions. The changes include major version upgrades for MongoDB (6.20.0 → 7.0.0) and marked (16.3.0 → 17.0.1), along with minor/patch updates for several other packages. The Node.js requirement is upgraded from >=22.20.0 to >=24.12.0, and a new npm version requirement (>=11.7.0) is added. All GitHub Actions workflows are updated to use Node.js 24, and a test is updated to use proper MongoDB ObjectId format instead of a numeric value.
Key Changes:
- Major version updates for mongodb and marked packages with breaking changes in callback APIs
- Node.js runtime requirement increased to version 24.12.0 with new npm requirement
- GitHub Actions workflows updated consistently across all deployment/test workflows
- Test updated to use valid MongoDB ObjectId hex string format
Reviewed changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| package.json | Updates package versions for mongodb (^7.0.0), marked (^17.0.1), express (^5.2.1), and other dependencies; updates Node.js engine to >=24.12.0 and adds npm requirement >=11.7.0 |
| package-lock.json | Reflects lockfile updates for all dependency version changes with transitive dependency updates |
| userProfile/tests/functionality_unit.test.js | Changes validateID test from numeric value (123) to proper 24-character hex string MongoDB ObjectId format |
| .github/workflows/test_pushes.yaml | Updates Node.js version from ^22.20.0 to 24 for test workflow |
| .github/workflows/ci_prod.yaml | Updates Node.js version from ^22.20.0 to 24 for production CI workflow |
| .github/workflows/ci_dev.yaml | Updates Node.js version from ^22.20.0 to 24 for development CI workflow |
| .github/workflows/cd_prod.yaml | Updates Node.js version from ^22.20.0 to 24 for production deployment workflow |
| .github/workflows/cd_dev.yaml | Updates Node.js version from ^22.20.0 to 24 for development deployment workflow |
cubap
left a comment
There was a problem hiding this comment.
we still need some package cleanup, but this is a good change
Summary
Updates npm packages and Node.js version requirements across the application.
Package Updates
Major Version Updates
Minor/Patch Updates
Runtime Requirements
>=22.20.0→>=24.12.0>=11.7.0CI/CD Changes
22to24Related PRs
This PR is part of a coordinated package update across the TPEN 3.0 stack: