-
Notifications
You must be signed in to change notification settings - Fork 84
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
nodejs: add package.json support #834
Conversation
a5750c3
to
cbc3f82
Compare
cbc3f82
to
88b457b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just a few comments
43c053d
to
ab13c9a
Compare
ab13c9a
to
588400b
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #834 +/- ##
==========================================
+ Coverage 52.43% 52.54% +0.11%
==========================================
Files 221 224 +3
Lines 16893 17005 +112
==========================================
+ Hits 8857 8936 +79
- Misses 7224 7251 +27
- Partials 812 818 +6 ☔ View full report in Codecov by Sentry. |
9131f9b
to
c2553d6
Compare
c2553d6
to
8c938c5
Compare
Just for posterity I believe the idea is that this could be merged but not enabled by default (at least until we have a better idea of how the large number of added package affects performance). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LGTM code-wise, could you add a test for the coalescer (akin the rhcc one)? It'd be good to get back into the habit as there is usually some interesting logic in them.
Signed-off-by: RTann <[email protected]>
8c938c5
to
70d2937
Compare
Adds support for analyzing NodeJS packages in the form of npm package.json.
Note: This does not currently account for the package.json files being installed due to an rpm. In that case, the package.json file should not be scanned.