md-block
md-block copied to clipboard
Noisy warnings from `marked` dependency
When I use md-block
, it outputs a lot of warnings to console from the marked
module. These are the warnings I get:
marked(): mangle parameter is enabled by default, but is deprecated since version 5.0.0, and will be removed in the future. To clear this warning, install https://www.npmjs.com/package/marked-mangle, or disable by setting {mangle: false}
.
helpers.js:261 marked(): smartypants parameter is deprecated since version 5.0.0, should not be used and will be removed in the future. Instead use https://www.npmjs.com/package/marked-smartypants.
helpers.js:269 marked(): headerIds and headerPrefix parameters enabled by default, but are deprecated since version 5.0.0, and will be removed in the future. To clear this warning, install https://www.npmjs.com/package/marked-gfm-heading-id, or disable by setting {headerIds: false}
.
helpers.js:253 marked(): mangle parameter is enabled by default, but is deprecated since version 5.0.0, and will be removed in the future. To clear this warning, install https://www.npmjs.com/package/marked-mangle, or disable by setting {mangle: false}
.
helpers.js:261 marked(): smartypants parameter is deprecated since version 5.0.0, should not be used and will be removed in the future. Instead use https://www.npmjs.com/package/marked-smartypants.
helpers.js:269 marked(): headerIds and headerPrefix parameters enabled by default, but are deprecated since version 5.0.0, and will be removed in the future. To clear this warning, install https://www.npmjs.com/package/marked-gfm-heading-id, or disable by setting {headerIds: false}
.
Thanks! Looks like an easy fix, though I don't have the time rn. Happy to merge a PR though!
Issue still isn't fixed, any suggestions for a workaround?