@mdit-vue/plugin-frontmatter 0.11.0 → 0.11.1

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +4 -4
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { PluginWithOptions } from 'markdown-it';
2
- import { GrayMatterOption } from 'gray-matter';
1
+ import MarkdownIt from 'markdown-it';
2
+ import matter from 'gray-matter';
3
3
 
4
- declare type GrayMatterOptions = GrayMatterOption<string, GrayMatterOptions>;
4
+ declare type GrayMatterOptions = matter.GrayMatterOption<string, GrayMatterOptions>;
5
5
  /**
6
6
  * Options of @mdit-vue/plugin-frontmatter
7
7
  */
@@ -44,6 +44,6 @@ declare module '@mdit-vue/types' {
44
44
  *
45
45
  * Extract them into env
46
46
  */
47
- declare const frontmatterPlugin: PluginWithOptions<FrontmatterPluginOptions>;
47
+ declare const frontmatterPlugin: MarkdownIt.PluginWithOptions<FrontmatterPluginOptions>;
48
48
 
49
49
  export { FrontmatterPluginOptions, frontmatterPlugin };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mdit-vue/plugin-frontmatter",
3
- "version": "0.11.0",
3
+ "version": "0.11.1",
4
4
  "description": "A markdown-it plugin to get markdown frontmatter",
5
5
  "keywords": [
6
6
  "markdown-it",
@@ -46,5 +46,5 @@
46
46
  "publishConfig": {
47
47
  "access": "public"
48
48
  },
49
- "gitHead": "6e4f18dacc06e0aa5d3108df8925f6b0aa885150"
49
+ "gitHead": "98828479d07c7bc52d178a00cdb92c166eff09ee"
50
50
  }