Skip to content

Refactor shouldCompress function - #202

Draft
Ayoub-Mabrouk wants to merge 1 commit into
expressjs:v2from
Ayoub-Mabrouk:chore/shouldCompress
Draft

Ayoub-Mabrouk wants to merge 1 commit into
expressjs:v2from
Ayoub-Mabrouk:chore/shouldCompress

Conversation

@Ayoub-Mabrouk

Copy link
Copy Markdown
Contributor

Refactor shouldCompress function to use template literals for debug messages and const for variable declaration

@UlisesGascon

Copy link
Copy Markdown
Member

Using ES6 syntax will require to drop support for all Node.js versions, so this PR can be included in the next major potentially.

@bjohansebas bjohansebas added this to the 2.0 milestone Nov 3, 2024
@bjohansebas
bjohansebas marked this pull request as draft November 9, 2024 19:41
@bjohansebas
bjohansebas changed the base branch from master to v2 April 7, 2025 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants