Skip to content

Change to ESM only #193

Description

@joaopedrodcf

Hello,

Currently wait-on package ships with commonjs but requires node 20, since node 20 is possible for a ESM package to be imported with require https://nodejs.org/en/blog/release/v23.0.0#requireesm-is-now-enabled-by-default could we change the lib to ship with ESM instead of CJS ? Is this planned ? Since 20.19.0 it doesn't even require a flag anymore

Thanks.

Activity

  1. changed the title [-]With to ESM only[/-] [+]Change to ESM only[/+] on Feb 18, 2026
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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions