Skip to content

Commit

Permalink
🗜️ build v5.0.1 [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkedJS bot committed May 6, 2023
1 parent d193694 commit d9a7920
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions lib/marked.cjs
Original file line number Diff line number Diff line change
@@ -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)
* https://github.com/markedjs/marked
*/
Expand Down Expand Up @@ -352,7 +352,7 @@ function checkDeprecations(opt, callback) {
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');
}
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.');
}
if (opt.mangle) {
Expand Down
4 changes: 2 additions & 2 deletions lib/marked.esm.js
Original file line number Diff line number Diff line change
@@ -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)
* https://github.com/markedjs/marked
*/
Expand Down Expand Up @@ -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');
}

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.');
}

Expand Down
4 changes: 2 additions & 2 deletions lib/marked.umd.js
Original file line number Diff line number Diff line change
@@ -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)
* https://github.com/markedjs/marked
*/
Expand Down Expand Up @@ -356,7 +356,7 @@
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');
}
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.');
}
if (opt.mangle) {
Expand Down
4 changes: 2 additions & 2 deletions marked.min.js

Large diffs are not rendered by default.

0 comments on commit d9a7920

Please sign in to comment.