motdotla / dotenv

Loads environment variables from .env for nodejs projects.
https://www.dotenvx.com
BSD 2-Clause "Simplified" License
19.21k stars 861 forks source link

Use "node:" prefix everywhere. #838

Closed boenrobot closed 3 months ago

boenrobot commented 3 months ago

Updated the minimum nodejs version and CI accordingly.


The use of the "node:" prefix enables use in runtimes like workerd where compatibility layer is provided for "node:" improts only, but not for unprefixed packages. The cost to that is that the minimum nodejs version needs to be raised to ">=14.18.0 <15 || >=16".

motdotla commented 3 months ago

thank you but sorry not plans to bump the minimum version. many millions of projects depend on this on the older versions of node.