From f68f175575a0dc0a4c1efab669bf9c52d9a492f2 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 23 Jul 2024 04:30:52 +0000 Subject: [PATCH] fix: upgrade @nestjs/swagger from 7.3.1 to 7.4.0 Snyk has created this PR to upgrade @nestjs/swagger from 7.3.1 to 7.4.0. See this package in npm: @nestjs/swagger See this project in Snyk: https://app.snyk.io/org/alejandroguillenb/project/49f96871-3f9f-4cab-9d70-598d02d7a056?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 27 +++++++++++++++------------ package.json | 2 +- 2 files changed, 16 insertions(+), 13 deletions(-) diff --git a/package-lock.json b/package-lock.json index aad47d6..17f6802 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "@nestjs/core": "^10.3.7", "@nestjs/jwt": "^10.2.0", "@nestjs/passport": "^10.0.3", - "@nestjs/swagger": "^7.3.1", + "@nestjs/swagger": "^7.4.0", "@nestjs/typeorm": "^10.0.2", "bcrypt": "^5.1.1", "cors": "^2.8.5", @@ -1902,9 +1902,10 @@ } }, "node_modules/@microsoft/tsdoc": { - "version": "0.14.2", - "resolved": "https://registry.npmjs.org/@microsoft/tsdoc/-/tsdoc-0.14.2.tgz", - "integrity": "sha512-9b8mPpKrfeGRuhFH5iO1iwCLeIIsV6+H1sRfxbkoGXIyQE2BTsPd9zqSqQJ+pv5sJ/hT5M1zvOFL02MnEezFug==" + "version": "0.15.0", + "resolved": "https://registry.npmjs.org/@microsoft/tsdoc/-/tsdoc-0.15.0.tgz", + "integrity": "sha512-HZpPoABogPvjeJOdzCOSJsXeL/SMCBgBZMVC3X3d7YYp2gf31MfxhUoYUNwf1ERPJOnQc0wkFn9trqI6ZEdZuA==", + "license": "MIT" }, "node_modules/@nestjs/cli": { "version": "10.3.2", @@ -2269,16 +2270,17 @@ "dev": true }, "node_modules/@nestjs/swagger": { - "version": "7.3.1", - "resolved": "https://registry.npmjs.org/@nestjs/swagger/-/swagger-7.3.1.tgz", - "integrity": "sha512-LUC4mr+5oAleEC/a2j8pNRh1S5xhKXJ1Gal5ZdRjt9XebQgbngXCdW7JTA9WOEcwGtFZN9EnKYdquzH971LZfw==", + "version": "7.4.0", + "resolved": "https://registry.npmjs.org/@nestjs/swagger/-/swagger-7.4.0.tgz", + "integrity": "sha512-dCiwKkRxcR7dZs5jtrGspBAe/nqJd1AYzOBTzw9iCdbq3BGrLpwokelk6lFZPe4twpTsPQqzNKBwKzVbI6AR/g==", + "license": "MIT", "dependencies": { - "@microsoft/tsdoc": "^0.14.2", + "@microsoft/tsdoc": "^0.15.0", "@nestjs/mapped-types": "2.0.5", "js-yaml": "4.1.0", "lodash": "4.17.21", "path-to-regexp": "3.2.0", - "swagger-ui-dist": "5.11.2" + "swagger-ui-dist": "5.17.14" }, "peerDependencies": { "@fastify/static": "^6.0.0 || ^7.0.0", @@ -12475,9 +12477,10 @@ } }, "node_modules/swagger-ui-dist": { - "version": "5.11.2", - "resolved": "https://registry.npmjs.org/swagger-ui-dist/-/swagger-ui-dist-5.11.2.tgz", - "integrity": "sha512-jQG0cRgJNMZ7aCoiFofnoojeSaa/+KgWaDlfgs8QN+BXoGMpxeMVY5OEnjq4OlNvF3yjftO8c9GRAgcHlO+u7A==" + "version": "5.17.14", + "resolved": "https://registry.npmjs.org/swagger-ui-dist/-/swagger-ui-dist-5.17.14.tgz", + "integrity": "sha512-CVbSfaLpstV65OnSjbXfVd6Sta3q3F7Cj/yYuvHMp1P90LztOLs6PfUnKEVAeiIVQt9u2SaPwv0LiH/OyMjHRw==", + "license": "Apache-2.0" }, "node_modules/swagger-ui-express": { "version": "5.0.0", diff --git a/package.json b/package.json index 92d876f..75d1504 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ "@nestjs/core": "^10.3.7", "@nestjs/jwt": "^10.2.0", "@nestjs/passport": "^10.0.3", - "@nestjs/swagger": "^7.3.1", + "@nestjs/swagger": "^7.4.0", "@nestjs/typeorm": "^10.0.2", "bcrypt": "^5.1.1", "cors": "^2.8.5",