@scalar/nuxt 0.4.23 → 0.4.25
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
|
@@ -34,6 +34,9 @@ const document =
|
|
|
34
34
|
: (await useFetch<string>('/_openapi.json', { responseType: 'text' }))
|
|
35
35
|
.data.value
|
|
36
36
|
|
|
37
|
+
// Set the fetched spec to the config content to prevent ApiReferenceLayout from fetching it again on the client side
|
|
38
|
+
props.configuration.content = document
|
|
39
|
+
|
|
37
40
|
// Check for empty spec
|
|
38
41
|
if (!document) {
|
|
39
42
|
throw new Error('You must provide a document for Scalar API References')
|
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"testing",
|
|
21
21
|
"vue"
|
|
22
22
|
],
|
|
23
|
-
"version": "0.4.
|
|
23
|
+
"version": "0.4.25",
|
|
24
24
|
"engines": {
|
|
25
25
|
"node": ">=20"
|
|
26
26
|
},
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
],
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@nuxt/kit": "^3.12.3",
|
|
42
|
-
"@scalar/api-client": "2.5.
|
|
43
|
-
"@scalar/api-reference": "1.
|
|
44
|
-
"@scalar/
|
|
45
|
-
"@scalar/
|
|
42
|
+
"@scalar/api-client": "2.5.13",
|
|
43
|
+
"@scalar/api-reference": "1.32.1",
|
|
44
|
+
"@scalar/use-hooks": "0.2.3",
|
|
45
|
+
"@scalar/types": "0.2.5"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@nuxt/devtools": "^1.3.9",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@nuxt/module-builder": "^0.8.1",
|
|
51
51
|
"@nuxt/schema": "^3.12.3",
|
|
52
52
|
"@nuxt/test-utils": "^3.13.1",
|
|
53
|
-
"@types/node": "^
|
|
53
|
+
"@types/node": "^22.9.0",
|
|
54
54
|
"changelogen": "^0.5.5",
|
|
55
55
|
"cross-env": "^7.0.3",
|
|
56
56
|
"nuxt": "^3.12.4",
|