vite-plugin-vue-devtools
Advanced tools
Comparing version 7.0.15 to 7.0.16
@@ -1,4 +0,56 @@ | ||
import { PluginOption } from 'vite'; | ||
import { ResolvedConfig, ViteDevServer, PluginOption } from 'vite'; | ||
import { VitePluginInspectorOptions } from 'vite-plugin-vue-inspector'; | ||
import { ViteInspectAPI } from 'vite-plugin-inspect'; | ||
declare function getViteConfig(config: ResolvedConfig): void; | ||
interface ModuleInfo { | ||
id: string; | ||
plugins: { | ||
name: string; | ||
transform?: number; | ||
resolveId?: number; | ||
}[]; | ||
deps: string[]; | ||
virtual: boolean; | ||
} | ||
declare function setupGraphModule(options: { | ||
rpc: ViteInspectAPI['rpc']; | ||
server: ViteDevServer; | ||
}): void; | ||
type AssetType = 'image' | 'font' | 'video' | 'audio' | 'text' | 'json' | 'other'; | ||
interface AssetInfo { | ||
path: string; | ||
type: AssetType; | ||
publicPath: string; | ||
filePath: string; | ||
size: number; | ||
mtime: number; | ||
} | ||
interface ImageMeta { | ||
width: number; | ||
height: number; | ||
orientation?: number; | ||
type?: string; | ||
mimeType?: string; | ||
} | ||
interface AssetEntry { | ||
path: string; | ||
content: string; | ||
encoding?: BufferEncoding; | ||
override?: boolean; | ||
} | ||
interface CodeSnippet { | ||
code: string; | ||
lang: string; | ||
name: string; | ||
docs?: string; | ||
} | ||
declare function setupAssetsModule(options: { | ||
rpc: ViteInspectAPI['rpc']; | ||
server: ViteDevServer; | ||
config: ResolvedConfig; | ||
}): void; | ||
interface VitePluginVueDevToolsOptions { | ||
@@ -33,2 +85,2 @@ /** | ||
export { type VitePluginVueDevToolsOptions, VitePluginVueDevTools as default }; | ||
export { type AssetEntry, type AssetInfo, type AssetType, type CodeSnippet, type ImageMeta, type ModuleInfo, type VitePluginVueDevToolsOptions, VitePluginVueDevTools as default, getViteConfig, setupAssetsModule, setupGraphModule }; |
{ | ||
"name": "vite-plugin-vue-devtools", | ||
"type": "module", | ||
"version": "7.0.15", | ||
"version": "7.0.16", | ||
"description": "A vite plugin for Vue DevTools", | ||
@@ -48,3 +48,2 @@ "author": "webfansplz", | ||
"dependencies": { | ||
"birpc": "^0.2.15", | ||
"execa": "^8.0.1", | ||
@@ -54,8 +53,8 @@ "sirv": "^2.0.4", | ||
"vite-plugin-vue-inspector": "^4.0.2", | ||
"@vue/devtools-core": "^7.0.15", | ||
"@vue/devtools-shared": "^7.0.15", | ||
"@vue/devtools-kit": "^7.0.15" | ||
"@vue/devtools-kit": "^7.0.16", | ||
"@vue/devtools-core": "^7.0.16", | ||
"@vue/devtools-shared": "^7.0.16" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^20.11.19", | ||
"@types/node": "^20.11.24", | ||
"fast-glob": "^3.3.2", | ||
@@ -62,0 +61,0 @@ "image-meta": "^0.2.0", |
@@ -6,3 +6,3 @@ import vueDevToolsOptions from 'virtual:vue-devtools-options' | ||
const overlayDir = `${vueDevToolsOptions.base || '/'}@id/virtual:vue-devtools-path:overlay` | ||
const overlayDir = `${vueDevToolsOptions.clientHost || ''}${vueDevToolsOptions.base || '/'}@id/virtual:vue-devtools-path:overlay` | ||
const body = document.getElementsByTagName('body')[0] | ||
@@ -9,0 +9,0 @@ const head = document.getElementsByTagName('head')[0] |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
4345597
8
33400
24
- Removedbirpc@^0.2.15
Updated@vue/devtools-core@^7.0.16
Updated@vue/devtools-kit@^7.0.16
Updated@vue/devtools-shared@^7.0.16