From cb7def2e5774cc15ae5f8fea36840559b5442055 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 27 Oct 2023 14:06:21 +0000 Subject: [PATCH] fix: samples/01-dialogflow-handlers/package.json & samples/01-dialogflow-handlers/package-lock.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-AXIOS-6032459 --- .../01-dialogflow-handlers/package-lock.json | 29 +++++++------------ samples/01-dialogflow-handlers/package.json | 2 +- 2 files changed, 12 insertions(+), 19 deletions(-) diff --git a/samples/01-dialogflow-handlers/package-lock.json b/samples/01-dialogflow-handlers/package-lock.json index b6455a5..62fd59c 100644 --- a/samples/01-dialogflow-handlers/package-lock.json +++ b/samples/01-dialogflow-handlers/package-lock.json @@ -648,14 +648,20 @@ } }, "@nestjs/common": { - "version": "8.2.6", - "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-8.2.6.tgz", - "integrity": "sha512-flLYSXunxcKyjbYddrhwbc49uE705MxBt85rS3mHyhDbAIPSGGeZEqME44YyAzCg1NTfJSNe7ztmOce5kNkb9A==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-9.0.0.tgz", + "integrity": "sha512-dyAd48ux/eFYj1uEnQAisSVWq54ttEfeHJBDljvAc6hXbBNHTzZfq/fUH6DmlK29WdGXNMVabCjfduwX2EPquQ==", "requires": { - "axios": "0.24.0", "iterare": "1.2.1", - "tslib": "2.3.1", + "tslib": "2.4.0", "uuid": "8.3.2" + }, + "dependencies": { + "tslib": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + } } }, "@nestjs/core": { @@ -1068,14 +1074,6 @@ "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", "dev": true }, - "axios": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.24.0.tgz", - "integrity": "sha512-Q6cWsys88HoPgAaFAVUb0WpPk0O8iTeisR9IMqy9G8AbO4NlpVknrnQS03zzF9PGAWgO3cgletO3VjV/P7VztA==", - "requires": { - "follow-redirects": "^1.14.4" - } - }, "babel-jest": { "version": "27.4.6", "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-27.4.6.tgz", @@ -1805,11 +1803,6 @@ "path-exists": "^4.0.0" } }, - "follow-redirects": { - "version": "1.14.8", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.8.tgz", - "integrity": "sha512-1x0S9UVJHsQprFcEC/qnNzBLcIxsjAV905f/UkQxbclCsoTWlacCNOpQa/anodLl2uaEKFhfWOvM2Qg77+15zA==" - }, "form-data": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz", diff --git a/samples/01-dialogflow-handlers/package.json b/samples/01-dialogflow-handlers/package.json index 07c46ad..6798b3d 100644 --- a/samples/01-dialogflow-handlers/package.json +++ b/samples/01-dialogflow-handlers/package.json @@ -16,7 +16,7 @@ "prepare": "npm run snyk-protect" }, "dependencies": { - "@nestjs/common": "^8.2.6", + "@nestjs/common": "^9.0.0", "@nestjs/core": "^8.2.6", "@nestjs/testing": "^8.2.6", "nestjs-dialogflow": "file:../..",