🗜️ build v5.0.1 [skip ci]

This commit is contained in:
MarkedJS bot 2023-05-06 20:50:25 +00:00
parent d193694b9e
commit d9a79201e3
4 changed files with 8 additions and 8 deletions

View File

@ -1,5 +1,5 @@
/** /**
* marked v5.0.0 - a markdown parser * marked v5.0.1 - a markdown parser
* Copyright (c) 2011-2023, Christopher Jeffrey. (MIT Licensed) * Copyright (c) 2011-2023, Christopher Jeffrey. (MIT Licensed)
* https://github.com/markedjs/marked * https://github.com/markedjs/marked
*/ */
@ -352,7 +352,7 @@ function checkDeprecations(opt, callback) {
if (opt.sanitize || opt.sanitizer) { if (opt.sanitize || opt.sanitizer) {
console.warn('marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options'); console.warn('marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options');
} }
if (opt.highlight || opt.langPrefix) { if (opt.highlight || opt.langPrefix !== 'language-') {
console.warn('marked(): highlight and langPrefix parameters are 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-highlight.'); console.warn('marked(): highlight and langPrefix parameters are 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-highlight.');
} }
if (opt.mangle) { if (opt.mangle) {

View File

@ -1,5 +1,5 @@
/** /**
* marked v5.0.0 - a markdown parser * marked v5.0.1 - a markdown parser
* Copyright (c) 2011-2023, Christopher Jeffrey. (MIT Licensed) * Copyright (c) 2011-2023, Christopher Jeffrey. (MIT Licensed)
* https://github.com/markedjs/marked * https://github.com/markedjs/marked
*/ */
@ -287,7 +287,7 @@ function checkDeprecations(opt, callback) {
console.warn('marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options'); console.warn('marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options');
} }
if (opt.highlight || opt.langPrefix) { if (opt.highlight || opt.langPrefix !== 'language-') {
console.warn('marked(): highlight and langPrefix parameters are 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-highlight.'); console.warn('marked(): highlight and langPrefix parameters are 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-highlight.');
} }

View File

@ -1,5 +1,5 @@
/** /**
* marked v5.0.0 - a markdown parser * marked v5.0.1 - a markdown parser
* Copyright (c) 2011-2023, Christopher Jeffrey. (MIT Licensed) * Copyright (c) 2011-2023, Christopher Jeffrey. (MIT Licensed)
* https://github.com/markedjs/marked * https://github.com/markedjs/marked
*/ */
@ -356,7 +356,7 @@
if (opt.sanitize || opt.sanitizer) { if (opt.sanitize || opt.sanitizer) {
console.warn('marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options'); console.warn('marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options');
} }
if (opt.highlight || opt.langPrefix) { if (opt.highlight || opt.langPrefix !== 'language-') {
console.warn('marked(): highlight and langPrefix parameters are 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-highlight.'); console.warn('marked(): highlight and langPrefix parameters are 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-highlight.');
} }
if (opt.mangle) { if (opt.mangle) {

4
marked.min.js vendored

File diff suppressed because one or more lines are too long