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

Perform bom-ref decode during creation at source #644

Merged
merged 3 commits into from
Oct 19, 2023

Conversation

prabhu
Copy link
Collaborator

@prabhu prabhu commented Oct 18, 2023

Instead of relying on decoding at index.js, I have pushed it to the individual utils function and fixed a couple of potential bugs in the process.

  • Fixes a bug in yarn.lock v1, where packages without integrity were not included. It affected mostly @types packages, so it wouldn't have affected any SCA results.

Needs testing against a range of node.js repos.

Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
@prabhu prabhu requested a review from cerrussell October 18, 2023 11:50
Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
…on in #466

Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
@prabhu prabhu requested a review from setchy October 18, 2023 20:40
@prabhu prabhu merged commit 439f871 into master Oct 19, 2023
15 checks passed
@prabhu prabhu deleted the fix/bom-ref-decode-consistency branch October 19, 2023 05:19
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.

1 participant