From e9338f0dd4bff9aa9f5f2e37d340e330806dd2f9 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 4 Jan 2025 07:38:53 +0000 Subject: [PATCH] fix: upgrade highlight.js from 9.13.1 to 9.18.5 Snyk has created this PR to upgrade highlight.js from 9.13.1 to 9.18.5. See this package in npm: highlight.js See this project in Snyk: https://app.snyk.io/org/t438879/project/33205a16-c8fe-4fd9-a2c7-8f6880a0d475?utm_source=github&utm_medium=referral&page=upgrade-pr --- front/package-lock.json | 41 +++++++++++++++++++++-------------------- front/package.json | 2 +- 2 files changed, 22 insertions(+), 21 deletions(-) diff --git a/front/package-lock.json b/front/package-lock.json index 5283b5bc..eaab004d 100644 --- a/front/package-lock.json +++ b/front/package-lock.json @@ -1,4 +1,5 @@ { + "name": "npm-proj-1735976307073-0.6160358521772153wITyXe", "version": "1.0.0", "lockfileVersion": 1, "requires": true, @@ -4492,24 +4493,24 @@ } } }, - "string-width": { - "version": "1.0.2", + "string_decoder": { + "version": "1.0.1", "bundled": true, "dev": true, "optional": true, "requires": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" + "safe-buffer": "^5.0.1" } }, - "string_decoder": { - "version": "1.0.1", + "string-width": { + "version": "1.0.2", "bundled": true, "dev": true, "optional": true, "requires": { - "safe-buffer": "^5.0.1" + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" } }, "stringstream": { @@ -4905,9 +4906,9 @@ "dev": true }, "highlight.js": { - "version": "9.13.1", - "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-9.13.1.tgz", - "integrity": "sha512-Sc28JNQNDzaH6PORtRLMvif9RSn1mYuOoX3omVjnb0+HbpPygU2ALBI0R/wsiqCb4/fcp07Gdo8g+fhtFrQl6A==" + "version": "9.18.5", + "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-9.18.5.tgz", + "integrity": "sha512-a5bFyofd/BHCX52/8i8uJkjr9DYwXIPnM/plwI6W7ezItLGqzt7X2G2nXuYSfsIJdkwwj/g9DG1LkcGJI/dDoA==" }, "hmac-drbg": { "version": "1.0.1", @@ -10314,6 +10315,15 @@ "integrity": "sha1-J5siXfHVgrH1TmWt3UNS4Y+qBxM=", "dev": true }, + "string_decoder": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz", + "integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==", + "dev": true, + "requires": { + "safe-buffer": "~5.1.0" + } + }, "string-length": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/string-length/-/string-length-1.0.1.tgz", @@ -10356,15 +10366,6 @@ } } }, - "string_decoder": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz", - "integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==", - "dev": true, - "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/front/package.json b/front/package.json index 2c85faad..6f0e9f06 100644 --- a/front/package.json +++ b/front/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "element-ui": "^2.2.2", - "highlight.js": "^9.13.1", + "highlight.js": "^9.18.5", "vue": "^2.5.2", "vue-highlightjs": "^1.3.3", "vue-i18n": "^8.0.0",