Skip to content

[all] support ESM instrumentation for Node.js v18.19, v20, v21 #2021

Closed
@pichlermarc

Description

@pichlermarc

Currently we use an older version of import-in-the-middle that does not work with

  • Node.js v18.19
  • Node.js v20
  • Node.js v21

We're blocked on updating to [email protected] in the core repo as that version includes a bug (nodejs/import-in-the-middle#57) which breaks our way of detecting ESM packages. We do this ESM detection in multiple packages.

To resolve this issue there are two options:

Regardless of the option chosen above, we then need to:

  • bump the import-in-the-middle version in core, remove import-in-the-middle form the ignore list in renovate.json
  • wait for a core release (done by a maintainer)
  • update core packages and release a new contrib version (done by a maintainer)
    • no new version needed as this was just a patch release
  • enable testing of previously unsupported Node.js in the workflows of this repo

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions