Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

feat: debloat package-lock.json #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SandZn
Copy link

@SandZn SandZn commented Jul 12, 2024

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 more than 50% (915/1612) of the indirect runtime dependencies are installed, however, they are not used during the test runtime. We modified package.json and removed these dependencies 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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant