diff --git a/superset-websocket/package-lock.json b/superset-websocket/package-lock.json index fd4e89965134b..97f3df5201588 100644 --- a/superset-websocket/package-lock.json +++ b/superset-websocket/package-lock.json @@ -33,7 +33,7 @@ "eslint-config-prettier": "^9.1.0", "eslint-plugin-lodash": "^7.4.0", "jest": "^27.3.1", - "prettier": "^3.0.3", + "prettier": "^3.2.4", "ts-jest": "^27.0.7", "ts-node": "^10.9.2", "typescript": "^4.9.5" @@ -5025,9 +5025,9 @@ } }, "node_modules/prettier": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.3.tgz", - "integrity": "sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==", + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.4.tgz", + "integrity": "sha512-FWu1oLHKCrtpO1ypU6J0SbK2d9Ckwysq6bHj/uaCP26DxrPpppCLQRGVuqAxSTvhF00AcvDRyYrLNW7ocBhFFQ==", "dev": true, "bin": { "prettier": "bin/prettier.cjs" @@ -10030,9 +10030,9 @@ "dev": true }, "prettier": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.3.tgz", - "integrity": "sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==", + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.4.tgz", + "integrity": "sha512-FWu1oLHKCrtpO1ypU6J0SbK2d9Ckwysq6bHj/uaCP26DxrPpppCLQRGVuqAxSTvhF00AcvDRyYrLNW7ocBhFFQ==", "dev": true }, "pretty-format": { diff --git a/superset-websocket/package.json b/superset-websocket/package.json index 102f29017a459..8fefea044773b 100644 --- a/superset-websocket/package.json +++ b/superset-websocket/package.json @@ -41,7 +41,7 @@ "eslint-config-prettier": "^9.1.0", "eslint-plugin-lodash": "^7.4.0", "jest": "^27.3.1", - "prettier": "^3.0.3", + "prettier": "^3.2.4", "ts-jest": "^27.0.7", "ts-node": "^10.9.2", "typescript": "^4.9.5" diff --git a/superset-websocket/utils/client-ws-app/bin/www b/superset-websocket/utils/client-ws-app/bin/www index b4c8650157fbc..c8d47f5d8d65f 100755 --- a/superset-websocket/utils/client-ws-app/bin/www +++ b/superset-websocket/utils/client-ws-app/bin/www @@ -76,9 +76,7 @@ function onError(error) { throw error; } - var bind = typeof port === 'string' - ? 'Pipe ' + port - : 'Port ' + port; + var bind = typeof port === 'string' ? 'Pipe ' + port : 'Port ' + port; // handle specific listen errors with friendly messages switch (error.code) { @@ -101,8 +99,6 @@ function onError(error) { function onListening() { var addr = server.address(); - var bind = typeof addr === 'string' - ? 'pipe ' + addr - : 'port ' + addr.port; + var bind = typeof addr === 'string' ? 'pipe ' + addr : 'port ' + addr.port; debug('Listening on ' + bind); }