Repository navigation
Update vulnerable HogHabits dependencies and require Node.js 22.22.0 or newer - #18
Merged
Merged
Conversation
carles-ph
approved these changes
Dec 1, 2026
Collaborator
|
thanks @virusimmortal00 for the contribution! ⭐ |
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.
On November 30, 2026,
npm auditreported four affected packages in a clean install of the base commit (one critical, two high, one low). A clean install of the PR head returned zero findings.The starter, sabotage reference, and drill 10 now pin the same Next.js release. Drill 10 still installs posthog-js 1.200.0 to demonstrate an outdated SDK.
Node.js minimum
The starter app now declares
node >=22.22.0, matching the engine requirement published by the Lab 07 wizard (@posthog/wizard@3.0.0). npm normally warns on an engine mismatch. With--engine-strict, it rejects the install. The sabotage reference and drill 10 carry the same declaration. The setup guides recommend the latest patch of a supported LTS release. Node 20 reached end of life on April 30, 2026. Node.js release scheduleOther lockfile updates
@next/env,@next/swc-*)@swc/helperssemvertslibVerification
Tested on macOS (Apple Silicon).
next devandnext startnpm ci --engine-strictaccepted Node 22.22.0 and reportedEBADENGINEon Node 20.20.2.PostHog requests used a local test endpoint. Live analytics delivery and the Lab 07 wizard were outside this smoke test.