From 1b1ea01b2b17a13a95c8d54445b54b07c1521ec2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 15 Jan 2022 01:31:32 +0000 Subject: [PATCH 1/2] Bump marked from 0.7.0 to 4.0.10 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] --- package-lock.json | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 703c9543..88969523 100644 --- a/package-lock.json +++ b/package-lock.json @@ -979,9 +979,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==" }, "minimatch": { "version": "3.0.4", diff --git a/package.json b/package.json index 25be36e6..635d9474 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "fuzzaldrin": "^2.1.0", "fuzzaldrin-plus": "^0.6.0", "grim": "^2.0.1", - "marked": "^0.7.0", + "marked": "^4.0.10", "minimatch": "^3.0.3", "selector-kit": "^0.1", "stable": "^0.1.5", From 38d2dad06f982b9c63bf766f75c7d7450c8d19fe Mon Sep 17 00:00:00 2001 From: Steven nguyen Date: Sat, 15 Jan 2022 12:39:02 -0600 Subject: [PATCH 2/2] Update marked import syntax --- lib/suggestion-list-element.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/suggestion-list-element.js b/lib/suggestion-list-element.js index 3b6652d8..3d3a765b 100644 --- a/lib/suggestion-list-element.js +++ b/lib/suggestion-list-element.js @@ -2,7 +2,7 @@ const {CompositeDisposable} = require('atom') const SnippetParser = require('./snippet-parser') const {isString} = require('./type-helpers') const fuzzaldrinPlus = require('fuzzaldrin-plus') -const marked = require('marked') +const {marked} = require('marked') const createDOMPurify = require('dompurify') const createSuggestionFrag = () => {