From 8b28a5d713e982af9396fc9b911e8f82ae8ae8ba Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 17 Apr 2024 04:25:56 +0000 Subject: [PATCH] fix: upgrade swagger-ui-dist from 5.10.5 to 5.12.2 Snyk has created this PR to upgrade swagger-ui-dist from 5.10.5 to 5.12.2. See this package in npm: https://www.npmjs.com/package/swagger-ui-dist See this project in Snyk: https://app.snyk.io/org/mairu/project/42fcf4f7-6c3b-4058-ae7b-2c3c0d07f90c?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 30 +++++++++++++++++++++++------- package.json | 2 +- 2 files changed, 24 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index dbe0783..928aa23 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31,11 +31,27 @@ "proxyquire": "^2.1.3", "semistandard": "^17.0.0", "swagger-parser": "^10.0.3", - "swagger-ui-dist": "^5.10.5", + "swagger-ui-dist": "^5.12.2", "tsd": "^0.30.0" }, "engines": { "node": ">= 14" + }, + "peerDependencies": { + "koa-mount": "^4.0.0", + "koa-static": "^5.0.0", + "swagger-ui-dist": ">=4.9.0" + }, + "peerDependenciesMeta": { + "koa-mount": { + "optional": true + }, + "koa-static": { + "optional": true + }, + "swagger-ui-dist": { + "optional": true + } } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -8157,9 +8173,9 @@ } }, "node_modules/swagger-ui-dist": { - "version": "5.10.5", - "resolved": "https://registry.npmjs.org/swagger-ui-dist/-/swagger-ui-dist-5.10.5.tgz", - "integrity": "sha512-Uv8E7hV/nXALQKgW86X1i58gl1O6DFg+Uq54sDwhYqucBBxj/47dLNw872TNILNlOTuPA6dRvUMGQdmlpaX8qQ==", + "version": "5.12.2", + "resolved": "https://registry.npmjs.org/swagger-ui-dist/-/swagger-ui-dist-5.12.2.tgz", + "integrity": "sha512-Fk8qZCBgZPkDli81pLrkSN15rs49xKnPkjhtKmUImmak4l2HdLiR/R7RgPkMGn1MuXvoIoLjIWgjE7NBgLWZHg==", "dev": true }, "node_modules/test-exclude": { @@ -15003,9 +15019,9 @@ } }, "swagger-ui-dist": { - "version": "5.10.5", - "resolved": "https://registry.npmjs.org/swagger-ui-dist/-/swagger-ui-dist-5.10.5.tgz", - "integrity": "sha512-Uv8E7hV/nXALQKgW86X1i58gl1O6DFg+Uq54sDwhYqucBBxj/47dLNw872TNILNlOTuPA6dRvUMGQdmlpaX8qQ==", + "version": "5.12.2", + "resolved": "https://registry.npmjs.org/swagger-ui-dist/-/swagger-ui-dist-5.12.2.tgz", + "integrity": "sha512-Fk8qZCBgZPkDli81pLrkSN15rs49xKnPkjhtKmUImmak4l2HdLiR/R7RgPkMGn1MuXvoIoLjIWgjE7NBgLWZHg==", "dev": true }, "test-exclude": { diff --git a/package.json b/package.json index 58316b9..384dd4b 100644 --- a/package.json +++ b/package.json @@ -97,7 +97,7 @@ "proxyquire": "^2.1.3", "semistandard": "^17.0.0", "swagger-parser": "^10.0.3", - "swagger-ui-dist": "^5.10.5", + "swagger-ui-dist": "^5.12.2", "tsd": "^0.30.0" } }