Problem
Two dependencies are no longer used but still in package.json:
joi (^3.18.1)
- Stack migrated to Zod for all schema validation
lib/helpers/joi.js is a stub file with no imports anywhere
- Zod helper (
lib/helpers/zod.js) is the active replacement
sequelize (^6.37.8)
lib/services/sequelize.js is fully commented out
- Stack uses Mongoose exclusively
- No SQL database configured
Proposed change
npm uninstall joi sequelize
- Delete
lib/helpers/joi.js
- Delete
lib/services/sequelize.js
- Verify no remaining imports
Why
Dead dependencies increase install time, attack surface, and audit noise.
Problem
Two dependencies are no longer used but still in package.json:
joi (^3.18.1)
lib/helpers/joi.jsis a stub file with no imports anywherelib/helpers/zod.js) is the active replacementsequelize (^6.37.8)
lib/services/sequelize.jsis fully commented outProposed change
npm uninstall joi sequelizelib/helpers/joi.jslib/services/sequelize.jsWhy
Dead dependencies increase install time, attack surface, and audit noise.