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

Remove mocha-junit-reporter package by relying on Mocha's xUnit module #3593

Merged
merged 3 commits into from
Sep 29, 2021

Conversation

andyleejordan
Copy link
Member

@andyleejordan andyleejordan commented Sep 28, 2021

This important because the removed package (mocha-junit-reporter) is quite out-of-date and pulls in a vulnerable dependency. Funnily, we're still producing JUnit-style XML test results, which is a very curious bug in Mocha itself.

It's out of date and is missing a security fix.
@andyleejordan
Copy link
Member Author

Unfortunately we also still need to do something about rewire which is also woefully three full years from its latest update and pulls in the same vulnerable package.

@andyleejordan
Copy link
Member Author

Ugh the ADO test reporter can't read this xUnit output.

So we can remove a vulnerable package.
@andyleejordan andyleejordan changed the title Replace JUnit test output with xUnit Remove mocha-junit-reporter package by relying on Mocha's xUnit module Sep 28, 2021
@andyleejordan
Copy link
Member Author

Filed mochajs/mocha#4758 upstream, because I'm confused.

@andyleejordan andyleejordan marked this pull request as ready for review September 28, 2021 23:44
@andyleejordan andyleejordan enabled auto-merge (squash) September 28, 2021 23:45
@andyleejordan andyleejordan merged commit 75795bc into master Sep 29, 2021
@andyleejordan andyleejordan deleted the andschwa/xunit branch September 29, 2021 18:33
@andyleejordan
Copy link
Member Author

Looks like rewire's dependency was soft enough that this PR mitigated the issue. 🥳

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.

2 participants