Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Bump league/commonmark from 2.4.2 to 2.6.0#149

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@dependabot
Copy link
Contributor

@dependabotdependabotbot commented on behalf ofgithubDec 10, 2024
edited
Loading

Bumpsleague/commonmark from 2.4.2 to 2.6.0.

Release notes

Sourced fromleague/commonmark's releases.

2.6.0

This is asecurity release to address potential denial of service attacks when parsing specially crafted,malicious input from untrusted sources (like user input). SeeGHSA-c2pc-g5qf-rfrf for more details.

Added

  • Addedmax_delimiters_per_line config option to prevent denial of service attacks when parsing malicious input
  • Addedtable/max_autocompleted_cells config option to prevent denial of service attacks when parsing large tables
  • TheAttributesExtension now supports attributes without values (#985,#986)
  • TheAutolinkExtension exposes two new configuration options to override the default behavior (#969,#987):
    • autolink/allowed_protocols - an array of protocols to allow autolinking for
    • autolink/default_protocol - the default protocol to use when none is specified
  • AddedRegexHelper::isWhitespace() method to check if a given character is an ASCII whitespace character
  • AddedCacheableDelimiterProcessorInterface to ensure linear complexity for dynamic delimiter processing
  • AddedBracket delimiter type to optimize bracket parsing

Changed

  • [ and] are no longer added asDelimiter objects on the stack; a newBracket type with its own stack is used instead
  • UrlAutolinkParser no longer parses URLs with more than 127 subdomains
  • Expanded reference links can no longer exceed 100kb, or the size of the input document (whichever is greater)
  • Delimiters should always provide a non-null value viaDelimiterInterface::getIndex()
    • We'll attempt to infer the index based on surrounding delimiters where possible
  • TheDelimiterStack now accepts integer positions for any$stackBottom argument
  • Several small performance optimizations

2.5.3

Changed

  • Made compatible with CommonMark spec 0.31.1, including:
    • Removesource, addsearch to list of recognized block tags

Full Changelog:thephpleague/commonmark@2.5.2...2.5.3

2.5.2

Changed

  • Boolean attributes now require an explicittrue value (#1040)

Fixed

  • Fixed regression where text could be misinterpreted as an attribute (#1040)

Full Changelog:thephpleague/commonmark@2.5.1...2.5.2

2.5.1

Fixed

... (truncated)

Changelog

Sourced fromleague/commonmark's changelog.

[2.6.0] - 2024-12-07

This is asecurity release to address potential denial of service attacks when parsing specially crafted,malicious input from untrusted sources (like user input).

Added

  • Addedmax_delimiters_per_line config option to prevent denial of service attacks when parsing malicious input
  • Addedtable/max_autocompleted_cells config option to prevent denial of service attacks when parsing large tables
  • TheAttributesExtension now supports attributes without values (#985,#986)
  • TheAutolinkExtension exposes two new configuration options to override the default behavior (#969,#987):
    • autolink/allowed_protocols - an array of protocols to allow autolinking for
    • autolink/default_protocol - the default protocol to use when none is specified
  • AddedRegexHelper::isWhitespace() method to check if a given character is an ASCII whitespace character
  • AddedCacheableDelimiterProcessorInterface to ensure linear complexity for dynamic delimiter processing
  • AddedBracket delimiter type to optimize bracket parsing

Changed

  • [ and] are no longer added asDelimiter objects on the stack; a newBracket type with its own stack is used instead
  • UrlAutolinkParser no longer parses URLs with more than 127 subdomains
  • Expanded reference links can no longer exceed 100kb, or the size of the input document (whichever is greater)
  • Delimiters should always provide a non-null value viaDelimiterInterface::getIndex()
    • We'll attempt to infer the index based on surrounding delimiters where possible
  • TheDelimiterStack now accepts integer positions for any$stackBottom argument
  • Several small performance optimizations

[2.5.3] - 2024-08-16

Changed

  • Made compatible with CommonMark spec 0.31.1, including:
    • Removesource, addsearch to list of recognized block tags

[2.5.2] - 2024-08-14

Changed

  • Boolean attributes now require an explicittrue value (#1040)

Fixed

  • Fixed regression where text could be misinterpreted as an attribute (#1040)

[2.5.1] - 2024-07-24

Fixed

  • Fixed attribute parsing incorrectly parsing mustache-like syntax (#1035)
  • Fixed incorrectTable start line numbers (#1037)

... (truncated)

Commits
  • d150f91 Prepare to release 2.6.0
  • 2f1e520 Merge commit from fork
  • d777db8 Add pathological test for deeply-nested blocks
  • 92dbad9 Flag this as a security release
  • 8b9d95e Fix pathological test suite failing not loading extensions in CI
  • 5156796 Add max_delimiters_per_line config option
  • 5ce491f Optimize repeated parsing of links without closing brace
  • 540d850 Fix quadratic complexity parsing long backtick code spans with no matching cl...
  • e1cfa8d Use recursive lookup as a last resort to avoid throwing
  • b61bbd4 Use delimiter position to optimize processing
  • Additional commits viewable incompare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting@dependabot rebase.


Dependabot commands and options

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 theSecurity Alerts page.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [league/commonmark](https://github.com/thephpleague/commonmark) from 2.4.2 to 2.6.0.- [Release notes](https://github.com/thephpleague/commonmark/releases)- [Changelog](https://github.com/thephpleague/commonmark/blob/2.6/CHANGELOG.md)- [Commits](thephpleague/commonmark@2.4.2...2.6.0)---updated-dependencies:- dependency-name: league/commonmark  dependency-type: indirect...Signed-off-by: dependabot[bot] <support@github.com>
@dependabotdependabotbot added the dependenciesPull requests that update a dependency file labelDec 10, 2024
@geekcomgeekcom merged commit3984bea intomasterApr 30, 2025
1 check failed
@dependabotdependabotbot deleted the dependabot/composer/league/commonmark-2.6.0 branchApril 30, 2025 17:38
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

dependenciesPull requests that update a dependency file

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@geekcom

[8]ページ先頭

©2009-2025 Movatter.jp