vite-plugin-vue-devtools 7.7.0 → 7.7.1

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/client/index.html CHANGED
@@ -6,7 +6,7 @@
6
6
  <link rel="icon" href="./logo.svg" type="image/svg+xml" />
7
7
  <title>Vue DevTools Client</title>
8
8
  <script src="./color-scheme.js"></script>
9
- <script type="module" crossorigin src="./assets/index-Ctq6qpXh.js"></script>
9
+ <script type="module" crossorigin src="./assets/index-D-Ql5sj-.js"></script>
10
10
  <link rel="stylesheet" crossorigin href="./assets/index-8iTKmI6V.css">
11
11
  </head>
12
12
  <body>
package/dist/vite.cjs CHANGED
@@ -8275,24 +8275,26 @@ const normalize = function(path) {
8275
8275
  }
8276
8276
  return isPathAbsolute && !isAbsolute(path) ? `/${path}` : path;
8277
8277
  };
8278
- const join = function(...arguments_) {
8279
- if (arguments_.length === 0) {
8280
- return ".";
8281
- }
8282
- let joined;
8283
- for (const argument of arguments_) {
8284
- if (argument && argument.length > 0) {
8285
- if (joined === void 0) {
8286
- joined = argument;
8278
+ const join = function(...segments) {
8279
+ let path = "";
8280
+ for (const seg of segments) {
8281
+ if (!seg) {
8282
+ continue;
8283
+ }
8284
+ if (path.length > 0) {
8285
+ const pathTrailing = path[path.length - 1] === "/";
8286
+ const segLeading = seg[0] === "/";
8287
+ const both = pathTrailing && segLeading;
8288
+ if (both) {
8289
+ path += seg.slice(1);
8287
8290
  } else {
8288
- joined += `/${argument}`;
8291
+ path += pathTrailing || segLeading ? seg : `/${seg}`;
8289
8292
  }
8293
+ } else {
8294
+ path += seg;
8290
8295
  }
8291
8296
  }
8292
- if (joined === void 0) {
8293
- return ".";
8294
- }
8295
- return normalize(joined.replace(/\/\/+/g, "/"));
8297
+ return normalize(path);
8296
8298
  };
8297
8299
  function cwd() {
8298
8300
  if (typeof process !== "undefined" && typeof process.cwd === "function") {
package/dist/vite.mjs CHANGED
@@ -8257,24 +8257,26 @@ const normalize = function(path) {
8257
8257
  }
8258
8258
  return isPathAbsolute && !isAbsolute(path) ? `/${path}` : path;
8259
8259
  };
8260
- const join = function(...arguments_) {
8261
- if (arguments_.length === 0) {
8262
- return ".";
8263
- }
8264
- let joined;
8265
- for (const argument of arguments_) {
8266
- if (argument && argument.length > 0) {
8267
- if (joined === void 0) {
8268
- joined = argument;
8260
+ const join = function(...segments) {
8261
+ let path = "";
8262
+ for (const seg of segments) {
8263
+ if (!seg) {
8264
+ continue;
8265
+ }
8266
+ if (path.length > 0) {
8267
+ const pathTrailing = path[path.length - 1] === "/";
8268
+ const segLeading = seg[0] === "/";
8269
+ const both = pathTrailing && segLeading;
8270
+ if (both) {
8271
+ path += seg.slice(1);
8269
8272
  } else {
8270
- joined += `/${argument}`;
8273
+ path += pathTrailing || segLeading ? seg : `/${seg}`;
8271
8274
  }
8275
+ } else {
8276
+ path += seg;
8272
8277
  }
8273
8278
  }
8274
- if (joined === void 0) {
8275
- return ".";
8276
- }
8277
- return normalize(joined.replace(/\/\/+/g, "/"));
8279
+ return normalize(path);
8278
8280
  };
8279
8281
  function cwd() {
8280
8282
  if (typeof process !== "undefined" && typeof process.cwd === "function") {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vite-plugin-vue-devtools",
3
3
  "type": "module",
4
- "version": "7.7.0",
4
+ "version": "7.7.1",
5
5
  "description": "A vite plugin for Vue DevTools",
6
6
  "author": "webfansplz",
7
7
  "license": "MIT",
@@ -50,15 +50,15 @@
50
50
  "sirv": "^3.0.0",
51
51
  "vite-plugin-inspect": "0.8.9",
52
52
  "vite-plugin-vue-inspector": "^5.3.1",
53
- "@vue/devtools-core": "^7.7.0",
54
- "@vue/devtools-kit": "^7.7.0",
55
- "@vue/devtools-shared": "^7.7.0"
53
+ "@vue/devtools-kit": "^7.7.1",
54
+ "@vue/devtools-core": "^7.7.1",
55
+ "@vue/devtools-shared": "^7.7.1"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@types/node": "^22.10.1",
59
59
  "fast-glob": "^3.3.2",
60
60
  "image-meta": "^0.2.1",
61
- "pathe": "^1.1.2"
61
+ "pathe": "^2.0.2"
62
62
  },
63
63
  "scripts": {
64
64
  "build": "unbuild",