Node deprecation warning DEP0205 emitted on every frontend build #32
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Every run of
make check/make buildemits a Node deprecation warning during the Vite build:Observed independently during a
make checkrun onmainatfbfe1df, and again by the implementer of #14 during their verification.The build succeeds and output is correct — this is noise today, not a failure. But deprecation warnings are action items, not noise:
module.register()will eventually be removed, and when it is, the build breaks with no warning period left.Diagnosis needed before any fix
The warning almost certainly originates inside Vite or one of its transitive dependencies rather than in this repo's own code —
src/main.js,vite.config.js, and thescript/entrypoints contain nomodule.register()call. Confirm that before changing anything:--trace-deprecationto get the actual stack and identify which package calls it.package.jsoncurrently hasvite: ^7.3.1.If it is upstream and already fixed, the correct action is a dependency bump. If it is upstream and not yet fixed, the correct action is to record the finding here and close as "wait for upstream" — do not suppress the warning with
NODE_OPTIONS=--no-deprecationor similar. Silencing it removes the only signal we will get before the removal lands.Definition of done
One of these outcomes, with the reasoning written up on this issue:
yarn.lockupdated with integrity hashes intact, warning gone,make checkanddocker build .both pass.In all cases:
make checkpasses.TODO.mdis updated in the same commit and the commit title ends with(closes #N).Implementation requirements
1.0.0milestone. It does not block a tag and the fix may not be in our hands.yarn.lockfully hash-pinned — the lockfile currently has 100% integrity-hash coverage across all 119 resolved entries and that must not regress.yarn, notnpm.maketargets andscript/entrypoints only.