Skip to content

Commit 5fbbf75

Browse files
renovate-botdanez
authored andcommitted
fix(deps): support dependency highlight.js v10 in addition to v9
BREAKINg CHANGE: highlight.js is now a peer dependency (v9 or v10). Please install it in your project.
1 parent 0e8e16b commit 5fbbf75

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@
4242
},
4343
"homepage": "https://github.com/researchgate/react-fast-highlight#readme",
4444
"peerDependencies": {
45-
"react": "^15.3.0 || ^16.0.0"
45+
"react": "^16.0.0",
46+
"highlight.js": "^9.0.0 || ^10.0.0"
4647
},
4748
"devDependencies": {
4849
"@babel/cli": "7.7.4",
@@ -57,6 +58,7 @@
5758
"enzyme": "3.10.0",
5859
"enzyme-adapter-react-16": "1.15.1",
5960
"enzyme-to-json": "3.4.3",
61+
"highlight.js": "10.0.1",
6062
"jest-snapshot": "24.9.0",
6163
"npm-run-all": "4.1.5",
6264
"react": "16.12.0",
@@ -69,7 +71,6 @@
6971
"dependencies": {
7072
"@types/highlight.js": "^9.12.3",
7173
"classnames": "^2.2.3",
72-
"highlight.js": "^9.0.0",
7374
"prop-types": "^15.5.6"
7475
},
7576
"jest": {

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5182,10 +5182,10 @@ has@^1.0.1, has@^1.0.3:
51825182
dependencies:
51835183
function-bind "^1.1.1"
51845184

5185-
highlight.js@^9.0.0:
5186-
version "9.16.2"
5187-
resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-9.16.2.tgz#68368d039ffe1c6211bcc07e483daf95de3e403e"
5188-
integrity sha512-feMUrVLZvjy0oC7FVJQcSQRqbBq9kwqnYE4+Kj9ZjbHh3g+BisiPgF49NyQbVLNdrL/qqZr3Ca9yOKwgn2i/tw==
5185+
highlight.js@10.0.1:
5186+
version "10.0.1"
5187+
resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-10.0.1.tgz#32ba25ee532291b86d1480b809a7e38bcd7f6dfe"
5188+
integrity sha512-l1HB5S9nmBuvurFIOPbpeJv4psKh2MyKCTOYRK/E6dwRXkbG96PLH7amP/xpGNyZOK8OWqv45DxLS/ZAIb3n9w==
51895189

51905190
hook-std@^2.0.0:
51915191
version "2.0.0"

0 commit comments

Comments
 (0)