@readme/markdown 8.1.0 → 8.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +38 -22
- package/dist/main.js +74 -68
- package/dist/main.node.js +74 -68
- package/dist/main.node.js.map +1 -1
- package/dist/processor/utils.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Node, Root as MdastRoot } from 'mdast';
|
|
1
|
+
import type { Node, Root as MdastRoot, Root } from 'mdast';
|
|
2
2
|
import type { Root as HastRoot } from 'hast';
|
|
3
3
|
import type { MdxJsxFlowElement, MdxJsxTextElement, MdxjsEsm } from 'mdast-util-mdx';
|
|
4
4
|
import type { MdxJsxAttribute } from 'mdast-util-mdx-jsx';
|
|
@@ -98,3 +98,4 @@ export declare const toAttributes: (object: Record<string, any>, keys?: string[]
|
|
|
98
98
|
*
|
|
99
99
|
*/
|
|
100
100
|
export declare const hasNamedExport: (tree: MdastRoot | HastRoot, name: string) => boolean;
|
|
101
|
+
export declare const getExports: (tree: Root) => string[];
|
package/package.json
CHANGED