Skip to content

chore(benchmarks): require(esm) on ESM-only packages#5527

Open
slagiewka wants to merge 1 commit into
nodejs:mainfrom
slagiewka:benchmark_require_esm
Open

chore(benchmarks): require(esm) on ESM-only packages#5527
slagiewka wants to merge 1 commit into
nodejs:mainfrom
slagiewka:benchmark_require_esm

Conversation

@slagiewka

Copy link
Copy Markdown
Contributor

This relates to...

N/A

Rationale

Since v8 requires node >= 22.19 and some of the bench dependencies also moved past node v20 (e.g. cronometro), we can use require(esm) and remove the special handling previosuly required for these packages.

Status

Since v8 requires node >= 22.19 and some of the bench dependencies also
moved past node v20 (e.g. cronometro), we can use `require(esm)` and
remove the special handling previosuly required for these packages.
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.44%. Comparing base (0dee09d) to head (f38ff85).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5527   +/-   ##
=======================================
  Coverage   93.44%   93.44%           
=======================================
  Files         110      110           
  Lines       37329    37329           
=======================================
  Hits        34883    34883           
  Misses       2446     2446           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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