From 7e6f96e80f7cc575d91e563eea39dd8c718f1bda Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 9 Aug 2024 19:58:20 +0000 Subject: [PATCH] feat: upgrade highlight.js from 10.7.3 to 11.10.0 Snyk has created this PR to upgrade highlight.js from 10.7.3 to 11.10.0. See this package in npm: highlight.js See this project in Snyk: https://app.snyk.io/org/stanislav1975/project/fcf8c267-98fe-4942-8cc3-49c1929eec1b?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 11 ++++++----- package.json | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 598219a1c3..8747b7f754 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "express": "^4.18.2", "express-http-to-https": "1.1.4", "headroom.js": "0.12.0", - "highlight.js": "10.7.3", + "highlight.js": "^11.10.0", "jquery": "3.7.1", "jquery-colorbox": "1.6.4", "lodash": "^4.17.21" @@ -5218,11 +5218,12 @@ "integrity": "sha512-W8yn8lYe9mC5dN4mhjhjvuDHxLfstKFm2LK1WnBlZF0LJ//FL9I0W/U9gJS7RGLJrGW9+STV6lcijq3t/jJXpw==" }, "node_modules/highlight.js": { - "version": "10.7.3", - "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-10.7.3.tgz", - "integrity": "sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==", + "version": "11.10.0", + "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.10.0.tgz", + "integrity": "sha512-SYVnVFswQER+zu1laSya563s+F8VDGt7o35d4utbamowvUNLLMovFqwCLSocpZTz3MgaSRA1IbqRWZv97dtErQ==", + "license": "BSD-3-Clause", "engines": { - "node": "*" + "node": ">=12.0.0" } }, "node_modules/home-or-tmp": { diff --git a/package.json b/package.json index f553971d50..43ef5fbb6f 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "express": "^4.18.2", "express-http-to-https": "1.1.4", "headroom.js": "0.12.0", - "highlight.js": "10.7.3", + "highlight.js": "11.10.0", "jquery": "3.7.1", "jquery-colorbox": "1.6.4", "lodash": "^4.17.21"