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/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: [], }; 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"