63.md (7626B)
1 # PR #63 Bump marked from 11.0.1 to 13.0.0 2 3 - **Status:** open 4 - **Author:** @dependabot[bot] 5 - **Created:** 2024-06-17T01:24:49Z 6 - **Branch:** dependabot/npm_and_yarn/marked-13.0.0 → main 7 - **Labels:** dependencies, javascript 8 - **Diff:** [63.diff](./63.diff) 9 10 --- 11 12 Bumps [marked](https://github.com/markedjs/marked) from 11.0.1 to 13.0.0. 13 <details> 14 <summary>Release notes</summary> 15 <p><em>Sourced from <a href="https://github.com/markedjs/marked/releases">marked's releases</a>.</em></p> 16 <blockquote> 17 <h2>v13.0.0</h2> 18 <h1><a href="https://github.com/markedjs/marked/compare/v12.0.2...v13.0.0">13.0.0</a> (2024-06-12)</h1> 19 <h3>Bug Fixes</h3> 20 <ul> 21 <li>Fix blockquote code continuation (<a href="https://redirect.github.com/markedjs/marked/issues/3264">#3264</a>) (<a href="https://github.com/markedjs/marked/commit/7ab818502ed537ab8eed22dc9cf4f7602232aa53">7ab8185</a>)</li> 22 <li>Add parser as a property on the Renderer object (<a href="https://redirect.github.com/markedjs/marked/issues/3291">#3291</a>)</li> 23 <li>Send block text tokens to the text renderer (<a href="https://redirect.github.com/markedjs/marked/issues/3291">#3291</a>)</li> 24 </ul> 25 <h3>Features</h3> 26 <ul> 27 <li>Send token objects to renderers (<a href="https://redirect.github.com/markedjs/marked/issues/3291">#3291</a>) (<a href="https://github.com/markedjs/marked/commit/1ce59ea827272b5d067f1e06d3ee4a1d52b1d9bb">1ce59ea</a>)</li> 28 <li>Add space renderer that returns empty string by default (<a href="https://redirect.github.com/markedjs/marked/issues/3291">#3291</a>)</li> 29 <li>Add header and align properties to TableCell token (<a href="https://redirect.github.com/markedjs/marked/issues/3291">#3291</a>)</li> 30 <li>Add TableRow token (<a href="https://redirect.github.com/markedjs/marked/issues/3291">#3291</a>)</li> 31 <li>Add Checkbox token (<a href="https://redirect.github.com/markedjs/marked/issues/3291">#3291</a>)</li> 32 </ul> 33 <h3>BREAKING CHANGES</h3> 34 <ul> 35 <li>Add space token after blockquote and hr if there are multiple newlines</li> 36 <li>Send token objects to renderers and move logic to parse tokens from the parser to the renderers. 37 <ul> 38 <li> 39 <p>Most extensions that update marked renderers should still work with this version but will break in a future major version.</p> 40 </li> 41 <li> 42 <p>Extensions that change marked renderers will need to be updated and use new option <code>useNewRenderer</code> and accept a token object instead of multiple parameters. See updated <a href="https://marked.js.org/using_pro#renderer">Renderer docs</a></p> 43 <pre lang="js"><code>// v12 renderer extension 44 <p>const extension = { 45 renderer: { 46 heading(text, level) { 47 // increase level by 1 48 return <code>&lt;h${level + 1}&gt;${text}&lt;/h${level + 1}&gt;</code>; 49 } 50 } 51 };</p> 52 <p>marked.use(extension); 53 </code></pre></p> 54 <pre lang="js"><code>// v13 renderer extension 55 56 const extension = { 57 useNewRenderer: true, 58 renderer: { 59 heading(token) { 60 // increase depth by 1 61 </code></pre> 62 </li> 63 </ul> 64 </li> 65 </ul> 66 <!-- raw HTML omitted --> 67 </blockquote> 68 <p>... (truncated)</p> 69 </details> 70 <details> 71 <summary>Commits</summary> 72 <ul> 73 <li><a href="https://github.com/markedjs/marked/commit/f56ba321443f074a3f314453873dc079f7278606"><code>f56ba32</code></a> chore(release): 13.0.0 [skip ci]</li> 74 <li><a href="https://github.com/markedjs/marked/commit/a317d968fd0890b0fc344ef7a743d056c6ddbbf7"><code>a317d96</code></a> chore(deps-dev): Bump braces from 3.0.2 to 3.0.3 (<a href="https://redirect.github.com/markedjs/marked/issues/3322">#3322</a>)</li> 75 <li><a href="https://github.com/markedjs/marked/commit/1ce59ea827272b5d067f1e06d3ee4a1d52b1d9bb"><code>1ce59ea</code></a> feat: Send token objects to renderers (<a href="https://redirect.github.com/markedjs/marked/issues/3291">#3291</a>)</li> 76 <li><a href="https://github.com/markedjs/marked/commit/7ab818502ed537ab8eed22dc9cf4f7602232aa53"><code>7ab8185</code></a> fix: blockquote code continuation (<a href="https://redirect.github.com/markedjs/marked/issues/3264">#3264</a>)</li> 77 <li><a href="https://github.com/markedjs/marked/commit/0e40783452ef86bae076ad99f25de6c993a7bd1f"><code>0e40783</code></a> chore(deps-dev): Bump <code>@typescript-eslint/parser</code> from 7.10.0 to 7.12.0 (<a href="https://redirect.github.com/markedjs/marked/issues/3319">#3319</a>)</li> 78 <li><a href="https://github.com/markedjs/marked/commit/359a680710176989afd7113679161f6692d1d30d"><code>359a680</code></a> chore(deps-dev): Bump <code>@semantic-release/github</code> from 10.0.5 to 10.0.6 (<a href="https://redirect.github.com/markedjs/marked/issues/3321">#3321</a>)</li> 79 <li><a href="https://github.com/markedjs/marked/commit/47a492b4fe00c8d8d3e02c0af246f276a0ff83dd"><code>47a492b</code></a> chore(deps-dev): Bump <code>@typescript-eslint/eslint-plugin</code> from 7.11.0 to 7.12.0 ...</li> 80 <li><a href="https://github.com/markedjs/marked/commit/481ac3bb1769839dbfeade3c5084ab995d6bc5f8"><code>481ac3b</code></a> Update Lexer section in USING_PRO.md (<a href="https://redirect.github.com/markedjs/marked/issues/3317">#3317</a>)</li> 81 <li><a href="https://github.com/markedjs/marked/commit/9056c47742de41b2357a1ff3abb5fa66f92612c9"><code>9056c47</code></a> chore(deps-dev): Bump <code>@semantic-release/release-notes-generator</code> from 13.0.0 t...</li> 82 <li><a href="https://github.com/markedjs/marked/commit/975f25949fe27df33853e2fb896be5e483c0f780"><code>975f259</code></a> chore(deps-dev): Bump semantic-release from 23.1.1 to 24.0.0 (<a href="https://redirect.github.com/markedjs/marked/issues/3313">#3313</a>)</li> 83 <li>Additional commits viewable in <a href="https://github.com/markedjs/marked/compare/v11.0.1...v13.0.0">compare view</a></li> 84 </ul> 85 </details> 86 <br /> 87 88 89 [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 90 91 Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. 92 93 [//]: # (dependabot-automerge-start) 94 [//]: # (dependabot-automerge-end) 95 96 --- 97 98 <details> 99 <summary>Dependabot commands and options</summary> 100 <br /> 101 102 You can trigger Dependabot actions by commenting on this PR: 103 - `@dependabot rebase` will rebase this PR 104 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it 105 - `@dependabot merge` will merge this PR after your CI passes on it 106 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it 107 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging 108 - `@dependabot reopen` will reopen this PR if it is closed 109 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually 110 - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency 111 - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) 112 - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) 113 - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) 114 115 116 </details> 117