diff --git a/package-lock.json b/package-lock.json index 544ca416..72e872b8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,7 +22,7 @@ "@tsconfig/strictest": "^2.0.2", "@types/node": "^20.8.6", "esbuild": "0.19.5", - "tsx": "^3.13.0", + "tsx": "^3.14.0", "typescript": "^5.2.2" }, "engines": { @@ -741,9 +741,9 @@ "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" }, "node_modules/tsx": { - "version": "3.13.0", - "resolved": "https://registry.npmjs.org/tsx/-/tsx-3.13.0.tgz", - "integrity": "sha512-rjmRpTu3as/5fjNq/kOkOtihgLxuIz6pbKdj9xwP4J5jOLkBxw/rjN5ANw+KyrrOXV5uB7HC8+SrrSJxT65y+A==", + "version": "3.14.0", + "resolved": "https://registry.npmjs.org/tsx/-/tsx-3.14.0.tgz", + "integrity": "sha512-xHtFaKtHxM9LOklMmJdI3BEnQq/D5F73Of2E1GDrITi9sgoVkvIsrQUTY1G8FlmGtA+awCI4EBlTRRYxkL2sRg==", "dev": true, "dependencies": { "esbuild": "~0.18.20", @@ -1647,9 +1647,9 @@ "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" }, "tsx": { - "version": "3.13.0", - "resolved": "https://registry.npmjs.org/tsx/-/tsx-3.13.0.tgz", - "integrity": "sha512-rjmRpTu3as/5fjNq/kOkOtihgLxuIz6pbKdj9xwP4J5jOLkBxw/rjN5ANw+KyrrOXV5uB7HC8+SrrSJxT65y+A==", + "version": "3.14.0", + "resolved": "https://registry.npmjs.org/tsx/-/tsx-3.14.0.tgz", + "integrity": "sha512-xHtFaKtHxM9LOklMmJdI3BEnQq/D5F73Of2E1GDrITi9sgoVkvIsrQUTY1G8FlmGtA+awCI4EBlTRRYxkL2sRg==", "dev": true, "requires": { "esbuild": "~0.18.20", diff --git a/package.json b/package.json index a039e5c5..a1eb454b 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "@tsconfig/strictest": "^2.0.2", "@types/node": "^20.8.6", "esbuild": "0.19.5", - "tsx": "^3.13.0", + "tsx": "^3.14.0", "typescript": "^5.2.2" } } diff --git a/scripts/run_tests.ts b/scripts/run_tests.ts index 4c130c95..61b0bcb3 100755 --- a/scripts/run_tests.ts +++ b/scripts/run_tests.ts @@ -7,7 +7,7 @@ const testPaths = dirEnts.flatMap((dirent) => dirent.name.endsWith('.test.ts') ? console.log('Starting to run tests for', testPaths); -execFileSync('node', ['--loader', 'tsx', '--no-warnings', '--test', ...testPaths], { +execFileSync('node', ['--import', 'tsx', '--no-warnings', '--test', ...testPaths], { // preserving color: https://github.com/nodejs/help/issues/2183#issuecomment-532362821 stdio: 'inherit', });