mdx-bundler
Advanced tools
Comparing version 9.2.0 to 9.2.1
@@ -1,13 +0,6 @@ | ||
export type ComponentMap = import('mdx/types').MDXComponents; | ||
export type MDXContentProps = { | ||
[props: string]: unknown; | ||
components?: import("mdx/types").MDXComponents | undefined; | ||
}; | ||
export type MDXContentProps = import('./types').MDXContentProps; | ||
/** | ||
* @typedef {import('mdx/types').MDXComponents} ComponentMap | ||
* @typedef {import('./types').MDXContentProps} MDXContentProps | ||
*/ | ||
/** | ||
* @typedef {{[props: string]: unknown, components?: ComponentMap}} MDXContentProps | ||
*/ | ||
/** | ||
* | ||
@@ -14,0 +7,0 @@ * @param {string} code - The string of code you got from bundleMDX |
@@ -14,10 +14,6 @@ "use strict"; | ||
/** | ||
* @typedef {import('mdx/types').MDXComponents} ComponentMap | ||
* @typedef {import('./types').MDXContentProps} MDXContentProps | ||
*/ | ||
/** | ||
* @typedef {{[props: string]: unknown, components?: ComponentMap}} MDXContentProps | ||
*/ | ||
/** | ||
* | ||
@@ -24,0 +20,0 @@ * @param {string} code - The string of code you got from bundleMDX |
@@ -11,2 +11,3 @@ // This file is for defining types that are annoying to define with jsdoc syntax | ||
import type {GrayMatterOption, Input, GrayMatterFile} from 'gray-matter' | ||
import type {MDXComponents} from 'mdx/types' | ||
import type {VFile,VFileOptions} from 'vfile' | ||
@@ -16,2 +17,7 @@ | ||
export type MDXContentProps = { | ||
[props: string]: unknown | ||
components?: MDXComponents | ||
} | ||
export type BundleMDX<Frontmatter extends {[key: string]: any}> = | ||
@@ -18,0 +24,0 @@ | BundleMDXSource<Frontmatter> |
{ | ||
"name": "mdx-bundler", | ||
"version": "9.2.0", | ||
"version": "9.2.1", | ||
"description": "Compile and bundle your MDX files and their dependencies. FAST.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -843,2 +843,3 @@ <div align="center"> | ||
<td align="center"><a href="https://github.com/stefanprobst"><img src="https://avatars.githubusercontent.com/u/20753323?v=4?s=100" width="100px;" alt="stefanprobst"/><br /><sub><b>stefanprobst</b></sub></a><br /><a href="https://github.com/kentcdodds/mdx-bundler/commits?author=stefanprobst" title="Code">💻</a> <a href="https://github.com/kentcdodds/mdx-bundler/commits?author=stefanprobst" title="Tests">⚠️</a></td> | ||
<td align="center"><a href="https://vladmoroz.com"><img src="https://avatars.githubusercontent.com/u/8441036?v=4?s=100" width="100px;" alt="Vlad Moroz"/><br /><sub><b>Vlad Moroz</b></sub></a><br /><a href="https://github.com/kentcdodds/mdx-bundler/commits?author=vladmoroz" title="Code">💻</a></td> | ||
</tr> | ||
@@ -845,0 +846,0 @@ </tbody> |
56990
885
514