@tinacms/mdx 1.3.13 → 1.3.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.
@@ -18,4 +18,4 @@ export declare function stringifyProps(element: Plate.MdxBlockElement, parentFie
18
18
  useDirective: boolean;
19
19
  directiveType: string;
20
20
  };
21
- export declare function assertShape<T extends unknown>(value: unknown, callback: (item: any) => boolean, errorMessage?: string): asserts value is T;
21
+ export declare function assertShape<T>(value: unknown, callback: (item: any) => boolean, errorMessage?: string): asserts value is T;
@@ -18,4 +18,4 @@ export declare function stringifyProps(element: Plate.MdxBlockElement, parentFie
18
18
  useDirective: boolean;
19
19
  directiveType: string;
20
20
  };
21
- export declare function assertShape<T extends unknown>(value: unknown, callback: (item: any) => boolean, errorMessage?: string): asserts value is T;
21
+ export declare function assertShape<T>(value: unknown, callback: (item: any) => boolean, errorMessage?: string): asserts value is T;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinacms/mdx",
3
- "version": "1.3.13",
3
+ "version": "1.3.14",
4
4
  "typings": "dist/index.d.ts",
5
5
  "main": "dist/index.js",
6
6
  "browser": "dist/index.browser.es.js",
@@ -20,41 +20,21 @@
20
20
  ]
21
21
  },
22
22
  "dependencies": {
23
- "@tinacms/schema-tools": "1.4.7",
23
+ "@tinacms/schema-tools": "1.4.8",
24
24
  "acorn": "8.8.2",
25
25
  "ccount": "2.0.1",
26
- "concat-md": "0.5.1",
27
26
  "estree-util-is-identifier-name": "2.1.0",
28
27
  "lodash-es": "4.17.21",
29
- "mdast": "3.0.0",
30
28
  "mdast-util-compact": "4.1.1",
31
29
  "mdast-util-directive": "2.2.4",
32
30
  "mdast-util-from-markdown": "1.3.0",
33
- "mdast-util-frontmatter": "1.0.1",
34
- "mdast-util-gfm": "2.0.2",
35
- "mdast-util-gfm-table": "1.0.7",
36
31
  "mdast-util-mdx": "2.0.1",
37
32
  "mdast-util-mdx-jsx": "2.1.2",
38
33
  "mdast-util-to-markdown": "1.5.0",
39
- "mdast-util-toc": "6.1.1",
40
- "micromark": "3.1.0",
41
- "micromark-core-commonmark": "1.0.6",
42
- "micromark-extension-directive": "2.1.2",
43
- "micromark-extension-frontmatter": "1.0.0",
44
- "micromark-extension-gfm": "2.0.1",
45
- "@types/mdast": "^3.0.10",
46
- "@types/unist": "^2.0.6",
47
- "micromark-extension-mdx": "1.0.0",
48
- "micromark-extension-mdx-jsx": "1.0.3",
49
- "micromark-extension-mdxjs": "1.0.0",
50
34
  "micromark-factory-mdx-expression": "1.0.7",
51
35
  "micromark-factory-space": "1.0.0",
52
36
  "micromark-factory-whitespace": "1.0.0",
53
37
  "micromark-util-character": "1.1.0",
54
- "micromark-util-chunked": "1.0.0",
55
- "micromark-util-classify-character": "1.0.0",
56
- "micromark-util-normalize-identifier": "1.0.0",
57
- "micromark-util-resolve-all": "1.0.0",
58
38
  "micromark-util-symbol": "1.0.1",
59
39
  "micromark-util-types": "1.0.2",
60
40
  "parse-entities": "4.0.1",
@@ -65,9 +45,7 @@
65
45
  "unist-util-source": "4.0.2",
66
46
  "unist-util-stringify-position": "3.0.3",
67
47
  "unist-util-visit": "4.1.2",
68
- "unist-util-visit-parents": "5.1.3",
69
48
  "uvu": "0.5.6",
70
- "vfile": "5.3.7",
71
49
  "vfile-message": "3.1.4"
72
50
  },
73
51
  "publishConfig": {
@@ -78,45 +56,21 @@
78
56
  "directory": "packages/tina-graphql"
79
57
  },
80
58
  "devDependencies": {
81
- "@swc/core": "^1.2.210",
82
- "@swc/jest": "^0.2.21",
83
- "@tailwindcss/forms": "^0.5.3",
84
- "@tailwindcss/typography": "^0.5.9",
85
59
  "@tinacms/scripts": "1.1.0",
60
+ "@types/mdast": "^3.0.10",
61
+ "@types/unist": "^2.0.6",
86
62
  "@types/estree": "1.0.0",
87
- "@types/estree-jsx": "1.0.0",
88
- "@types/mdast": "3.0.10",
89
- "@types/unist": "2.0.6",
90
- "@types/cors": "^2.8.7",
91
- "@types/fs-extra": "^9.0.2",
92
- "@types/jest": "^26.0.4",
93
- "@types/js-yaml": "^3.12.5",
94
63
  "@types/lodash-es": "4.17.6",
95
64
  "@types/node": "^14.18.21",
96
- "@types/normalize-path": "^3.0.0",
97
65
  "@types/prettier": "^2.6.3",
98
- "@types/react": "^18.0.27",
99
- "@types/ws": "^7.2.6",
100
- "@types/yup": "^0.29.7",
101
- "@vitejs/plugin-react": "^2.1.0",
102
66
  "c8": "^7.11.3",
103
- "estree-jsx": "^0.0.1",
104
- "jest": "^28.1.2",
105
- "jest-diff": "^28.1.1",
106
67
  "jest-file-snapshot": "^0.5.0",
107
- "jest-matcher-utils": "^28.1.1",
108
- "nodemon": "2.0.19",
109
- "postcss": "^8.4.21",
110
- "react": "^18.2.0",
111
- "react-dom": "^18.2.0",
112
- "react-monaco-editor": "^0.51.0",
113
- "tailwindcss": "^3.2.7",
114
68
  "ts-node": "^10.8.2",
115
69
  "typedoc": "^0.23.21",
116
70
  "typedoc-plugin-markdown": "^3.13.6",
117
71
  "typescript": "^4.7.4",
118
- "vite": "4.1.4",
119
- "vitest": "^0.18.0",
72
+ "vite": "^4.3.9",
73
+ "vitest": "^0.32.2",
120
74
  "concat-md": "^0.5.1"
121
75
  },
122
76
  "scripts": {