diff --git a/package.json b/package.json index f2651d348e37a..17b7f3f5d22f1 100644 --- a/package.json +++ b/package.json @@ -101,7 +101,7 @@ "@supabase/supabase-js": "^2.26.0", "@svgr/rollup": "^8.0.1", "@svgr/webpack": "^8.0.1", - "@swc-node/register": "1.6.7", + "@swc-node/register": "^1.4.2", "@swc/cli": "0.1.62", "@swc/core": "^1.3.51", "@swc/jest": "^0.2.20", diff --git a/packages/js/migrations.json b/packages/js/migrations.json index eee0dc90241aa..9f0ced6950a75 100644 --- a/packages/js/migrations.json +++ b/packages/js/migrations.json @@ -98,15 +98,6 @@ "version": "~5.1.3" } } - }, - "16.9.0": { - "version": "16.9.0-beta.1", - "packages": { - "@swc/register": { - "version": "1.6.7", - "alwaysAddToPackageJson": false - } - } } } } diff --git a/packages/js/src/utils/versions.ts b/packages/js/src/utils/versions.ts index 987ac3f6dd187..6a8510449504b 100644 --- a/packages/js/src/utils/versions.ts +++ b/packages/js/src/utils/versions.ts @@ -5,7 +5,7 @@ export const prettierVersion = '^2.6.2'; export const swcCliVersion = '~0.1.62'; export const swcCoreVersion = '~1.3.51'; export const swcHelpersVersion = '~0.5.0'; -export const swcNodeVersion = '1.6.7'; +export const swcNodeVersion = '~1.4.2'; export const tsLibVersion = '^2.3.0'; export const typesNodeVersion = '18.7.1'; export const verdaccioVersion = '^5.0.4'; diff --git a/packages/nx/package.json b/packages/nx/package.json index 12fe5dcbc948c..b61459fea83d0 100644 --- a/packages/nx/package.json +++ b/packages/nx/package.json @@ -69,7 +69,7 @@ "node-machine-id": "1.1.12" }, "peerDependencies": { - "@swc-node/register": "1.6.7", + "@swc-node/register": "^1.4.2", "@swc/core": "^1.2.173" }, "peerDependenciesMeta": {