Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: add ESM support for hapi #4702

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

Open
Marsup wants to merge 1 commit into elastic:main
base: main
Choose a base branch
Loading
from Marsup:feat/hapi-esm
Open

Conversation

@Marsup
Copy link
Contributor

@Marsup Marsup commented Jul 29, 2025
edited
Loading

Similarly to what #3381 did, I added ESM support for hapi.

It seems many tests are migrating to runTestFixtures, so I followed that while trying to preserve the spirit of previous tests, hopefully it covers as much.

I had some problems with the Windows CI when combined with ESM, I activated debugging for require-in-the-middle, there were traces up to hapi's lib/server.js, but I never saw lib/index.js in those traces, so I'm not sure what's happening there, it doesn't seem related to my changes.

I guess this contributes a bit to #3445, I don't see the point of adding hapi (unscoped) support since it's been deprecated a very long while ago.

Checklist

  • Implement code
  • Add tests
  • Update TypeScript typings
  • Update documentation
  • Add release notes to docs/release-notes/index.md
  • Commit message follows commit guidelines

Zorinik reacted with hooray emoji
@Marsup Marsup requested a review from a team as a code owner July 29, 2025 22:22
Copy link

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

Copy link

🔍 Preview links for changed docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /