@unocss/inspector
Advanced tools
Comparing version 0.7.4 to 0.7.5
@@ -46,9 +46,16 @@ var __create = Object.create; | ||
}); | ||
// ../../node_modules/.pnpm/tsup@5.5.0_typescript@4.4.4/node_modules/tsup/assets/cjs_shims.js | ||
var importMetaUrlShim = typeof document === "undefined" ? new (require("url")).URL("file:" + __filename).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href; | ||
// node/index.ts | ||
var import_path = __toModule(require("path")); | ||
var import_url = __toModule(require("url")); | ||
var import_sirv = __toModule(require("sirv")); | ||
var import_gzip_size = __toModule(require("gzip-size")); | ||
var _dirname = typeof __dirname !== "undefined" ? __dirname : (0, import_path.dirname)((0, import_url.fileURLToPath)(importMetaUrlShim)); | ||
function UnocssInspector(ctx) { | ||
let config; | ||
function configureServer(server) { | ||
server.middlewares.use("/__unocss", (0, import_sirv.default)((0, import_path.resolve)(__dirname, "../dist/client"), { | ||
server.middlewares.use("/__unocss", (0, import_sirv.default)((0, import_path.resolve)(_dirname, "../dist/client"), { | ||
single: true, | ||
@@ -55,0 +62,0 @@ dev: true |
{ | ||
"name": "@unocss/inspector", | ||
"version": "0.7.4", | ||
"version": "0.7.5", | ||
"description": "The inspector UI for UnoCSS", | ||
@@ -40,8 +40,8 @@ "keywords": [ | ||
"devDependencies": { | ||
"@unocss/core": "0.7.4", | ||
"@unocss/preset-attributify": "0.7.4", | ||
"@unocss/preset-icons": "0.7.4", | ||
"@unocss/preset-uno": "0.7.4", | ||
"@unocss/reset": "0.7.4", | ||
"@unocss/vite": "0.7.4" | ||
"@unocss/core": "0.7.5", | ||
"@unocss/preset-attributify": "0.7.5", | ||
"@unocss/preset-icons": "0.7.5", | ||
"@unocss/preset-uno": "0.7.5", | ||
"@unocss/reset": "0.7.5", | ||
"@unocss/vite": "0.7.5" | ||
}, | ||
@@ -48,0 +48,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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
517753
2250
3