azu / safe-marked

Markdown to HTML using marked and DOMPurify. Safe by default.
MIT License
48 stars 1 forks source link

fix(deps): update dependency marked to v8 - autoclosed #69

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
marked (source) ^4.3.0 -> ^8.0.1 age adoption passing confidence

Release Notes

markedjs/marked (marked) ### [`v8.0.1`](https://togithub.com/markedjs/marked/releases/tag/v8.0.1) [Compare Source](https://togithub.com/markedjs/marked/compare/v8.0.0...v8.0.1) ##### Bug Fixes - deprecated trimLeft/trimRight ([#​2973](https://togithub.com/markedjs/marked/issues/2973)) ([eda75a6](https://togithub.com/markedjs/marked/commit/eda75a662ccd5330ef0a75600e7f7617eee21db8)) - fix space removed after checkbox ([#​2971](https://togithub.com/markedjs/marked/issues/2971)) ([9a2a4ad](https://togithub.com/markedjs/marked/commit/9a2a4ad61aaadd0079f57929491dc050d3236e69)) ### [`v8.0.0`](https://togithub.com/markedjs/marked/releases/tag/v8.0.0) [Compare Source](https://togithub.com/markedjs/marked/compare/v7.0.5...v8.0.0) ##### Bug Fixes - remove deprecated options ([#​2936](https://togithub.com/markedjs/marked/issues/2936)) ([22ebdb2](https://togithub.com/markedjs/marked/commit/22ebdb25076b2c94aba49627ab35fbf055163059)) ##### Features - add --config options to marked cli ([#​2937](https://togithub.com/markedjs/marked/issues/2937)) ([fc643a2](https://togithub.com/markedjs/marked/commit/fc643a262564df64f208e0ecbfcdfcae216e880c)) ##### BREAKING CHANGES - deprecated options removed. See https://marked.js.org/using_advanced#options to see how to enable the removed options with extensions. ### [`v7.0.5`](https://togithub.com/markedjs/marked/releases/tag/v7.0.5) [Compare Source](https://togithub.com/markedjs/marked/compare/v7.0.4...v7.0.5) ##### Bug Fixes - remove unknown from walkTokens return types ([#​2955](https://togithub.com/markedjs/marked/issues/2955)) ([65934c1](https://togithub.com/markedjs/marked/commit/65934c13caac159027ac070207f094ea293b9426)) ### [`v7.0.4`](https://togithub.com/markedjs/marked/releases/tag/v7.0.4) [Compare Source](https://togithub.com/markedjs/marked/compare/v7.0.3...v7.0.4) ##### Bug Fixes - fix more types ([#​2893](https://togithub.com/markedjs/marked/issues/2893)) ([a990c54](https://togithub.com/markedjs/marked/commit/a990c54e0c09a10ba2d6e5a17fe2624d1d97bce3)) - ignore async: false when async: true is set by an extension ([#​2920](https://togithub.com/markedjs/marked/issues/2920)) ([b6ee877](https://togithub.com/markedjs/marked/commit/b6ee877d58efd31bf408a4f8f360554f3406bc20)) ### [`v7.0.3`](https://togithub.com/markedjs/marked/releases/tag/v7.0.3) [Compare Source](https://togithub.com/markedjs/marked/compare/v7.0.2...v7.0.3) ##### Bug Fixes - Fix unicode Regex miscounting emoji length ([#​2942](https://togithub.com/markedjs/marked/issues/2942)) ([f3af23e](https://togithub.com/markedjs/marked/commit/f3af23ec988864b486f9852590ce8cc602e491f0)) ### [`v7.0.2`](https://togithub.com/markedjs/marked/releases/tag/v7.0.2) [Compare Source](https://togithub.com/markedjs/marked/compare/v7.0.1...v7.0.2) ##### Bug Fixes - fix sourcemaps and circular dependencies ([#​2929](https://togithub.com/markedjs/marked/issues/2929)) ([eb4ce21](https://togithub.com/markedjs/marked/commit/eb4ce2112760d8ef465cfa5654d3503f021bee66)) - noImplicitAny: true ([#​2891](https://togithub.com/markedjs/marked/issues/2891)) ([ff1602c](https://togithub.com/markedjs/marked/commit/ff1602c17843ba614bc8024b905e7a3b51904d2d)) ### [`v7.0.1`](https://togithub.com/markedjs/marked/releases/tag/v7.0.1) [Compare Source](https://togithub.com/markedjs/marked/compare/v7.0.0...v7.0.1) ##### Bug Fixes - use rollup to output js files ([#​2916](https://togithub.com/markedjs/marked/issues/2916)) ([610bc45](https://togithub.com/markedjs/marked/commit/610bc45d96f45202fed20a664911d3af48cfe17e)) ### [`v7.0.0`](https://togithub.com/markedjs/marked/releases/tag/v7.0.0) [Compare Source](https://togithub.com/markedjs/marked/compare/v6.0.0...v7.0.0) ##### Bug Fixes - change defaults for mangle and headerIds to false ([#​2890](https://togithub.com/markedjs/marked/issues/2890)) ([63a839b](https://togithub.com/markedjs/marked/commit/63a839b8cba6caec311a0a7d608be9217b22be05)) ##### BREAKING CHANGES - change defaults for mangle and headerIds to false ### [`v6.0.0`](https://togithub.com/markedjs/marked/releases/tag/v6.0.0) [Compare Source](https://togithub.com/markedjs/marked/compare/v5.1.2...v6.0.0) ##### Bug Fixes - Migrate to Typescript ([#​2805](https://togithub.com/markedjs/marked/issues/2805)) ([cb54906](https://togithub.com/markedjs/marked/commit/cb549065f16fbd4a01bab3292bfd2ab0b116c1b2)) ##### BREAKING CHANGES - Migrate to Typescript ### [`v5.1.2`](https://togithub.com/markedjs/marked/releases/tag/v5.1.2) [Compare Source](https://togithub.com/markedjs/marked/compare/v5.1.1...v5.1.2) ##### Bug Fixes - Add support for Node 16 ([#​2886](https://togithub.com/markedjs/marked/issues/2886)) ([e465ce4](https://togithub.com/markedjs/marked/commit/e465ce48c93c109803fc3071700a75a85d13251f)) ### [`v5.1.1`](https://togithub.com/markedjs/marked/releases/tag/v5.1.1) [Compare Source](https://togithub.com/markedjs/marked/compare/v5.1.0...v5.1.1) ##### Bug Fixes - fix typo ([#​2870](https://togithub.com/markedjs/marked/issues/2870)) ([e6a7184](https://togithub.com/markedjs/marked/commit/e6a7184cb6539dbab5bf369989588cb93ffdac38)) ### [`v5.1.0`](https://togithub.com/markedjs/marked/releases/tag/v5.1.0) [Compare Source](https://togithub.com/markedjs/marked/compare/v5.0.5...v5.1.0) ##### Bug Fixes - Simplify unicode punctuation ([#​2841](https://togithub.com/markedjs/marked/issues/2841)) ([f19fe76](https://togithub.com/markedjs/marked/commit/f19fe76db945c20d8d56808e388762cc86d4e214)) ##### Features - add Marked instance ([#​2831](https://togithub.com/markedjs/marked/issues/2831)) ([353e13b](https://togithub.com/markedjs/marked/commit/353e13b479d012bcda338dff276598b6cfff77f8)) ### [`v5.0.5`](https://togithub.com/markedjs/marked/releases/tag/v5.0.5) [Compare Source](https://togithub.com/markedjs/marked/compare/v5.0.4...v5.0.5) ##### Bug Fixes - Fix more Escape conflicts ([#​2838](https://togithub.com/markedjs/marked/issues/2838)) ([f879a23](https://togithub.com/markedjs/marked/commit/f879a23e1bd834641a475067277401e7780432df)) ### [`v5.0.4`](https://togithub.com/markedjs/marked/releases/tag/v5.0.4) [Compare Source](https://togithub.com/markedjs/marked/compare/v5.0.3...v5.0.4) ##### Bug Fixes - Add Unicode punctuations ([#​2811](https://togithub.com/markedjs/marked/issues/2811)) ([b213f02](https://togithub.com/markedjs/marked/commit/b213f02e43c726f6255c7296e744a3edefb4da87)) - fix hr after list ([#​2809](https://togithub.com/markedjs/marked/issues/2809)) ([efc40df](https://togithub.com/markedjs/marked/commit/efc40dfb05b4b75fd8cab93926aa7aac08738380)) - Replace custom `repeatString` function with `repeat()` ([#​2820](https://togithub.com/markedjs/marked/issues/2820)) ([72ee2d6](https://togithub.com/markedjs/marked/commit/72ee2d620a8071aa60511ee89a2efd404d8cf376)) ### [`v5.0.3`](https://togithub.com/markedjs/marked/releases/tag/v5.0.3) [Compare Source](https://togithub.com/markedjs/marked/compare/v5.0.2...v5.0.3) ##### Bug Fixes - fix quadratic execution in em mask ([#​2818](https://togithub.com/markedjs/marked/issues/2818)) ([a37fe8e](https://togithub.com/markedjs/marked/commit/a37fe8e82b553cf9700d54d729d348f0e586d650)) ### [`v5.0.2`](https://togithub.com/markedjs/marked/releases/tag/v5.0.2) [Compare Source](https://togithub.com/markedjs/marked/compare/v5.0.1...v5.0.2) ##### Bug Fixes - Clarify deprecation messages for default parameters ([#​2802](https://togithub.com/markedjs/marked/issues/2802)) ([763e9de](https://togithub.com/markedjs/marked/commit/763e9de4967c25bb1c0a1daae11ec8fd399a3072)) ### [`v5.0.1`](https://togithub.com/markedjs/marked/releases/tag/v5.0.1) [Compare Source](https://togithub.com/markedjs/marked/compare/v5.0.0...v5.0.1) ##### Bug Fixes - only warn if langPrefix is changed ([#​2796](https://togithub.com/markedjs/marked/issues/2796)) ([d193694](https://togithub.com/markedjs/marked/commit/d193694b9e421a137a19fa0112809cc353c4c40c)) The deprecated options warnings can be turned off by default by using: ```js marked.use({ mangle: false, headerIds: false, }); ``` For the cli you can use: marked --no-mangle --no-header-ids ... ### [`v5.0.0`](https://togithub.com/markedjs/marked/releases/tag/v5.0.0) [Compare Source](https://togithub.com/markedjs/marked/compare/v4.3.0...v5.0.0) ##### Bug Fixes - deprecate options ([#​2766](https://togithub.com/markedjs/marked/issues/2766)) ([62d3312](https://togithub.com/markedjs/marked/commit/62d3312b7ad09fe8cca1488b3e09e8be86c79fdd)) - update min node to v18 ([#​2767](https://togithub.com/markedjs/marked/issues/2767)) ([c6852f5](https://togithub.com/markedjs/marked/commit/c6852f5289188396660296cbc91c7528167f6bd9)) ##### Features - add block param to html renderer ([#​2768](https://togithub.com/markedjs/marked/issues/2768)) ([fa21b9f](https://togithub.com/markedjs/marked/commit/fa21b9f60a25992c027bf2c2dc12e7baaa0b24bc)) ##### BREAKING CHANGES - Warnings will be logged to the console if these options are used including `headerIds`, `mangle`, and `langPrefix` which are on by default. These warnings can be turned off by default by using: ```js marked.use({ mangle: false, headerIds: false, }); ``` If you need these options you can use the extensions listed below. - deprecate options | Option | Replacement| |---------|---------------| | `highlight`, `langPrefix`, and `callback`| [marked-highlight](https://www.npmjs.com/package/marked-highlight)| |`mangle`| [marked-mangle](https://www.npmjs.com/package/marked-mangle)| |`baseUrl`| [marked-base-url](https://www.npmjs.com/package/marked-base-url)| |`smartypants`| [marked-smartypants](https://www.npmjs.com/package/marked-smartypants)| |`xhtml`| [marked-xhtml](https://www.npmjs.com/package/marked-xhtml)| |`headerIds` and `headerPrefix`| [marked-gfm-heading-id](https://www.npmjs.com/package/marked-gfm-heading-id)| - minimum supported node version v18

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.