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

Convert to ESM module #254

Open
MiSchroe opened this issue Oct 31, 2024 · 1 comment
Open

Convert to ESM module #254

MiSchroe opened this issue Oct 31, 2024 · 1 comment
Assignees

Comments

@MiSchroe
Copy link
Owner

Is your feature request related to a problem? Please describe.
More and more packages on NPM are released as ESM module, only. Older version won't be supported anymore and the risk will raise to run into secrutiy issues.

Describe the solution you'd like
A version of the adapter that is an ESM only version.
A documentation for other adapter developers that clearly marks the steps to go.

Describe alternatives you've considered
Sooner or later there will be no alternative.

@MiSchroe MiSchroe self-assigned this Oct 31, 2024
@mcm1957
Copy link
Contributor

mcm1957 commented Oct 31, 2024

Just for info:

Starting with node 22 you can simply require ESM modules:
https://dev.to/andreas_herz/exploring-the-exciting-new-features-in-nodejs-22-1j90

So ESM only pacakges will not be a problem in furture, although the feature ist currently experimental. I would expect that it will be regular / stable with node 24. So it depends effort for migration.

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

No branches or pull requests

2 participants