Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@jon49/sw

Package Overview
Dependencies
Maintainers
0
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jon49/sw - npm Package Compare versions

Comparing version 0.13.0 to 0.13.1

5

lib/routes.ts

@@ -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 (

2

package.json
{
"name": "@jon49/sw",
"version": "0.13.0",
"version": "0.13.1",
"description": "Packages for MVC service workers.",

@@ -5,0 +5,0 @@ "type": "module",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc