Problem
The package @swc/register is deprecated we should use @swc-node/register instead as they mention in the official repository swc-project/register which is archived since Feb 8, 2024.
Terminal output / screenshots

npm WARN deprecated @swc/register@0.1.10: Use @swc-node/register instead
Question
I would love contribute opening a pull request to this project but I'm not sure if this repository maintains some kind of compatibility with older versions!
For example, should I just replace the actual module with the new one?
'.ts': [
...
{
- module: '@swc/register',
+ module: '@swc-node/register',
register: function (hook, config) { ... },
},
]
Should the next version be 4.0.0?
Or just add the new one:
'.ts': [
...
{
module: '@swc/register',
register: function (hook, config) { ... },
},
+ {
+ module: '@swc-node/register',
+ register: function (hook, config) { ... },
+ },
]
Should the next version be 3.1.2 or 3.2.0 🤔
Problem
The package @swc/register is deprecated we should use @swc-node/register instead as they mention in the official repository swc-project/register which is archived since Feb 8, 2024.
Terminal output / screenshots
Question
I would love contribute opening a pull request to this project but I'm not sure if this repository maintains some kind of compatibility with older versions!
For example, should I just replace the actual module with the new one?
'.ts': [ ... { - module: '@swc/register', + module: '@swc-node/register', register: function (hook, config) { ... }, }, ]Or just add the new one:
'.ts': [ ... { module: '@swc/register', register: function (hook, config) { ... }, }, + { + module: '@swc-node/register', + register: function (hook, config) { ... }, + }, ]