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/build dep graph #81

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Feat/build dep graph #81

wants to merge 2 commits into from

Conversation

gitphill
Copy link
Contributor

What this does

Generate dep-graphs from package-lock.json

More information

  • BST-1732

@gitphill gitphill self-assigned this Jul 23, 2020
@CLAassistant
Copy link

CLAassistant commented Jul 23, 2020

CLA assistant check
All committers have signed the CLA.

@lili2311
Copy link
Contributor

lili2311 commented Aug 6, 2020

@@ -24,6 +25,7 @@ import {
export {
buildDepTree,
buildDepTreeFromFiles,
buildDepGraphFromFiles,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

stupid question:

what is the difference between buildDepTree and buildDepGraph?

(since npm allows cyclic dependencies, it should always be a graph)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow this is an old pr 🤪 maybe should close it. Yea Snyk started with a tree where cycles were terminated, and has now moved over to a graph where cycles are possible

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.

None yet

4 participants