Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): bump league/commonmark from 2.5.3 to 2.6.0 in /packages/…
…php/examples/laravel (#1146) Bumps [league/commonmark](https://github.com/thephpleague/commonmark) from 2.5.3 to 2.6.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/thephpleague/commonmark/releases">league/commonmark's releases</a>.</em></p> <blockquote> <h2>2.6.0</h2> <p>This is a <strong>security release</strong> to address potential denial of service attacks when parsing specially crafted, malicious input from untrusted sources (like user input). See <a href="https://github.com/thephpleague/commonmark/security/advisories/GHSA-c2pc-g5qf-rfrf">https://github.com/thephpleague/commonmark/security/advisories/GHSA-c2pc-g5qf-rfrf</a> for more details.</p> <h3>Added</h3> <ul> <li>Added <code>max_delimiters_per_line</code> config option to prevent denial of service attacks when parsing malicious input</li> <li>Added <code>table/max_autocompleted_cells</code> config option to prevent denial of service attacks when parsing large tables</li> <li>The <code>AttributesExtension</code> now supports attributes without values (<a href="https://redirect.github.com/thephpleague/commonmark/issues/985">#985</a>, <a href="https://redirect.github.com/thephpleague/commonmark/issues/986">#986</a>)</li> <li>The <code>AutolinkExtension</code> exposes two new configuration options to override the default behavior (<a href="https://redirect.github.com/thephpleague/commonmark/issues/969">#969</a>, <a href="https://redirect.github.com/thephpleague/commonmark/issues/987">#987</a>): <ul> <li><code>autolink/allowed_protocols</code> - an array of protocols to allow autolinking for</li> <li><code>autolink/default_protocol</code> - the default protocol to use when none is specified</li> </ul> </li> <li>Added <code>RegexHelper::isWhitespace()</code> method to check if a given character is an ASCII whitespace character</li> <li>Added <code>CacheableDelimiterProcessorInterface</code> to ensure linear complexity for dynamic delimiter processing</li> <li>Added <code>Bracket</code> delimiter type to optimize bracket parsing</li> </ul> <h3>Changed</h3> <ul> <li><code>[</code> and <code>]</code> are no longer added as <code>Delimiter</code> objects on the stack; a new <code>Bracket</code> type with its own stack is used instead</li> <li><code>UrlAutolinkParser</code> no longer parses URLs with more than 127 subdomains</li> <li>Expanded reference links can no longer exceed 100kb, or the size of the input document (whichever is greater)</li> <li>Delimiters should always provide a non-null value via <code>DelimiterInterface::getIndex()</code> <ul> <li>We'll attempt to infer the index based on surrounding delimiters where possible</li> </ul> </li> <li>The <code>DelimiterStack</code> now accepts integer positions for any <code>$stackBottom</code> argument</li> <li>Several small performance optimizations</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/thephpleague/commonmark/blob/2.6/CHANGELOG.md">league/commonmark's changelog</a>.</em></p> <blockquote> <h2>[2.6.0] - 2024-12-07</h2> <p>This is a <strong>security release</strong> to address potential denial of service attacks when parsing specially crafted, malicious input from untrusted sources (like user input).</p> <h3>Added</h3> <ul> <li>Added <code>max_delimiters_per_line</code> config option to prevent denial of service attacks when parsing malicious input</li> <li>Added <code>table/max_autocompleted_cells</code> config option to prevent denial of service attacks when parsing large tables</li> <li>The <code>AttributesExtension</code> now supports attributes without values (<a href="https://redirect.github.com/thephpleague/commonmark/issues/985">#985</a>, <a href="https://redirect.github.com/thephpleague/commonmark/issues/986">#986</a>)</li> <li>The <code>AutolinkExtension</code> exposes two new configuration options to override the default behavior (<a href="https://redirect.github.com/thephpleague/commonmark/issues/969">#969</a>, <a href="https://redirect.github.com/thephpleague/commonmark/issues/987">#987</a>): <ul> <li><code>autolink/allowed_protocols</code> - an array of protocols to allow autolinking for</li> <li><code>autolink/default_protocol</code> - the default protocol to use when none is specified</li> </ul> </li> <li>Added <code>RegexHelper::isWhitespace()</code> method to check if a given character is an ASCII whitespace character</li> <li>Added <code>CacheableDelimiterProcessorInterface</code> to ensure linear complexity for dynamic delimiter processing</li> <li>Added <code>Bracket</code> delimiter type to optimize bracket parsing</li> </ul> <h3>Changed</h3> <ul> <li><code>[</code> and <code>]</code> are no longer added as <code>Delimiter</code> objects on the stack; a new <code>Bracket</code> type with its own stack is used instead</li> <li><code>UrlAutolinkParser</code> no longer parses URLs with more than 127 subdomains</li> <li>Expanded reference links can no longer exceed 100kb, or the size of the input document (whichever is greater)</li> <li>Delimiters should always provide a non-null value via <code>DelimiterInterface::getIndex()</code> <ul> <li>We'll attempt to infer the index based on surrounding delimiters where possible</li> </ul> </li> <li>The <code>DelimiterStack</code> now accepts integer positions for any <code>$stackBottom</code> argument</li> <li>Several small performance optimizations</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/thephpleague/commonmark/commit/d150f911e0079e90ae3c106734c93137c184f932"><code>d150f91</code></a> Prepare to release 2.6.0</li> <li><a href="https://github.com/thephpleague/commonmark/commit/2f1e5204357ef83b86de676ade330cad53ed28cf"><code>2f1e520</code></a> Merge commit from fork</li> <li><a href="https://github.com/thephpleague/commonmark/commit/d777db8d71a4ebf84ddf93905af9a6f1a861a1ff"><code>d777db8</code></a> Add pathological test for deeply-nested blocks</li> <li><a href="https://github.com/thephpleague/commonmark/commit/92dbad9f833783f9ad885f1a3a3796577d529981"><code>92dbad9</code></a> Flag this as a security release</li> <li><a href="https://github.com/thephpleague/commonmark/commit/8b9d95e8b5a13cb8fc2714adc20bbba49fb17d16"><code>8b9d95e</code></a> Fix pathological test suite failing not loading extensions in CI</li> <li><a href="https://github.com/thephpleague/commonmark/commit/51567969678a3b83ecdd83e3b1c834b577fd79a2"><code>5156796</code></a> Add max_delimiters_per_line config option</li> <li><a href="https://github.com/thephpleague/commonmark/commit/5ce491fff9bec6baaf8b0591fb092e9cabfa0729"><code>5ce491f</code></a> Optimize repeated parsing of links without closing brace</li> <li><a href="https://github.com/thephpleague/commonmark/commit/540d850394a9eb1ba9acef6ee6f0e1e9571cc50a"><code>540d850</code></a> Fix quadratic complexity parsing long backtick code spans with no matching cl...</li> <li><a href="https://github.com/thephpleague/commonmark/commit/e1cfa8deb0f55c795d4bb7056803dcc843f81685"><code>e1cfa8d</code></a> Use recursive lookup as a last resort to avoid throwing</li> <li><a href="https://github.com/thephpleague/commonmark/commit/b61bbd4b09c0a061d1b63a75b1515c3809a797c4"><code>b61bbd4</code></a> Use delimiter position to optimize processing</li> <li>Additional commits viewable in <a href="https://github.com/thephpleague/commonmark/compare/2.5.3...2.6.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=league/commonmark&package-manager=composer&previous-version=2.5.3&new-version=2.6.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/readmeio/metrics-sdks/network/alerts). </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Andrii Andreiev <[email protected]>
- Loading branch information