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

Replace connect-gzip-static with express-static-gzip to become compatible with node 23. #24619

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

bdolgov
Copy link
Contributor

@bdolgov bdolgov commented Nov 3, 2024

Removes a dependency on @folder/readdir which is not compatible with node 23.

Fixes #24568.

@bdolgov bdolgov changed the base branch from master to dev November 3, 2024 11:33
@Koenkk
Copy link
Owner

Koenkk commented Nov 3, 2024

Connect-gzip-static > 3 requires Node 20, but unfortunately we cannot upgrade due to nodejs/docker-node#1946 . I hope it will be fixed soon.

@Koenkk
Copy link
Owner

Koenkk commented Nov 3, 2024

Given that Node 18 is in maintenance until +- April 2025, we also need to support it until then (since that is the strategy z2m follows). Of course we also want to support Node 23. Therefore I think the best way forward is to remove this dependency, could you take a look into that?

image

Old versions of connect-gzip-static are not compatible with node 23,
new versions of connect-gzip-static are not compatible with node 18,
but we want to support both. express-static-gzip is compatible with
all versions.
@bdolgov bdolgov changed the title fix: update connect-gzip-static to 4.0.0 to become compatible with node 23. Replace connect-gzip-static with express-static-gzip to become compatible with node 23. Nov 4, 2024
@Koenkk Koenkk merged commit 87cee1a into Koenkk:dev Nov 4, 2024
11 checks passed
@Koenkk
Copy link
Owner

Koenkk commented Nov 4, 2024

Thanks!

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.

Node JS 23 Incompatibility
2 participants