-
Notifications
You must be signed in to change notification settings - Fork 100
#185 Fixing critical vulnerabilities on 2.0.0-beta.2, caused by gh-pages@3.1.0 #186
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
base: main
Are you sure you want to change the base?
Conversation
Thank you so much, Isahann! @JohannesHoppe will review and merge this one. |
@isahann Thanks for starting this PR! 😃 🙏 Do you think you have the resources to figure out how we can address the breaking change? |
I've just downloaded the repo, haven't checked much of it besides the package.json and the breaking test.... But I'll try to take a better look into it... |
We have holidays in Germany. I will run all tests on Monday! 👍 |
@JohannesHoppe Any updates from the Monday tests? Would be awesome to see this critical vulnerability fixed. |
Excuse me, just commented to up the topic |
Any updates on this? |
I'm also looking forward this new version to be available, any update on this PR? |
Looking forward to merge this PR - folks. Current version is causing havoc with the critical vulnerabilities |
👀 |
@JohannesHoppe any updates on this? I've recently updated to v2.0.3, but I see that it's still using gh-pages@3.1.0... |
Any chance of movement? Would you like any help? |
This PR addressing a critical vulnerability has been open for over a year. @JohannesHoppe, could you please confirm whether this repository is still being maintained? My team needs to decide whether to continue relying on this package or migrate away in order to resolve the issue. |
Hi @BGBRWR, thank you very much for your patience, and sorry for the long delay in responding - I’ve been on a long holiday and just got back. The main issue with PR #186 is that it bumps gh-pages from v3 to v6. That introduces some tricky changes, especially because gh-pages updated its dependency on commander. Unfortunately, that results in a different version of commander than the one we’re currently using. I tried to update this in the past, but commander itself introduced breaking changes in how values are parsed from the command line. From what I remember, it opens the door to all kinds of regressions. Another challenge is that no tests are failing with this PR, which is actually a sign that we don’t have test coverage for this area. Until now we’ve just assumed infrastructure like commander wouldn’t change in breaking ways. That leaves us with three possible paths forward:
Each option is quite intensive. To make progress, I’ll start by increasing the test coverage this weekend, so we can document the current status quo. That way we’ll have a foundation for moving forward. Thanks again for your patience and understanding! |
Just upgraded to the latest version of
gh-pages
available at the moment.After upgrading, removed the
node_modules
,package-lock.json
, and then ran a freshnpm i
.Building with
npm build
runs just fine. And after fixing a single test,npm test
(building first) passes all tests too.Please feel free to request any changes.