diff --git a/package.json b/package.json index c2a1004..dd704d6 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "core-js": "^3.6.5", "date-fns": "^2.14.0", "enquire.js": "^2.1.6", - "highlight.js": "^10.2.1", + "highlight.js": "^10.4.1", "js-cookie": "^2.2.1", "mockjs": "^1.1.0", "nprogress": "^0.2.0", diff --git a/yarn.lock b/yarn.lock index a6e1e7d..04247ef 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5311,10 +5311,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@^10.2.1: - version "10.2.1" - resolved "https://registry.npm.taobao.org/highlight.js/download/highlight.js-10.2.1.tgz#09784fe2e95612abbefd510948945d4fe6fa9668" - integrity sha1-CXhP4ulWEqu+/VEJSJRdT+b6lmg= +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== highlight.js@^9.6.0: version "9.18.1"