Skip to content

Bump markdown-it-deflist from 3.0.1 to 4.0.0 - #281

Merged
bcomnes merged 3 commits into
masterfrom
dependabot/npm_and_yarn/markdown-it-deflist-4.0.0
Jul 31, 2026
Merged

Bump markdown-it-deflist from 3.0.1 to 4.0.0#281
bcomnes merged 3 commits into
masterfrom
dependabot/npm_and_yarn/markdown-it-deflist-4.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 27, 2026

Copy link
Copy Markdown
Contributor

Bumps markdown-it-deflist from 3.0.1 to 4.0.0.

Changelog

Sourced from markdown-it-deflist's changelog.

4.0.0 / 2026-07-27

  • Move definition nesting tracking from StateBlock to env.
  • Improve compatibility with Pandoc:
    • Apply compactness separately to each definition term.
    • Allow empty definitions and definition content starting on the next line.
    • Limit definition marker indentation to 3 spaces.
  • Document known differences from Pandoc.
Commits
  • 1d342ee 4.0.0 released
  • 6707cdc Add funding info
  • a3a4501 Store definition nesting depth in env
  • 1a45a68 Coverage improve
  • dacd02a doc: Enchance description of known differences
  • 1349caa Apply definition list compactness per term
  • d4c086a Allow definition markers without inline content
  • 9dc9a89 Limit definition marker indentation to 3 spaces
  • 544bfcb Fix loose definition lists after terms
  • 1f72cef lint => neostandard
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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 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)

Bumps [markdown-it-deflist](https://github.com/markdown-it/markdown-it-deflist) from 3.0.1 to 4.0.0.
- [Changelog](https://github.com/markdown-it/markdown-it-deflist/blob/master/CHANGELOG.md)
- [Commits](markdown-it/markdown-it-deflist@3.0.1...4.0.0)

---
updated-dependencies:
- dependency-name: markdown-it-deflist
  dependency-version: 4.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jul 27, 2026
@bcomnes

bcomnes commented Jul 31, 2026

Copy link
Copy Markdown
Owner

@copilot please get this update passing in the tests

…ility

The @types/markdown-it package exposes separate ESM and CJS type definitions.
Plugins like @types/markdown-it-footnote and markdown-it-attrs use
require('markdown-it') resolving to CJS types, while the project's ESM
imports get different ESM types. This causes incompatible .use() call types.

Add // @ts-ignore comments before the affected .use() calls, consistent
with the existing pattern used for other plugins in the file.

Copilot AI commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

@copilot please get this update passing in the tests

Fixed in commit b3e1cd8. The test failure was in test:tsc — the @types/markdown-it package has separate ESM and CJS type definitions, and plugins like @types/markdown-it-footnote and markdown-it-attrs use require('markdown-it') which resolves to the CJS types, while the project's ESM imports get the ESM types. This causes a structural incompatibility when passing those plugins to .use(). Added // @ts-ignore before the two affected .use() calls, consistent with the existing pattern already used for markdownItHighlightjs and other plugins in the file.

Copilot AI requested a review from bcomnes July 31, 2026 01:18
@bcomnes

bcomnes commented Jul 31, 2026

Copy link
Copy Markdown
Owner

@copilot please use expect-error and never ignore.

Copilot AI commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

@copilot please use expect-error and never ignore.

Done in commit 8bc6a0e — switched both suppressions to // @ts-expect-error.

@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 30596468740

Coverage decreased (-0.5%) to 91.448%

Details

  • Coverage decreased (-0.5%) from the base build.
  • Patch coverage: 2 of 2 lines across 1 file are fully covered (100%).
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 4295
Covered Lines: 4044
Line Coverage: 94.16%
Relevant Branches: 850
Covered Branches: 661
Branch Coverage: 77.76%
Branches in Coverage %: Yes
Coverage Strength: 73.97 hits per line

💛 - Coveralls

@bcomnes
bcomnes merged commit ce5f501 into master Jul 31, 2026
10 checks passed
@bcomnes
bcomnes deleted the dependabot/npm_and_yarn/markdown-it-deflist-4.0.0 branch July 31, 2026 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants