A dependency review is easier when the person proposing a change can explain why the project needs it. Review the manifest and lockfile alongside the feature. A package addition, version upgrade and indirect dependency change have different questions, but each can affect the code running on a developer machine, a build worker or a production service.
Follow the dependency into the artifact
Identify whether the package is used in production, only in the build or only in development. Check where it is fetched, which version is resolved and whether installation executes scripts. A maintained registry and a reproducible lockfile help the next operator understand exactly what was selected. If an existing package already serves the need, record why the new one makes the change simpler or safer.
Read the meaningful version changes
When upgrading, skim upstream changes around compatibility, migrations and permissions. Check the transitive packages introduced or removed and use results from the project's dependency advisory tooling as an input. A vulnerable version's practical priority can depend on where it runs and how the feature is used. Record the decision and any required follow-up in the same place reviewers will see the code.
Keep exceptions visible
Occasionally a supported fix is unavailable or a package cannot be replaced immediately. Give the exception an owner, a reason and a review date. Refer to the approved registry and build record when investigating later. A short, repeatable review on ordinary changes creates a reliable history of decisions while keeping the maintenance burden proportional. For example, a tool that runs only on the build worker still deserves scrutiny if the worker can publish releases.