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:
parent
d9ab21343e
commit
e1235dfc69
@ -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
BIN
yarn.lock
Binary file not shown.
Loading…
Reference in New Issue
Block a user