@svelteness/kit-docs
Advanced tools
Comparing version 1.1.4 to 1.1.5
@@ -37,6 +37,6 @@ import { isString } from '../utils/unit'; | ||
const matchedPath = matchSidebarPath(event.url, path); | ||
if (!matchedPath) | ||
if (matchedPath === null) | ||
return null; | ||
try { | ||
const res = await event.fetch(`${base}/kit-docs/${slugToRequestParam(matchedPath)}.sidebar`); | ||
const res = await event.fetch(`${base}/kit-docs/${matchedPath === '' ? 'index' : slugToRequestParam(matchedPath)}.sidebar`); | ||
return res.json(); | ||
@@ -43,0 +43,0 @@ } |
{ | ||
"name": "@svelteness/kit-docs", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "Documentation integration for SvelteKit.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is too big to display
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
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
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
1466678
17