swc icon indicating copy to clipboard operation
swc copied to clipboard

Drop support for node v10 and v12

Open Meir017 opened this issue 3 years ago • 3 comments

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/ image

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

Meir017 avatar Jul 31 '22 14:07 Meir017

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.

kwonoj avatar Jul 31 '22 20:07 kwonoj

Maybe here?

Austaras avatar Aug 01 '22 03:08 Austaras

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.

lexkrstn avatar Mar 13 '24 12:03 lexkrstn