Comparing version 0.13.0 to 0.13.1
@@ -22,4 +22,3 @@ let { html, links, db, globalDb } = | ||
function searchParams<TReturn>(req: Request) : TReturn & {_url: URL} { | ||
let url = new URL(req.url) | ||
function searchParams<TReturn>(url: URL) : TReturn & {_url: URL} { | ||
return new Proxy(url, searchParamsHandler) | ||
@@ -178,3 +177,3 @@ } | ||
const data = await getData(req) | ||
let query = searchParams<{ handler?: string }>(req) | ||
let query = searchParams<{ handler?: string }>(url) | ||
let args = { req, data, query } | ||
@@ -181,0 +180,0 @@ let result = await ( |
{ | ||
"name": "@jon49/sw", | ||
"version": "0.13.0", | ||
"version": "0.13.1", | ||
"description": "Packages for MVC service workers.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
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
AI-detected possible typosquat
Supply chain riskAI has identified this package as a potential typosquat of a more popular package. This suggests that the package may be intentionally mimicking another package's name, description, or other metadata.
Found 1 instance in 1 package
0
36478
1008