@vue/devtools-kit 8.0.3 → 8.0.4

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
@@ -25,13 +25,9 @@ var __toESM = (mod, isNodeMode, target$21) => (target$21 = mod != null ? __creat
25
25
 
26
26
  //#endregion
27
27
  let __vue_devtools_shared = require("@vue/devtools-shared");
28
- __vue_devtools_shared = __toESM(__vue_devtools_shared);
29
28
  let perfect_debounce = require("perfect-debounce");
30
- perfect_debounce = __toESM(perfect_debounce);
31
29
  let hookable = require("hookable");
32
- hookable = __toESM(hookable);
33
30
  let birpc = require("birpc");
34
- birpc = __toESM(birpc);
35
31
 
36
32
  //#region src/compat/index.ts
37
33
  function onLegacyDevToolsPluginApiAvailable(cb) {
@@ -627,7 +623,7 @@ function addTimelineLayersStateToStorage(state) {
627
623
  localStorage.setItem(TIMELINE_LAYERS_STATE_STORAGE_ID, JSON.stringify(state));
628
624
  }
629
625
  function getTimelineLayersStateFromStorage() {
630
- if (!__vue_devtools_shared.isBrowser || typeof localStorage === "undefined" || localStorage === null) return {
626
+ if (typeof window === "undefined" || !__vue_devtools_shared.isBrowser || typeof localStorage === "undefined" || localStorage === null) return {
631
627
  recordingState: false,
632
628
  mouseEventEnabled: false,
633
629
  keyboardEventEnabled: false,
package/dist/index.js CHANGED
@@ -623,7 +623,7 @@ function addTimelineLayersStateToStorage(state) {
623
623
  localStorage.setItem(TIMELINE_LAYERS_STATE_STORAGE_ID, JSON.stringify(state));
624
624
  }
625
625
  function getTimelineLayersStateFromStorage() {
626
- if (!isBrowser || typeof localStorage === "undefined" || localStorage === null) return {
626
+ if (typeof window === "undefined" || !isBrowser || typeof localStorage === "undefined" || localStorage === null) return {
627
627
  recordingState: false,
628
628
  mouseEventEnabled: false,
629
629
  keyboardEventEnabled: false,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vue/devtools-kit",
3
3
  "type": "module",
4
- "version": "8.0.3",
4
+ "version": "8.0.4",
5
5
  "author": "webfansplz",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -29,7 +29,7 @@
29
29
  "perfect-debounce": "^2.0.0",
30
30
  "speakingurl": "^14.0.1",
31
31
  "superjson": "^2.2.2",
32
- "@vue/devtools-shared": "^8.0.3"
32
+ "@vue/devtools-shared": "^8.0.4"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@types/speakingurl": "^13.0.6",
File without changes
File without changes