@xyd-js/content 0.1.0-xyd.13 → 0.1.0-xyd.14

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/dist/md.d.ts CHANGED
@@ -1,13 +1,13 @@
1
+ import * as unist from 'unist';
1
2
  import * as remark_gfm from 'remark-gfm';
3
+ import * as unified from 'unified';
2
4
  import * as mdast from 'mdast';
3
5
  import * as remark_mdx_frontmatter from 'remark-mdx-frontmatter';
4
6
  import * as remark_frontmatter from 'remark-frontmatter';
5
- import * as unified from 'unified';
6
- import * as unist from 'unist';
7
7
  import { R as RemarkMdxTocOptions } from './mdToc-CYxzibVZ.js';
8
8
 
9
9
  declare function mdOptions(toc: RemarkMdxTocOptions): {
10
- remarkPlugins: (unified.Plugin<[], unist.Node, unist.Node> | typeof remark_frontmatter.default | unified.Plugin<[(remark_mdx_frontmatter.RemarkMdxFrontmatterOptions | undefined)?], mdast.Root, mdast.Root> | typeof remark_gfm.default)[];
10
+ remarkPlugins: (typeof remark_frontmatter.default | unified.Plugin<[(remark_mdx_frontmatter.RemarkMdxFrontmatterOptions | undefined)?], mdast.Root, mdast.Root> | typeof remark_gfm.default | unified.Plugin<[], unist.Node, unist.Node>)[];
11
11
  rehypePlugins: never[];
12
12
  };
13
13
 
package/dist/vite.d.ts CHANGED
@@ -523,7 +523,7 @@ type HookFilterExtension<K extends keyof FunctionPluginHooks> = K extends 'trans
523
523
  : K extends 'load'
524
524
  ? { filter?: Pick<HookFilter, 'id'> }
525
525
  : K extends 'resolveId'
526
- ? { filter?: { id: StringFilter<RegExp> } }
526
+ ? { filter?: { id?: StringFilter<RegExp> } }
527
527
  : // eslint-disable-next-line @typescript-eslint/no-empty-object-type
528
528
  {};
529
529
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyd-js/content",
3
- "version": "0.1.0-xyd.13",
3
+ "version": "0.1.0-xyd.14",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "type": "module",
@@ -27,7 +27,7 @@
27
27
  "unified": "^11.0.5",
28
28
  "unist-util-visit": "^5.0.0",
29
29
  "vfile": "^6.0.3",
30
- "@xyd-js/core": "0.1.0-xyd.12"
30
+ "@xyd-js/core": "0.1.0-xyd.13"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@types/node": "^22.7.8",