Skip to content

fix(chats): add validation for jid and pn_jid in updateBlockStatus #2144

fix(chats): add validation for jid and pn_jid in updateBlockStatus

fix(chats): add validation for jid and pn_jid in updateBlockStatus #2144

Triggered via pull request April 8, 2026 13:56
Status Failure
Total duration 49s
Artifacts

lint.yml

on: pull_request
check-lint
45s
check-lint
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 11 warnings
check-lint
Process completed with exit code 1.
check-lint: src/Socket/chats.ts#L1
Run autofix to sort these imports!
check-lint
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v3, actions/checkout@v3, actions/setup-node@v3.6.0. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
check-lint: src/Socket/socket.ts#L914
Unexpected any. Specify a different type
check-lint: src/Socket/socket.ts#L843
Unexpected any. Specify a different type
check-lint: src/Socket/socket.ts#L209
Unexpected any. Specify a different type
check-lint: src/Socket/messages-send.ts#L1187
Unexpected any. Specify a different type
check-lint: src/Socket/messages-send.ts#L1011
Unexpected any. Specify a different type
check-lint: src/Socket/messages-send.ts#L543
Unexpected any. Specify a different type
check-lint: src/Socket/messages-send.ts#L542
Unexpected any. Specify a different type
check-lint: src/Socket/messages-recv.ts#L299
Unexpected any. Specify a different type
check-lint: src/Socket/messages-recv.ts#L203
Unexpected any. Specify a different type
check-lint: src/Socket/chats.ts#L651
Unexpected any. Specify a different type