From 9ce766395aa79b4aafb09a5b8d2f797e522fb5ab Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 25 Jan 2026 03:08:39 +0000 Subject: [PATCH] fix: hello-typescript/package.json & hello-typescript/package-lock.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-TAR-15038581 --- hello-typescript/package-lock.json | 22 +++++++++++----------- hello-typescript/package.json | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/hello-typescript/package-lock.json b/hello-typescript/package-lock.json index 775bf2c4..0848500a 100644 --- a/hello-typescript/package-lock.json +++ b/hello-typescript/package-lock.json @@ -288,9 +288,9 @@ } }, "dapr-client": { - "version": "0.7.0-preview01", - "resolved": "https://registry.npmjs.org/dapr-client/-/dapr-client-0.7.0-preview01.tgz", - "integrity": "sha512-LbsxR6c93v1I94kevcLjHgS+vWpIWf/1eVgN+BV/umHvIfYqYKsl96T+odShKTDGx9tNCq8fIcm/mYer9xJ5Zw==", + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/dapr-client/-/dapr-client-0.12.0.tgz", + "integrity": "sha512-631GU67m0W2DZRekdAsV5vO/nPn/qIW/gQIFGo8dQG0y44GGVNWVAvtah2lOt9j5MzW6FP1ozenvTziZZ8LkZQ==", "requires": { "google-protobuf": "^3.13.0", "grpc": "^1.24.3" @@ -1393,6 +1393,14 @@ "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=" }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "requires": { + "safe-buffer": "~5.1.0" + } + }, "string-width": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", @@ -1403,14 +1411,6 @@ "strip-ansi": "^3.0.0" } }, - "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "requires": { - "safe-buffer": "~5.1.0" - } - }, "strip-ansi": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", diff --git a/hello-typescript/package.json b/hello-typescript/package.json index 76a1f551..9286118e 100644 --- a/hello-typescript/package.json +++ b/hello-typescript/package.json @@ -9,7 +9,7 @@ "start": "dapr run --app-id=nodeapp --dapr-http-port=3500 --app-port=3000 -- ts-node-dev --inspect --ignore-watch node_modules app.ts" }, "dependencies": { - "dapr-client": "^0.7.0-preview01", + "dapr-client": "^0.12.0", "express": "^4.17.1" }, "devDependencies": {