angular.courses
DIOP0205LibrariesReport only

Runtime dependency never imported

A package listed in `dependencies` is not imported anywhere Diopter can see.

What it means

Diopter checks TypeScript imports (static and dynamic), styles, angular.json / project.json and package.json scripts, plus other config files (Tailwind, Vite…). Peers required by other installed packages count as used. What remains is dead weight that still has to be upgraded, audited and installed.

How to fix it

Remove it with the printed command, or confirm it is used in a way the scan cannot see (a runtime require in a script, a CLI used from an IDE).

What it looks like

As printed by diopter check; the UI and the Markdown report show the same finding with its location.

[DIOP0205] `moment` is a runtime dependency but nothing imports it (TypeScript, styles, angular.json or package.json scripts).
  fix: Remove it (`npm uninstall moment`) or confirm it is used another way.
In CI
Reported only; it never fails diopter check.
In the UI
The Upgrade plan tab, from diopter next to your dev server, or the static report from diopter build.
For agents
MCP tool check-dependencies (diopter mcp).

Learn more