grafana / plugin-tools

Create Grafana plugins with ease.
https://grafana.com/developers/plugin-tools/
Apache License 2.0
58 stars 32 forks source link

Update dependency marked to v14 #1220

Closed renovate[bot] closed 2 weeks ago

renovate[bot] commented 1 month ago

This PR contains the following updates:

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

Release Notes

markedjs/marked (marked) ### [`v14.1.3`](https://redirect.github.com/markedjs/marked/releases/tag/v14.1.3) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v14.1.2...v14.1.3) ##### Bug Fixes - include single nested parens in emStrong link mask ([#​3475](https://redirect.github.com/markedjs/marked/issues/3475)) ([2b7efa8](https://redirect.github.com/markedjs/marked/commit/2b7efa8dda034181932c9c3810fef7d73a81eb9b)) - kill SIGINT signal at man for marked --help ([#​3483](https://redirect.github.com/markedjs/marked/issues/3483)) ([b1fd3ea](https://redirect.github.com/markedjs/marked/commit/b1fd3eafd8c4e2236b30cab42efc8981e204f063)) ### [`v14.1.2`](https://redirect.github.com/markedjs/marked/releases/tag/v14.1.2) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v14.1.1...v14.1.2) ##### Bug Fixes - fix html following list ([#​3444](https://redirect.github.com/markedjs/marked/issues/3444)) ([9d7b728](https://redirect.github.com/markedjs/marked/commit/9d7b7287495d719e0a9c5d4def403a6d0284a20d)) ### [`v14.1.1`](https://redirect.github.com/markedjs/marked/releases/tag/v14.1.1) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v14.1.0...v14.1.1) ##### Bug Fixes - Don't replace tabs with spaces ([#​3438](https://redirect.github.com/markedjs/marked/issues/3438)) ([9ed6456](https://redirect.github.com/markedjs/marked/commit/9ed6456a37648d6944e549e04e7e441686dd6c6f)) ### [`v14.1.0`](https://redirect.github.com/markedjs/marked/releases/tag/v14.1.0) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v14.0.0...v14.1.0) ##### Bug Fixes - don't export block or inline ([#​3427](https://redirect.github.com/markedjs/marked/issues/3427)) ([3f0430a](https://redirect.github.com/markedjs/marked/commit/3f0430a45e14808bcf894323c8b680135e68f139)) ##### Features - add provideLexer and provideParser hooks ([#​3424](https://redirect.github.com/markedjs/marked/issues/3424)) ([447f5af](https://redirect.github.com/markedjs/marked/commit/447f5af7e46665de28da711fc7887b56bc38715e)) ### [`v14.0.0`](https://redirect.github.com/markedjs/marked/releases/tag/v14.0.0) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v13.0.3...v14.0.0) ##### Bug Fixes - allow async option to dictate type returned ([#​3341](https://redirect.github.com/markedjs/marked/issues/3341)) ([b5a5004](https://redirect.github.com/markedjs/marked/commit/b5a50041ae0347a80d8d017b39b46a57f58354d0)) - Remove useNewRenderer ([#​3342](https://redirect.github.com/markedjs/marked/issues/3342)) ([e64f226](https://redirect.github.com/markedjs/marked/commit/e64f226539baafee2935e173281157c70fb402db)) ##### BREAKING CHANGES - Remove old renderer - throw an error if `async: false` is set when an extension sets `async: true` ### [`v13.0.3`](https://redirect.github.com/markedjs/marked/releases/tag/v13.0.3) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v13.0.2...v13.0.3) ##### Bug Fixes - fix recursion-like stack overflow error caused by the old render… ([#​3380](https://redirect.github.com/markedjs/marked/issues/3380)) ([89af0b8](https://redirect.github.com/markedjs/marked/commit/89af0b85b1db67c86641144949d0a44461974442)) ### [`v13.0.2`](https://redirect.github.com/markedjs/marked/releases/tag/v13.0.2) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v13.0.1...v13.0.2) ##### Bug Fixes - fix list item with blank first line ([#​3351](https://redirect.github.com/markedjs/marked/issues/3351)) ([d28e4c6](https://redirect.github.com/markedjs/marked/commit/d28e4c65ea822a83049de5652cf3446a05d0c6b5)) ### [`v13.0.1`](https://redirect.github.com/markedjs/marked/releases/tag/v13.0.1) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v13.0.0...v13.0.1) ##### Bug Fixes - fix this type in extension methods ([#​3339](https://redirect.github.com/markedjs/marked/issues/3339)) ([520b9ad](https://redirect.github.com/markedjs/marked/commit/520b9ad355f2d098e251b5c89e973985922f5b76)) ### [`v13.0.0`](https://redirect.github.com/markedjs/marked/releases/tag/v13.0.0) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v12.0.2...v13.0.0) ##### Bug Fixes - Fix blockquote code continuation ([#​3264](https://redirect.github.com/markedjs/marked/issues/3264)) ([7ab8185](https://redirect.github.com/markedjs/marked/commit/7ab818502ed537ab8eed22dc9cf4f7602232aa53)) - Add parser as a property on the Renderer object ([#​3291](https://redirect.github.com/markedjs/marked/issues/3291)) - Send block text tokens to the text renderer ([#​3291](https://redirect.github.com/markedjs/marked/issues/3291)) ##### Features - Send token objects to renderers ([#​3291](https://redirect.github.com/markedjs/marked/issues/3291)) ([1ce59ea](https://redirect.github.com/markedjs/marked/commit/1ce59ea827272b5d067f1e06d3ee4a1d52b1d9bb)) - Add space renderer that returns empty string by default ([#​3291](https://redirect.github.com/markedjs/marked/issues/3291)) - Add header and align properties to TableCell token ([#​3291](https://redirect.github.com/markedjs/marked/issues/3291)) - Add TableRow token ([#​3291](https://redirect.github.com/markedjs/marked/issues/3291)) - Add Checkbox token ([#​3291](https://redirect.github.com/markedjs/marked/issues/3291)) ##### BREAKING CHANGES - Add space token after blockquote and hr if there are multiple newlines - Send token objects to renderers and move logic to parse tokens from the parser to the renderers. - Most extensions that update marked renderers should still work with this version but will break in a future major version. - Extensions that change marked renderers will need to be updated and use new option `useNewRenderer` and accept a token object instead of multiple parameters. See updated [Renderer docs](https://marked.js.org/using_pro#renderer) ```js // v12 renderer extension const extension = { renderer: { heading(text, level) { // increase level by 1 return `${text}`; } } }; marked.use(extension); ``` ```js // v13 renderer extension const extension = { useNewRenderer: true, renderer: { heading(token) { // increase depth by 1 const text = this.parser.parseInline(token.tokens); const level = token.depth; return `${text}`; } } }; marked.use(extension); ``` ### [`v12.0.2`](https://redirect.github.com/markedjs/marked/releases/tag/v12.0.2) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v12.0.1...v12.0.2) ##### Bug Fixes - fix Setext continuation in blockquote ([#​3257](https://redirect.github.com/markedjs/marked/issues/3257)) ([e9f0eed](https://redirect.github.com/markedjs/marked/commit/e9f0eed707ece9e29c3bf340900d1acb42acaddd)) ### [`v12.0.1`](https://redirect.github.com/markedjs/marked/releases/tag/v12.0.1) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v12.0.0...v12.0.1) ##### Bug Fixes - fix setext heading interupts ([#​3210](https://redirect.github.com/markedjs/marked/issues/3210)) ([d848445](https://redirect.github.com/markedjs/marked/commit/d8484450722449b416508b5bde7c6ba4d9f3bfa8)) ### [`v12.0.0`](https://redirect.github.com/markedjs/marked/releases/tag/v12.0.0) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v11.2.0...v12.0.0) ##### Bug Fixes - update to commonmark spec [0.31](https://spec.commonmark.org/0.31.2) ([#​3176](https://redirect.github.com/markedjs/marked/issues/3176)) ([3d9017b](https://redirect.github.com/markedjs/marked/commit/3d9017bb8e146a2ee37cd7b4d6d84c61d60a93dc)) ##### BREAKING CHANGES - [changes to spec](https://spec.commonmark.org/0.31.2/changes.html) - Update HTML block tags: add search, remove source - Update punctuation to include unicode punctuation and symbol categories - Update HTML comment to include `` and `` ### [`v11.2.0`](https://redirect.github.com/markedjs/marked/releases/tag/v11.2.0) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v11.1.1...v11.2.0) ##### Bug Fixes - Fix ENOENT error message in CLI ([#​3165](https://redirect.github.com/markedjs/marked/issues/3165)) ([bf44ae8](https://redirect.github.com/markedjs/marked/commit/bf44ae85edac35627be9acaeebb969c4b29a6505)) ##### Features - flatten childToken arrays ([#​3172](https://redirect.github.com/markedjs/marked/issues/3172)) ([4826841](https://redirect.github.com/markedjs/marked/commit/4826841bd6c344455fee81d2445812bb3ac9005d)) ### [`v11.1.1`](https://redirect.github.com/markedjs/marked/releases/tag/v11.1.1) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v11.1.0...v11.1.1) ##### Bug Fixes - improve lexing inline elements step's performance ([#​3146](https://redirect.github.com/markedjs/marked/issues/3146)) ([4f87b2a](https://redirect.github.com/markedjs/marked/commit/4f87b2ac7b9c493a255dee5b5456449f56e2c08d)) ### [`v11.1.0`](https://redirect.github.com/markedjs/marked/releases/tag/v11.1.0) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v11.0.1...v11.1.0) ##### Features - add processAllTokens hook ([#​3114](https://redirect.github.com/markedjs/marked/issues/3114)) ([faae243](https://redirect.github.com/markedjs/marked/commit/faae24356a4cee3a19fb6faa58b7b269fd11f62e)) ### [`v11.0.1`](https://redirect.github.com/markedjs/marked/releases/tag/v11.0.1) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v11.0.0...v11.0.1) ##### Bug Fixes - allow Renderer class in marked.use ([#​3118](https://redirect.github.com/markedjs/marked/issues/3118)) ([a287433](https://redirect.github.com/markedjs/marked/commit/a28743391a589fca188f19249ad25aae24f4b305)) ### [`v11.0.0`](https://redirect.github.com/markedjs/marked/releases/tag/v11.0.0) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v10.0.0...v11.0.0) ##### Bug Fixes - clean up rules so they can be typed ([#​3087](https://redirect.github.com/markedjs/marked/issues/3087)) ([175fc0c](https://redirect.github.com/markedjs/marked/commit/175fc0c3212b4af4d5f24482595823f2567f8f1e)) - fix marked types ([#​3103](https://redirect.github.com/markedjs/marked/issues/3103)) ([edae309](https://redirect.github.com/markedjs/marked/commit/edae309505b2d25f4040e7a37f02ef560c27fb26)) ##### BREAKING CHANGES - Lexer.rules object has been changed so it can be properly types. Some intermediate rules have been removed.

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 these updates again.



This PR was generated by Mend Renovate. View the repository job log.

jackw commented 3 weeks ago

~This PR is blocked by marked-terminal. A new release should allow us to get this in.~ No longer the case as marked-terminal has a new version available.

renovate[bot] commented 3 weeks ago

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.