Skip to content

Commit 2c7db14

Browse files
committed
Update normalize-url
1 parent ea2a26f commit 2c7db14

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

package-lock.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"mongoose": "^9.2.1",
6767
"node-fetch": "^2.7.0",
6868
"node-schedule": "^2.1.1",
69-
"normalize-url": "^6.1.0",
69+
"normalize-url": "^9.0.0",
7070
"request-ip": "^3.3.0",
7171
"rxjs": "^7.8.2",
7272
"sanitize-filename": "^1.6.3",

src/utils/stripUrlAuth.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import normalizeUrl from 'normalize-url'
22

33
export default (url) =>
44
normalizeUrl(url, {
5+
customProtocols: ['mongodb'],
56
normalizeProtocol: false,
67
stripWWW: false,
78
removeTrailingSlash: false,

0 commit comments

Comments
 (0)