From 6155c18fba8bc8b90f70341415866176f36cd1f8 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 17 Sep 2024 23:16:15 +0000 Subject: [PATCH] fix: packages/docsify-server-renderer/package.json & packages/docsify-server-renderer/package-lock.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-DOMPURIFY-7984421 --- .../docsify-server-renderer/package-lock.json | 31 ++++++------------- packages/docsify-server-renderer/package.json | 2 +- 2 files changed, 11 insertions(+), 22 deletions(-) diff --git a/packages/docsify-server-renderer/package-lock.json b/packages/docsify-server-renderer/package-lock.json index 0c077d906..1ffcff161 100644 --- a/packages/docsify-server-renderer/package-lock.json +++ b/packages/docsify-server-renderer/package-lock.json @@ -10,7 +10,7 @@ "license": "MIT", "dependencies": { "debug": "^4.3.3", - "docsify": "^4.12.4", + "docsify": "^4.13.0", "node-fetch": "^2.6.6", "resolve-pathname": "^3.0.0" } @@ -32,26 +32,21 @@ } }, "node_modules/docsify": { - "version": "4.12.4", - "resolved": "https://registry.npmjs.org/docsify/-/docsify-4.12.2.tgz", - "integrity": "sha512-hpRez5upcvkYigT2zD8P5kH5t9HpSWL8yn/ZU/g04/WfAfxVNW6CPUVOOF1EsQUDxTRuyNTFOb6uUv+tPij3tg==", + "version": "4.13.0", + "resolved": "https://registry.npmjs.org/docsify/-/docsify-4.13.0.tgz", + "integrity": "sha512-dM2D0LZKrhK9e5cPwzOTO8FJ2l9IxgiSmTgLBIMjkBlTs1rAUT5camzekbk2AhH0Tw+5lzkNrSb7dmKFuTiLCA==", "hasInstallScript": true, + "license": "MIT", "dependencies": { - "dompurify": "^2.3.1", "marked": "^1.2.9", "medium-zoom": "^1.0.6", "opencollective-postinstall": "^2.0.2", - "prismjs": "^1.23.0", + "prismjs": "^1.27.0", "strip-indent": "^3.0.0", "tinydate": "^1.3.0", "tweezer.js": "^1.4.0" } }, - "node_modules/dompurify": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-2.3.2.tgz", - "integrity": "sha512-jXJnvWloI+scD+N5uBikpUMsYXZb0LCAXxLFAOLS5duCzKfXLqBCpuINvFOiI4eJgTLggrngljT18HNoakHUsA==" - }, "node_modules/marked": { "version": "1.2.9", "resolved": "https://registry.npmjs.org/marked/-/marked-1.2.9.tgz", @@ -175,25 +170,19 @@ } }, "docsify": { - "version": "4.12.2", - "resolved": "https://registry.npmjs.org/docsify/-/docsify-4.12.2.tgz", - "integrity": "sha512-hpRez5upcvkYigT2zD8P5kH5t9HpSWL8yn/ZU/g04/WfAfxVNW6CPUVOOF1EsQUDxTRuyNTFOb6uUv+tPij3tg==", + "version": "4.13.0", + "resolved": "https://registry.npmjs.org/docsify/-/docsify-4.13.0.tgz", + "integrity": "sha512-dM2D0LZKrhK9e5cPwzOTO8FJ2l9IxgiSmTgLBIMjkBlTs1rAUT5camzekbk2AhH0Tw+5lzkNrSb7dmKFuTiLCA==", "requires": { - "dompurify": "^2.3.1", "marked": "^1.2.9", "medium-zoom": "^1.0.6", "opencollective-postinstall": "^2.0.2", - "prismjs": "^1.23.0", + "prismjs": "^1.27.0", "strip-indent": "^3.0.0", "tinydate": "^1.3.0", "tweezer.js": "^1.4.0" } }, - "dompurify": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-2.3.2.tgz", - "integrity": "sha512-jXJnvWloI+scD+N5uBikpUMsYXZb0LCAXxLFAOLS5duCzKfXLqBCpuINvFOiI4eJgTLggrngljT18HNoakHUsA==" - }, "marked": { "version": "1.2.9", "resolved": "https://registry.npmjs.org/marked/-/marked-1.2.9.tgz", diff --git a/packages/docsify-server-renderer/package.json b/packages/docsify-server-renderer/package.json index 44e12cfac..eb205f5e7 100644 --- a/packages/docsify-server-renderer/package.json +++ b/packages/docsify-server-renderer/package.json @@ -16,7 +16,7 @@ }, "dependencies": { "debug": "^4.3.3", - "docsify": "^4.12.4", + "docsify": "^4.13.0", "node-fetch": "^2.6.6", "resolve-pathname": "^3.0.0" }