mdast-util-to-hast
Advanced tools
Comparing version 13.0.2 to 13.1.0
@@ -35,2 +35,3 @@ /** | ||
export type MdastParents = import('mdast').Parents; | ||
export type VFile = import('vfile').VFile; | ||
export type FootnoteBackContentTemplate = import('./footer.js').FootnoteBackContentTemplate; | ||
@@ -79,2 +80,6 @@ export type FootnoteBackLabelTemplate = import('./footer.js').FootnoteBackLabelTemplate; | ||
/** | ||
* Corresponding virtual file representing the input document (optional). | ||
*/ | ||
file?: VFile | null | undefined; | ||
/** | ||
* Content of the backreference back to references (default: `defaultFootnoteBackContent`). | ||
@@ -81,0 +86,0 @@ * |
@@ -14,2 +14,4 @@ /** | ||
* | ||
* @typedef {import('vfile').VFile} VFile | ||
* | ||
* @typedef {import('./footer.js').FootnoteBackContentTemplate} FootnoteBackContentTemplate | ||
@@ -60,2 +62,4 @@ * @typedef {import('./footer.js').FootnoteBackLabelTemplate} FootnoteBackLabelTemplate | ||
* Using a prefix solves these problems. | ||
* @property {VFile | null | undefined} [file] | ||
* Corresponding virtual file representing the input document (optional). | ||
* @property {FootnoteBackContentTemplate | string | null | undefined} [footnoteBackContent] | ||
@@ -62,0 +66,0 @@ * Content of the backreference back to references (default: `defaultFootnoteBackContent`). |
{ | ||
"name": "mdast-util-to-hast", | ||
"version": "13.0.2", | ||
"version": "13.1.0", | ||
"description": "mdast utility to transform to hast", | ||
@@ -43,8 +43,9 @@ "license": "MIT", | ||
"unist-util-position": "^5.0.0", | ||
"unist-util-visit": "^5.0.0" | ||
"unist-util-visit": "^5.0.0", | ||
"vfile": "^6.0.0" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^20.0.0", | ||
"@types/ungap__structured-clone": "^0.3.0", | ||
"c8": "^8.0.0", | ||
"@types/ungap__structured-clone": "^1.0.0", | ||
"c8": "^9.0.0", | ||
"hast-util-to-html": "^9.0.0", | ||
@@ -51,0 +52,0 @@ "hastscript": "^8.0.0", |
@@ -354,2 +354,4 @@ # mdast-util-to-hast | ||
*clobbering* | ||
* `file` ([`VFile`][vfile], optional) | ||
— corresponding virtual file representing the input document | ||
* `footnoteBackContent` | ||
@@ -1691,2 +1693,4 @@ ([`FootnoteBackContentTemplate`][api-footnote-back-content-template] | ||
[vfile]: https://github.com/vfile/vfile | ||
[clobber-example]: https://github.com/rehypejs/rehype-sanitize#example-headings-dom-clobbering | ||
@@ -1693,0 +1697,0 @@ |
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
124723
2636
1723
9
+ Addedvfile@^6.0.0
+ Addedunist-util-stringify-position@4.0.0(transitive)
+ Addedvfile@6.0.3(transitive)
+ Addedvfile-message@4.0.2(transitive)