hook-use-url
Advanced tools
Comparing version 2.0.6 to 2.0.7
@@ -103,2 +103,10 @@ import { useSearchParams } from "react-router-dom"; | ||
getAll(variable) { | ||
let result = []; | ||
if (variable && typeof variable === "string") { | ||
result = this.searchParams.getAll(variable); | ||
} | ||
return result; | ||
} | ||
removeQuery() { | ||
@@ -105,0 +113,0 @@ this.searchParams = new URLSearchParams({}); |
{ | ||
"name": "hook-use-url", | ||
"version": "2.0.6", | ||
"version": "2.0.7", | ||
"keywords": [ | ||
@@ -5,0 +5,0 @@ "react-router", |
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
11333
178