Skip to content

[Snyk] Security upgrade markdown-it from 12.0.4 to 14.0.0#440

Open
OBPeteS wants to merge 1 commit into
masterfrom
snyk-fix-513d55053d07b99afce549a2c004d943
Open

[Snyk] Security upgrade markdown-it from 12.0.4 to 14.0.0#440
OBPeteS wants to merge 1 commit into
masterfrom
snyk-fix-513d55053d07b99afce549a2c004d943

Conversation

@OBPeteS

@OBPeteS OBPeteS commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

snyk-top-banner

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

Snyk changed the following file(s):

  • package.json
  • yarn.lock

Note for zero-installs users

If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Inefficient Algorithmic Complexity
SNYK-JS-LINKIFYIT-17901217
  828  

Breaking Change Risk

Merge Risk: High

Notice: This assessment is enhanced by AI.


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:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

@OBPeteS

OBPeteS commented Jul 10, 2026

Copy link
Copy Markdown
Contributor Author

Merge Risk: High

This is a major upgrade from v12 to v14, introducing significant breaking changes across two major versions. Key changes include a rewrite to ESM, dropped support for older Node.js versions, and breaking changes to the plugin API.

Breaking Changes

Version 14.0.0

  • ESM Rewrite: The package is now published as an ESM module. While a CJS fallback is provided, this can cause issues with require() statements in certain environments and build tools.
  • Browser Support: Support for older, "ancient" browsers has been dropped.
  • Dependencies: punicode.js is now an external dependency, which npm should handle automatically but could be a factor in bundled environments.

Version 13.0.0

  • Node.js Support: Support for Node.js versions 10 and 12 was dropped. You must be using Node.js 14 or newer.
  • Plugin API: The internal API for plugins was changed. All third-party markdown-it plugins must be checked for compatibility and potentially upgraded.

Recommendation:

  1. Ensure your environment is running Node.js 14 or a later version.
  2. Review your import statements. If you are using CommonJS (require('markdown-it')), test thoroughly to ensure the CJS fallback works with your setup.
  3. Verify that all markdown-it plugins you use are compatible with v13 and v14 and upgrade them as needed.
  4. If you are using markdown-it on the front-end, confirm your target browsers are supported.

Source: CHANGELOG.md

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

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.

2 participants