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

feat: migrate to es6 class instead of util.inherit in http2wrapper #1764

Merged
merged 1 commit into from
Aug 15, 2023

Conversation

tobiasdiez
Copy link
Contributor

It is recommended to no longer use util.inherits but instead use es6 classes and extends, see https://nodejs.org/api/util.html#utilinheritsconstructor-superconstructor. In this PR we follow this advice and migrate the http2wrapper accordingly. Other instances of util.inherit are left for follow-up PRs.

@titanism
Copy link
Collaborator

v8.1.0 released which fixes this issue, thank you

npm install [email protected]

release notes @ https://github.com/ladjs/superagent/releases/tag/v8.1.0

@tobiasdiez tobiasdiez deleted the es6_http2wrapper branch August 17, 2023 09:22
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.

2 participants