mirror of
https://github.com/Unleash/unleash.git
synced 2025-11-10 01:19:53 +01:00
fix(deps): update dependency normalize-url to v8 (#10193)
This commit is contained in:
parent
d715fc6aad
commit
f74c1dc482
@ -112,7 +112,7 @@
|
||||
"murmurhash3js": "^3.0.1",
|
||||
"mustache": "^4.1.0",
|
||||
"nodemailer": "^7.0.7",
|
||||
"normalize-url": "^6.1.0",
|
||||
"normalize-url": "^8.0.0",
|
||||
"openapi-types": "^12.1.3",
|
||||
"owasp-password-strength-test": "^1.3.0",
|
||||
"parse-database-url": "^0.3.0",
|
||||
|
||||
@ -51,7 +51,7 @@ export default class FeatureLinkService {
|
||||
|
||||
private normalize(url: string) {
|
||||
try {
|
||||
return normalizeUrl(url, { defaultProtocol: 'https:' });
|
||||
return normalizeUrl(url, { defaultProtocol: 'https' });
|
||||
} catch (e) {
|
||||
throw new BadDataError(`Invalid URL: ${url}`);
|
||||
}
|
||||
|
||||
10
yarn.lock
10
yarn.lock
@ -5512,10 +5512,10 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"normalize-url@npm:^6.1.0":
|
||||
version: 6.1.0
|
||||
resolution: "normalize-url@npm:6.1.0"
|
||||
checksum: 10c0/95d948f9bdd2cfde91aa786d1816ae40f8262946e13700bf6628105994fe0ff361662c20af3961161c38a119dc977adeb41fc0b41b1745eb77edaaf9cb22db23
|
||||
"normalize-url@npm:^8.0.0":
|
||||
version: 8.1.0
|
||||
resolution: "normalize-url@npm:8.1.0"
|
||||
checksum: 10c0/e9b68db5f0264ce74fc083e2120b4a40fb3248e5dceec5f795bddcee0311b3613f858c9a65f258614fac2776b8e9957023bea8fe7299db1496b3cd1c75976cfe
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@ -7641,7 +7641,7 @@ __metadata:
|
||||
mustache: "npm:^4.1.0"
|
||||
nock: "npm:^14.0.5"
|
||||
nodemailer: "npm:^7.0.7"
|
||||
normalize-url: "npm:^6.1.0"
|
||||
normalize-url: "npm:^8.0.0"
|
||||
openapi-enforcer: "npm:1.23.0"
|
||||
openapi-types: "npm:^12.1.3"
|
||||
owasp-password-strength-test: "npm:^1.3.0"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user