Skip to content

Commit 357a26d

Browse files
committed
Upgrade marked to 0.7.0, fixing vuln
Regular Expression Denial of Service (ReDoS) See https://app.snyk.io/vuln/SNYK-JS-MARKED-451341
1 parent 452fff6 commit 357a26d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"json-refs": "^3.0.13",
2929
"lit-element": "2.1.0",
3030
"lit-html": "1.0.0",
31-
"marked": "^0.6.2",
31+
"marked": "^0.7.0",
3232
"swagger2openapi": "^4.0.2"
3333
},
3434
"scripts": {

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4495,10 +4495,10 @@ map-visit@^1.0.0:
44954495
dependencies:
44964496
object-visit "^1.0.0"
44974497

4498-
marked@^0.6.2:
4499-
version "0.6.2"
4500-
resolved "https://registry.yarnpkg.com/marked/-/marked-0.6.2.tgz#c574be8b545a8b48641456ca1dbe0e37b6dccc1a"
4501-
integrity sha512-LqxwVH3P/rqKX4EKGz7+c2G9r98WeM/SW34ybhgNGhUQNKtf1GmmSkJ6cDGJ/t6tiyae49qRkpyTw2B9HOrgUA==
4498+
marked@^0.7.0:
4499+
version "0.7.0"
4500+
resolved "https://registry.yarnpkg.com/marked/-/marked-0.7.0.tgz#b64201f051d271b1edc10a04d1ae9b74bb8e5c0e"
4501+
integrity sha512-c+yYdCZJQrsRjTPhUx7VKkApw9bwDkNbHUKo1ovgcfDjb2kc8rLuRbIFyXL5WOEUwzSSKo3IXpph2K6DqB/KZg==
45024502

45034503
math-random@^1.0.1:
45044504
version "1.0.4"

0 commit comments

Comments
 (0)