@readme/markdown 9.1.2 → 9.1.3

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.
@@ -10,6 +10,6 @@ export interface MdastOpts {
10
10
  export declare const remarkPlugins: ((() => (tree: import("mdast").Root) => void) | (({ copyButtons }?: {
11
11
  copyButtons?: boolean;
12
12
  }) => (tree: import("mdast").Node) => import("mdast").Node) | typeof remarkFrontmatter | typeof remarkGfm)[];
13
- export declare const rehypePlugins: ((() => (tree: import("unist").Node) => import("unist").Node) | typeof rehypeSlug)[];
13
+ export declare const rehypePlugins: (typeof rehypeSlug | (() => (tree: import("unist").Node) => import("unist").Node))[];
14
14
  declare const astProcessor: (opts?: MdastOpts) => import("unified").Processor<import("mdast").Root, import("mdast").Root, import("mdast").Root, import("mdast").Root, string>;
15
15
  export default astProcessor;
package/dist/main.js CHANGED
@@ -70618,11 +70618,13 @@ const getExports = (tree) => {
70618
70618
 
70619
70619
 
70620
70620
 
70621
+
70621
70622
  const handleMissingComponents = ({ components, missingComponents }) => tree => {
70622
70623
  const allComponents = new Set([
70623
70624
  ...getExports(tree),
70624
70625
  ...Object.keys(components_namespaceObject),
70625
70626
  ...Object.keys(components),
70627
+ ...Object.values(components).flatMap(doc => getExports(lib_mdast(doc))),
70626
70628
  'Variable',
70627
70629
  ]);
70628
70630
  visit(tree, isMDXElement, (node, index, parent) => {
package/dist/main.node.js CHANGED
@@ -75210,11 +75210,13 @@ const getExports = (tree) => {
75210
75210
 
75211
75211
 
75212
75212
 
75213
+
75213
75214
  const handleMissingComponents = ({ components, missingComponents }) => tree => {
75214
75215
  const allComponents = new Set([
75215
75216
  ...getExports(tree),
75216
75217
  ...Object.keys(components_namespaceObject),
75217
75218
  ...Object.keys(components),
75219
+ ...Object.values(components).flatMap(doc => getExports(lib_mdast(doc))),
75218
75220
  'Variable',
75219
75221
  ]);
75220
75222
  visit(tree, isMDXElement, (node, index, parent) => {