diff --git a/AFront/package.json b/AFront/package.json index 25530c8..e3077ab 100644 --- a/AFront/package.json +++ b/AFront/package.json @@ -12,7 +12,7 @@ "dependencies": { "clipboard": "^2.0.0", "echarts": "^4.0.4", - "highlight.js": "^9.5.0", + "highlight.js": "^10.4.1", "jquery": "^3.1.0", "js-md5": "^0.7.3", "less": "^2.3.1", diff --git a/AFront/yarn.lock b/AFront/yarn.lock index 3016c20..63ebd5f 100644 --- a/AFront/yarn.lock +++ b/AFront/yarn.lock @@ -3428,10 +3428,10 @@ hex-color-regex@^1.1.0: resolved "https://registry.npm.taobao.org/hex-color-regex/download/hex-color-regex-1.1.0.tgz#4c06fccb4602fe2602b3c93df82d7e7dbf1a8a8e" integrity sha1-TAb8y0YC/iYCs8k9+C1+fb8aio4= -highlight.js@^9.5.0: - version "9.15.10" - resolved "https://registry.npm.taobao.org/highlight.js/download/highlight.js-9.15.10.tgz#7b18ed75c90348c045eef9ed08ca1319a2219ad2" - integrity sha1-exjtdckDSMBF7vntCMoTGaIhmtI= +highlight.js@^10.4.1: + version "10.4.1" + resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-10.4.1.tgz#d48fbcf4a9971c4361b3f95f302747afe19dbad0" + integrity sha512-yR5lWvNz7c85OhVAEAeFhVCc/GV4C30Fjzc/rCP0aCWzc1UUOPUk55dK/qdwTZHBvMZo+eZ2jpk62ndX/xMFlg== hmac-drbg@^1.0.0: version "1.0.1"