Skip to content

ESM fix for node 14.13.1 breaking change #1130

Description

@cspotcode

Pretty sure it's cuz the URL protocol for native modules changed from nodejs: to node: and has to do with our necessary forking of node's resolver.

Fix must:

  • be backwards compatible (at least in the short-term). Before 14.13.1 needs to use nodejs:; after needs to use node:
  • test suite updated to run 14.13.0 and 14.13.1 (or at least one 14.x version before and one after)
  • specs should attempt to load native modules without import elision

Relevant conversation starts here: #1007 (comment)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions