Comparing version 3.6.0 to 3.6.1
@@ -15,3 +15,3 @@ import { setParamIfDefined, setParamIfUndefined, toRelativeUrl, } from "../utils.js"; | ||
export const delegateUrl = (url) => { | ||
const parsed = new URL(url); | ||
const parsed = new URL(url, "http://n"); | ||
const source = parsed.searchParams.get("url"); | ||
@@ -18,0 +18,0 @@ if (!source || !source.startsWith("http")) { |
@@ -6,3 +6,3 @@ { | ||
"name": "unpic", | ||
"version": "3.6.0", | ||
"version": "3.6.1", | ||
"description": "Universal image CDN translator", | ||
@@ -9,0 +9,0 @@ "license": "MIT", |
@@ -19,3 +19,3 @@ "use strict"; | ||
const delegateUrl = (url) => { | ||
const parsed = new URL(url); | ||
const parsed = new URL(url, "http://n"); | ||
const source = parsed.searchParams.get("url"); | ||
@@ -22,0 +22,0 @@ if (!source || !source.startsWith("http")) { |
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
86760