Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR upgrades the Node.js runtime from version 18 to version 22 and updates all development dependencies to resolve security vulnerabilities. The upgrade addresses a moderate severity vulnerability in micromatch (via lint-staged v13.3.0).
Changes:
- Node.js runtime upgraded from v18 to v22 in
.nvmrc,package.json, and all workflows - All
devDependenciesupgraded to latest compatible versions, withlint-stagedmoving from v13.0.3 to v16.2.7 - GitHub Actions updated from
actions/checkout@v4tov6andactions/setup-node@v4tov6 - Husky configuration migrated from legacy format to v9.x with enhanced pre-commit script that enforces Node 22 requirement
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| package.json | Updated Node engine to 22, upgraded all devDependencies, migrated husky config from inline hooks to script-based approach |
| .nvmrc | Changed Node version from 18 to 22 |
| .husky/pre-commit | Replaced simple husky.sh loader with comprehensive script that loads NVM, validates Node 22, and runs lint-staged before tests |
| .github/workflows/deployFunction.yml | Updated GitHub Actions to v6 for both checkout and setup-node across all environments |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Before this PR
lint-staged v13.3.0withmicromatchsecurity vulnerability (moderate severity)After this PR
lint-stagedupdated to v16.2.7 resolving all security vulnerabilities (0 vulnerabilities)devDependenciesgiven they aren't used by the code in production.eslintrc.jsconfig compatibilitylint-stagedbefore testsReason that prompted this change
Test Plan