Skip to content

refactor: remove obsolete brotli and http2 support checks#221

Merged
bjohansebas merged 2 commits intoexpressjs:v2from
Phillip9587:v2-remove-support-checks
Apr 7, 2025
Merged

refactor: remove obsolete brotli and http2 support checks#221
bjohansebas merged 2 commits intoexpressjs:v2from
Phillip9587:v2-remove-support-checks

Conversation

@Phillip9587
Copy link
Member

Since the next major drops support for Node.js < v18 these checks are no longer needed.

brotli = hasBrotliSupport ? it.skip : it

brotli('should respond with gzip', function (done) {
it.skip('should respond with gzip', function (done) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I set this test to it.skip because we may need it since there is an open issue for it: #220

@Phillip9587 Phillip9587 added this to the 2.0 milestone Feb 14, 2025
@bjohansebas bjohansebas merged commit fc2ff9b into expressjs:v2 Apr 7, 2025
16 checks passed
@bjohansebas
Copy link
Member

thanks!

@Phillip9587 Phillip9587 deleted the v2-remove-support-checks branch April 7, 2025 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments