keycloak-nodejs-connect icon indicating copy to clipboard operation
keycloak-nodejs-connect copied to clipboard

Convert modules to standardized module system

Open jonkoops opened this issue 10 months ago • 3 comments

Currently our code is still using the legacy CommonJS module system, instead standardized ECMAScript modules should be used. This makes the code more familiar to JavaScript developers not familiar with the old module system, and helps future proof the code so that we can upgrade our dependencies.

jonkoops avatar Feb 03 '25 17:02 jonkoops

This will be a breaking change for as long as we support Node.js 18, as it does not have the ability to import standard modules from legacy ones. This issue will have to be resolved when we drop support for Node.js 18.

jonkoops avatar Feb 05 '25 13:02 jonkoops

Can we switch to the new Node version now ?

fadiroot avatar Nov 02 '25 22:11 fadiroot

No, we're not going to land this. The library has been deprecated for some time, and future support will likely be dropped in favor of community alternatives.

jonkoops avatar Nov 05 '25 12:11 jonkoops