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

fix: update nodejs semver in test files to avoid warning #3207

Merged
merged 1 commit into from
Aug 9, 2023

Conversation

terriko
Copy link
Contributor

@terriko terriko commented Aug 7, 2023

This is a kind of silly update.

The package-lock.json file we use for language tests has a version of semver that's triggering some CVE warning in one of my dashboards. Normally, I mark these as irrelevant because files in test/language_data are used only for tests of the scanner (the vulnerable code described is never downloaded or used). But for some reason this particular dashboard isn't giving me the usual way to dismiss the warning.

Since fixing that particular private dashboard might take a while, I'm going to try updating the one thing that's throwing an error so I don't have to get daily warnings about this component.

It's possible this change will break the tests. I am running them locally but uploading this PR while I wait so they can happen in parallel.

@codecov-commenter
Copy link

codecov-commenter commented Aug 7, 2023

Codecov Report

Merging #3207 (ba9dfcc) into main (ae66713) will increase coverage by 0.17%.
Report is 5 commits behind head on main.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #3207      +/-   ##
==========================================
+ Coverage   81.28%   81.45%   +0.17%     
==========================================
  Files         716      716              
  Lines       11126    11126              
  Branches     1495     1495              
==========================================
+ Hits         9044     9063      +19     
+ Misses       1693     1682      -11     
+ Partials      389      381       -8     
Flag Coverage Δ
longtests 75.40% <ø> (+0.01%) ⬆️
win-longtests 79.38% <ø> (+0.17%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 3 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@terriko
Copy link
Contributor Author

terriko commented Aug 9, 2023

Thanks @novafacing !

(turns out the warning got auto-dismissed and since it wasn't done by me the alert wouldn't go away on my other dashboard. So now I get to figure out how I turned auto-dismiss on... but this is still a perfectly good PR to merge!)

@terriko terriko merged commit 338e0cf into intel:main Aug 9, 2023
21 checks passed
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.

3 participants