1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-08 23:25:51 +01:00

chore(deps): update dependency typescript to v5.3.3 (6.x) (#4216)

* chore(deps): update dependency typescript to v5.3.3

* fix types

* clean up

* Update bootstrap.ts

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
This commit is contained in:
renovate[bot] 2023-12-10 11:56:23 +01:00 committed by GitHub
parent d9ab21343e
commit e1235dfc69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 9 deletions

@ -113,7 +113,7 @@
"standard-version": "9.5.0",
"supertest": "6.3.3",
"ts-node": "10.9.2",
"typescript": "5.2.2",
"typescript": "5.3.3",
"verdaccio-auth-memory": "10.2.2",
"verdaccio-memory": "10.3.2"
},

@ -7,7 +7,7 @@ import https from 'https';
import { assign, isFunction, isObject } from 'lodash';
import URL from 'url';
import { Callback, ConfigWithHttps, HttpsConfKeyCert, HttpsConfPfx } from '@verdaccio/types';
import { Callback, ConfigYaml, HttpsConfKeyCert, HttpsConfPfx } from '@verdaccio/types';
import endPointAPI from '../api/index';
import { getListListenAddresses, resolveConfigPath } from './cli/utils';
@ -39,7 +39,7 @@ function displayExperimentsInfoBox(experiments) {
* @deprecated use runServer instead
*/
function startVerdaccio(
config: any,
config: ConfigYaml,
cliListen: string,
configPath: string,
pkgVersion: string,
@ -69,11 +69,7 @@ function startVerdaccio(
// http
webServer = http.createServer(app);
}
if (
config.server &&
typeof config.server.keepAliveTimeout !== 'undefined' &&
config.server.keepAliveTimeout !== 'null'
) {
if (typeof config?.server?.keepAliveTimeout === 'number') {
// library definition for node is not up to date (doesn't contain recent 8.0 changes)
webServer.keepAliveTimeout = config.server.keepAliveTimeout * 1000;
}
@ -124,7 +120,7 @@ function logHTTPSWarning(storageLocation) {
function handleHTTPS(
app: express.Application,
configPath: string,
config: ConfigWithHttps
config: ConfigYaml
): https.Server {
try {
let httpsOptions = {

BIN
yarn.lock

Binary file not shown.