Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(deps): bump markdown-it-py from 2.1.0 to 2.2.0 in /.kokoro (#329)
Bumps [markdown-it-py](https://github.com/executablebooks/markdown-it-py) from 2.1.0 to 2.2.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/executablebooks/markdown-it-py/releases">markdown-it-py's releases</a>.</em></p> <blockquote> <h2>v2.2.0</h2> <h2>What's Changed</h2> <ul> <li>⬆️ UPGRADE: Allow linkify-it-py v2 by <a href="https://github.com/hukkin"><code>@hukkin</code></a> in <a href="https://redirect.github.com/executablebooks/markdown-it-py/pull/218">#218</a></li> <li>🐛 FIX: CVE-2023-26303 by <a href="https://github.com/chrisjsewell"><code>@chrisjsewell</code></a> in <a href="https://redirect.github.com/executablebooks/markdown-it-py/pull/246">#246</a></li> <li>🐛 FIX: CLI crash on non-utf8 character by <a href="https://github.com/chrisjsewell"><code>@chrisjsewell</code></a> in <a href="https://redirect.github.com/executablebooks/markdown-it-py/pull/247">#247</a></li> <li>📚 DOCS: Update the example by <a href="https://github.com/redstoneleo"><code>@redstoneleo</code></a> in <a href="https://redirect.github.com/executablebooks/markdown-it-py/pull/229">#229</a></li> <li>📚 DOCS: Add section about markdown renderer by <a href="https://github.com/holamgadol"><code>@holamgadol</code></a> in <a href="https://redirect.github.com/executablebooks/markdown-it-py/pull/227">#227</a></li> <li>🔧 Create SECURITY.md by <a href="https://github.com/chrisjsewell"><code>@chrisjsewell</code></a> in <a href="https://redirect.github.com/executablebooks/markdown-it-py/pull/248">#248</a></li> <li>🔧 MAINTAIN: Update mypy's additional dependencies by <a href="https://github.com/hukkin"><code>@hukkin</code></a> in <a href="https://redirect.github.com/executablebooks/markdown-it-py/pull/217">#217</a></li> <li>Fix typo by <a href="https://github.com/jwilk"><code>@jwilk</code></a> in <a href="https://redirect.github.com/executablebooks/markdown-it-py/pull/230">#230</a></li> <li>🔧 Bump GH actions by <a href="https://github.com/chrisjsewell"><code>@chrisjsewell</code></a> in <a href="https://redirect.github.com/executablebooks/markdown-it-py/pull/244">#244</a></li> <li>🔧 Update benchmark pkg versions by <a href="https://github.com/chrisjsewell"><code>@chrisjsewell</code></a> in <a href="https://redirect.github.com/executablebooks/markdown-it-py/pull/245">#245</a></li> </ul> <h2>New Contributors</h2> <p>Thanks to 🎉</p> <ul> <li><a href="https://github.com/jwilk"><code>@jwilk</code></a> made their first contribution in <a href="https://redirect.github.com/executablebooks/markdown-it-py/pull/230">#230</a></li> <li><a href="https://github.com/holamgadol"><code>@holamgadol</code></a> made their first contribution in <a href="https://redirect.github.com/executablebooks/markdown-it-py/pull/227">#227</a></li> <li><a href="https://github.com/redstoneleo"><code>@redstoneleo</code></a> made their first contribution in <a href="https://redirect.github.com/executablebooks/markdown-it-py/pull/229">#229</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/executablebooks/markdown-it-py/compare/v2.1.0...v2.2.0">https://github.com/executablebooks/markdown-it-py/compare/v2.1.0...v2.2.0</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/executablebooks/markdown-it-py/blob/master/CHANGELOG.md">markdown-it-py's changelog</a>.</em></p> <blockquote> <h3>⬆️ UPGRADE: Update from upstream markdown-it <code>12.2.0</code> to <code>13.0.0</code></h3> <p>A key change is the addition of a new <code>Token</code> type, <code>text_special</code>, which is used to represent HTML entities and backslash escaped characters. This ensures that (core) typographic transformation rules are not incorrectly applied to these texts. The final core rule is now the new <code>text_join</code> rule, which joins adjacent <code>text</code>/<code>text_special</code> tokens, and so no <code>text_special</code> tokens should be present in the final token stream. Any custom typographic rules should be inserted before <code>text_join</code>.</p> <p>A new <code>linkify</code> rule has also been added to the inline chain, which will linkify full URLs (e.g. <code>https://example.com</code>), and fixes collision of emphasis and linkifier (so <code>http://example.org/foo._bar_-_baz</code> is now a single link, not emphasized). Emails and fuzzy links are not affected by this.</p> <ul> <li>♻️ Refactor backslash escape logic, add <code>text_special</code> <a href="https://redirect.github.com/executablebooks/markdown-it-py/pull/276">#276</a></li> <li>♻️ Parse entities to <code>text_special</code> token <a href="https://redirect.github.com/executablebooks/markdown-it-py/pull/280">#280</a></li> <li>♻️ Refactor: Add linkifier rule to inline chain for full links <a href="https://redirect.github.com/executablebooks/markdown-it-py/pull/279">#279</a></li> <li>‼️ Remove <code>(p)</code> => <code>§</code> replacement in typographer <a href="https://redirect.github.com/executablebooks/markdown-it-py/pull/281">#281</a></li> <li>‼️ Remove unused <code>silent</code> arg in <code>ParserBlock.tokenize</code> <a href="https://redirect.github.com/executablebooks/markdown-it-py/pull/284">#284</a></li> <li>🐛 FIX: numeric character reference passing <a href="https://redirect.github.com/executablebooks/markdown-it-py/pull/272">#272</a></li> <li>🐛 Fix: tab preventing paragraph continuation in lists <a href="https://redirect.github.com/executablebooks/markdown-it-py/pull/274">#274</a></li> <li>👌 Improve nested emphasis parsing <a href="https://redirect.github.com/executablebooks/markdown-it-py/pull/273">#273</a></li> <li>👌 fix possible ReDOS in newline rule <a href="https://redirect.github.com/executablebooks/markdown-it-py/pull/275">#275</a></li> <li>👌 Improve performance of <code>skipSpaces</code>/<code>skipChars</code> <a href="https://redirect.github.com/executablebooks/markdown-it-py/pull/271">#271</a></li> <li>👌 Show text of <code>text_special</code> in <code>tree.pretty</code> <a href="https://redirect.github.com/executablebooks/markdown-it-py/pull/282">#282</a></li> </ul> <h3>♻️ REFACTOR: Replace most character code use with strings</h3> <p>The use of <code>StateBase.srcCharCode</code> is deprecated (with backward-compatibility), and all core uses are replaced by <code>StateBase.src</code>.</p> <p>Conversion of source string characters to an integer representing the Unicode character is prevalent in the upstream JavaScript implementation, to improve performance. However, it is unnecessary in Python and leads to harder to read code and performance deprecations (during the conversion in the <code>StateBase</code> initialisation).</p> <p>See <a href="https://redirect.github.com/executablebooks/markdown-it-py/pull/270">#270</a>, thanks to <a href="https://github.com/hukkinj1"><code>@hukkinj1</code></a>.</p> <h3>♻️ Centralise indented code block tests</h3> <p>For CommonMark, the presence of indented code blocks prevent any other block element from having an indent of greater than 4 spaces. Certain Markdown flavors and derivatives, such as mdx and djot, disable these code blocks though, since it is more common to use code fences and/or arbitrary indenting is desirable. Previously, disabling code blocks did not remove the indent limitation, since most block elements had the 3 space limitation hard-coded. This change centralised the logic of applying this limitation (in <code>StateBlock.is_code_block</code>), and only applies it when indented code blocks are enabled.</p> <p>This allows for e.g.</p> <pre lang="md"><code><div> <div> <pre><code>I can indent as much as I want here. </code></pre> <p><div> <div> </tr></table> </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/executablebooks/markdown-it-py/commit/73a01479212bfe2aea0b995b4d13c8ddca2e4265"><code>73a0147</code></a> 🚀 RELEASE: v2.2.0 (<a href="https://redirect.github.com/executablebooks/markdown-it-py/issues/250">#250</a>)</li> <li><a href="https://github.com/executablebooks/markdown-it-py/commit/53ca3e9c2b9e9b295f6abf7f4ad2730a9b70f68c"><code>53ca3e9</code></a> 🐛 FIX: CLI crash on non-utf8 character (<a href="https://redirect.github.com/executablebooks/markdown-it-py/issues/247">#247</a>)</li> <li><a href="https://github.com/executablebooks/markdown-it-py/commit/6491bc2491a07a8072e5d40f27eab6430585c42c"><code>6491bc2</code></a> 📚 Add email to security section (<a href="https://redirect.github.com/executablebooks/markdown-it-py/issues/249">#249</a>)</li> <li><a href="https://github.com/executablebooks/markdown-it-py/commit/cf8b2d8c561233d4c18c55e80b68c8d06850fda6"><code>cf8b2d8</code></a> 🔧 Create SECURITY.md (<a href="https://redirect.github.com/executablebooks/markdown-it-py/issues/248">#248</a>)</li> <li><a href="https://github.com/executablebooks/markdown-it-py/commit/ae03c6107dfa18e648f6fdd1280f5b89092d5d49"><code>ae03c61</code></a> 🐛 FIX: CVE-2023-26303 (<a href="https://redirect.github.com/executablebooks/markdown-it-py/issues/246">#246</a>)</li> <li><a href="https://github.com/executablebooks/markdown-it-py/commit/2c93e0b6a8aec7e5a6e1bdef502de7d95ec2a192"><code>2c93e0b</code></a> 📚 DOCS: Update the example (<a href="https://redirect.github.com/executablebooks/markdown-it-py/issues/229">#229</a>)</li> <li><a href="https://github.com/executablebooks/markdown-it-py/commit/4670f0cdd7a9e8ab7523f51b0beb1d4ea27bb1b7"><code>4670f0c</code></a> ⬆️ UPGRADE: Allow linkify-it-py v2 (<a href="https://redirect.github.com/executablebooks/markdown-it-py/issues/218">#218</a>)</li> <li><a href="https://github.com/executablebooks/markdown-it-py/commit/032c742671c4d6ad12ecd5cd072164e2f3812c12"><code>032c742</code></a> 📚 DOCS: Add section about markdown renderer (<a href="https://redirect.github.com/executablebooks/markdown-it-py/issues/227">#227</a>)</li> <li><a href="https://github.com/executablebooks/markdown-it-py/commit/c9f6856dcc3f5f73ce01571dd280d6139b0c1185"><code>c9f6856</code></a> 🔧 Update benchmark pkg versions (<a href="https://redirect.github.com/executablebooks/markdown-it-py/issues/245">#245</a>)</li> <li><a href="https://github.com/executablebooks/markdown-it-py/commit/2160a3daec2a7a007e5a7f5f941eaaad001a2d95"><code>2160a3d</code></a> 🔧 Bump GH actions (<a href="https://redirect.github.com/executablebooks/markdown-it-py/issues/244">#244</a>)</li> <li>Additional commits viewable in <a href="https://github.com/executablebooks/markdown-it-py/compare/v2.1.0...v2.2.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=markdown-it-py&package-manager=pip&previous-version=2.1.0&new-version=2.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@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) - `@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) - `@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) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/googleapis/sphinx-docfx-yaml/network/alerts). </details>
- Loading branch information