@nuxtjs/mdc 0.9.3 → 0.9.5

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/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nuxtjs/mdc",
3
3
  "configKey": "mdc",
4
- "version": "0.9.3",
4
+ "version": "0.9.5",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.8.4",
7
7
  "unbuild": "2.0.0"
@@ -253,6 +253,9 @@ const resolveVueComponent = (component) => {
253
253
  if (!component || _component?.name === "AsyncComponentWrapper") {
254
254
  return _component;
255
255
  }
256
+ if (typeof _component === "string") {
257
+ return _component;
258
+ }
256
259
  if ("setup" in _component) {
257
260
  return defineAsyncComponent(() => new Promise((resolve) => resolve(_component)));
258
261
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxtjs/mdc",
3
- "version": "0.9.3",
3
+ "version": "0.9.5",
4
4
  "description": "Nuxt MDC module",
5
5
  "repository": "nuxt-modules/mdc",
6
6
  "license": "MIT",
@@ -71,7 +71,7 @@
71
71
  "test:watch": "vitest watch"
72
72
  },
73
73
  "dependencies": {
74
- "@nuxt/kit": "^3.14.159",
74
+ "@nuxt/kit": "^3.14.1592",
75
75
  "@shikijs/transformers": "^1.23.1",
76
76
  "@types/hast": "^3.0.4",
77
77
  "@types/mdast": "^4.0.4",
@@ -96,7 +96,7 @@
96
96
  "rehype-sort-attributes": "^5.0.1",
97
97
  "remark-emoji": "^5.0.1",
98
98
  "remark-gfm": "^4.0.0",
99
- "remark-mdc": "^3.3.0",
99
+ "remark-mdc": "^3.4.0",
100
100
  "remark-parse": "^11.0.0",
101
101
  "remark-rehype": "^11.1.1",
102
102
  "scule": "^1.3.0",
@@ -112,14 +112,14 @@
112
112
  "@nuxt/devtools": "latest",
113
113
  "@nuxt/eslint-config": "^0.7.1",
114
114
  "@nuxt/module-builder": "^0.8.4",
115
- "@nuxt/schema": "^3.14.159",
115
+ "@nuxt/schema": "^3.14.1592",
116
116
  "@nuxt/test-utils": "^3.14.4",
117
117
  "@nuxt/ui": "^2.19.2",
118
118
  "@nuxtjs/mdc": "link:.",
119
- "@types/node": "^22.9.0",
119
+ "@types/node": "^22.9.1",
120
120
  "changelogen": "^0.5.7",
121
121
  "eslint": "^9.15.0",
122
- "nuxt": "^3.14.159",
122
+ "nuxt": "^3.14.1592",
123
123
  "rehype": "^13.0.2",
124
124
  "release-it": "^17.10.0",
125
125
  "typescript": "^5.6.3",
@@ -129,7 +129,7 @@
129
129
  "resolutions": {
130
130
  "@nuxtjs/mdc": "workspace:*"
131
131
  },
132
- "packageManager": "pnpm@9.13.2",
132
+ "packageManager": "pnpm@9.14.1",
133
133
  "release-it": {
134
134
  "git": {
135
135
  "commitMessage": "chore(release): release v${version}"