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

fix: Update import-in-the-middle to fix ESM on Node 18.19.0 #1906

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

jsumners-nr
Copy link
Contributor

Node.js v18.19.0 includes a backport of ESM loaders happening on a separate thread (nodejs/node@bac9b17). This caused import-in-the-middle to not load ESM correctly. The latest version includes a fix to properly load ESM on v18.19.0. So this PR updates our minimum supported version accordingly.

Copy link

codecov bot commented Dec 11, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (bf22ae5) 96.88% compared to head (52bd626) 96.88%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1906   +/-   ##
=======================================
  Coverage   96.88%   96.88%           
=======================================
  Files         209      209           
  Lines       39872    39872           
=======================================
  Hits        38631    38631           
  Misses       1241     1241           
Flag Coverage Δ
integration-tests-16.x 78.70% <ø> (-0.02%) ⬇️
integration-tests-18.x 78.97% <ø> (ø)
integration-tests-20.x 78.98% <ø> (ø)
unit-tests-16.x 90.88% <ø> (ø)
unit-tests-18.x 90.87% <ø> (ø)
unit-tests-20.x 90.87% <ø> (ø)
versioned-tests-16.x 73.79% <ø> (-0.03%) ⬇️
versioned-tests-18.x 73.79% <ø> (-0.03%) ⬇️
versioned-tests-20.x 73.80% <ø> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@jsumners-nr jsumners-nr merged commit e9c3748 into newrelic:main Dec 11, 2023
22 checks passed
@jsumners-nr jsumners-nr deleted the fix-v18.19 branch December 11, 2023 17:25
@github-actions github-actions bot mentioned this pull request Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants