Skip to content

Commit 8b55319

Browse files
committed
[pkg] Update eslint to version 10.0.1
1 parent ca533a5 commit 8b55319

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

lib/websocket.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ function initAsClient(websocket, address, protocols, options) {
693693
} else {
694694
try {
695695
parsedUrl = new URL(address);
696-
} catch (e) {
696+
} catch {
697697
throw new SyntaxError(`Invalid URL: ${address}`);
698698
}
699699
}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,10 @@
5555
}
5656
},
5757
"devDependencies": {
58+
"@eslint/js": "^10.0.1",
5859
"benchmark": "^2.1.4",
5960
"bufferutil": "^4.0.1",
60-
"eslint": "^9.0.0",
61+
"eslint": "^10.0.1",
6162
"eslint-config-prettier": "^10.0.1",
6263
"eslint-plugin-prettier": "^5.0.0",
6364
"globals": "^17.0.0",

0 commit comments

Comments
 (0)