From c2990c0e84dba2ce4653837e09a0cc9202a60598 Mon Sep 17 00:00:00 2001 From: Thahzan Mohomed Date: Wed, 31 Jan 2024 08:25:14 +0530 Subject: [PATCH 1/2] deps: Update `markdown-it` to fix vulnerability warnings As shown on #202 `markdown-it` v10.x.x includes certain vulnerabilities which were fixed on subsequent versions. This updates the dependency to fix these vulnerabilities --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5a988ebb..21614054 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "homepage": "https://github.com/iamacup/react-native-markdown-display/", "dependencies": { "css-to-react-native": "^3.0.0", - "markdown-it": "^10.0.0", + "markdown-it": "^14.0.0", "prop-types": "^15.7.2", "react-native-fit-image": "^1.5.5" }, From 94e27b0cfb3aceb480f299bc57ff7a97e23fa472 Mon Sep 17 00:00:00 2001 From: Thahzan Mohomed Date: Wed, 17 Apr 2024 16:46:08 +0530 Subject: [PATCH 2/2] [deps] Updated types Updated `@types/markdown-it` to new version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 21614054..7c03a6e7 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "react-native": ">=0.50.4" }, "devDependencies": { - "@types/markdown-it": "^10.0.1", + "@types/markdown-it": "^14.0.1", "@types/react-native": ">=0.50.0", "@babel/core": "^7.9.6", "@babel/runtime": "^7.9.6",