deps: adopt Markdown 15 with compatible lists and preview links - #84
Merged
Conversation
Bumps [markdown-it](https://github.com/markdown-it/markdown-it) from 14.3.0 to 15.0.1. - [Changelog](https://github.com/markdown-it/markdown-it/blob/master/CHANGELOG.md) - [Commits](markdown-it/markdown-it@14.3.0...15.0.1) --- updated-dependencies: - dependency-name: markdown-it dependency-version: 15.0.1 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
…owup-20260908 # Conflicts: # package-lock.json # package.json
…owup-20260908 # Conflicts: # tests.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upgrades markdown-it to 15.0.1 and adapts the two consumers to its changed contract. Ordered-list start attributes now accept the parser's numeric values, fixing the TypeScript build failure. Local file preview explicitly retains bare-domain link detection, which linkify-it 6 disables by default. The package now supplies its own types, so @types/markdown-it is removed.
Breaking-change review: no internal markdown-it subpath imports or affected plugins are used. Conversation linkification stays disabled. Local preview keeps bare-domain/email links and benefits from Chinese punctuation boundaries; raw HTML and JavaScript links remain inert.
Validation on isolated Windows / Node 22 / npm 10.9.8: frontend build, frontend normalizers with ordered-list start assertions, and full dependency audit (0 vulnerabilities). H5 local-preview smoke confirms start=3, domain/email/IPv6 links, Chinese punctuation boundaries, no script execution and no phone-width overflow. Remote CI is required before merging to beta. No Android/runtime protocol change or production deployment is included.
Upstream changes: https://github.com/markdown-it/markdown-it/blob/15.0.1/CHANGELOG.md