generator-hapi-api-stack icon indicating copy to clipboard operation
generator-hapi-api-stack copied to clipboard

feat: debloat package-lock.json

Open SandZn opened this issue 1 year ago • 0 comments

Hi,

Thanks for developing this good project, which provides high-coverage tests.

I'm doing dynamic analysis on npm packages, and your project is one of my samples.

Through our dynamic analysis by running the test suites, we find that 90+ indirect runtime dependencies are installed, however, they are not used during the test runtime. We removed this dependency from package-lock.json, and installed the remaining dependencies using the new package-lock.json, the tests all passed.

Would you consider creating a slim version of the package-lock.json, which can help reduce the corresponding maintenance costs and security risks in production?

SandZn avatar Jul 09 '24 06:07 SandZn