diff --git a/package.json b/package.json index 6d38a8a..d99ba13 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "antd": "^3.26.2", "aplayer": "^1.10.1", "axios": "^0.19.0", - "highlight.js": "^9.17.1", + "highlight.js": "^10.4.1", "immutable": "^4.0.0-rc.12", "js-cookie": "^2.2.1", "lodash": "^4.17.15", diff --git a/yarn.lock b/yarn.lock index 99af3da..2d208d6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5758,7 +5758,7 @@ handle-thing@^2.0.0: resolved "https://registry.npm.taobao.org/handle-thing/download/handle-thing-2.0.0.tgz#0e039695ff50c93fc288557d696f3c1dc6776754" integrity sha1-DgOWlf9QyT/CiFV9aW88HcZ3Z1Q= -handlebars@^4.1.2, handlebars@^4.5.3: +handlebars@^4.1.2: version "4.5.3" resolved "https://registry.npm.taobao.org/handlebars/download/handlebars-4.5.3.tgz?cache=0&sync_timestamp=1574061065936&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fhandlebars%2Fdownload%2Fhandlebars-4.5.3.tgz#5cf75bd8714f7605713511a56be7c349becb0482" integrity sha1-XPdb2HFPdgVxNRGla+fDSb7LBII= @@ -5873,12 +5873,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.17.1: - version "9.17.1" - resolved "https://registry.npm.taobao.org/highlight.js/download/highlight.js-9.17.1.tgz#14a4eded23fd314b05886758bb906e39dd627f9a" - integrity sha1-FKTt7SP9MUsFiGdYu5BuOd1if5o= - dependencies: - handlebars "^4.5.3" +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== history@^4.9.0: version "4.10.1"