@vue/devtools-kit 7.0.14 → 7.0.16

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/global.d.ts ADDED
@@ -0,0 +1,21 @@
1
+ import type { DevToolsContext, DevToolsEnv, DevToolsHook, DevToolsState, Router, RouterInfo } from './src/types'
2
+
3
+ /* eslint-disable vars-on-top, no-var */
4
+ declare global {
5
+ var __VUE_DEVTOOLS_GLOBAL_HOOK__: DevToolsHook
6
+ var __VUE_DEVTOOLS_GLOBAL_STATE__: DevToolsState
7
+ var __VUE_DEVTOOLS_CONTEXT__: DevToolsContext
8
+ var __VUE_DEVTOOLS_APP_RECROD_INFO__: {
9
+ id: number
10
+ appIds: Set<string>
11
+ }
12
+ var __VUE_DEVTOOLS_ROUTER__: Router | null
13
+ var __VUE_DEVTOOLS_ROUTER_INFO__: RouterInfo
14
+ var __VUE_DEVTOOLS_ENV__: DevToolsEnv
15
+ var __VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__: boolean
16
+ var __VUE_DEVTOOLS_VITE_PLUGIN_DETECTED__: boolean
17
+ var __VUE_DEVTOOLS_VITE_PLUGIN_CLIENT_URL__: string
18
+ var __VUE_DEVTOOLS_BROWSER_EXTENSION_DETECTED__: boolean
19
+ }
20
+
21
+ export { }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vue/devtools-kit",
3
3
  "type": "module",
4
- "version": "7.0.14",
4
+ "version": "7.0.16",
5
5
  "author": "webfansplz",
6
6
  "license": "MIT",
7
7
  "exports": {
@@ -12,20 +12,25 @@
12
12
  },
13
13
  "main": "./dist/index.cjs",
14
14
  "module": "./dist/index.js",
15
+ "types": "./types.d.ts",
15
16
  "files": [
17
+ "**.d.ts",
16
18
  "dist"
17
19
  ],
20
+ "peerDependencies": {
21
+ "vue": "^3.0.0"
22
+ },
18
23
  "dependencies": {
19
24
  "hookable": "^5.5.3",
20
25
  "mitt": "^3.0.1",
21
26
  "perfect-debounce": "^1.0.0",
22
27
  "speakingurl": "^14.0.1",
23
- "@vue/devtools-schema": "^7.0.14",
24
- "@vue/devtools-shared": "^7.0.14"
28
+ "@vue/devtools-shared": "^7.0.16"
25
29
  },
26
30
  "devDependencies": {
27
- "vue": "^3.4.15",
28
- "vue-router": "^4.2.5"
31
+ "@types/speakingurl": "^13.0.6",
32
+ "vue": "^3.4.21",
33
+ "vue-router": "^4.3.0"
29
34
  },
30
35
  "scripts": {
31
36
  "build": "tsup --clean",
package/types.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ /// <reference path="./global.d.ts" />
2
+ export * from './dist/index'