From 7f0c80fa65797e355271cb8010d3caf5a9187879 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 7 Dec 2022 00:08:57 +0000 Subject: [PATCH] Bump marked from 0.7.0 to 4.0.10 Manually updated the import statement to match new version. Everything else generated by dependabot. Bumps [marked](https://github.com/markedjs/marked) from 0.7.0 to 4.0.10. - [Release notes](https://github.com/markedjs/marked/releases) - [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json) - [Commits](https://github.com/markedjs/marked/compare/v0.7.0...v4.0.10) --- updated-dependencies: - dependency-name: marked dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: Victor Lin <13424970+victorlin@users.noreply.github.com> --- package-lock.json | 18 +++++++++--------- package.json | 2 +- src/util/parseMarkdown.js | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index 072d8b188..f8923ef04 100644 --- a/package-lock.json +++ b/package-lock.json @@ -59,7 +59,7 @@ "linspace": "^1.0.0", "lodash": "^4.17.21", "lodash-webpack-plugin": "^0.11.6", - "marked": "^0.7.0", + "marked": "^4.0.10", "mousetrap": "^1.6.2", "null-loader": "^4.0.0", "outer-product": "0.0.4", @@ -10044,14 +10044,14 @@ } }, "node_modules/marked": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/marked/-/marked-0.7.0.tgz", - "integrity": "sha512-c+yYdCZJQrsRjTPhUx7VKkApw9bwDkNbHUKo1ovgcfDjb2kc8rLuRbIFyXL5WOEUwzSSKo3IXpph2K6DqB/KZg==", + "version": "4.0.10", + "resolved": "https://registry.npmjs.org/marked/-/marked-4.0.10.tgz", + "integrity": "sha512-+QvuFj0nGgO970fySghXGmuw+Fd0gD2x3+MqCWLIPf5oxdv1Ka6b2q+z9RP01P/IaKPMEramy+7cNy/Lw8c3hw==", "bin": { - "marked": "bin/marked" + "marked": "bin/marked.js" }, "engines": { - "node": ">=0.10.0" + "node": ">= 12" } }, "node_modules/media-typer": { @@ -20710,9 +20710,9 @@ } }, "marked": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/marked/-/marked-0.7.0.tgz", - "integrity": "sha512-c+yYdCZJQrsRjTPhUx7VKkApw9bwDkNbHUKo1ovgcfDjb2kc8rLuRbIFyXL5WOEUwzSSKo3IXpph2K6DqB/KZg==" + "version": "4.0.10", + "resolved": "https://registry.npmjs.org/marked/-/marked-4.0.10.tgz", + "integrity": "sha512-+QvuFj0nGgO970fySghXGmuw+Fd0gD2x3+MqCWLIPf5oxdv1Ka6b2q+z9RP01P/IaKPMEramy+7cNy/Lw8c3hw==" }, "media-typer": { "version": "0.3.0", diff --git a/package.json b/package.json index ca1fb35c2..fafc12d95 100644 --- a/package.json +++ b/package.json @@ -83,7 +83,7 @@ "linspace": "^1.0.0", "lodash": "^4.17.21", "lodash-webpack-plugin": "^0.11.6", - "marked": "^0.7.0", + "marked": "^4.0.10", "mousetrap": "^1.6.2", "null-loader": "^4.0.0", "outer-product": "0.0.4", diff --git a/src/util/parseMarkdown.js b/src/util/parseMarkdown.js index 9f8fcd53f..37f0821b6 100644 --- a/src/util/parseMarkdown.js +++ b/src/util/parseMarkdown.js @@ -1,4 +1,4 @@ -import marked from "marked"; +import { marked } from "marked"; import dompurify from "dompurify"; dompurify.addHook("afterSanitizeAttributes", (node) => {