chore: update dependencies and improve markmap integration by Yukaii · Pull Request #1934 · hackmdio/codimd
- Updated markmap dependencies to versions 0.18.9 for markmap-common and 0.18.12 for markmap-lib and markmap-view. - Refactored import statements in extra.js to use the updated markmap packages. - Added a new helper function to sanitize markmap nodes against XSS vulnerabilities. This update enhances the security and functionality of the markmap integration in the project. Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
- Removed babel-polyfill from package.json and webpack.common.js. - Added core-js and regenerator-runtime as dependencies. - Updated babel-loader to version 8.x in devDependencies. - Ensured compatibility with modern JavaScript features by using core-js and regenerator-runtime. Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
Yukaii
deleted the
bugfix/markmap-xss
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters