nvuillam / github-dependents-info

Collect information about dependencies between a github repo and other repositories. Results available in JSON, markdown and badge
https://pypi.org/project/github-dependents-info/
MIT License
103 stars 7 forks source link

Update dependency markdown-it-py to v3 #491

Closed renovate[bot] closed 8 months ago

renovate[bot] commented 8 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
markdown-it-py ==2.2.0 -> ==3.0.0 age adoption passing confidence

Release Notes

executablebooks/markdown-it-py (markdown-it-py) ### [`v3.0.0`](https://togithub.com/executablebooks/markdown-it-py/blob/HEAD/CHANGELOG.md#300---2023-06-03) [Compare Source](https://togithub.com/executablebooks/markdown-it-py/compare/v2.2.0...v3.0.0) ⚠️ This release contains some minor breaking changes in the internal API and improvements to the parsing strictness. **Full Changelog**: ##### ⬆️ UPGRADE: Drop support for Python 3.7 Also add testing for Python 3.11 ##### ⬆️ UPGRADE: Update from upstream markdown-it `12.2.0` to `13.0.0` A key change is the addition of a new `Token` type, `text_special`, 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 `text_join` rule, which joins adjacent `text`/`text_special` tokens, and so no `text_special` tokens should be present in the final token stream. Any custom typographic rules should be inserted before `text_join`. A new `linkify` rule has also been added to the inline chain, which will linkify full URLs (e.g. `https://example.com`), and fixes collision of emphasis and linkifier (so `http://example.org/foo._bar_-_baz` is now a single link, not emphasized). Emails and fuzzy links are not affected by this. - ♻️ Refactor backslash escape logic, add `text_special` [#​276](https://togithub.com/executablebooks/markdown-it-py/pull/276) - ♻️ Parse entities to `text_special` token [#​280](https://togithub.com/executablebooks/markdown-it-py/pull/280) - ♻️ Refactor: Add linkifier rule to inline chain for full links [#​279](https://togithub.com/executablebooks/markdown-it-py/pull/279) - ‼️ Remove `(p)` => `§` replacement in typographer [#​281](https://togithub.com/executablebooks/markdown-it-py/pull/281) - ‼️ Remove unused `silent` arg in `ParserBlock.tokenize` [#​284](https://togithub.com/executablebooks/markdown-it-py/pull/284) - 🐛 FIX: numeric character reference passing [#​272](https://togithub.com/executablebooks/markdown-it-py/pull/272) - 🐛 Fix: tab preventing paragraph continuation in lists [#​274](https://togithub.com/executablebooks/markdown-it-py/pull/274) - 👌 Improve nested emphasis parsing [#​273](https://togithub.com/executablebooks/markdown-it-py/pull/273) - 👌 fix possible ReDOS in newline rule [#​275](https://togithub.com/executablebooks/markdown-it-py/pull/275) - 👌 Improve performance of `skipSpaces`/`skipChars` [#​271](https://togithub.com/executablebooks/markdown-it-py/pull/271) - 👌 Show text of `text_special` in `tree.pretty` [#​282](https://togithub.com/executablebooks/markdown-it-py/pull/282) ##### ♻️ REFACTOR: Replace most character code use with strings The use of `StateBase.srcCharCode` is deprecated (with backward-compatibility), and all core uses are replaced by `StateBase.src`. 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 `StateBase` initialisation). See [#​270](https://togithub.com/executablebooks/markdown-it-py/pull/270), thanks to [@​hukkinj1](https://togithub.com/hukkinj1). ##### ♻️ Centralise indented code block tests 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 `StateBlock.is_code_block`), and only applies it when indented code blocks are enabled. This allows for e.g. ```md
I can indent as much as I want here.
``` See [#​260](https://togithub.com/executablebooks/markdown-it-py/pull/260) ##### 🔧 Maintenance changes Strict type annotation checking has been applied to the whole code base, [ruff](https://togithub.com/charliermarsh/ruff) is now used for linting, and fuzzing tests have been added to the CI, to integrate with Google [OSS-Fuzz](https://togithub.com/google/oss-fuzz/tree/master/projects/markdown-it-py) testing, thanks to [@​DavidKorczynski](https://togithub.com/DavidKorczynski). - 🔧 MAINTAIN: Make type checking strict [#](https://togithub.com/executablebooks/markdown-it-py/pull/267) - 🔧 Add typing of rule functions [#​283](https://togithub.com/executablebooks/markdown-it-py/pull/283) - 🔧 Move linting from flake8 to ruff [#​268](https://togithub.com/executablebooks/markdown-it-py/pull/268) - 🧪 CI: Add fuzzing workflow for PRs [#​262](https://togithub.com/executablebooks/markdown-it-py/pull/262) - 🔧 Add tox env for fuzz testcase run [#​263](https://togithub.com/executablebooks/markdown-it-py/pull/263) - 🧪 Add OSS-Fuzz set up by [@​DavidKorczynski](https://togithub.com/DavidKorczynski) in [#​255](https://togithub.com/executablebooks/markdown-it-py/pull/255) - 🧪 Fix fuzzing test failures [#​254](https://togithub.com/executablebooks/markdown-it-py/pull/254)

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 Mend Renovate. View repository job log here.

github-actions[bot] commented 8 months ago

🦙 MegaLinter status: ⚠️ WARNING

Descriptor Linter Files Fixed Errors Elapsed time
⚠️ ACTION actionlint 3 1 0.06s
✅ COPYPASTE jscpd yes no 1.99s
⚠️ DOCKERFILE hadolint 2 1 0.13s
✅ JSON eslint-plugin-jsonc 3 0 0 1.01s
✅ JSON jsonlint 3 0 0.17s
✅ JSON prettier 3 0 0 0.54s
✅ JSON v8r 3 0 3.31s
⚠️ MAKEFILE checkmake 1 1 0.01s
⚠️ MARKDOWN markdownlint 11 0 15 1.41s
✅ MARKDOWN markdown-link-check 11 0 4.83s
✅ MARKDOWN markdown-table-formatter 11 0 0 0.33s
✅ PYTHON bandit 6 0 1.04s
✅ PYTHON black 6 0 0 1.0s
✅ PYTHON flake8 6 0 0.64s
✅ PYTHON isort 6 0 0 0.34s
⚠️ PYTHON mypy 6 5 7.74s
✅ PYTHON pylint 6 0 4.02s
⚠️ PYTHON pyright 6 8 8.29s
✅ PYTHON ruff 6 0 0 0.06s
✅ REPOSITORY checkov yes no 11.98s
✅ REPOSITORY gitleaks yes no 2.17s
✅ REPOSITORY git_diff yes no 0.02s
✅ REPOSITORY grype yes no 14.34s
✅ REPOSITORY secretlint yes no 0.9s
✅ REPOSITORY trivy yes no 8.14s
✅ REPOSITORY trivy-sbom yes no 1.5s
✅ REPOSITORY trufflehog yes no 3.48s
✅ SPELL cspell 45 0 4.92s
✅ SPELL lychee 27 0 2.63s
✅ YAML prettier 13 0 0 1.04s
✅ YAML v8r 13 0 22.23s
✅ YAML yamllint 13 0 0.34s

See detailed report in MegaLinter reports

_MegaLinter is graciously provided by OX Security_