Skip to content

Remove unused and vulnerable dependencies #4768

@dakshydv

Description

@dakshydv

Current Behavior

The project’s package.json lists several dependencies that are not used anywhere in the codebase. Some of these libraries also have known security vulnerabilities. Keeping them introduces unnecessary risk, slows down installs, and creates confusion for new contributors.

npm audit log

Image

Desired Situation

  • Remove unused dependencies ( lodash.template, optimist/minimist , node-static ) from package.json if confirmed not to be required
  • Run npm audit fix where applicable.
  • Retest the project after cleanup to ensure nothing breaks.

Checklist

  • [✅] I have read and followed the project's code of conduct.
  • [✅] I have searched for similar issues before creating this one.
  • [✅] I have provided all the necessary information to understand and reproduce the issue.
  • [✅] I am willing to contribute to the resolution of this issue.

Thank you for contributing to our project! We appreciate your help in improving it.

📚 See contributing instructions.

🙋🏾🙋🏼 Questions: Community Matrix Server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions