Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

#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

Open
isahann wants to merge 8 commits into angular-schule:main
base: main
Choose a base branch
Loading
from isahann:main

Conversation

Copy link

@isahann isahann commented May 7, 2024
edited
Loading

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 fresh npm 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.

@isahann isahann changed the title (削除) Fixing critical vulnerabilities on 2.0.0-beta.2, caused by gh-pages@3.1.0 (削除ここまで) (追記) #185 Fixing critical vulnerabilities on 2.0.0-beta.2, caused by gh-pages@3.1.0 (追記ここまで) May 7, 2024
Copy link
Member

fmalcher commented May 8, 2024

Thank you so much, Isahann! @JohannesHoppe will review and merge this one.

Copy link
Member

JohannesHoppe commented May 8, 2024
edited
Loading

@isahann Thanks for starting this PR! 😃 🙏 Do you think you have the resources to figure out how we can address the breaking change?

Copy link
Author

isahann commented May 8, 2024

@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...

Copy link
Member

We have holidays in Germany. I will run all tests on Monday! 👍

isahann reacted with thumbs up emoji

Copy link

@JohannesHoppe Any updates from the Monday tests? Would be awesome to see this critical vulnerability fixed.

Copy link

davayd commented Jun 23, 2024

Excuse me, just commented to up the topic

Domin8668, DarioFT, isahann, KingDarBoja, DanielGRasmussen, and musicEnfanthen reacted with thumbs up emoji

Copy link

Any updates on this?

Domin8668, DanielGRasmussen, isahann, hyker1811, jano-kucera, and musicEnfanthen reacted with thumbs up emoji

Copy link

I'm also looking forward this new version to be available, any update on this PR?

DanielGRasmussen, Domin8668, isahann, jano-kucera, musicEnfanthen, Panagiotis-Sklidas, and RedDwarfian reacted with thumbs up emoji

Copy link

Looking forward to merge this PR - folks. Current version is causing havoc with the critical vulnerabilities

Domin8668, kevinkuranaya, musicEnfanthen, RedDwarfian, robsonbittencourt, isahann, and persapiens reacted with thumbs up emoji

Copy link

👀

Copy link
Author

isahann commented Apr 12, 2025

@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...

Copy link

Any chance of movement? Would you like any help?

Copy link

BGBRWR commented Aug 13, 2025

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.

robsonbittencourt reacted with thumbs up emoji

Copy link
Member

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:

  1. Upgrade to gh-pages v6 and test everything thoroughly (high risk, since ~66k repos depend on angular-cli-ghpages).
  2. Fork the current gh-pages version and only patch security-relevant dependencies, without updating commander.
  3. Copy the best parts of gh-pages into our repo (not very polite, but would make us independent).

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!

robsonbittencourt, isahann, BGBRWR, and Rapteon reacted with thumbs up emoji

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@JohannesHoppe JohannesHoppe Awaiting requested review from JohannesHoppe

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /