Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 24, 2025

Bumps markdown-it-table-of-contents from 0.9.0 to 1.1.0.

Release notes

Sourced from markdown-it-table-of-contents's releases.

v1.1.0

  • Changed: getTokensText(tokens) now trims whitespace from headlines. It did so before most of the time, but when used together with custom attributes via the markdown-it-attrs plugin and there was more than one space between headline text and custom attribute (e. g. ## Headline {#custom-id}), this lead to trailing whitespaces (fixes #67 part 2)
  • Changed: slugify(s) had an undocumented second parameter, which contained the raw Markdown text. This is now a documented parameter, which receives the raw token. If you used this undocumented parameter before, you can achieve the old behavior like this: slugify: (s, token) => do_your_thing_with(token.content)
  • Changed: getTokensText(tokens, rawToken) has now a second parameter and receives the raw token. You can use this to modify how text is extracted from a headline. See README for examples. Fixes #67 part 1.

v1.0.0

  • Runs stable for years now, hence push version to 1.0.0. No breaking changes to v0.9.0.
  • Added: Now also works as ESM module
  • Removed (dev): (Internal) mocha replaced with node test runner for running tests
Changelog

Sourced from markdown-it-table-of-contents's changelog.

[1.1.0] - 2025-09-24

  • Changed: getTokensText(tokens) now trims whitespace from headlines. It did so before most of the time, but when used together with custom attributes via the markdown-it-attrs plugin and there was more than one space between headline text and custom attribute (e. g. ## Headline {#custom-id}), this lead to trailing whitespaces (fixes #67 part 2)
  • Changed: slugify(s) had an undocumented second parameter, which contained the raw Markdown text. This is now a documented parameter, which receives the raw token. If you used this undocumented parameter before, you can achieve the old behavior like this: slugify: (s, token) => do_your_thing_with(token.content)
  • Changed: getTokensText(tokens, rawToken) has now a second parameter and receives the raw token. You can use this to modify how text is extracted from a headline. See README for examples. Fixes #67 part 1.

[1.0.0] - 2025-08-28

  • Runs stable for years now, hence push version to 1.0. No breaking changes to v0.9.0.
  • Added: Now also works as ESM module
  • Removed (dev): (Internal) mocha replaced with node test runner for running tests

Commits

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

Bumps [markdown-it-table-of-contents](https://github.com/cmaas/markdown-it-table-of-contents) from 0.9.0 to 1.1.0.
- [Release notes](https://github.com/cmaas/markdown-it-table-of-contents/releases)
- [Changelog](https://github.com/cmaas/markdown-it-table-of-contents/blob/master/CHANGELOG.md)
- [Commits](cmaas/markdown-it-table-of-contents@v0.9.0...v1.1.0)

---
updated-dependencies:
- dependency-name: markdown-it-table-of-contents
  dependency-version: 1.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Sep 24, 2025
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedesbuild-plugin-polyfill-node@​0.3.03110010077100
Added@​types/​react-dom@​19.1.91001007593100
Added@​types/​react@​19.1.131001008094100
Addedreact@​19.1.11001008497100
Addedreact-dom@​19.1.11001009297100
Updatedmarkdown-it-table-of-contents@​0.9.0 ⏵ 1.1.0100 +1100100 +1100 +15100

View full report

Copy link

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn Critical
[email protected] is a Possible typosquat attack.

Did you mean: @esbuild-plugins/node-**globals-**polyfill~~-node~~

From: examples/esbuild-settings/package.jsonnpm/[email protected]

ℹ Read more on: This package | This alert | What is a typosquat?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at [email protected].

Suggestion: Use care when consuming similarly named packages and ensure that you did not intend to consume a different package. Malicious packages often publish using similar names as existing popular packages.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@coveralls
Copy link

Pull Request Test Coverage Report for Build 17991981077

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 91.01%

Totals Coverage Status
Change from base Build 17559539399: 0.0%
Covered Lines: 3150
Relevant Lines: 3410

💛 - Coveralls

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.

1 participant