From 9cfdf15da60464b5cc36ded5b9142af47ebb566e Mon Sep 17 00:00:00 2001 From: Richard Lau Date: Sat, 4 Dec 2021 12:19:21 +0000 Subject: [PATCH] tools: rollback highlight.js Recent upgrade of highlight.js has broken the docs build on the withoutintl builds. PR-URL: https://github.com/nodejs/node/pull/41078 Refs: https://github.com/nodejs/node/issues/41077 Refs: https://github.com/nodejs/node/pull/41036 Reviewed-By: Antoine du Hamel Reviewed-By: Rich Trott --- tools/doc/package-lock.json | 14 +++++++------- tools/doc/package.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tools/doc/package-lock.json b/tools/doc/package-lock.json index 12b382a191d106..96140510b9cec3 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": "^11.3.1", + "highlight.js": "^11.2.0", "js-yaml": "^4.1.0", "rehype-raw": "^6.1.0", "rehype-stringify": "^9.0.2", @@ -413,9 +413,9 @@ } }, "node_modules/highlight.js": { - "version": "11.3.1", - "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.3.1.tgz", - "integrity": "sha512-PUhCRnPjLtiLHZAQ5A/Dt5F8cWZeMyj9KRsACsWT+OD6OP0x6dp5OmT5jdx0JgEyPxPZZIPQpRN2TciUT7occw==", + "version": "11.2.0", + "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.2.0.tgz", + "integrity": "sha512-JOySjtOEcyG8s4MLR2MNbLUyaXqUunmSnL2kdV/KuGJOmHZuAR5xC54Ko7goAXBWNhf09Vy3B+U7vR62UZ/0iw==", "dev": true, "engines": { "node": ">=12.0.0" @@ -2124,9 +2124,9 @@ } }, "highlight.js": { - "version": "11.3.1", - "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.3.1.tgz", - "integrity": "sha512-PUhCRnPjLtiLHZAQ5A/Dt5F8cWZeMyj9KRsACsWT+OD6OP0x6dp5OmT5jdx0JgEyPxPZZIPQpRN2TciUT7occw==", + "version": "11.2.0", + "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.2.0.tgz", + "integrity": "sha512-JOySjtOEcyG8s4MLR2MNbLUyaXqUunmSnL2kdV/KuGJOmHZuAR5xC54Ko7goAXBWNhf09Vy3B+U7vR62UZ/0iw==", "dev": true }, "html-void-elements": { diff --git a/tools/doc/package.json b/tools/doc/package.json index 1ac3c78a3596f2..f86dd46ee0a121 100644 --- a/tools/doc/package.json +++ b/tools/doc/package.json @@ -7,7 +7,7 @@ "node": ">=14.8.0" }, "devDependencies": { - "highlight.js": "^11.3.1", + "highlight.js": "^11.2.0", "js-yaml": "^4.1.0", "rehype-raw": "^6.1.0", "rehype-stringify": "^9.0.2",