Skip to content

Conversation

@chaodin
Copy link

@chaodin chaodin commented Oct 27, 2025

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.

Snyk changed the following file(s):

  • package.json
  • package-lock.json

Merge Risk: High

This major version upgrade crosses two major versions (v6 and v7) and introduces significant breaking changes.Highlights:Instantiation Change: The most critical change is that the default export is now the TurndownService class. Code must be updated from new turndown() to new TurndownService().Plugin & Option Changes: The turndown-plugin-gfm is now integrated directly and must be enabled via the gfm: true option. Additionally, the remove option has been removed in v6 and requires using custom rules instead.Source: Release notesRecommendation: Developer action is required. You must update how the service is instantiated and review usage of the GFM plugin and element removal options.

Notice 🤖: This content was generated using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.
Was this summary helpful 👍? Not helpful 👎?


Vulnerabilities that will be fixed with an upgrade:

Issue Score
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-TURNDOWN-12304081
  666  

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Regular Expression Denial of Service (ReDoS)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants