diff --git a/package-lock.json b/package-lock.json index 182e176cd..6b14f96e6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2093,6 +2093,7 @@ }, "node_modules/buffer-from": { "version": "1.1.2", + "dev": true, "license": "MIT" }, "node_modules/builtin-modules": { @@ -5368,6 +5369,7 @@ }, "node_modules/source-map": { "version": "0.6.1", + "dev": true, "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" @@ -5680,16 +5682,19 @@ } }, "node_modules/tsx": { - "version": "3.14.0", - "license": "MIT", + "version": "4.6.1", + "resolved": "https://registry.npmjs.org/tsx/-/tsx-4.6.1.tgz", + "integrity": "sha512-OQ4TAPHXAPUo/NZAmmIybl0o8LFOTlycQxFepLBAp6EV87U88fOKYGCQI2viGAEOVU9UW/cgQcxcOMnfEKVY3Q==", "dependencies": { "esbuild": "~0.18.20", - "get-tsconfig": "^4.7.2", - "source-map-support": "^0.5.21" + "get-tsconfig": "^4.7.2" }, "bin": { "tsx": "dist/cli.mjs" }, + "engines": { + "node": ">=18.0.0" + }, "optionalDependencies": { "fsevents": "~2.3.3" } @@ -5743,14 +5748,6 @@ "@esbuild/win32-x64": "0.18.20" } }, - "node_modules/tsx/node_modules/source-map-support": { - "version": "0.5.21", - "license": "MIT", - "dependencies": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - } - }, "node_modules/type-check": { "version": "0.4.0", "dev": true, @@ -6174,7 +6171,7 @@ "@bufbuild/protoc-gen-es": "^1.5.0", "@bufbuild/protoplugin": "^1.5.0", "@types/node": "~20.8.6", - "tsx": "^3.13.0", + "tsx": "^4.6.1", "typescript": "^5.2.2" } }, diff --git a/packages/protoplugin-example/package.json b/packages/protoplugin-example/package.json index 0a9ef84a0..5567b4010 100644 --- a/packages/protoplugin-example/package.json +++ b/packages/protoplugin-example/package.json @@ -16,7 +16,7 @@ "@bufbuild/protoc-gen-es": "^1.5.0", "@bufbuild/protoplugin": "^1.5.0", "typescript": "^5.2.2", - "tsx": "^3.13.0", + "tsx": "^4.6.1", "@types/node": "~20.8.6" } }