Skip to content

Commit

Permalink
chore(deps): update dependency typescript to v5.3.3 (6.x) (#4216)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
renovate[bot] and juanpicado committed Dec 10, 2023
1 parent d9ab213 commit e1235df
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 18 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
12 changes: 4 additions & 8 deletions src/lib/bootstrap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -39,7 +39,7 @@ function displayExperimentsInfoBox(experiments) {
* @deprecated use runServer instead
*/
function startVerdaccio(
config: any,
config: ConfigYaml,
cliListen: string,
configPath: string,
pkgVersion: string,
Expand Down Expand Up @@ -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;
}
Expand Down Expand Up @@ -124,7 +120,7 @@ function logHTTPSWarning(storageLocation) {
function handleHTTPS(
app: express.Application,
configPath: string,
config: ConfigWithHttps
config: ConfigYaml
): https.Server {
try {
let httpsOptions = {
Expand Down
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11316,23 +11316,23 @@ __metadata:
languageName: node
linkType: hard

"typescript@npm:5.2.2":
version: 5.2.2
resolution: "typescript@npm:5.2.2"
"typescript@npm:5.3.3":
version: 5.3.3
resolution: "typescript@npm:5.3.3"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: d65e50eb849bd21ff8677e5b9447f9c6e74777e346afd67754934264dcbf4bd59e7d2473f6062d9a015d66bd573311166357e3eb07fea0b52859cf9bb2b58555
checksum: 6e4e6a14a50c222b3d14d4ea2f729e79f972fa536ac1522b91202a9a65af3605c2928c4a790a4a50aa13694d461c479ba92cedaeb1e7b190aadaa4e4b96b8e18
languageName: node
linkType: hard

"typescript@patch:typescript@npm%3A5.2.2#optional!builtin<compat/typescript>":
version: 5.2.2
resolution: "typescript@patch:typescript@npm%3A5.2.2#optional!builtin<compat/typescript>::version=5.2.2&hash=f3b441"
"typescript@patch:typescript@npm%3A5.3.3#optional!builtin<compat/typescript>":
version: 5.3.3
resolution: "typescript@patch:typescript@npm%3A5.3.3#optional!builtin<compat/typescript>::version=5.3.3&hash=e012d7"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: f79cc2ba802c94c2b78dbb00d767a10adb67368ae764709737dc277273ec148aa4558033a03ce901406b35fddf4eac46dabc94a1e1d12d2587e2b9cfe5707b4a
checksum: c93786fcc9a70718ba1e3819bab56064ead5817004d1b8186f8ca66165f3a2d0100fee91fa64c840dcd45f994ca5d615d8e1f566d39a7470fc1e014dbb4cf15d
languageName: node
linkType: hard

Expand Down Expand Up @@ -11722,7 +11722,7 @@ __metadata:
standard-version: "npm:9.5.0"
supertest: "npm:6.3.3"
ts-node: "npm:10.9.2"
typescript: "npm:5.2.2"
typescript: "npm:5.3.3"
validator: "npm:13.11.0"
verdaccio-audit: "npm:12.0.0-next.4"
verdaccio-auth-memory: "npm:10.2.2"
Expand Down

0 comments on commit e1235df

Please sign in to comment.