mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-09 13:51:57 -04:00
chore(deps): upgrade dependencies for commons
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
parent
6d0d7c31ff
commit
d6549a1d0b
3 changed files with 212 additions and 13 deletions
|
@ -48,23 +48,23 @@
|
|||
"js-yaml": "4.1.0",
|
||||
"reveal.js": "5.1.0",
|
||||
"ws": "8.18.0",
|
||||
"yjs": "13.6.18"
|
||||
"yjs": "13.6.20"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@jest/types": "29.6.3",
|
||||
"@mrdrogdrog/optional": "1.2.1",
|
||||
"@types/js-yaml": "4.0.9",
|
||||
"@types/ws": "8.5.10",
|
||||
"@typescript-eslint/eslint-plugin": "6.21.0",
|
||||
"@typescript-eslint/parser": "6.21.0",
|
||||
"@types/ws": "8.5.12",
|
||||
"@typescript-eslint/eslint-plugin": "8.11.0",
|
||||
"@typescript-eslint/parser": "8.11.0",
|
||||
"eslint": "8.57.0",
|
||||
"eslint-config-prettier": "9.1.0",
|
||||
"eslint-plugin-jest": "27.9.0",
|
||||
"eslint-plugin-jest": "28.8.3",
|
||||
"eslint-plugin-prettier": "5.2.1",
|
||||
"jest": "29.7.0",
|
||||
"prettier": "3.3.3",
|
||||
"ts-jest": "29.2.5",
|
||||
"typescript": "5.5.4"
|
||||
"typescript": "5.6.3"
|
||||
},
|
||||
"packageManager": "yarn@4.4.1"
|
||||
}
|
||||
|
|
|
@ -29,7 +29,7 @@ export function parseUrl(url: string | undefined): Optional<URL> {
|
|||
function createOptionalUrl(url: string | undefined): Optional<URL> {
|
||||
try {
|
||||
return Optional.ofNullable(url).map((value) => new URL(value))
|
||||
} catch (error) {
|
||||
} catch {
|
||||
return Optional.empty()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue