@tinyhttp/url
Advanced tools
Comparing version 2.0.9 to 2.1.0
@@ -1,2 +0,2 @@ | ||
import { ParsedUrlQuery } from 'querystring'; | ||
import { ParsedUrlQuery } from 'node:querystring'; | ||
type Regex = { | ||
@@ -3,0 +3,0 @@ keys: string[] | false; |
@@ -1,2 +0,2 @@ | ||
import { parse } from "querystring"; | ||
import { parse } from "node:querystring"; | ||
const getURLParams = ({ pattern, keys }, reqUrl = "/") => { | ||
@@ -3,0 +3,0 @@ const matches = pattern.exec(reqUrl); |
{ | ||
"name": "@tinyhttp/url", | ||
"version": "2.0.9", | ||
"version": "2.1.0", | ||
"type": "module", | ||
@@ -27,3 +27,3 @@ "description": "URL extensions for tinyhttp", | ||
"engines": { | ||
"node": ">=12.4.0" | ||
"node": ">=12.20.0" | ||
}, | ||
@@ -30,0 +30,0 @@ "author": "v1rtl", |
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
22518