Markdown-toc is a Node.js library designed to effortlessly generate tables of contents for Markdown files, using the power of Remarkable. Comparing version 0.13.0 with the previous stable release, 0.12.16, reveals subtle yet important updates. Both versions maintain the same core functionality and dependencies like concat-stream, gray-matter, lazy-cache, list-item, markdown-link, minimist, mixin-deep, object.pick, repeat-string, and strip-color.
The key difference lies in the updated version of the core Markdown parsing engine, remarkable. Version 0.13.0 utilizes remarkable version 1.7.0, a notable upgrade from the 1.6.2 version used in 0.12.16. This update likely incorporates bug fixes, performance improvements, and potentially new Markdown parsing features offered by the newer remarkable release. While the developer dependencies like gulp-format-md, mocha, and should remain consistent.
For developers considering markdown-toc, both versions offer a robust solution for automating TOC generation. Selecting version 0.13.0 provides access to the latest enhancements and fixes in the underlying remarkable parser, potentially improving the accuracy and efficiency of TOC creation, whereas selecting version 0.12.16 could be a good option if you need consistency and stability over time, and if you want to avoid any potential bugs coming from the new remarkable version. The library is lightweight, easy to integrate, and supports various customization options to tailor the TOC to specific Markdown structures. With its MIT license, markdown-toc provides the flexibility for use in a wide range of personal and commercial projects.
All the vulnerabilities related to the version 0.13.0 of the package
Command Injection in lodash
lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function.