Skip to content

Commit

Permalink
upgrade highlight.js to solve WS-2020-0208
Browse files Browse the repository at this point in the history
Signed-off-by: Amiram Wingarten <amiram.wingarten@sap.com>
  • Loading branch information
amiramw committed Dec 17, 2020
1 parent e7a089e commit f6d2085
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/preview/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
"@theia/mini-browser": "^1.9.0",
"@theia/monaco": "^1.9.0",
"@types/dompurify": "^2.0.2",
"@types/highlight.js": "^9.12.2",
"@types/highlight.js": "^10.1.0",
"@types/markdown-it": "*",
"@types/markdown-it-anchor": "^4.0.1",
"dompurify": "^2.0.11",
"highlight.js": "^9.12.0",
"highlight.js": "10.4.1",
"markdown-it": "^8.4.0",
"markdown-it-anchor": "~5.0.0"
},
Expand Down
13 changes: 10 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1229,7 +1229,14 @@
"@types/minimatch" "*"
"@types/node" "*"

"@types/highlight.js@^9.12.2", "@types/highlight.js@^9.7.0":
"@types/highlight.js@^10.1.0":
version "10.1.0"
resolved "https://registry.yarnpkg.com/@types/highlight.js/-/highlight.js-10.1.0.tgz#89bb0c202997d7a90a07bd2ec1f7d00c56bb90b4"
integrity sha512-77hF2dGBsOgnvZll1vymYiNUtqJ8cJfXPD6GG/2M0aLRc29PkvB7Au6sIDjIEFcSICBhCh2+Pyq6WSRS7LUm6A==
dependencies:
highlight.js "*"

"@types/highlight.js@^9.7.0":
version "9.12.4"
resolved "https://registry.yarnpkg.com/@types/highlight.js/-/highlight.js-9.12.4.tgz#8c3496bd1b50cc04aeefd691140aa571d4dbfa34"
integrity sha512-t2szdkwmg2JJyuCM20e8kR2X59WCE5Zkl4bzm1u1Oukjm79zpbiAv+QjnwLnuuV0WHEcX2NgUItu0pAMKuOPww==
Expand Down Expand Up @@ -7214,12 +7221,12 @@ he@1.2.0:
resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f"
integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==

highlight.js@^10.0.0:
highlight.js@*, highlight.js@10.4.1, highlight.js@^10.0.0:
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.12.0, highlight.js@^9.7.0:
highlight.js@^9.7.0:
version "9.18.5"
resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-9.18.5.tgz#d18a359867f378c138d6819edfc2a8acd5f29825"
integrity sha512-a5bFyofd/BHCX52/8i8uJkjr9DYwXIPnM/plwI6W7ezItLGqzt7X2G2nXuYSfsIJdkwwj/g9DG1LkcGJI/dDoA==
Expand Down

0 comments on commit f6d2085

Please sign in to comment.