@nuxt/devtools-kit 0.7.0 → 0.7.1
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,4 +1,4 @@
|
|
|
1
1
|
import type { Ref } from 'vue';
|
|
2
|
-
import type { NuxtDevtoolsIframeClient } from '
|
|
2
|
+
import type { NuxtDevtoolsIframeClient } from '../types';
|
|
3
3
|
export declare function onDevtoolsClientConnected(fn: (client: NuxtDevtoolsIframeClient) => void): (() => void) | undefined;
|
|
4
4
|
export declare function useDevtoolsClient(): Ref<NuxtDevtoolsIframeClient | undefined>;
|
package/dist/types.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { AppConfig } from 'nuxt/schema';
|
|
|
5
5
|
import { NuxtApp } from 'nuxt/dist/app/nuxt';
|
|
6
6
|
import { Hookable } from 'hookable';
|
|
7
7
|
import { BirpcReturn } from 'birpc';
|
|
8
|
+
import { Lang } from 'shiki-es';
|
|
8
9
|
import { StackFrame } from 'error-stack-parser-es';
|
|
9
10
|
import 'nitropack';
|
|
10
11
|
import 'unstorage';
|
|
@@ -123,7 +124,7 @@ interface NuxtDevtoolsHostClient {
|
|
|
123
124
|
}
|
|
124
125
|
interface NuxtDevtoolsClient {
|
|
125
126
|
rpc: BirpcReturn<ServerFunctions>;
|
|
126
|
-
renderCodeHighlight: (code: string, lang
|
|
127
|
+
renderCodeHighlight: (code: string, lang?: Lang) => {
|
|
127
128
|
code: string;
|
|
128
129
|
supported: boolean;
|
|
129
130
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/devtools-kit",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "nuxt/devtools",
|
|
7
7
|
"exports": {
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"vite": "*"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@nuxt/kit": "^3.6.
|
|
37
|
-
"@nuxt/schema": "^3.6.
|
|
36
|
+
"@nuxt/kit": "^3.6.5",
|
|
37
|
+
"@nuxt/schema": "^3.6.5",
|
|
38
38
|
"execa": "^7.1.1"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|