mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-03-11 02:15:57 -05: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
3 changed files with 14 additions and 18 deletions
|
@ -113,7 +113,7 @@
|
||||||
"standard-version": "9.5.0",
|
"standard-version": "9.5.0",
|
||||||
"supertest": "6.3.3",
|
"supertest": "6.3.3",
|
||||||
"ts-node": "10.9.2",
|
"ts-node": "10.9.2",
|
||||||
"typescript": "5.2.2",
|
"typescript": "5.3.3",
|
||||||
"verdaccio-auth-memory": "10.2.2",
|
"verdaccio-auth-memory": "10.2.2",
|
||||||
"verdaccio-memory": "10.3.2"
|
"verdaccio-memory": "10.3.2"
|
||||||
},
|
},
|
||||||
|
|
|
@ -7,7 +7,7 @@ import https from 'https';
|
||||||
import { assign, isFunction, isObject } from 'lodash';
|
import { assign, isFunction, isObject } from 'lodash';
|
||||||
import URL from 'url';
|
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 endPointAPI from '../api/index';
|
||||||
import { getListListenAddresses, resolveConfigPath } from './cli/utils';
|
import { getListListenAddresses, resolveConfigPath } from './cli/utils';
|
||||||
|
@ -39,7 +39,7 @@ function displayExperimentsInfoBox(experiments) {
|
||||||
* @deprecated use runServer instead
|
* @deprecated use runServer instead
|
||||||
*/
|
*/
|
||||||
function startVerdaccio(
|
function startVerdaccio(
|
||||||
config: any,
|
config: ConfigYaml,
|
||||||
cliListen: string,
|
cliListen: string,
|
||||||
configPath: string,
|
configPath: string,
|
||||||
pkgVersion: string,
|
pkgVersion: string,
|
||||||
|
@ -69,11 +69,7 @@ function startVerdaccio(
|
||||||
// http
|
// http
|
||||||
webServer = http.createServer(app);
|
webServer = http.createServer(app);
|
||||||
}
|
}
|
||||||
if (
|
if (typeof config?.server?.keepAliveTimeout === 'number') {
|
||||||
config.server &&
|
|
||||||
typeof config.server.keepAliveTimeout !== 'undefined' &&
|
|
||||||
config.server.keepAliveTimeout !== 'null'
|
|
||||||
) {
|
|
||||||
// library definition for node is not up to date (doesn't contain recent 8.0 changes)
|
// library definition for node is not up to date (doesn't contain recent 8.0 changes)
|
||||||
webServer.keepAliveTimeout = config.server.keepAliveTimeout * 1000;
|
webServer.keepAliveTimeout = config.server.keepAliveTimeout * 1000;
|
||||||
}
|
}
|
||||||
|
@ -124,7 +120,7 @@ function logHTTPSWarning(storageLocation) {
|
||||||
function handleHTTPS(
|
function handleHTTPS(
|
||||||
app: express.Application,
|
app: express.Application,
|
||||||
configPath: string,
|
configPath: string,
|
||||||
config: ConfigWithHttps
|
config: ConfigYaml
|
||||||
): https.Server {
|
): https.Server {
|
||||||
try {
|
try {
|
||||||
let httpsOptions = {
|
let httpsOptions = {
|
||||||
|
|
18
yarn.lock
18
yarn.lock
|
@ -11316,23 +11316,23 @@ __metadata:
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"typescript@npm:5.2.2":
|
"typescript@npm:5.3.3":
|
||||||
version: 5.2.2
|
version: 5.3.3
|
||||||
resolution: "typescript@npm:5.2.2"
|
resolution: "typescript@npm:5.3.3"
|
||||||
bin:
|
bin:
|
||||||
tsc: bin/tsc
|
tsc: bin/tsc
|
||||||
tsserver: bin/tsserver
|
tsserver: bin/tsserver
|
||||||
checksum: d65e50eb849bd21ff8677e5b9447f9c6e74777e346afd67754934264dcbf4bd59e7d2473f6062d9a015d66bd573311166357e3eb07fea0b52859cf9bb2b58555
|
checksum: 6e4e6a14a50c222b3d14d4ea2f729e79f972fa536ac1522b91202a9a65af3605c2928c4a790a4a50aa13694d461c479ba92cedaeb1e7b190aadaa4e4b96b8e18
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"typescript@patch:typescript@npm%3A5.2.2#optional!builtin<compat/typescript>":
|
"typescript@patch:typescript@npm%3A5.3.3#optional!builtin<compat/typescript>":
|
||||||
version: 5.2.2
|
version: 5.3.3
|
||||||
resolution: "typescript@patch:typescript@npm%3A5.2.2#optional!builtin<compat/typescript>::version=5.2.2&hash=f3b441"
|
resolution: "typescript@patch:typescript@npm%3A5.3.3#optional!builtin<compat/typescript>::version=5.3.3&hash=e012d7"
|
||||||
bin:
|
bin:
|
||||||
tsc: bin/tsc
|
tsc: bin/tsc
|
||||||
tsserver: bin/tsserver
|
tsserver: bin/tsserver
|
||||||
checksum: f79cc2ba802c94c2b78dbb00d767a10adb67368ae764709737dc277273ec148aa4558033a03ce901406b35fddf4eac46dabc94a1e1d12d2587e2b9cfe5707b4a
|
checksum: c93786fcc9a70718ba1e3819bab56064ead5817004d1b8186f8ca66165f3a2d0100fee91fa64c840dcd45f994ca5d615d8e1f566d39a7470fc1e014dbb4cf15d
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
@ -11722,7 +11722,7 @@ __metadata:
|
||||||
standard-version: "npm:9.5.0"
|
standard-version: "npm:9.5.0"
|
||||||
supertest: "npm:6.3.3"
|
supertest: "npm:6.3.3"
|
||||||
ts-node: "npm:10.9.2"
|
ts-node: "npm:10.9.2"
|
||||||
typescript: "npm:5.2.2"
|
typescript: "npm:5.3.3"
|
||||||
validator: "npm:13.11.0"
|
validator: "npm:13.11.0"
|
||||||
verdaccio-audit: "npm:12.0.0-next.4"
|
verdaccio-audit: "npm:12.0.0-next.4"
|
||||||
verdaccio-auth-memory: "npm:10.2.2"
|
verdaccio-auth-memory: "npm:10.2.2"
|
||||||
|
|
Loading…
Add table
Reference in a new issue