@jsenv/url-meta
Advanced tools
Comparing version 7.0.0 to 7.0.1
{ | ||
"name": "@jsenv/url-meta", | ||
"version": "7.0.0", | ||
"version": "7.0.1", | ||
"license": "MIT", | ||
@@ -11,4 +11,3 @@ "repository": { | ||
"publishConfig": { | ||
"access": "public", | ||
"registry": "https://registry.npmjs.org" | ||
"access": "public" | ||
}, | ||
@@ -34,2 +33,2 @@ "author": { | ||
"dependencies": {} | ||
} | ||
} |
@@ -22,5 +22,5 @@ import { assertUrlLike } from "./assertions.js" | ||
if (/^[a-zA-Z]{2,}:/.test(urlPattern)) { | ||
return urlPattern | ||
return new URL(urlPattern).href // to perform url encoding of url resource | ||
} | ||
return String(new URL(urlPattern, baseUrl)) | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
17253
0