swc
swc copied to clipboard
Drop support for node v10 and v12
Describe the feature
Nodejs v10 and v12 are deprecated and not supported anymore, the oldest supported version is v14.
see https://nodejs.org/en/about/releases/

Changes here https://github.com/swc-project/swc/blob/main/package.json#L22
Babel plugin or link to the feature description
No response
Additional context
No response
I'm not sure what exact requirement for this. Do you mean we may document it somewhere? or explicitly drop something we currently do but shouldn't? I'm in support of dropping deprecated old versions though.
Maybe here?
The problem is that any SWC version could be installed on Node v12 (which is still used in some of our legacy projects) now, but the most recent SWC versions don't support Node 12 in fact. So now I have to find the version that worked before the last dependency reinstallation in order to fix it in my package.json. As far as I understand how the package management works in NodeJs, I wouldn't need all this work if there was a proper engine version support indicated.