Skip to content

Commit 6d823ec

Browse files
committed
Force the "marked" library to 4.x to remove a vulnerability
1 parent 5954855 commit 6d823ec

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

labextension/package.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@
4545
"react": "~16.9.0",
4646
"react-router-dom": "^5.1.2",
4747
"sanitize-html": "2.3.2",
48-
"url-parse": "1.5.9"
48+
"url-parse": "1.5.9",
49+
"marked": "^4.0.17"
4950
},
5051
"devDependencies": {
5152
"@types/classnames": "^2.2.9",
@@ -69,7 +70,8 @@
6970
"codemirror": "5.63",
7071
"sanitize-html": "2.3.2",
7172
"strip-ansi": "6.0.1",
72-
"url-parse": "1.5.9"
73+
"url-parse": "1.5.9",
74+
"marked": "^4.0.17"
7375
},
7476
"sideEffects": [
7577
"style/*.css"

labextension/yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -1947,10 +1947,10 @@ lru-cache@^6.0.0:
19471947
dependencies:
19481948
yallist "^4.0.0"
19491949

1950-
marked@^0.8.0:
1951-
version "0.8.2"
1952-
resolved "https://registry.yarnpkg.com/marked/-/marked-0.8.2.tgz#4faad28d26ede351a7a1aaa5fec67915c869e355"
1953-
integrity sha512-EGwzEeCcLniFX51DhTpmTom+dSA/MG/OBUDjnWtHbEnjAH180VzUeAw+oE4+Zv+CoYBWyRlYOTR0N8SO9R1PVw==
1950+
marked@^0.8.0, marked@^4.0.17:
1951+
version "4.1.1"
1952+
resolved "https://registry.yarnpkg.com/marked/-/marked-4.1.1.tgz#2f709a4462abf65a283f2453dc1c42ab177d302e"
1953+
integrity sha512-0cNMnTcUJPxbA6uWmCmjWz4NJRe/0Xfk2NhXCUHjew9qJzFN20krFnsUe7QynwqOwa5m1fZ4UDg0ycKFVC0ccw==
19541954

19551955
merge2@^1.3.0:
19561956
version "1.4.1"

0 commit comments

Comments
 (0)