angular / dev-infra

Angular Development Infrastructure
MIT License
65 stars 54 forks source link

build: update dependency marked to v14 #2238

Closed angular-robot closed 2 months ago

angular-robot commented 2 months ago

This PR contains the following updates:

Package Type Update Change
marked (source) dependencies major ^12.0.0 -> ^14.0.0

[!WARNING] Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

markedjs/marked (marked) ### [`v14.0.0`](https://togithub.com/markedjs/marked/releases/tag/v14.0.0) [Compare Source](https://togithub.com/markedjs/marked/compare/v13.0.3...v14.0.0) ##### Bug Fixes - allow async option to dictate type returned ([#​3341](https://togithub.com/markedjs/marked/issues/3341)) ([b5a5004](https://togithub.com/markedjs/marked/commit/b5a50041ae0347a80d8d017b39b46a57f58354d0)) - Remove useNewRenderer ([#​3342](https://togithub.com/markedjs/marked/issues/3342)) ([e64f226](https://togithub.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://togithub.com/markedjs/marked/releases/tag/v13.0.3) [Compare Source](https://togithub.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://togithub.com/markedjs/marked/issues/3380)) ([89af0b8](https://togithub.com/markedjs/marked/commit/89af0b85b1db67c86641144949d0a44461974442)) ### [`v13.0.2`](https://togithub.com/markedjs/marked/releases/tag/v13.0.2) [Compare Source](https://togithub.com/markedjs/marked/compare/v13.0.1...v13.0.2) ##### Bug Fixes - fix list item with blank first line ([#​3351](https://togithub.com/markedjs/marked/issues/3351)) ([d28e4c6](https://togithub.com/markedjs/marked/commit/d28e4c65ea822a83049de5652cf3446a05d0c6b5)) ### [`v13.0.1`](https://togithub.com/markedjs/marked/releases/tag/v13.0.1) [Compare Source](https://togithub.com/markedjs/marked/compare/v13.0.0...v13.0.1) ##### Bug Fixes - fix this type in extension methods ([#​3339](https://togithub.com/markedjs/marked/issues/3339)) ([520b9ad](https://togithub.com/markedjs/marked/commit/520b9ad355f2d098e251b5c89e973985922f5b76)) ### [`v13.0.0`](https://togithub.com/markedjs/marked/releases/tag/v13.0.0) [Compare Source](https://togithub.com/markedjs/marked/compare/v12.0.2...v13.0.0) ##### Bug Fixes - Fix blockquote code continuation ([#​3264](https://togithub.com/markedjs/marked/issues/3264)) ([7ab8185](https://togithub.com/markedjs/marked/commit/7ab818502ed537ab8eed22dc9cf4f7602232aa53)) - Add parser as a property on the Renderer object ([#​3291](https://togithub.com/markedjs/marked/issues/3291)) - Send block text tokens to the text renderer ([#​3291](https://togithub.com/markedjs/marked/issues/3291)) ##### Features - Send token objects to renderers ([#​3291](https://togithub.com/markedjs/marked/issues/3291)) ([1ce59ea](https://togithub.com/markedjs/marked/commit/1ce59ea827272b5d067f1e06d3ee4a1d52b1d9bb)) - Add space renderer that returns empty string by default ([#​3291](https://togithub.com/markedjs/marked/issues/3291)) - Add header and align properties to TableCell token ([#​3291](https://togithub.com/markedjs/marked/issues/3291)) - Add TableRow token ([#​3291](https://togithub.com/markedjs/marked/issues/3291)) - Add Checkbox token ([#​3291](https://togithub.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); ```

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 Renovate Bot.

josephperrott commented 2 months ago

Closing as marked is being removed from this repo.

angular-automatic-lock-bot[bot] commented 1 month ago

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.