Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: debloat package-lock.json #36

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

Conversation

SandZn
Copy link

@SandZn SandZn commented Jul 12, 2024

Overview

Does this PR close an existing issue?

It solves the issue 35.

Summary

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 25% of the 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?

Issue Number(s)

@SandZn SandZn requested a review from a team as a code owner July 12, 2024 05:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

25% of the indirect dependencies are unused while installed
1 participant