Skip to content

Dependency Updates: April 2024 - #90

Merged
michaelahern merged 1 commit into
mainfrom
deps-202604
Apr 3, 2026
Merged

Dependency Updates: April 2024#90
michaelahern merged 1 commit into
mainfrom
deps-202604

Conversation

@michaelahern

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings April 3, 2026 16:09

@amazon-q-developer amazon-q-developer Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Review Summary

This PR updates dependencies and Node.js version requirements from v20 to v22. While dependency updates are generally good maintenance, there are critical issues in tsconfig.json that must be addressed:

Critical Issues (Must Fix)

  • Removal of "strict": true: This disables essential TypeScript type safety checks that prevent bugs and runtime errors. This change significantly weakens code quality protections.
  • Removal of "noUncheckedSideEffectImports": Weakens import safety checks that help catch problematic module imports.

Changes Summary

  • ✅ Dependency updates in devcontainer configuration
  • ✅ Node.js version bump from 20 to 22 in package.json
  • ✅ CI workflow updated to drop Node 20.x testing
  • ⚠️ TypeScript configuration changes need review

Please restore the removed TypeScript compiler safety options before merging.


You can now have the agent implement changes and create commits directly on your pull request's source branch. Simply comment with /q followed by your request in natural language to ask the agent to make changes.

Comment thread tsconfig.json
Comment thread tsconfig.json

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the project’s Node/TypeScript configuration and development dependencies to align with a newer Node.js baseline.

Changes:

  • Bump Node typings to v22 and raise the declared Node engine requirement to >=22.
  • Adjust TypeScript module settings and relax some compiler checks in tsconfig.json.
  • Update CI matrix and devcontainer tooling versions to match the newer runtime/toolchain.

Reviewed changes

Copilot reviewed 3 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tsconfig.json Switches TS module mode to nodenext and removes several compiler options (notably target and strict).
package.json Updates @types/node to ^22 and raises engines.node to >=22.
package-lock.json Locks updated dependency versions consistent with the package.json changes.
.github/workflows/build.yml Drops Node 20 from CI matrix, testing only 22.x and 24.x.
.devcontainer/devcontainer.json Bumps installed Homebridge and Homebridge UI versions for the devcontainer.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread package.json
@michaelahern
michaelahern merged commit 6799add into main Apr 3, 2026
9 checks passed
@michaelahern
michaelahern deleted the deps-202604 branch April 3, 2026 16:12
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