remark-mdat 0.7.1 → 0.7.2

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.
@@ -1,6 +1,6 @@
1
- import { type Rules } from '../mdat/rules';
2
1
  import type { Root } from 'mdast';
3
2
  import type { VFile } from 'vfile';
3
+ import { type Rules } from '../mdat/rules';
4
4
  export type Options = {
5
5
  addMetaComment: boolean;
6
6
  closingPrefix: string;
@@ -1,6 +1,6 @@
1
- import { type Rules } from '../mdat/rules';
2
1
  import type { Root } from 'mdast';
3
2
  import { type VFile } from 'vfile';
3
+ import { type Rules } from '../mdat/rules';
4
4
  export type Options = {
5
5
  addMetaComment: boolean;
6
6
  closingPrefix: string;
@@ -1,5 +1,5 @@
1
- import { type Html, type Text } from 'mdast';
2
1
  import type { Root } from 'mdast';
2
+ import { type Html, type Text } from 'mdast';
3
3
  import { type VFile } from 'vfile';
4
4
  /**
5
5
  * Mdast utility plugin to split any multi-comment nodes and their content into individual MDAST HTML
@@ -1,6 +1,6 @@
1
- import { type Rules } from '../mdat/rules';
2
1
  import type { Root } from 'mdast';
3
2
  import { type VFile } from 'vfile';
3
+ import { type Rules } from '../mdat/rules';
4
4
  export type Options = {
5
5
  addMetaComment: boolean;
6
6
  closingPrefix: string;
@@ -1,5 +1,5 @@
1
- import { type Html, type Parent } from 'mdast';
2
1
  import type { JsonValue } from 'type-fest';
2
+ import { type Html, type Parent } from 'mdast';
3
3
  import { type Simplify } from 'type-fest';
4
4
  /**
5
5
  * Structured data about a parsed comment.
@@ -1,6 +1,6 @@
1
+ import type { Merge, MergeDeep, SetOptional, Simplify } from 'type-fest';
1
2
  import { type Root } from 'mdast';
2
3
  import { type JsonValue } from 'type-fest';
3
- import type { Merge, MergeDeep, SetOptional, Simplify } from 'type-fest';
4
4
  import { z } from 'zod';
5
5
  export type SimplifyDeep<T> = Simplify<MergeDeep<T, T>>;
6
6
  /**
@@ -1,7 +1,7 @@
1
- import { type Options as MdatOptions } from './mdast-utils/mdast-util-mdat';
2
1
  import type { Root } from 'mdast';
3
2
  import type { Plugin } from 'unified';
4
3
  import { z } from 'zod';
4
+ import { type Options as MdatOptions } from './mdast-utils/mdast-util-mdat';
5
5
  export type Options = Partial<MdatOptions>;
6
6
  export declare const optionsSchema: z.ZodObject<{
7
7
  addMetaComment: z.ZodOptional<z.ZodBoolean>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remark-mdat",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "type": "module",
5
5
  "description": "A remark plugin implementing the Markdown Autophagic Template (MDAT) system.",
6
6
  "repository": {
@@ -43,25 +43,25 @@
43
43
  "dependencies": {
44
44
  "@types/mdast": "^4.0.4",
45
45
  "@types/node": "18.19.0",
46
- "@types/unist": "^3.0.2"
46
+ "@types/unist": "^3.0.3"
47
47
  },
48
48
  "devDependencies": {
49
- "@kitschpatrol/shared-config": "^4.7.2",
50
- "bumpp": "^9.5.1",
49
+ "@kitschpatrol/shared-config": "^4.7.5",
50
+ "bumpp": "^9.5.2",
51
51
  "chalk": "^5.3.0",
52
52
  "cli-table3": "^0.6.5",
53
53
  "deepmerge-ts": "^7.1.0",
54
- "hast-util-from-html": "^2.0.1",
54
+ "hast-util-from-html": "^2.0.2",
55
55
  "json5": "^2.2.3",
56
56
  "remark": "^15.0.1",
57
57
  "remark-gfm": "^4.0.0",
58
58
  "rimraf": "^6.0.1",
59
59
  "tsup": "^8.2.4",
60
- "type-fest": "^4.24.0",
60
+ "type-fest": "^4.26.0",
61
61
  "typescript": "^5.5.4",
62
62
  "unified": "^11.0.5",
63
63
  "unist-util-visit": "^5.0.0",
64
- "vfile": "^6.0.2",
64
+ "vfile": "^6.0.3",
65
65
  "vfile-message": "^4.0.2",
66
66
  "vitest": "^2.0.5",
67
67
  "zod": "^3.23.8"