chore(deps-dev): bump typescript from 5.9.3 to 6.0.3 in /superset-websocket (#39425)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Claude <claude@anthropic.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
dependabot[bot]
2026-05-22 11:39:07 -07:00
committed by GitHub
parent c728b4a11f
commit e40648dfcb
4 changed files with 12 additions and 11 deletions

View File

@@ -36,7 +36,7 @@
"ts-jest": "^29.4.11",
"ts-node": "^10.9.2",
"tscw-config": "^1.1.2",
"typescript": "^5.9.3",
"typescript": "^6.0.3",
"typescript-eslint": "^8.59.4"
},
"engines": {
@@ -6185,9 +6185,9 @@
}
},
"node_modules/typescript": {
"version": "5.9.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
"integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
"version": "6.0.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz",
"integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==",
"dev": true,
"license": "Apache-2.0",
"bin": {
@@ -11038,9 +11038,9 @@
"dev": true
},
"typescript": {
"version": "5.9.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
"integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
"version": "6.0.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz",
"integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==",
"dev": true
},
"typescript-eslint": {

View File

@@ -44,7 +44,7 @@
"ts-jest": "^29.4.11",
"ts-node": "^10.9.2",
"tscw-config": "^1.1.2",
"typescript": "^5.9.3",
"typescript": "^6.0.3",
"typescript-eslint": "^8.59.4"
},
"engines": {

View File

@@ -18,7 +18,7 @@
*/
import * as http from 'http';
import * as net from 'net';
import WebSocket from 'ws';
import WebSocket, { WebSocketServer } from 'ws';
import { randomUUID } from 'crypto';
import jwt, { Algorithm } from 'jsonwebtoken';
import { parse } from 'cookie';
@@ -141,7 +141,7 @@ export const buildRedisOpts = (baseConfig: RedisConfig) => {
// initialize servers
const redis = new Redis(buildRedisOpts(opts.redis));
const httpServer = http.createServer();
export const wss = new WebSocket.Server({
export const wss = new WebSocketServer({
noServer: true,
clientTracking: false,
});
@@ -466,7 +466,7 @@ export const cleanChannel = (channel: string) => {
if (startServer) {
// init server event listeners
wss.on('connection', function (ws) {
wss.on('connection', function (ws: WebSocket) {
ws.on('error', console.error);
});
wss.on('connection', wsConnection);

View File

@@ -1,5 +1,6 @@
{
"compilerOptions": {
"rootDir": "src",
"outDir": "dist",
"target": "es2019",
"module": "commonjs",