Skip to content

Comments

Update dependencies (partially, mostly safe)#98

Open
WorldThirteen wants to merge 6 commits intomasterfrom
w13-deps-update
Open

Update dependencies (partially, mostly safe)#98
WorldThirteen wants to merge 6 commits intomasterfrom
w13-deps-update

Conversation

@WorldThirteen
Copy link
Collaborator

@WorldThirteen WorldThirteen commented Jan 21, 2026

  1. Updated dependencies.
  2. Updated typescript and node types to match dependencies requirements.
  3. Added explicit any for catch blocks where were implicit due to TS update.

After this PR recommended nodejs version would be not lower than 22.

Further updates would come in a follow-up PRs

@WorldThirteen WorldThirteen self-assigned this Jan 21, 2026
tlsBody = res.getBody("utf8");
}
catch (ex) {
catch (ex: any) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updating the target in tsconfig.json to ES2019 allows using the simplified catch syntax without an error variable (catch { ... }).

Suggested change
catch (ex: any) {
catch {

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@microshine, I've resolved your suggestion. Other any's would in catch blocks would be treated in a follow-up PRs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants