From d09fd9be529dcae30f0ff5fc89bda08eaea69934 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 5 May 2024 21:12:44 +0000 Subject: [PATCH 1/2] fix(deps): update dependency marked to v7 --- package.json | 2 +- yarn.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 8201b9f..4dd6e41 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ }, "dependencies": { "@parcel/plugin": "^2.2.0", - "marked": "^6.0.0", + "marked": "^7.0.0", "yaml-front-matter": "^4.1.1" }, "engines": { diff --git a/yarn.lock b/yarn.lock index 0bf9fde..0857c27 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4256,12 +4256,12 @@ __metadata: languageName: node linkType: hard -"marked@npm:^6.0.0": - version: 6.0.0 - resolution: "marked@npm:6.0.0" +"marked@npm:^7.0.0": + version: 7.0.5 + resolution: "marked@npm:7.0.5" bin: marked: bin/marked.js - checksum: 10c0/ed3a57a2b701f7e95831de94379d21053db808e8114b74dd4ae37802d057636cc957c4cd35e6459117ba7d75e3b2cb2890779f91eadd20d6b79b83f05d360ed1 + checksum: 10c0/a75f90e4ea7ec90cf6b66aaf1d7dd533df3d12d2a974c838f66f823d027edc8ba1d36b2920d4a24cf8b711e6ebc4625016cdf7d1ce95a818a091a2629e9a52dd languageName: node linkType: hard @@ -4689,7 +4689,7 @@ __metadata: "@parcel/plugin": "npm:^2.2.0" "@parcel/transformer-typescript-types": "npm:2.12.0" "@types/yaml-front-matter": "npm:^4.1.3" - marked: "npm:^6.0.0" + marked: "npm:^7.0.0" parcel: "npm:^2.12.0" typescript: "npm:>=3.0.0" yaml-front-matter: "npm:^4.1.1" From 470cf3e9d5413cbe637fe01bd86736f45a228100 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20de=20Metz?= Date: Mon, 6 May 2024 14:15:35 +0200 Subject: [PATCH 2/2] Update default options to match marked 7. --- src/index.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/index.ts b/src/index.ts index 3c161a1..d677ce8 100644 --- a/src/index.ts +++ b/src/index.ts @@ -16,9 +16,7 @@ export default new Transformer({ marked: { breaks: true, pedantic: false, - gfm: true, - headerIds: false, - mangle: false + gfm: true }, extensions: [], };