mdast-util-gfm-task-list-item
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -26,5 +26,9 @@ exports.exit = { | ||
head.value = head.value.slice(1) | ||
head.position.start.column++ | ||
head.position.start.offset++ | ||
node.position.start = Object.assign({}, head.position.start) | ||
if (head.value.length === 0) { | ||
node.children.shift() | ||
} else { | ||
head.position.start.column++ | ||
head.position.start.offset++ | ||
node.position.start = Object.assign({}, head.position.start) | ||
} | ||
} | ||
@@ -31,0 +35,0 @@ |
{ | ||
"name": "mdast-util-gfm-task-list-item", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "mdast extension to parse and serialize GFM task list items", | ||
@@ -49,3 +49,3 @@ "license": "MIT", | ||
"unist-util-remove-position": "^3.0.0", | ||
"xo": "^0.33.0" | ||
"xo": "^0.34.0" | ||
}, | ||
@@ -52,0 +52,0 @@ "scripts": { |
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
10536
50