@vue/devtools-kit 7.0.7 → 7.0.8
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/index.cjs +2 -0
- package/dist/index.mjs +2 -0
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -3520,6 +3520,8 @@ function registerComponentsDevTools(app) {
|
|
|
3520
3520
|
if (payload.app === app && payload.inspectorId === INSPECTOR_ID) {
|
|
3521
3521
|
const instance = getComponentInstance(devtoolsContext.appRecord, payload.instanceId);
|
|
3522
3522
|
if (instance) {
|
|
3523
|
+
if (typeof DOMRect === "undefined")
|
|
3524
|
+
return;
|
|
3523
3525
|
payload.rect = getComponentBoundingRect(instance);
|
|
3524
3526
|
if (payload.rect instanceof DOMRect) {
|
|
3525
3527
|
payload.rect = {
|
package/dist/index.mjs
CHANGED
|
@@ -3485,6 +3485,8 @@ function registerComponentsDevTools(app) {
|
|
|
3485
3485
|
if (payload.app === app && payload.inspectorId === INSPECTOR_ID) {
|
|
3486
3486
|
const instance = getComponentInstance(devtoolsContext.appRecord, payload.instanceId);
|
|
3487
3487
|
if (instance) {
|
|
3488
|
+
if (typeof DOMRect === "undefined")
|
|
3489
|
+
return;
|
|
3488
3490
|
payload.rect = getComponentBoundingRect(instance);
|
|
3489
3491
|
if (payload.rect instanceof DOMRect) {
|
|
3490
3492
|
payload.rect = {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/devtools-kit",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "7.0.
|
|
4
|
+
"version": "7.0.8",
|
|
5
5
|
"author": "webfansplz",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"exports": {
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"mitt": "^3.0.1",
|
|
22
22
|
"perfect-debounce": "^1.0.0",
|
|
23
23
|
"speakingurl": "^14.0.1",
|
|
24
|
-
"@vue/devtools-schema": "^7.0.
|
|
25
|
-
"@vue/devtools-shared": "^7.0.
|
|
24
|
+
"@vue/devtools-schema": "^7.0.8",
|
|
25
|
+
"@vue/devtools-shared": "^7.0.8"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"vue": "^3.4.4",
|