@vue/devtools-kit 7.7.7 → 7.7.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 CHANGED
@@ -2361,7 +2361,7 @@ function getTimelineLayersStateFromStorage() {
2361
2361
  selected: ""
2362
2362
  };
2363
2363
  }
2364
- const state = localStorage.getItem(TIMELINE_LAYERS_STATE_STORAGE_ID);
2364
+ const state = typeof localStorage.getItem !== "undefined" ? localStorage.getItem(TIMELINE_LAYERS_STATE_STORAGE_ID) : null;
2365
2365
  return state ? JSON.parse(state) : {
2366
2366
  recordingState: false,
2367
2367
  mouseEventEnabled: false,
package/dist/index.js CHANGED
@@ -2269,7 +2269,7 @@ function getTimelineLayersStateFromStorage() {
2269
2269
  selected: ""
2270
2270
  };
2271
2271
  }
2272
- const state = localStorage.getItem(TIMELINE_LAYERS_STATE_STORAGE_ID);
2272
+ const state = typeof localStorage.getItem !== "undefined" ? localStorage.getItem(TIMELINE_LAYERS_STATE_STORAGE_ID) : null;
2273
2273
  return state ? JSON.parse(state) : {
2274
2274
  recordingState: false,
2275
2275
  mouseEventEnabled: false,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vue/devtools-kit",
3
3
  "type": "module",
4
- "version": "7.7.7",
4
+ "version": "7.7.8",
5
5
  "author": "webfansplz",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -29,7 +29,7 @@
29
29
  "perfect-debounce": "^1.0.0",
30
30
  "speakingurl": "^14.0.1",
31
31
  "superjson": "^2.2.2",
32
- "@vue/devtools-shared": "^7.7.7"
32
+ "@vue/devtools-shared": "^7.7.8"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@types/speakingurl": "^13.0.6",