Skip to content

chore: replace methods dependency with standard library - #6196

Merged
UlisesGascon merged 1 commit into
expressjs:masterfrom
jonkoops:replace-methods
Jan 2, 2025
Merged

UlisesGascon merged 1 commit into
expressjs:masterfrom
jonkoops:replace-methods

Conversation

@jonkoops

@jonkoops jonkoops commented Dec 2, 2024

Copy link
Copy Markdown
Contributor

Replaces the methods dependency with calls to the standard library of Node.js. Since methods is mostly a polyfill for require('node:http').METHODS in older versions of Node.js that are no longer supported this can be removed.

Works towards closing #4282

Signed-off-by: Jon Koops <jonkoops@gmail.com>

@bjohansebas bjohansebas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@3imed-jaberi 3imed-jaberi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Since we no longer support Node.js versions earlier than 18, we can proceed with this!

+1

@UlisesGascon UlisesGascon left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM!

@UlisesGascon UlisesGascon changed the title Replace methods dependency with standard library chore: replace methods dependency with standard library Jan 2, 2025
@UlisesGascon
UlisesGascon merged commit b11122b into expressjs:master Jan 2, 2025
@jonkoops
jonkoops deleted the replace-methods branch January 2, 2025 11:04
@bjohansebas bjohansebas mentioned this pull request Mar 15, 2025
@UlisesGascon UlisesGascon mentioned this pull request Mar 23, 2025
68 tasks
@wesleytodd wesleytodd mentioned this pull request Mar 28, 2025
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.

5 participants

Sponsor
SponsoredKunjungi sekarang
Promo