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

add fields resolved and integrity to deptree and depgraph #199

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

Conversation

milahu
Copy link

@milahu milahu commented Aug 10, 2023

What this does

add fields resolved and integrity to deptree and depgraph

continue #112 by @abdulhannanali

commit 9dd6745 is based on 60853a7

i have added the new fields as node.info.labels.resolved and node.info.labels.integrity, because @snyk/dep-graph allows to add custom string values to node.info.labels

Notes for the reviewer

probably this will not be merged, because snyk does not use resolved and integrity values of lockfiles

to me, the resolved and integrity values are useful to build a custom npm package installer. for example usage, see milahu/pnpm-install-only@4278992, where i have both a tree-walker and a graph-walker

merged in https://github.com/milahu/nodejs-lockfile-parser

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

1 participant