@vue/devtools-shared
Advanced tools
Comparing version 7.4.6 to 7.5.0
@@ -30,5 +30,5 @@ var __create = Object.create; | ||
// ../../node_modules/.pnpm/tsup@8.3.0_@microsoft+api-extractor@7.43.0_@types+node@20.16.5__@swc+core@1.5.29_jiti@1.21.6__ldnw4a7r4ccknnz6q542psuydy/node_modules/tsup/assets/esm_shims.js | ||
// ../../node_modules/.pnpm/tsup@8.3.0_@microsoft+api-extractor@7.43.0_@types+node@20.16.11__@swc+core@1.5.29_jiti@2.0.0__khi6fwhekjxtif3xyxfitrs5gq/node_modules/tsup/assets/esm_shims.js | ||
var init_esm_shims = __esm({ | ||
"../../node_modules/.pnpm/tsup@8.3.0_@microsoft+api-extractor@7.43.0_@types+node@20.16.5__@swc+core@1.5.29_jiti@1.21.6__ldnw4a7r4ccknnz6q542psuydy/node_modules/tsup/assets/esm_shims.js"() { | ||
"../../node_modules/.pnpm/tsup@8.3.0_@microsoft+api-extractor@7.43.0_@types+node@20.16.11__@swc+core@1.5.29_jiti@2.0.0__khi6fwhekjxtif3xyxfitrs5gq/node_modules/tsup/assets/esm_shims.js"() { | ||
"use strict"; | ||
@@ -244,3 +244,4 @@ } | ||
var isInIframe = isBrowser && target.self !== target.top; | ||
var isInElectron = typeof navigator !== "undefined" && navigator.userAgent.toLowerCase().includes("electron"); | ||
var _a; | ||
var isInElectron = typeof navigator !== "undefined" && ((_a = navigator.userAgent) == null ? void 0 : _a.toLowerCase().includes("electron")); | ||
var isNuxtApp = typeof window !== "undefined" && !!window.__NUXT__; | ||
@@ -274,3 +275,6 @@ var isInSeparateWindow = !isInIframe && !isInChromePanel && !isInElectron; | ||
function basename(filename, ext) { | ||
const normalizedFilename = filename.replace(/^[a-z]:/i, "").replace(/\\/g, "/"); | ||
let normalizedFilename = filename.replace(/^[a-z]:/i, "").replace(/\\/g, "/"); | ||
if (normalizedFilename.endsWith(`index${ext}`)) { | ||
normalizedFilename = normalizedFilename.replace(`/index${ext}`, ext); | ||
} | ||
const lastSlashIndex = normalizedFilename.lastIndexOf("/"); | ||
@@ -277,0 +281,0 @@ const baseNameWithExt = normalizedFilename.substring(lastSlashIndex + 1); |
{ | ||
"name": "@vue/devtools-shared", | ||
"type": "module", | ||
"version": "7.4.6", | ||
"version": "7.5.0", | ||
"author": "webfansplz", | ||
@@ -27,3 +27,3 @@ "license": "MIT", | ||
"devDependencies": { | ||
"@types/node": "^20.16.5" | ||
"@types/node": "^20.16.11" | ||
}, | ||
@@ -30,0 +30,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31695
742