@lobehub/lint
Advanced tools
Comparing version 1.19.0 to 1.20.0
@@ -46,10 +46,11 @@ var __create = Object.create; | ||
visit(tree, "blockquote", (node) => { | ||
visit(node, "strong", (subnode) => { | ||
let value = ""; | ||
visit(node.children[0], "strong", (subnode) => { | ||
if (subnode.position.start.column !== 3) | ||
return; | ||
let value; | ||
visit(subnode, "text", (textnode) => { | ||
if (["Note", "Tip", "Important", "Warning", "Caution"].includes(textnode.value)) { | ||
for (const item of gfmHighlight) { | ||
if (item.from === textnode.value) { | ||
if (item.from === textnode.value) | ||
value = item.to; | ||
} | ||
} | ||
@@ -56,0 +57,0 @@ } |
{ | ||
"name": "@lobehub/lint", | ||
"version": "1.19.0", | ||
"version": "1.20.0", | ||
"homepage": "https://github.com/lobehub/lobe-lint", | ||
@@ -5,0 +5,0 @@ "bugs": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43008
858