From d95ae65986aae34a5813a77f68ddf9a0c36713f1 Mon Sep 17 00:00:00 2001 From: Myles Borins Date: Sat, 28 Nov 2020 16:58:57 -0500 Subject: [PATCH] tools: update highlight.js to 10.1.2 Refs: https://github.com/advisories/GHSA-vfrc-7r7c-w9mx PR-URL: https://github.com/nodejs/node/pull/36309 Reviewed-By: Antoine du Hamel Reviewed-By: Rich Trott Reviewed-By: Benjamin Gruenbaum --- tools/doc/package-lock.json | 19 +++++++++++-------- tools/doc/package.json | 2 +- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/tools/doc/package-lock.json b/tools/doc/package-lock.json index 9586fa494483a2..be354f69add4a5 100644 --- a/tools/doc/package-lock.json +++ b/tools/doc/package-lock.json @@ -11,7 +11,7 @@ "node-doc-generator": "generate.js" }, "devDependencies": { - "highlight.js": "10.1.0", + "highlight.js": "10.1.2", "js-yaml": "3.14.0", "rehype-raw": "4.0.2", "rehype-stringify": "8.0.0", @@ -256,10 +256,13 @@ } }, "node_modules/highlight.js": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-10.1.0.tgz", - "integrity": "sha512-e8aO/LUHDoxW4ntyKQf0/T3OtIZPhsfTr8XRuOq+FW5VdWEg/UDAeArzKF/22BaNZp6hPi/Zu/XQlTLOGLix3Q==", - "dev": true + "version": "10.1.2", + "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-10.1.2.tgz", + "integrity": "sha512-Q39v/Mn5mfBlMff9r+zzA+gWxRsCRKwEMvYTiisLr/XUiFI/4puWt0Ojdko3R3JCNWGdOWaA5g/Yxqa23kC5AA==", + "dev": true, + "engines": { + "node": "*" + } }, "node_modules/html-void-elements": { "version": "1.0.5", @@ -1166,9 +1169,9 @@ } }, "highlight.js": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-10.1.0.tgz", - "integrity": "sha512-e8aO/LUHDoxW4ntyKQf0/T3OtIZPhsfTr8XRuOq+FW5VdWEg/UDAeArzKF/22BaNZp6hPi/Zu/XQlTLOGLix3Q==", + "version": "10.1.2", + "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-10.1.2.tgz", + "integrity": "sha512-Q39v/Mn5mfBlMff9r+zzA+gWxRsCRKwEMvYTiisLr/XUiFI/4puWt0Ojdko3R3JCNWGdOWaA5g/Yxqa23kC5AA==", "dev": true }, "html-void-elements": { diff --git a/tools/doc/package.json b/tools/doc/package.json index 3a5d9c0139d56b..6610f358fbb17a 100644 --- a/tools/doc/package.json +++ b/tools/doc/package.json @@ -7,7 +7,7 @@ "node": ">=12.10.0" }, "devDependencies": { - "highlight.js": "10.1.0", + "highlight.js": "10.1.2", "js-yaml": "3.14.0", "rehype-raw": "4.0.2", "rehype-stringify": "8.0.0",