chore(build): support Node 24 and newer #89
Merged
+11
−7
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.
Changes
engine-strict=truewith"node": "24.x"madenpm cistop withEBADENGINEon Node 26, the current release. Widenedenginestonode >=24/npm >=11(package.jsonand the root entry inpackage-lock.json).localStoragethat isundefinedwithout--localstorage-fileand hides jsdom's implementation in Vitest workers; 14 web tests failed on Node 26. The web test project now runs with--no-experimental-webstorage(vitest.config.ts); the flag is valid on Node 24 too.docs/operations.mdnow say Node 24 or newer, tested on 24 and 26, with 24.21.0 still the reference version for.nvmrc, CI, Docker and the VM. No change to CI, Docker or the VM.Validation
npm ciandnpm run checkpass (211 tests);argon2hashes and verifies.npm ciandnpm run checkpass (211 tests).npm run test:e2eon Node 26: passes except the 2 macOS select tests fixed in Make keyboard E2E tests pass on macOS #76.npm run test:dbandnpm run test:api(no local database). CI keeps using Node 24.21.0.Remaining work
test:db/test:apion Node 26 once, or soften "testet med Node 24 og 26" to the unit/E2E level.AI usage
Written with Claude Code (Anthropic) during the final-delivery review. The change was proposed, implemented and tested by the AI agent and pushed from my account; the review summary is in the linked issue. Please review the diff as you would any other contribution.
Closes #77